@rufous/ui 0.1.86 → 0.1.87
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/main.cjs +6120 -64
- package/dist/main.css +2166 -0
- package/dist/main.d.cts +28 -1
- package/dist/main.d.ts +28 -1
- package/dist/main.js +6074 -19
- package/package.json +27 -1
package/dist/main.d.cts
CHANGED
|
@@ -1622,4 +1622,31 @@ interface ImageFieldProps {
|
|
|
1622
1622
|
}
|
|
1623
1623
|
declare const ImageField: React__default.ForwardRefExoticComponent<ImageFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1624
1624
|
|
|
1625
|
-
|
|
1625
|
+
interface RufousTextEditorProps {
|
|
1626
|
+
content?: string;
|
|
1627
|
+
placeholder?: string;
|
|
1628
|
+
editable?: boolean;
|
|
1629
|
+
onSave?: (html: string, json: any) => void;
|
|
1630
|
+
onExport?: (html: string, json: any) => void;
|
|
1631
|
+
onChange?: (html: string, json: any) => void;
|
|
1632
|
+
onAICommand?: (prompt: string, text: string, previousResults?: string[]) => Promise<string>;
|
|
1633
|
+
onTranslate?: (text: string, sourceLang: string, targetLang: string) => Promise<string>;
|
|
1634
|
+
onSpeechToText?: (text: string) => Promise<string>;
|
|
1635
|
+
onTextToSpeech?: (text: string, voice?: string) => Promise<string>;
|
|
1636
|
+
mentions?: Array<{
|
|
1637
|
+
id: string;
|
|
1638
|
+
name: string;
|
|
1639
|
+
avatar?: string;
|
|
1640
|
+
}>;
|
|
1641
|
+
className?: string;
|
|
1642
|
+
style?: React__default.CSSProperties;
|
|
1643
|
+
}
|
|
1644
|
+
declare const RufousTextEditor: React__default.FC<RufousTextEditorProps>;
|
|
1645
|
+
|
|
1646
|
+
interface MentionItemData {
|
|
1647
|
+
id: string;
|
|
1648
|
+
name: string;
|
|
1649
|
+
avatar?: string;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
export { APP_THEMES, Accordion, AccordionDetails, type AccordionDetailsProps, type AccordionProps, AccordionSummary, type AccordionSummaryProps, type Action, ActivateUserIcon, AddButton, AddressLookup, ArchivedIcon, AssignGroupIcon, Autocomplete, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, BaseDialog, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CameraIcon, CancelButton, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, CircularProgressIcon, type CircularProgressIconProps, CloseIcon, Collapse, type CollapseProps, type Column, CopyIcon, DataGrid, type DataGridProps, DateField, type DateFieldProps, type DateFormatString, DateRangeField, type DateRangeFieldProps, type DateRangeValue, DifficultyAllIcon, DifficultyEasyIcon, DifficultyHardIcon, DifficultyMediumIcon, Divider, type DividerProps, DollarIcon, DownloadIcon, DownloadPdfIcon, Drawer, type DrawerProps, EditChatIcon, EditIcon, EngagementIcon, Fade, type FadeProps, FunctionIcon, Grid, type GridProps, Grow, type GrowProps, HelpOutlinedIcon, HierarchyIcon, IconButton, type IconButtonProps, ImageField, type ImageFieldProps, InactiveGroupIcon, IndustryIcon, InvoiceIcon, Link, type LinkProps, List, ListItem, ListItemButton, type ListItemButtonProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, LocationPinIcon, LogsIcon, type MentionItem, Menu, MenuDivider, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MinExperienceIcon, NineDotMenuIcon, NotificationIcon, Paper, type PaperProps, Popover, type PopoverProps, Popper, type PopperProps, ProjectIcon, QualificationsIcon, QuestionStatusAllIcon, QuestionStatusPrivateIcon, QuestionStatusPublicIcon, QuestionTypeAllIcon, QuestionTypeCodingIcon, QuestionTypeDescriptiveIcon, QuestionTypeMultipleIcon, QuestionTypeSingleIcon, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, RefreshIcon, ResendInviteIcon, RichTextEditor, type RichTextEditorProps, RolesIcon, RufousAiIcon, RufousBirdIcon, RufousLauncherIcon, RufousLogoLoader, type RufousLogoLoaderProps, RufousTextEditor, type MentionItemData as RufousTextEditorMentionItem, type RufousTextEditorProps, RufousThemeProvider, Select, type SelectProps, SidebarIcon, Skeleton, type SkeletonProps, Slide, type SlideProps, Slider, type SliderProps, Snackbar, type SnackbarProps, SoftSkillsIcon, type SortDirection, Stack, type StackProps, StandardButton, Step, StepButton, type StepButtonProps, StepContent, type StepContentProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps, SubmitButton, SubscribeIcon, SuspendUserIcon, Switch, type SwitchProps, type SxProp, Tab, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, TechnicalSkillsIcon, TextField, type TextFieldProps, TickIcon, TimerIcon, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Tooltip, type TooltipProps, TrashIcon, Typography, type TypographyProps, UnArchivedIcon, UnsubscribeIcon, UploadIcon, UserAssignIcon, ViewIcon, WorkItemIcon, Zoom, type ZoomProps, useRufousTheme };
|
package/dist/main.d.ts
CHANGED
|
@@ -1622,4 +1622,31 @@ interface ImageFieldProps {
|
|
|
1622
1622
|
}
|
|
1623
1623
|
declare const ImageField: React__default.ForwardRefExoticComponent<ImageFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1624
1624
|
|
|
1625
|
-
|
|
1625
|
+
interface RufousTextEditorProps {
|
|
1626
|
+
content?: string;
|
|
1627
|
+
placeholder?: string;
|
|
1628
|
+
editable?: boolean;
|
|
1629
|
+
onSave?: (html: string, json: any) => void;
|
|
1630
|
+
onExport?: (html: string, json: any) => void;
|
|
1631
|
+
onChange?: (html: string, json: any) => void;
|
|
1632
|
+
onAICommand?: (prompt: string, text: string, previousResults?: string[]) => Promise<string>;
|
|
1633
|
+
onTranslate?: (text: string, sourceLang: string, targetLang: string) => Promise<string>;
|
|
1634
|
+
onSpeechToText?: (text: string) => Promise<string>;
|
|
1635
|
+
onTextToSpeech?: (text: string, voice?: string) => Promise<string>;
|
|
1636
|
+
mentions?: Array<{
|
|
1637
|
+
id: string;
|
|
1638
|
+
name: string;
|
|
1639
|
+
avatar?: string;
|
|
1640
|
+
}>;
|
|
1641
|
+
className?: string;
|
|
1642
|
+
style?: React__default.CSSProperties;
|
|
1643
|
+
}
|
|
1644
|
+
declare const RufousTextEditor: React__default.FC<RufousTextEditorProps>;
|
|
1645
|
+
|
|
1646
|
+
interface MentionItemData {
|
|
1647
|
+
id: string;
|
|
1648
|
+
name: string;
|
|
1649
|
+
avatar?: string;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
export { APP_THEMES, Accordion, AccordionDetails, type AccordionDetailsProps, type AccordionProps, AccordionSummary, type AccordionSummaryProps, type Action, ActivateUserIcon, AddButton, AddressLookup, ArchivedIcon, AssignGroupIcon, Autocomplete, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, BaseDialog, Box, type BoxProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CameraIcon, CancelButton, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, CircularProgressIcon, type CircularProgressIconProps, CloseIcon, Collapse, type CollapseProps, type Column, CopyIcon, DataGrid, type DataGridProps, DateField, type DateFieldProps, type DateFormatString, DateRangeField, type DateRangeFieldProps, type DateRangeValue, DifficultyAllIcon, DifficultyEasyIcon, DifficultyHardIcon, DifficultyMediumIcon, Divider, type DividerProps, DollarIcon, DownloadIcon, DownloadPdfIcon, Drawer, type DrawerProps, EditChatIcon, EditIcon, EngagementIcon, Fade, type FadeProps, FunctionIcon, Grid, type GridProps, Grow, type GrowProps, HelpOutlinedIcon, HierarchyIcon, IconButton, type IconButtonProps, ImageField, type ImageFieldProps, InactiveGroupIcon, IndustryIcon, InvoiceIcon, Link, type LinkProps, List, ListItem, ListItemButton, type ListItemButtonProps, ListItemIcon, type ListItemIconProps, type ListItemProps, ListItemText, type ListItemTextProps, type ListProps, ListSubheader, type ListSubheaderProps, LocationPinIcon, LogsIcon, type MentionItem, Menu, MenuDivider, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MinExperienceIcon, NineDotMenuIcon, NotificationIcon, Paper, type PaperProps, Popover, type PopoverProps, Popper, type PopperProps, ProjectIcon, QualificationsIcon, QuestionStatusAllIcon, QuestionStatusPrivateIcon, QuestionStatusPublicIcon, QuestionTypeAllIcon, QuestionTypeCodingIcon, QuestionTypeDescriptiveIcon, QuestionTypeMultipleIcon, QuestionTypeSingleIcon, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, RefreshIcon, ResendInviteIcon, RichTextEditor, type RichTextEditorProps, RolesIcon, RufousAiIcon, RufousBirdIcon, RufousLauncherIcon, RufousLogoLoader, type RufousLogoLoaderProps, RufousTextEditor, type MentionItemData as RufousTextEditorMentionItem, type RufousTextEditorProps, RufousThemeProvider, Select, type SelectProps, SidebarIcon, Skeleton, type SkeletonProps, Slide, type SlideProps, Slider, type SliderProps, Snackbar, type SnackbarProps, SoftSkillsIcon, type SortDirection, Stack, type StackProps, StandardButton, Step, StepButton, type StepButtonProps, StepContent, type StepContentProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps, SubmitButton, SubscribeIcon, SuspendUserIcon, Switch, type SwitchProps, type SxProp, Tab, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, TechnicalSkillsIcon, TextField, type TextFieldProps, TickIcon, TimerIcon, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Tooltip, type TooltipProps, TrashIcon, Typography, type TypographyProps, UnArchivedIcon, UnsubscribeIcon, UploadIcon, UserAssignIcon, ViewIcon, WorkItemIcon, Zoom, type ZoomProps, useRufousTheme };
|