@melony/react 0.1.47 → 0.1.49
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 +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ import { ClientState, MelonyClient } from 'melony/client';
|
|
|
4
4
|
import { Message, Event, Config, UINode, UIContract } from 'melony';
|
|
5
5
|
import { QueryClient } from '@tanstack/react-query';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
+
export * from '@tabler/icons-react';
|
|
7
8
|
|
|
8
9
|
interface MelonyContextValue extends ClientState {
|
|
9
10
|
messages: Message[];
|
|
@@ -412,6 +413,7 @@ type InputProps = BaseComponentProps & UIContract["input"] & {
|
|
|
412
413
|
disabled?: boolean;
|
|
413
414
|
value?: string;
|
|
414
415
|
};
|
|
416
|
+
type HiddenProps = BaseComponentProps & UIContract["hidden"];
|
|
415
417
|
type ButtonProps = BaseComponentProps & UIContract["button"] & {
|
|
416
418
|
fullWidth?: boolean;
|
|
417
419
|
type?: "button" | "submit";
|
|
@@ -420,6 +422,10 @@ type LabelProps = BaseComponentProps & UIContract["label"] & {
|
|
|
420
422
|
size?: FontSize;
|
|
421
423
|
weight?: FontWeight;
|
|
422
424
|
};
|
|
425
|
+
type ColorPickerProps = BaseComponentProps & UIContract["colorPicker"] & {
|
|
426
|
+
value?: string;
|
|
427
|
+
disabled?: boolean;
|
|
428
|
+
};
|
|
423
429
|
type UploadProps = BaseComponentProps & UIContract["upload"] & {
|
|
424
430
|
initialFiles?: {
|
|
425
431
|
name: string;
|
|
@@ -489,4 +495,8 @@ declare const Text: React__default.FC<TextProps>;
|
|
|
489
495
|
|
|
490
496
|
declare const Badge: React__default.FC<BadgeProps>;
|
|
491
497
|
|
|
492
|
-
|
|
498
|
+
declare const Hidden: React__default.FC<HiddenProps>;
|
|
499
|
+
|
|
500
|
+
declare const ColorPicker: React__default.FC<ColorPickerProps>;
|
|
501
|
+
|
|
502
|
+
export { AccountButton, type AccountButtonProps, AuthContext, type AuthContextValue, AuthProvider, type AuthProviderProps, type AuthService, Badge, Box, Button, Card, Chart, ChatHeader, type ChatHeaderProps, Checkbox, Col, ColorPicker, Composer, type ComposerOption, type ComposerOptionGroup, CreateThreadButton, type CreateThreadButtonProps, CreateThreadListItem, type CreateThreadListItemProps, Divider, Dropdown, type DropdownProps, Form, FullChat, type FullChatProps, Heading, Hidden, 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
|
@@ -4,6 +4,7 @@ import { ClientState, MelonyClient } from 'melony/client';
|
|
|
4
4
|
import { Message, Event, Config, UINode, UIContract } from 'melony';
|
|
5
5
|
import { QueryClient } from '@tanstack/react-query';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
+
export * from '@tabler/icons-react';
|
|
7
8
|
|
|
8
9
|
interface MelonyContextValue extends ClientState {
|
|
9
10
|
messages: Message[];
|
|
@@ -412,6 +413,7 @@ type InputProps = BaseComponentProps & UIContract["input"] & {
|
|
|
412
413
|
disabled?: boolean;
|
|
413
414
|
value?: string;
|
|
414
415
|
};
|
|
416
|
+
type HiddenProps = BaseComponentProps & UIContract["hidden"];
|
|
415
417
|
type ButtonProps = BaseComponentProps & UIContract["button"] & {
|
|
416
418
|
fullWidth?: boolean;
|
|
417
419
|
type?: "button" | "submit";
|
|
@@ -420,6 +422,10 @@ type LabelProps = BaseComponentProps & UIContract["label"] & {
|
|
|
420
422
|
size?: FontSize;
|
|
421
423
|
weight?: FontWeight;
|
|
422
424
|
};
|
|
425
|
+
type ColorPickerProps = BaseComponentProps & UIContract["colorPicker"] & {
|
|
426
|
+
value?: string;
|
|
427
|
+
disabled?: boolean;
|
|
428
|
+
};
|
|
423
429
|
type UploadProps = BaseComponentProps & UIContract["upload"] & {
|
|
424
430
|
initialFiles?: {
|
|
425
431
|
name: string;
|
|
@@ -489,4 +495,8 @@ declare const Text: React__default.FC<TextProps>;
|
|
|
489
495
|
|
|
490
496
|
declare const Badge: React__default.FC<BadgeProps>;
|
|
491
497
|
|
|
492
|
-
|
|
498
|
+
declare const Hidden: React__default.FC<HiddenProps>;
|
|
499
|
+
|
|
500
|
+
declare const ColorPicker: React__default.FC<ColorPickerProps>;
|
|
501
|
+
|
|
502
|
+
export { AccountButton, type AccountButtonProps, AuthContext, type AuthContextValue, AuthProvider, type AuthProviderProps, type AuthService, Badge, Box, Button, Card, Chart, ChatHeader, type ChatHeaderProps, Checkbox, Col, ColorPicker, Composer, type ComposerOption, type ComposerOptionGroup, CreateThreadButton, type CreateThreadButtonProps, CreateThreadListItem, type CreateThreadListItemProps, Divider, Dropdown, type DropdownProps, Form, FullChat, type FullChatProps, Heading, Hidden, 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.js
CHANGED
|
@@ -9,6 +9,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
import * as ICONS from '@tabler/icons-react';
|
|
11
11
|
import { IconX, IconChevronLeft, IconChevronRight, IconLoader2, IconCheck, IconUpload, IconUser, IconLogout, IconBrandGoogle, IconFileText, IconFile, IconPaperclip, IconChevronDown, IconArrowUp, IconDotsVertical, IconTrash, IconHistory, IconPlus, IconArrowLeft, IconMessage, IconLayoutSidebarLeftExpand, IconLayoutSidebarLeftCollapse, IconLayoutSidebarRightExpand, IconLayoutSidebarRightCollapse, IconDeviceDesktop, IconMoon, IconSun, IconSelector, IconChevronUp } from '@tabler/icons-react';
|
|
12
|
+
export * from '@tabler/icons-react';
|
|
12
13
|
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
13
14
|
import { mergeProps } from '@base-ui/react/merge-props';
|
|
14
15
|
import { useRender } from '@base-ui/react/use-render';
|
|
@@ -3955,6 +3956,6 @@ var CreateThreadListItem = ({
|
|
|
3955
3956
|
);
|
|
3956
3957
|
};
|
|
3957
3958
|
|
|
3958
|
-
export { AccountButton, AuthContext, AuthProvider, Badge2 as Badge, Box, Button2 as Button, Card2 as Card, Chart, ChatHeader, Checkbox, Col, Composer, CreateThreadButton, CreateThreadListItem, Divider, Dropdown, Form, FullChat, Heading, Image, Input2 as Input, Label2 as Label, List, ListItem, MelonyContext, MelonyProvider, PopupChat, RadioGroup, Row, Select2 as Select, Sidebar, SidebarContext, SidebarProvider, SidebarToggle, Spacer, Text, Textarea2 as Textarea, ThemeProvider, ThemeToggle, Thread, ThreadContext, ThreadList, ThreadPopover, ThreadProvider, UIRenderer, Upload, WelcomeScreen, useAuth, useMelony, useScreenSize, useSidebar, useTheme, useThreads };
|
|
3959
|
+
export { AccountButton, AuthContext, AuthProvider, Badge2 as Badge, Box, Button2 as Button, Card2 as Card, Chart, ChatHeader, Checkbox, Col, ColorPicker, Composer, CreateThreadButton, CreateThreadListItem, Divider, Dropdown, Form, FullChat, Heading, Hidden, Image, Input2 as Input, Label2 as Label, List, ListItem, MelonyContext, MelonyProvider, PopupChat, RadioGroup, Row, Select2 as Select, Sidebar, SidebarContext, SidebarProvider, SidebarToggle, Spacer, Text, Textarea2 as Textarea, ThemeProvider, ThemeToggle, Thread, ThreadContext, ThreadList, ThreadPopover, ThreadProvider, UIRenderer, Upload, WelcomeScreen, useAuth, useMelony, useScreenSize, useSidebar, useTheme, useThreads };
|
|
3959
3960
|
//# sourceMappingURL=index.js.map
|
|
3960
3961
|
//# sourceMappingURL=index.js.map
|