@melony/react 0.1.52 → 0.1.54
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/README.md +1 -1
- package/dist/index.cjs +428 -396
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -11
- package/dist/index.d.ts +8 -11
- package/dist/index.js +429 -397
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -384,17 +384,14 @@ declare const Image: React__default.FC<UIContract["image"]>;
|
|
|
384
384
|
|
|
385
385
|
declare const Label: React__default.FC<UIContract["label"]>;
|
|
386
386
|
|
|
387
|
-
interface
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
items: {
|
|
392
|
-
label: string;
|
|
393
|
-
icon: React$1.ReactNode;
|
|
394
|
-
onClick: () => void;
|
|
395
|
-
}[];
|
|
387
|
+
interface DropdownItem {
|
|
388
|
+
label: string;
|
|
389
|
+
icon?: string;
|
|
390
|
+
onClickAction?: Event;
|
|
396
391
|
}
|
|
397
|
-
declare const Dropdown: React$1.FC<
|
|
392
|
+
declare const Dropdown: React$1.FC<UIContract["dropdown"] & {
|
|
393
|
+
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
394
|
+
}>;
|
|
398
395
|
|
|
399
396
|
declare const List: React__default.FC<UIContract["list"] & {
|
|
400
397
|
children?: React__default.ReactNode;
|
|
@@ -441,4 +438,4 @@ declare const Hidden: React__default.FC<UIContract["hidden"]>;
|
|
|
441
438
|
|
|
442
439
|
declare const ColorPicker: React__default.FC<UIContract["colorPicker"]>;
|
|
443
440
|
|
|
444
|
-
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
|
|
441
|
+
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 DropdownItem, Float, 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, Surface, type SurfaceProps, 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 UseSurfaceOptions, type User, WelcomeScreen, type WelcomeScreenProps, useAuth, useMelony, useScreenSize, useSidebar, useSurface, useTheme, useThreads };
|
package/dist/index.d.ts
CHANGED
|
@@ -384,17 +384,14 @@ declare const Image: React__default.FC<UIContract["image"]>;
|
|
|
384
384
|
|
|
385
385
|
declare const Label: React__default.FC<UIContract["label"]>;
|
|
386
386
|
|
|
387
|
-
interface
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
items: {
|
|
392
|
-
label: string;
|
|
393
|
-
icon: React$1.ReactNode;
|
|
394
|
-
onClick: () => void;
|
|
395
|
-
}[];
|
|
387
|
+
interface DropdownItem {
|
|
388
|
+
label: string;
|
|
389
|
+
icon?: string;
|
|
390
|
+
onClickAction?: Event;
|
|
396
391
|
}
|
|
397
|
-
declare const Dropdown: React$1.FC<
|
|
392
|
+
declare const Dropdown: React$1.FC<UIContract["dropdown"] & {
|
|
393
|
+
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
394
|
+
}>;
|
|
398
395
|
|
|
399
396
|
declare const List: React__default.FC<UIContract["list"] & {
|
|
400
397
|
children?: React__default.ReactNode;
|
|
@@ -441,4 +438,4 @@ declare const Hidden: React__default.FC<UIContract["hidden"]>;
|
|
|
441
438
|
|
|
442
439
|
declare const ColorPicker: React__default.FC<UIContract["colorPicker"]>;
|
|
443
440
|
|
|
444
|
-
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
|
|
441
|
+
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 DropdownItem, Float, 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, Surface, type SurfaceProps, 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 UseSurfaceOptions, type User, WelcomeScreen, type WelcomeScreenProps, useAuth, useMelony, useScreenSize, useSidebar, useSurface, useTheme, useThreads };
|