@rufous/ui 0.2.52 → 0.2.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/dist/main.cjs +9001 -41443
- package/dist/main.css +114 -7506
- package/dist/main.d.cts +1 -55
- package/dist/main.d.ts +1 -55
- package/dist/main.js +826 -4293
- package/package.json +1 -2
- package/dist/chunk-LI4N7JWK.js +0 -39
- package/dist/esm-5T53WHPT.js +0 -27362
package/dist/main.d.cts
CHANGED
|
@@ -806,60 +806,6 @@ declare function DataGrid<T extends {
|
|
|
806
806
|
id: string | number;
|
|
807
807
|
}>({ columns: initialColumnsProp, data, actions, pageSize: initialPageSize, pageSizeOptions, title, className, sx, }: DataGridProps<T>): React__default.JSX.Element;
|
|
808
808
|
|
|
809
|
-
interface MentionItem {
|
|
810
|
-
id: string;
|
|
811
|
-
userId?: string;
|
|
812
|
-
name: string;
|
|
813
|
-
link?: string;
|
|
814
|
-
}
|
|
815
|
-
interface RichTextEditorProps {
|
|
816
|
-
/** Current HTML value */
|
|
817
|
-
value?: string;
|
|
818
|
-
/** Called whenever content changes */
|
|
819
|
-
onChange?: (value: string) => void;
|
|
820
|
-
/** Called when editor loses focus */
|
|
821
|
-
onBlur?: (value: string) => void;
|
|
822
|
-
/** Called when an error occurs (e.g. image upload failure) */
|
|
823
|
-
onError?: (message: string) => void;
|
|
824
|
-
/** Called when the optional close button is clicked */
|
|
825
|
-
onClose?: () => void;
|
|
826
|
-
/** Called after a successful image upload, with the resulting URL */
|
|
827
|
-
onImageUploadSuccess?: (url: string) => void;
|
|
828
|
-
/** Editor height (CSS value) */
|
|
829
|
-
height?: string;
|
|
830
|
-
/** Editor width (CSS value) */
|
|
831
|
-
width?: string;
|
|
832
|
-
/** Placeholder text */
|
|
833
|
-
placeholder?: string;
|
|
834
|
-
/** Disable editing */
|
|
835
|
-
disabled?: boolean;
|
|
836
|
-
/** Allow the user to drag-resize the editor height */
|
|
837
|
-
allowResizeY?: boolean;
|
|
838
|
-
/** Add fullsize toggle to toolbar */
|
|
839
|
-
fullSize?: boolean;
|
|
840
|
-
/** Enable Jodit Pro AI assistant (requires licenseKey) */
|
|
841
|
-
aiSupport?: boolean;
|
|
842
|
-
/** Jodit Pro license key — enables Pro features when provided */
|
|
843
|
-
licenseKey?: string;
|
|
844
|
-
/** Google Translate API key */
|
|
845
|
-
translationKey?: string;
|
|
846
|
-
/** Bearer token for image upload requests */
|
|
847
|
-
token?: string;
|
|
848
|
-
/** API endpoint for image uploads */
|
|
849
|
-
uploadUrl?: string;
|
|
850
|
-
/** @mention data */
|
|
851
|
-
mentions?: {
|
|
852
|
-
arr: MentionItem[];
|
|
853
|
-
};
|
|
854
|
-
/** Validation error message shown below the editor */
|
|
855
|
-
error?: string | null;
|
|
856
|
-
/** Extra CSS class on the root wrapper */
|
|
857
|
-
className?: string;
|
|
858
|
-
/** Extra inline styles on the root wrapper */
|
|
859
|
-
style?: React__default.CSSProperties;
|
|
860
|
-
}
|
|
861
|
-
declare function RichTextEditor({ value, onChange, onBlur, onError, onClose, onImageUploadSuccess, height, width, placeholder, disabled, allowResizeY, fullSize, aiSupport, licenseKey, translationKey, token, uploadUrl, mentions, error, className, style, }: RichTextEditorProps): React__default.JSX.Element;
|
|
862
|
-
|
|
863
809
|
type SelectOption = {
|
|
864
810
|
value: string | number;
|
|
865
811
|
label: string;
|
|
@@ -1716,4 +1662,4 @@ interface MentionItemData {
|
|
|
1716
1662
|
avatar?: string;
|
|
1717
1663
|
}
|
|
1718
1664
|
|
|
1719
|
-
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,
|
|
1665
|
+
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, Menu, MenuDivider, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MinExperienceIcon, NineDotMenuIcon, NotificationIcon, Paper, type PaperProps, PhoneField, type PhoneFieldProps, 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, RolesIcon, RufousAiIcon, RufousBirdIcon, RufousLauncherIcon, RufousLogoLoader, type RufousLogoLoaderProps, RufousTextContent, type RufousTextContentProps, 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
|
@@ -806,60 +806,6 @@ declare function DataGrid<T extends {
|
|
|
806
806
|
id: string | number;
|
|
807
807
|
}>({ columns: initialColumnsProp, data, actions, pageSize: initialPageSize, pageSizeOptions, title, className, sx, }: DataGridProps<T>): React__default.JSX.Element;
|
|
808
808
|
|
|
809
|
-
interface MentionItem {
|
|
810
|
-
id: string;
|
|
811
|
-
userId?: string;
|
|
812
|
-
name: string;
|
|
813
|
-
link?: string;
|
|
814
|
-
}
|
|
815
|
-
interface RichTextEditorProps {
|
|
816
|
-
/** Current HTML value */
|
|
817
|
-
value?: string;
|
|
818
|
-
/** Called whenever content changes */
|
|
819
|
-
onChange?: (value: string) => void;
|
|
820
|
-
/** Called when editor loses focus */
|
|
821
|
-
onBlur?: (value: string) => void;
|
|
822
|
-
/** Called when an error occurs (e.g. image upload failure) */
|
|
823
|
-
onError?: (message: string) => void;
|
|
824
|
-
/** Called when the optional close button is clicked */
|
|
825
|
-
onClose?: () => void;
|
|
826
|
-
/** Called after a successful image upload, with the resulting URL */
|
|
827
|
-
onImageUploadSuccess?: (url: string) => void;
|
|
828
|
-
/** Editor height (CSS value) */
|
|
829
|
-
height?: string;
|
|
830
|
-
/** Editor width (CSS value) */
|
|
831
|
-
width?: string;
|
|
832
|
-
/** Placeholder text */
|
|
833
|
-
placeholder?: string;
|
|
834
|
-
/** Disable editing */
|
|
835
|
-
disabled?: boolean;
|
|
836
|
-
/** Allow the user to drag-resize the editor height */
|
|
837
|
-
allowResizeY?: boolean;
|
|
838
|
-
/** Add fullsize toggle to toolbar */
|
|
839
|
-
fullSize?: boolean;
|
|
840
|
-
/** Enable Jodit Pro AI assistant (requires licenseKey) */
|
|
841
|
-
aiSupport?: boolean;
|
|
842
|
-
/** Jodit Pro license key — enables Pro features when provided */
|
|
843
|
-
licenseKey?: string;
|
|
844
|
-
/** Google Translate API key */
|
|
845
|
-
translationKey?: string;
|
|
846
|
-
/** Bearer token for image upload requests */
|
|
847
|
-
token?: string;
|
|
848
|
-
/** API endpoint for image uploads */
|
|
849
|
-
uploadUrl?: string;
|
|
850
|
-
/** @mention data */
|
|
851
|
-
mentions?: {
|
|
852
|
-
arr: MentionItem[];
|
|
853
|
-
};
|
|
854
|
-
/** Validation error message shown below the editor */
|
|
855
|
-
error?: string | null;
|
|
856
|
-
/** Extra CSS class on the root wrapper */
|
|
857
|
-
className?: string;
|
|
858
|
-
/** Extra inline styles on the root wrapper */
|
|
859
|
-
style?: React__default.CSSProperties;
|
|
860
|
-
}
|
|
861
|
-
declare function RichTextEditor({ value, onChange, onBlur, onError, onClose, onImageUploadSuccess, height, width, placeholder, disabled, allowResizeY, fullSize, aiSupport, licenseKey, translationKey, token, uploadUrl, mentions, error, className, style, }: RichTextEditorProps): React__default.JSX.Element;
|
|
862
|
-
|
|
863
809
|
type SelectOption = {
|
|
864
810
|
value: string | number;
|
|
865
811
|
label: string;
|
|
@@ -1716,4 +1662,4 @@ interface MentionItemData {
|
|
|
1716
1662
|
avatar?: string;
|
|
1717
1663
|
}
|
|
1718
1664
|
|
|
1719
|
-
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,
|
|
1665
|
+
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, Menu, MenuDivider, MenuItem, type MenuItemProps, MenuList, type MenuListProps, type MenuProps, MinExperienceIcon, NineDotMenuIcon, NotificationIcon, Paper, type PaperProps, PhoneField, type PhoneFieldProps, 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, RolesIcon, RufousAiIcon, RufousBirdIcon, RufousLauncherIcon, RufousLogoLoader, type RufousLogoLoaderProps, RufousTextContent, type RufousTextContentProps, 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 };
|