@melony/react 0.1.44 → 0.1.45
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 +2431 -2386
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2433 -2388
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -343,10 +343,10 @@ interface DropdownProps {
|
|
|
343
343
|
}
|
|
344
344
|
declare const Dropdown: React$1.FC<DropdownProps>;
|
|
345
345
|
|
|
346
|
-
interface
|
|
346
|
+
interface CreateThreadListItemProps {
|
|
347
347
|
className?: string;
|
|
348
348
|
}
|
|
349
|
-
declare const
|
|
349
|
+
declare const CreateThreadListItem: React$1.FC<CreateThreadListItemProps>;
|
|
350
350
|
|
|
351
351
|
type Spacing = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
352
352
|
type FontSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
@@ -414,6 +414,7 @@ type InputProps = BaseComponentProps & UIContract["input"] & {
|
|
|
414
414
|
};
|
|
415
415
|
type ButtonProps = BaseComponentProps & UIContract["button"] & {
|
|
416
416
|
fullWidth?: boolean;
|
|
417
|
+
type?: "button" | "submit";
|
|
417
418
|
};
|
|
418
419
|
type LabelProps = BaseComponentProps & UIContract["label"] & {
|
|
419
420
|
size?: FontSize;
|
|
@@ -479,4 +480,4 @@ declare const Text: React__default.FC<TextProps>;
|
|
|
479
480
|
|
|
480
481
|
declare const Badge: React__default.FC<BadgeProps>;
|
|
481
482
|
|
|
482
|
-
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,
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -343,10 +343,10 @@ interface DropdownProps {
|
|
|
343
343
|
}
|
|
344
344
|
declare const Dropdown: React$1.FC<DropdownProps>;
|
|
345
345
|
|
|
346
|
-
interface
|
|
346
|
+
interface CreateThreadListItemProps {
|
|
347
347
|
className?: string;
|
|
348
348
|
}
|
|
349
|
-
declare const
|
|
349
|
+
declare const CreateThreadListItem: React$1.FC<CreateThreadListItemProps>;
|
|
350
350
|
|
|
351
351
|
type Spacing = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
352
352
|
type FontSize = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
@@ -414,6 +414,7 @@ type InputProps = BaseComponentProps & UIContract["input"] & {
|
|
|
414
414
|
};
|
|
415
415
|
type ButtonProps = BaseComponentProps & UIContract["button"] & {
|
|
416
416
|
fullWidth?: boolean;
|
|
417
|
+
type?: "button" | "submit";
|
|
417
418
|
};
|
|
418
419
|
type LabelProps = BaseComponentProps & UIContract["label"] & {
|
|
419
420
|
size?: FontSize;
|
|
@@ -479,4 +480,4 @@ declare const Text: React__default.FC<TextProps>;
|
|
|
479
480
|
|
|
480
481
|
declare const Badge: React__default.FC<BadgeProps>;
|
|
481
482
|
|
|
482
|
-
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,
|
|
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 };
|