@rufous/ui 0.1.83 → 0.1.85

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.css CHANGED
@@ -1494,6 +1494,11 @@ pre {
1494
1494
  justify-content: space-between;
1495
1495
  padding: 18px 20px 12px;
1496
1496
  }
1497
+ .rf-date-picker__header-labels {
1498
+ display: flex;
1499
+ align-items: center;
1500
+ gap: 6px;
1501
+ }
1497
1502
  .rf-date-picker__month-label {
1498
1503
  font-size: 1rem;
1499
1504
  font-weight: 700;
@@ -1501,6 +1506,33 @@ pre {
1501
1506
  letter-spacing: -0.01em;
1502
1507
  cursor: pointer;
1503
1508
  user-select: none;
1509
+ padding: 2px 6px;
1510
+ border-radius: 6px;
1511
+ transition: background-color 0.15s ease;
1512
+ }
1513
+ .rf-date-picker__month-label:hover {
1514
+ background-color: rgba(164, 27, 6, 0.08);
1515
+ }
1516
+ .rf-date-picker__month-label--active {
1517
+ background-color: rgba(164, 27, 6, 0.1);
1518
+ color: #a41b06;
1519
+ }
1520
+ .rf-date-picker__year-label {
1521
+ font-size: 1rem;
1522
+ font-weight: 700;
1523
+ color: #555555;
1524
+ cursor: pointer;
1525
+ user-select: none;
1526
+ padding: 2px 6px;
1527
+ border-radius: 6px;
1528
+ transition: background-color 0.15s ease;
1529
+ }
1530
+ .rf-date-picker__year-label:hover {
1531
+ background-color: rgba(164, 27, 6, 0.08);
1532
+ }
1533
+ .rf-date-picker__year-label--active {
1534
+ background-color: rgba(164, 27, 6, 0.1);
1535
+ color: #a41b06;
1504
1536
  }
1505
1537
  .rf-date-picker__nav {
1506
1538
  display: flex;
@@ -1884,6 +1916,83 @@ pre {
1884
1916
  color: rgba(0, 0, 0, 0.75);
1885
1917
  background-color: rgba(0, 0, 0, 0.05);
1886
1918
  }
1919
+ .rf-date-picker--drop-up {
1920
+ top: auto;
1921
+ bottom: calc(100% + 6px);
1922
+ transform-origin: bottom left;
1923
+ }
1924
+ .rf-date-picker__month-grid {
1925
+ display: grid;
1926
+ grid-template-columns: repeat(3, 1fr);
1927
+ gap: 6px;
1928
+ padding: 8px 16px 12px;
1929
+ }
1930
+ .rf-date-picker__month-cell {
1931
+ display: flex;
1932
+ align-items: center;
1933
+ justify-content: center;
1934
+ padding: 10px 8px;
1935
+ border-radius: 8px;
1936
+ font-size: 0.85rem;
1937
+ font-weight: 500;
1938
+ color: #333333;
1939
+ background: none;
1940
+ border: none;
1941
+ cursor: pointer;
1942
+ transition: background-color 0.12s ease, color 0.12s ease;
1943
+ outline: none;
1944
+ }
1945
+ .rf-date-picker__month-cell:hover {
1946
+ background-color: rgba(164, 27, 6, 0.08);
1947
+ }
1948
+ .rf-date-picker__month-cell--selected {
1949
+ background-color: #a41b06;
1950
+ color: #ffffff;
1951
+ font-weight: 600;
1952
+ }
1953
+ .rf-date-picker__month-cell--selected:hover {
1954
+ background-color: #8a1705;
1955
+ }
1956
+ .rf-date-picker__month-cell--current:not(.rf-date-picker__month-cell--selected) {
1957
+ color: #a41b06;
1958
+ font-weight: 600;
1959
+ }
1960
+ .rf-date-picker__year-grid {
1961
+ display: grid;
1962
+ grid-template-columns: repeat(4, 1fr);
1963
+ gap: 6px;
1964
+ padding: 8px 16px 12px;
1965
+ }
1966
+ .rf-date-picker__year-cell {
1967
+ display: flex;
1968
+ align-items: center;
1969
+ justify-content: center;
1970
+ padding: 10px 4px;
1971
+ border-radius: 8px;
1972
+ font-size: 0.85rem;
1973
+ font-weight: 500;
1974
+ color: #333333;
1975
+ background: none;
1976
+ border: none;
1977
+ cursor: pointer;
1978
+ transition: background-color 0.12s ease, color 0.12s ease;
1979
+ outline: none;
1980
+ }
1981
+ .rf-date-picker__year-cell:hover {
1982
+ background-color: rgba(164, 27, 6, 0.08);
1983
+ }
1984
+ .rf-date-picker__year-cell--selected {
1985
+ background-color: #a41b06;
1986
+ color: #ffffff;
1987
+ font-weight: 600;
1988
+ }
1989
+ .rf-date-picker__year-cell--selected:hover {
1990
+ background-color: #8a1705;
1991
+ }
1992
+ .rf-date-picker__year-cell--current:not(.rf-date-picker__year-cell--selected) {
1993
+ color: #a41b06;
1994
+ font-weight: 600;
1995
+ }
1887
1996
 
1888
1997
  /* lib/styles/date-range-field.css */
1889
1998
  .rf-date-range-field {
@@ -2345,6 +2454,16 @@ pre {
2345
2454
  padding-left: 0;
2346
2455
  margin-top: 0;
2347
2456
  }
2457
+ .rf-autocomplete.rf-text-field--disabled .rf-text-field__wrapper {
2458
+ cursor: not-allowed;
2459
+ }
2460
+ .rf-autocomplete.rf-text-field--disabled .rf-autocomplete__tag {
2461
+ opacity: 0.5;
2462
+ }
2463
+ .rf-autocomplete.rf-text-field--disabled .rf-autocomplete__endgroup {
2464
+ opacity: 0.35;
2465
+ pointer-events: none;
2466
+ }
2348
2467
  .rf-autocomplete__icon-btn {
2349
2468
  background: none;
2350
2469
  border: none;
@@ -2571,6 +2690,18 @@ pre {
2571
2690
  .rf-select.rf-text-field--disabled .rf-text-field__wrapper {
2572
2691
  cursor: not-allowed;
2573
2692
  }
2693
+ .rf-select.rf-text-field--disabled .rf-select__display {
2694
+ color: var(--tf-disabled-color, rgba(0, 0, 0, 0.38));
2695
+ }
2696
+ .rf-select.rf-text-field--disabled .rf-select__arrow {
2697
+ color: rgba(0, 0, 0, 0.2);
2698
+ }
2699
+ .rf-select.rf-text-field--disabled .rf-select__chip {
2700
+ opacity: 0.5;
2701
+ }
2702
+ .rf-select.rf-text-field--disabled .rf-select__count {
2703
+ opacity: 0.5;
2704
+ }
2574
2705
  .rf-select__display {
2575
2706
  display: flex;
2576
2707
  align-items: center;
@@ -4893,6 +5024,12 @@ pre {
4893
5024
  align-items: center;
4894
5025
  font-size: 1.25rem;
4895
5026
  }
5027
+ .rf-tab-panel {
5028
+ width: 100%;
5029
+ }
5030
+ .rf-tab-panel[hidden] {
5031
+ display: none;
5032
+ }
4896
5033
 
4897
5034
  /* lib/styles/breadcrumbs.css */
4898
5035
  .rf-breadcrumbs {
@@ -5717,6 +5854,95 @@ pre {
5717
5854
  width: max-content;
5718
5855
  }
5719
5856
 
5857
+ /* lib/styles/image-field.css */
5858
+ .rf-image-field {
5859
+ position: relative;
5860
+ display: inline-flex;
5861
+ align-items: center;
5862
+ justify-content: center;
5863
+ overflow: hidden;
5864
+ cursor: pointer;
5865
+ background-color: var(--border-color);
5866
+ flex-shrink: 0;
5867
+ }
5868
+ .rf-image-field--circular {
5869
+ border-radius: 50%;
5870
+ }
5871
+ .rf-image-field--rounded {
5872
+ border-radius: 12px;
5873
+ }
5874
+ .rf-image-field--square {
5875
+ border-radius: 0;
5876
+ }
5877
+ .rf-image-field--small {
5878
+ width: 64px;
5879
+ height: 64px;
5880
+ }
5881
+ .rf-image-field--medium {
5882
+ width: 96px;
5883
+ height: 96px;
5884
+ }
5885
+ .rf-image-field--large {
5886
+ width: 128px;
5887
+ height: 128px;
5888
+ }
5889
+ .rf-image-field__img {
5890
+ width: 100%;
5891
+ height: 100%;
5892
+ object-fit: cover;
5893
+ display: block;
5894
+ transition: filter 0.25s ease;
5895
+ }
5896
+ .rf-image-field__placeholder {
5897
+ display: flex;
5898
+ align-items: center;
5899
+ justify-content: center;
5900
+ width: 100%;
5901
+ height: 100%;
5902
+ color: var(--text-secondary);
5903
+ transition: filter 0.25s ease;
5904
+ }
5905
+ .rf-image-field__overlay {
5906
+ position: absolute;
5907
+ inset: 0;
5908
+ display: flex;
5909
+ align-items: center;
5910
+ justify-content: center;
5911
+ flex-direction: column;
5912
+ gap: 4px;
5913
+ background-color: rgba(0, 0, 0, 0.5);
5914
+ opacity: 0;
5915
+ transition: opacity 0.25s ease;
5916
+ pointer-events: none;
5917
+ }
5918
+ .rf-image-field:hover .rf-image-field__overlay {
5919
+ opacity: 1;
5920
+ }
5921
+ .rf-image-field:hover .rf-image-field__img {
5922
+ filter: blur(2px);
5923
+ }
5924
+ .rf-image-field__overlay-text {
5925
+ color: #ffffff;
5926
+ font-size: 0.6875rem;
5927
+ font-weight: 500;
5928
+ font-family: var(--font-family);
5929
+ text-align: center;
5930
+ line-height: 1.2;
5931
+ }
5932
+ .rf-image-field__input {
5933
+ display: none;
5934
+ }
5935
+ .rf-image-field:focus-visible {
5936
+ outline: 2px solid var(--primary-color);
5937
+ outline-offset: 2px;
5938
+ }
5939
+ .rf-image-field--disabled {
5940
+ opacity: 0.45;
5941
+ cursor: not-allowed;
5942
+ pointer-events: none;
5943
+ filter: grayscale(60%);
5944
+ }
5945
+
5720
5946
  /* lib/styles/text-field.css */
5721
5947
  .rf-text-field {
5722
5948
  --tf-primary-color: #f15b24;
@@ -5812,10 +6038,28 @@ pre {
5812
6038
  .rf-text-field__input:focus {
5813
6039
  outline: none;
5814
6040
  }
6041
+ .rf-text-field--disabled {
6042
+ pointer-events: none;
6043
+ }
6044
+ .rf-text-field--disabled .rf-text-field__wrapper {
6045
+ cursor: not-allowed;
6046
+ pointer-events: none;
6047
+ background-color: rgba(0, 0, 0, 0.04);
6048
+ }
6049
+ .rf-text-field--disabled .rf-text-field__label {
6050
+ color: var(--tf-disabled-color);
6051
+ }
6052
+ .rf-text-field--disabled .rf-text-field__adornment {
6053
+ color: var(--tf-disabled-color);
6054
+ opacity: 0.5;
6055
+ }
6056
+ .rf-text-field--disabled .rf-text-field__helper-text {
6057
+ color: var(--tf-disabled-color);
6058
+ }
5815
6059
  .rf-text-field__input:disabled {
5816
6060
  opacity: 1;
5817
6061
  color: var(--tf-disabled-color);
5818
- cursor: default;
6062
+ cursor: not-allowed;
5819
6063
  }
5820
6064
  .rf-text-field__input::placeholder {
5821
6065
  color: var(--tf-placeholder-color);
@@ -5919,7 +6163,10 @@ pre {
5919
6163
  border-width: 2px;
5920
6164
  }
5921
6165
  .rf-text-field--outlined.rf-text-field--disabled .rf-text-field__notch {
5922
- border-color: var(--tf-disabled-bg);
6166
+ border-color: rgba(0, 0, 0, 0.15);
6167
+ }
6168
+ .rf-text-field--outlined.rf-text-field--disabled .rf-text-field__wrapper:hover .rf-text-field__notch {
6169
+ border-color: rgba(0, 0, 0, 0.15);
5923
6170
  }
5924
6171
  .rf-text-field--filled .rf-text-field__wrapper {
5925
6172
  background-color: var(--tf-filled-bg);
@@ -5973,7 +6220,13 @@ pre {
5973
6220
  transform: translate(12px, 7px) scale(0.75);
5974
6221
  }
5975
6222
  .rf-text-field--filled.rf-text-field--disabled .rf-text-field__wrapper {
5976
- background-color: rgba(0, 0, 0, 0.03);
6223
+ background-color: rgba(0, 0, 0, 0.04);
6224
+ }
6225
+ .rf-text-field--filled.rf-text-field--disabled .rf-text-field__wrapper:hover {
6226
+ background-color: rgba(0, 0, 0, 0.04);
6227
+ }
6228
+ .rf-text-field--filled.rf-text-field--disabled .rf-text-field__wrapper:hover::before {
6229
+ border-bottom: 1px solid rgba(0, 0, 0, 0.42);
5977
6230
  }
5978
6231
  .rf-text-field--filled.rf-text-field--disabled .rf-text-field__wrapper::before {
5979
6232
  border-bottom-style: dotted;
@@ -6023,6 +6276,9 @@ pre {
6023
6276
  .rf-text-field--standard.rf-text-field--disabled .rf-text-field__wrapper::before {
6024
6277
  border-bottom-style: dotted;
6025
6278
  }
6279
+ .rf-text-field--standard.rf-text-field--disabled .rf-text-field__wrapper:hover::before {
6280
+ border-bottom: 1px dotted rgba(0, 0, 0, 0.42);
6281
+ }
6026
6282
  .rf-text-field--error .rf-text-field__label,
6027
6283
  .rf-text-field--error .rf-text-field__wrapper:focus-within .rf-text-field__label {
6028
6284
  color: var(--tf-error-color);
@@ -6129,6 +6385,13 @@ pre {
6129
6385
  margin-right: 10px;
6130
6386
  margin-left: 0;
6131
6387
  }
6388
+ .rf-text-field--compact.rf-text-field--disabled .rf-text-field__wrapper {
6389
+ border-color: rgba(0, 0, 0, 0.12);
6390
+ background-color: rgba(0, 0, 0, 0.04);
6391
+ }
6392
+ .rf-text-field--compact.rf-text-field--disabled .rf-text-field__wrapper:hover {
6393
+ border-color: rgba(0, 0, 0, 0.12);
6394
+ }
6132
6395
 
6133
6396
  /* node_modules/jodit/es5/jodit.min.css */
6134
6397
  .jodit-ui-button-icon-text__icon {
package/dist/main.d.cts CHANGED
@@ -383,6 +383,11 @@ interface QualificationsIconProps extends React.SVGProps<SVGSVGElement> {
383
383
  }
384
384
  declare const QualificationsIcon: React.FC<QualificationsIconProps>;
385
385
 
386
+ interface CameraIconProps extends React.SVGProps<SVGSVGElement> {
387
+ color?: string;
388
+ }
389
+ declare const CameraIcon: React.FC<CameraIconProps>;
390
+
386
391
  type SxProp = {
387
392
  [key: string]: string | number | SxProp | undefined | null;
388
393
  };
@@ -544,7 +549,7 @@ interface AddressLookupProps {
544
549
  */
545
550
  declare const AddressLookup: ({ value, onChange, label, error, size, sx, layout, required, token, }: AddressLookupProps) => React__default.JSX.Element;
546
551
 
547
- type DateFormatString = "MM/DD/YYYY" | "DD/MM/YYYY" | "YYYY-MM-DD" | "DD-MM-YYYY" | "MM-DD-YYYY" | "YYYY/MM/DD";
552
+ type DateFormatString = "MM/DD/YYYY" | "DD/MM/YYYY" | "YYYY-MM-DD" | "DD-MM-YYYY" | "MM-DD-YYYY" | "YYYY/MM/DD" | "DD MMM YYYY" | "MMM DD, YYYY" | "DD MMMM YYYY" | "MMMM DD, YYYY";
548
553
  interface DateFieldProps {
549
554
  /** Floating label */
550
555
  label?: string;
@@ -749,11 +754,13 @@ interface DataGridProps<T> {
749
754
  pageSize?: number;
750
755
  pageSizeOptions?: number[];
751
756
  title?: string;
757
+ className?: string;
758
+ sx?: SxProp;
752
759
  }
753
760
 
754
761
  declare function DataGrid<T extends {
755
762
  id: string | number;
756
- }>({ columns: initialColumnsProp, data, actions, pageSize: initialPageSize, pageSizeOptions, title }: DataGridProps<T>): React__default.JSX.Element;
763
+ }>({ columns: initialColumnsProp, data, actions, pageSize: initialPageSize, pageSizeOptions, title, className, sx, }: DataGridProps<T>): React__default.JSX.Element;
757
764
 
758
765
  interface MentionItem {
759
766
  id: string;
@@ -1115,6 +1122,23 @@ interface BoxProps extends React.HTMLAttributes<HTMLElement> {
1115
1122
  margin?: string | number;
1116
1123
  width?: string | number;
1117
1124
  height?: string | number;
1125
+ minWidth?: string | number;
1126
+ maxWidth?: string | number;
1127
+ minHeight?: string | number;
1128
+ maxHeight?: string | number;
1129
+ flex?: string | number;
1130
+ flexWrap?: string;
1131
+ flexGrow?: number;
1132
+ flexShrink?: number;
1133
+ overflow?: string;
1134
+ position?: string;
1135
+ top?: string | number;
1136
+ right?: string | number;
1137
+ bottom?: string | number;
1138
+ left?: string | number;
1139
+ borderRadius?: string | number;
1140
+ bgcolor?: string;
1141
+ color?: string;
1118
1142
  className?: string;
1119
1143
  style?: CSSProperties;
1120
1144
  sx?: SxProp;
@@ -1129,6 +1153,8 @@ interface StackProps extends React.HTMLAttributes<HTMLElement> {
1129
1153
  divider?: ReactNode;
1130
1154
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse";
1131
1155
  useFlexGap?: boolean;
1156
+ flex?: string | number;
1157
+ overflow?: string;
1132
1158
  component?: keyof React.JSX.IntrinsicElements;
1133
1159
  children: ReactNode;
1134
1160
  className?: string;
@@ -1277,6 +1303,16 @@ interface TabsProps {
1277
1303
  sx?: SxProp;
1278
1304
  }
1279
1305
  declare const Tabs: React__default.FC<TabsProps>;
1306
+ interface TabPanelProps {
1307
+ value: string | number;
1308
+ activeValue: string | number;
1309
+ children: ReactNode;
1310
+ keepMounted?: boolean;
1311
+ className?: string;
1312
+ style?: CSSProperties;
1313
+ sx?: SxProp;
1314
+ }
1315
+ declare const TabPanel: React__default.FC<TabPanelProps>;
1280
1316
 
1281
1317
  interface BreadcrumbsProps {
1282
1318
  separator?: ReactNode;
@@ -1527,4 +1563,27 @@ interface ZoomProps extends BaseTransitionProps {
1527
1563
  }
1528
1564
  declare const Zoom: React__default.FC<ZoomProps>;
1529
1565
 
1530
- 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, 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, 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, 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, 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 };
1566
+ interface ImageFieldProps {
1567
+ /** Current image URL to display */
1568
+ src?: string;
1569
+ /** Alt text for the image */
1570
+ alt?: string;
1571
+ /** Shape of the image field */
1572
+ variant?: "circular" | "rounded" | "square";
1573
+ /** Predefined size or custom pixel value */
1574
+ size?: "small" | "medium" | "large" | number;
1575
+ /** Accepted file types (default: "image/*") */
1576
+ accept?: string;
1577
+ /** Called with the selected File when user picks an image */
1578
+ onChange?: (file: File) => void;
1579
+ /** Overlay label text (default: "Upload") */
1580
+ overlayText?: string;
1581
+ /** Disable interaction */
1582
+ disabled?: boolean;
1583
+ className?: string;
1584
+ style?: CSSProperties;
1585
+ sx?: SxProp;
1586
+ }
1587
+ declare const ImageField: React__default.ForwardRefExoticComponent<ImageFieldProps & React__default.RefAttributes<HTMLDivElement>>;
1588
+
1589
+ 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, 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, 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, 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
@@ -383,6 +383,11 @@ interface QualificationsIconProps extends React.SVGProps<SVGSVGElement> {
383
383
  }
384
384
  declare const QualificationsIcon: React.FC<QualificationsIconProps>;
385
385
 
386
+ interface CameraIconProps extends React.SVGProps<SVGSVGElement> {
387
+ color?: string;
388
+ }
389
+ declare const CameraIcon: React.FC<CameraIconProps>;
390
+
386
391
  type SxProp = {
387
392
  [key: string]: string | number | SxProp | undefined | null;
388
393
  };
@@ -544,7 +549,7 @@ interface AddressLookupProps {
544
549
  */
545
550
  declare const AddressLookup: ({ value, onChange, label, error, size, sx, layout, required, token, }: AddressLookupProps) => React__default.JSX.Element;
546
551
 
547
- type DateFormatString = "MM/DD/YYYY" | "DD/MM/YYYY" | "YYYY-MM-DD" | "DD-MM-YYYY" | "MM-DD-YYYY" | "YYYY/MM/DD";
552
+ type DateFormatString = "MM/DD/YYYY" | "DD/MM/YYYY" | "YYYY-MM-DD" | "DD-MM-YYYY" | "MM-DD-YYYY" | "YYYY/MM/DD" | "DD MMM YYYY" | "MMM DD, YYYY" | "DD MMMM YYYY" | "MMMM DD, YYYY";
548
553
  interface DateFieldProps {
549
554
  /** Floating label */
550
555
  label?: string;
@@ -749,11 +754,13 @@ interface DataGridProps<T> {
749
754
  pageSize?: number;
750
755
  pageSizeOptions?: number[];
751
756
  title?: string;
757
+ className?: string;
758
+ sx?: SxProp;
752
759
  }
753
760
 
754
761
  declare function DataGrid<T extends {
755
762
  id: string | number;
756
- }>({ columns: initialColumnsProp, data, actions, pageSize: initialPageSize, pageSizeOptions, title }: DataGridProps<T>): React__default.JSX.Element;
763
+ }>({ columns: initialColumnsProp, data, actions, pageSize: initialPageSize, pageSizeOptions, title, className, sx, }: DataGridProps<T>): React__default.JSX.Element;
757
764
 
758
765
  interface MentionItem {
759
766
  id: string;
@@ -1115,6 +1122,23 @@ interface BoxProps extends React.HTMLAttributes<HTMLElement> {
1115
1122
  margin?: string | number;
1116
1123
  width?: string | number;
1117
1124
  height?: string | number;
1125
+ minWidth?: string | number;
1126
+ maxWidth?: string | number;
1127
+ minHeight?: string | number;
1128
+ maxHeight?: string | number;
1129
+ flex?: string | number;
1130
+ flexWrap?: string;
1131
+ flexGrow?: number;
1132
+ flexShrink?: number;
1133
+ overflow?: string;
1134
+ position?: string;
1135
+ top?: string | number;
1136
+ right?: string | number;
1137
+ bottom?: string | number;
1138
+ left?: string | number;
1139
+ borderRadius?: string | number;
1140
+ bgcolor?: string;
1141
+ color?: string;
1118
1142
  className?: string;
1119
1143
  style?: CSSProperties;
1120
1144
  sx?: SxProp;
@@ -1129,6 +1153,8 @@ interface StackProps extends React.HTMLAttributes<HTMLElement> {
1129
1153
  divider?: ReactNode;
1130
1154
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse";
1131
1155
  useFlexGap?: boolean;
1156
+ flex?: string | number;
1157
+ overflow?: string;
1132
1158
  component?: keyof React.JSX.IntrinsicElements;
1133
1159
  children: ReactNode;
1134
1160
  className?: string;
@@ -1277,6 +1303,16 @@ interface TabsProps {
1277
1303
  sx?: SxProp;
1278
1304
  }
1279
1305
  declare const Tabs: React__default.FC<TabsProps>;
1306
+ interface TabPanelProps {
1307
+ value: string | number;
1308
+ activeValue: string | number;
1309
+ children: ReactNode;
1310
+ keepMounted?: boolean;
1311
+ className?: string;
1312
+ style?: CSSProperties;
1313
+ sx?: SxProp;
1314
+ }
1315
+ declare const TabPanel: React__default.FC<TabPanelProps>;
1280
1316
 
1281
1317
  interface BreadcrumbsProps {
1282
1318
  separator?: ReactNode;
@@ -1527,4 +1563,27 @@ interface ZoomProps extends BaseTransitionProps {
1527
1563
  }
1528
1564
  declare const Zoom: React__default.FC<ZoomProps>;
1529
1565
 
1530
- 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, 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, 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, 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, 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 };
1566
+ interface ImageFieldProps {
1567
+ /** Current image URL to display */
1568
+ src?: string;
1569
+ /** Alt text for the image */
1570
+ alt?: string;
1571
+ /** Shape of the image field */
1572
+ variant?: "circular" | "rounded" | "square";
1573
+ /** Predefined size or custom pixel value */
1574
+ size?: "small" | "medium" | "large" | number;
1575
+ /** Accepted file types (default: "image/*") */
1576
+ accept?: string;
1577
+ /** Called with the selected File when user picks an image */
1578
+ onChange?: (file: File) => void;
1579
+ /** Overlay label text (default: "Upload") */
1580
+ overlayText?: string;
1581
+ /** Disable interaction */
1582
+ disabled?: boolean;
1583
+ className?: string;
1584
+ style?: CSSProperties;
1585
+ sx?: SxProp;
1586
+ }
1587
+ declare const ImageField: React__default.ForwardRefExoticComponent<ImageFieldProps & React__default.RefAttributes<HTMLDivElement>>;
1588
+
1589
+ 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, 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, 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, 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 };