@melony/react 0.1.45 → 0.1.47
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/index.cjs +517 -283
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +455 -222
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -420,6 +420,13 @@ type LabelProps = BaseComponentProps & UIContract["label"] & {
|
|
|
420
420
|
size?: FontSize;
|
|
421
421
|
weight?: FontWeight;
|
|
422
422
|
};
|
|
423
|
+
type UploadProps = BaseComponentProps & UIContract["upload"] & {
|
|
424
|
+
initialFiles?: {
|
|
425
|
+
name: string;
|
|
426
|
+
url: string;
|
|
427
|
+
}[];
|
|
428
|
+
mode?: "append" | "replace";
|
|
429
|
+
};
|
|
423
430
|
type TextareaProps = BaseComponentProps & UIContract["textarea"] & {
|
|
424
431
|
value?: string;
|
|
425
432
|
disabled?: boolean;
|
|
@@ -452,6 +459,8 @@ declare const RadioGroup: React__default.FC<RadioGroupProps>;
|
|
|
452
459
|
|
|
453
460
|
declare const Form: React__default.FC<FormProps>;
|
|
454
461
|
|
|
462
|
+
declare const Upload: React__default.FC<UploadProps>;
|
|
463
|
+
|
|
455
464
|
declare const Heading: React__default.FC<HeadingProps>;
|
|
456
465
|
|
|
457
466
|
declare const Image: React__default.FC<ImageProps>;
|
|
@@ -480,4 +489,4 @@ declare const Text: React__default.FC<TextProps>;
|
|
|
480
489
|
|
|
481
490
|
declare const Badge: React__default.FC<BadgeProps>;
|
|
482
491
|
|
|
483
|
-
export { AccountButton, type AccountButtonProps, AuthContext, type AuthContextValue, AuthProvider, type AuthProviderProps, type AuthService, Badge, Box, Button, Card, Chart, ChatHeader, type ChatHeaderProps, Checkbox, Col, Composer, type ComposerOption, type ComposerOptionGroup, CreateThreadButton, type CreateThreadButtonProps, CreateThreadListItem, type CreateThreadListItemProps, Divider, Dropdown, type DropdownProps, Form, FullChat, type FullChatProps, Heading, Image, Input, Label, List, ListItem, MelonyContext, type MelonyContextValue, MelonyProvider, type MelonyProviderProps, PopupChat, type PopupChatProps, RadioGroup, Row, type ScreenSize, Select, Sidebar, SidebarContext, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarToggle, type SidebarToggleProps, Spacer, type StarterPrompt, Text, Textarea, ThemeProvider, ThemeToggle, Thread, ThreadContext, type ThreadContextValue, type ThreadData, ThreadList, type ThreadListProps, ThreadPopover, type ThreadPopoverProps, ThreadProvider, type ThreadProviderProps, type ThreadService, UIRenderer, type UIRendererProps, type UseMelonyOptions, type User, WelcomeScreen, type WelcomeScreenProps, useAuth, useMelony, useScreenSize, useSidebar, useTheme, useThreads };
|
|
492
|
+
export { AccountButton, type AccountButtonProps, AuthContext, type AuthContextValue, AuthProvider, type AuthProviderProps, type AuthService, Badge, Box, Button, Card, Chart, ChatHeader, type ChatHeaderProps, Checkbox, Col, Composer, type ComposerOption, type ComposerOptionGroup, CreateThreadButton, type CreateThreadButtonProps, CreateThreadListItem, type CreateThreadListItemProps, Divider, Dropdown, type DropdownProps, Form, FullChat, type FullChatProps, Heading, Image, Input, Label, List, ListItem, MelonyContext, type MelonyContextValue, MelonyProvider, type MelonyProviderProps, PopupChat, type PopupChatProps, RadioGroup, Row, type ScreenSize, Select, Sidebar, SidebarContext, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarToggle, type SidebarToggleProps, Spacer, type StarterPrompt, Text, Textarea, ThemeProvider, ThemeToggle, Thread, ThreadContext, type ThreadContextValue, type ThreadData, ThreadList, type ThreadListProps, ThreadPopover, type ThreadPopoverProps, ThreadProvider, type ThreadProviderProps, type ThreadService, UIRenderer, type UIRendererProps, Upload, type UseMelonyOptions, type User, WelcomeScreen, type WelcomeScreenProps, useAuth, useMelony, useScreenSize, useSidebar, useTheme, useThreads };
|
package/dist/index.d.ts
CHANGED
|
@@ -420,6 +420,13 @@ type LabelProps = BaseComponentProps & UIContract["label"] & {
|
|
|
420
420
|
size?: FontSize;
|
|
421
421
|
weight?: FontWeight;
|
|
422
422
|
};
|
|
423
|
+
type UploadProps = BaseComponentProps & UIContract["upload"] & {
|
|
424
|
+
initialFiles?: {
|
|
425
|
+
name: string;
|
|
426
|
+
url: string;
|
|
427
|
+
}[];
|
|
428
|
+
mode?: "append" | "replace";
|
|
429
|
+
};
|
|
423
430
|
type TextareaProps = BaseComponentProps & UIContract["textarea"] & {
|
|
424
431
|
value?: string;
|
|
425
432
|
disabled?: boolean;
|
|
@@ -452,6 +459,8 @@ declare const RadioGroup: React__default.FC<RadioGroupProps>;
|
|
|
452
459
|
|
|
453
460
|
declare const Form: React__default.FC<FormProps>;
|
|
454
461
|
|
|
462
|
+
declare const Upload: React__default.FC<UploadProps>;
|
|
463
|
+
|
|
455
464
|
declare const Heading: React__default.FC<HeadingProps>;
|
|
456
465
|
|
|
457
466
|
declare const Image: React__default.FC<ImageProps>;
|
|
@@ -480,4 +489,4 @@ declare const Text: React__default.FC<TextProps>;
|
|
|
480
489
|
|
|
481
490
|
declare const Badge: React__default.FC<BadgeProps>;
|
|
482
491
|
|
|
483
|
-
export { AccountButton, type AccountButtonProps, AuthContext, type AuthContextValue, AuthProvider, type AuthProviderProps, type AuthService, Badge, Box, Button, Card, Chart, ChatHeader, type ChatHeaderProps, Checkbox, Col, Composer, type ComposerOption, type ComposerOptionGroup, CreateThreadButton, type CreateThreadButtonProps, CreateThreadListItem, type CreateThreadListItemProps, Divider, Dropdown, type DropdownProps, Form, FullChat, type FullChatProps, Heading, Image, Input, Label, List, ListItem, MelonyContext, type MelonyContextValue, MelonyProvider, type MelonyProviderProps, PopupChat, type PopupChatProps, RadioGroup, Row, type ScreenSize, Select, Sidebar, SidebarContext, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarToggle, type SidebarToggleProps, Spacer, type StarterPrompt, Text, Textarea, ThemeProvider, ThemeToggle, Thread, ThreadContext, type ThreadContextValue, type ThreadData, ThreadList, type ThreadListProps, ThreadPopover, type ThreadPopoverProps, ThreadProvider, type ThreadProviderProps, type ThreadService, UIRenderer, type UIRendererProps, type UseMelonyOptions, type User, WelcomeScreen, type WelcomeScreenProps, useAuth, useMelony, useScreenSize, useSidebar, useTheme, useThreads };
|
|
492
|
+
export { AccountButton, type AccountButtonProps, AuthContext, type AuthContextValue, AuthProvider, type AuthProviderProps, type AuthService, Badge, Box, Button, Card, Chart, ChatHeader, type ChatHeaderProps, Checkbox, Col, Composer, type ComposerOption, type ComposerOptionGroup, CreateThreadButton, type CreateThreadButtonProps, CreateThreadListItem, type CreateThreadListItemProps, Divider, Dropdown, type DropdownProps, Form, FullChat, type FullChatProps, Heading, Image, Input, Label, List, ListItem, MelonyContext, type MelonyContextValue, MelonyProvider, type MelonyProviderProps, PopupChat, type PopupChatProps, RadioGroup, Row, type ScreenSize, Select, Sidebar, SidebarContext, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarToggle, type SidebarToggleProps, Spacer, type StarterPrompt, Text, Textarea, ThemeProvider, ThemeToggle, Thread, ThreadContext, type ThreadContextValue, type ThreadData, ThreadList, type ThreadListProps, ThreadPopover, type ThreadPopoverProps, ThreadProvider, type ThreadProviderProps, type ThreadService, UIRenderer, type UIRendererProps, Upload, type UseMelonyOptions, type User, WelcomeScreen, type WelcomeScreenProps, useAuth, useMelony, useScreenSize, useSidebar, useTheme, useThreads };
|