@rufous/ui 0.1.85 → 0.1.86

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
@@ -1,116 +1,5 @@
1
1
  @import "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap";
2
2
 
3
- /* lib/styles/button.css */
4
- .btn {
5
- padding: 10px 20px;
6
- border-radius: 6px;
7
- font-size: 14px;
8
- font-weight: 600;
9
- cursor: pointer;
10
- transition: all 0.2s ease-in-out;
11
- border: none;
12
- display: inline-flex;
13
- align-items: center;
14
- justify-content: center;
15
- gap: 8px;
16
- text-transform: uppercase;
17
- letter-spacing: 0.5px;
18
- white-space: nowrap;
19
- }
20
- .add-btn,
21
- .btn-add {
22
- background-color: transparent;
23
- border: 1.5px solid var(--primary-color) !important;
24
- color: var(--primary-color) !important;
25
- border-radius: 34px;
26
- }
27
- .add-btn:hover,
28
- .btn-add:hover {
29
- background-color: var(--primary-color);
30
- color: #ffffff !important;
31
- }
32
- .cancel-btn,
33
- .btn-cancel {
34
- background-color: transparent;
35
- border: 1.5px solid var(--primary-color) !important;
36
- color: var(--primary-color) !important;
37
- border-radius: 34px;
38
- padding: 10px 24px;
39
- font-size: 14px;
40
- font-weight: 600;
41
- cursor: pointer;
42
- text-transform: uppercase;
43
- display: inline-flex;
44
- align-items: center;
45
- justify-content: center;
46
- letter-spacing: 0.5px;
47
- transition: all 0.2s;
48
- }
49
- .cancel-btn:hover,
50
- .btn-cancel:hover {
51
- background-color: var(--hover-color);
52
- }
53
- .submit-btn,
54
- .btn-submit,
55
- .btn-confirm {
56
- background-color: var(--primary-color) !important;
57
- color: #ffffff !important;
58
- border: none;
59
- border-radius: 6px;
60
- padding: 10px 32px;
61
- font-size: 14px;
62
- font-weight: 600;
63
- cursor: pointer;
64
- text-transform: uppercase;
65
- display: inline-flex;
66
- align-items: center;
67
- justify-content: center;
68
- letter-spacing: 0.5px;
69
- transition: all 0.2s ease;
70
- }
71
- .submit-btn:hover:not(:disabled),
72
- .btn-submit:hover:not(:disabled),
73
- .btn-confirm:hover:not(:disabled) {
74
- background-color: var(--secondary-color) !important;
75
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
76
- transform: translateY(-1px);
77
- }
78
- .standard-btn,
79
- .btn-std {
80
- background-color: var(--surface-color);
81
- border: 1.5px solid var(--border-color) !important;
82
- color: var(--text-color) !important;
83
- border-radius: 6px;
84
- }
85
- .standard-btn:hover,
86
- .btn-std:hover {
87
- background-color: var(--hover-color);
88
- border-color: var(--primary-color) !important;
89
- color: var(--primary-color) !important;
90
- }
91
- .btn:disabled,
92
- .cancel-btn:disabled,
93
- .submit-btn:disabled,
94
- .standard-btn:disabled,
95
- .btn-confirm:disabled,
96
- .btn-cancel:disabled {
97
- opacity: 0.4;
98
- cursor: not-allowed;
99
- pointer-events: none;
100
- }
101
- .btn-content {
102
- display: inline-flex;
103
- align-items: center;
104
- gap: 8px;
105
- }
106
- .submit-btn-gradiant {
107
- background:
108
- linear-gradient(
109
- 135deg,
110
- var(--primary-color),
111
- var(--secondary-color)) !important;
112
- }
113
-
114
3
  /* lib/styles/checkbox.css */
115
4
  .checkbox-wrapper-13 {
116
5
  display: inline-flex;
@@ -5943,6 +5832,363 @@ pre {
5943
5832
  filter: grayscale(60%);
5944
5833
  }
5945
5834
 
5835
+ /* lib/styles/button.css */
5836
+ .btn {
5837
+ padding: 10px 20px;
5838
+ border-radius: 6px;
5839
+ font-size: 14px;
5840
+ font-weight: 600;
5841
+ cursor: pointer;
5842
+ transition: all 0.2s ease-in-out;
5843
+ border: none;
5844
+ display: inline-flex;
5845
+ align-items: center;
5846
+ justify-content: center;
5847
+ gap: 8px;
5848
+ text-transform: uppercase;
5849
+ letter-spacing: 0.5px;
5850
+ white-space: nowrap;
5851
+ }
5852
+ .add-btn,
5853
+ .btn-add {
5854
+ background-color: transparent;
5855
+ border: 1.5px solid var(--primary-color) !important;
5856
+ color: var(--primary-color) !important;
5857
+ border-radius: 34px;
5858
+ }
5859
+ .add-btn:hover,
5860
+ .btn-add:hover {
5861
+ background-color: var(--primary-color);
5862
+ color: #ffffff !important;
5863
+ }
5864
+ .cancel-btn,
5865
+ .btn-cancel {
5866
+ background-color: transparent;
5867
+ border: 1.5px solid var(--primary-color) !important;
5868
+ color: var(--primary-color) !important;
5869
+ border-radius: 34px;
5870
+ padding: 10px 24px;
5871
+ font-size: 14px;
5872
+ font-weight: 600;
5873
+ cursor: pointer;
5874
+ text-transform: uppercase;
5875
+ display: inline-flex;
5876
+ align-items: center;
5877
+ justify-content: center;
5878
+ letter-spacing: 0.5px;
5879
+ transition: all 0.2s;
5880
+ }
5881
+ .cancel-btn:hover,
5882
+ .btn-cancel:hover {
5883
+ background-color: var(--hover-color);
5884
+ }
5885
+ .submit-btn,
5886
+ .btn-submit,
5887
+ .btn-confirm {
5888
+ background-color: var(--primary-color) !important;
5889
+ color: #ffffff !important;
5890
+ border: none;
5891
+ border-radius: 6px;
5892
+ padding: 10px 32px;
5893
+ font-size: 14px;
5894
+ font-weight: 600;
5895
+ cursor: pointer;
5896
+ text-transform: uppercase;
5897
+ display: inline-flex;
5898
+ align-items: center;
5899
+ justify-content: center;
5900
+ letter-spacing: 0.5px;
5901
+ transition: all 0.2s ease;
5902
+ }
5903
+ .submit-btn:hover:not(:disabled),
5904
+ .btn-submit:hover:not(:disabled),
5905
+ .btn-confirm:hover:not(:disabled) {
5906
+ background-color: var(--secondary-color) !important;
5907
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
5908
+ transform: translateY(-1px);
5909
+ }
5910
+ .standard-btn,
5911
+ .btn-std {
5912
+ background-color: var(--surface-color);
5913
+ border: 1.5px solid var(--border-color) !important;
5914
+ color: var(--text-color) !important;
5915
+ border-radius: 6px;
5916
+ }
5917
+ .standard-btn:hover,
5918
+ .btn-std:hover {
5919
+ background-color: var(--hover-color);
5920
+ border-color: var(--primary-color) !important;
5921
+ color: var(--primary-color) !important;
5922
+ }
5923
+ .btn:disabled,
5924
+ .cancel-btn:disabled,
5925
+ .submit-btn:disabled,
5926
+ .standard-btn:disabled,
5927
+ .btn-confirm:disabled,
5928
+ .btn-cancel:disabled {
5929
+ opacity: 0.4;
5930
+ cursor: not-allowed;
5931
+ pointer-events: none;
5932
+ }
5933
+ .btn-content {
5934
+ display: inline-flex;
5935
+ align-items: center;
5936
+ gap: 8px;
5937
+ }
5938
+ .submit-btn-gradiant {
5939
+ background:
5940
+ linear-gradient(
5941
+ 135deg,
5942
+ var(--primary-color),
5943
+ var(--secondary-color)) !important;
5944
+ }
5945
+ .rf-btn {
5946
+ display: inline-flex;
5947
+ align-items: center;
5948
+ justify-content: center;
5949
+ gap: 8px;
5950
+ border: none;
5951
+ border-radius: 6px;
5952
+ font-family: inherit;
5953
+ font-weight: 500;
5954
+ cursor: pointer;
5955
+ text-decoration: none;
5956
+ text-transform: uppercase;
5957
+ letter-spacing: 0.5px;
5958
+ transition:
5959
+ background-color 0.2s,
5960
+ box-shadow 0.2s,
5961
+ border-color 0.2s,
5962
+ color 0.2s;
5963
+ position: relative;
5964
+ box-sizing: border-box;
5965
+ -webkit-tap-highlight-color: transparent;
5966
+ outline: 0;
5967
+ user-select: none;
5968
+ }
5969
+ .rf-btn--small {
5970
+ padding: 4px 10px;
5971
+ font-size: 0.8125rem;
5972
+ }
5973
+ .rf-btn--medium {
5974
+ padding: 6px 16px;
5975
+ font-size: 0.875rem;
5976
+ }
5977
+ .rf-btn--large {
5978
+ padding: 8px 22px;
5979
+ font-size: 0.9375rem;
5980
+ }
5981
+ .rf-btn--full-width {
5982
+ width: 100%;
5983
+ }
5984
+ .rf-btn--text {
5985
+ background-color: transparent;
5986
+ border: none;
5987
+ }
5988
+ .rf-btn--text.rf-btn--primary {
5989
+ color: var(--primary-color);
5990
+ }
5991
+ .rf-btn--text.rf-btn--secondary {
5992
+ color: var(--secondary-color);
5993
+ }
5994
+ .rf-btn--text.rf-btn--success {
5995
+ color: #2e7d32;
5996
+ }
5997
+ .rf-btn--text.rf-btn--error {
5998
+ color: #d32f2f;
5999
+ }
6000
+ .rf-btn--text.rf-btn--info {
6001
+ color: #0288d1;
6002
+ }
6003
+ .rf-btn--text.rf-btn--warning {
6004
+ color: #ed6c02;
6005
+ }
6006
+ .rf-btn--text.rf-btn--inherit {
6007
+ color: inherit;
6008
+ }
6009
+ .rf-btn--text:hover {
6010
+ background-color: rgba(0, 0, 0, 0.04);
6011
+ }
6012
+ .rf-btn--contained {
6013
+ color: #fff;
6014
+ box-shadow:
6015
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2),
6016
+ 0 2px 2px 0 rgba(0, 0, 0, 0.14),
6017
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12);
6018
+ }
6019
+ .rf-btn--contained.rf-btn--primary {
6020
+ background-color: var(--primary-color);
6021
+ }
6022
+ .rf-btn--contained.rf-btn--secondary {
6023
+ background-color: var(--secondary-color);
6024
+ }
6025
+ .rf-btn--contained.rf-btn--success {
6026
+ background-color: #2e7d32;
6027
+ }
6028
+ .rf-btn--contained.rf-btn--error {
6029
+ background-color: #d32f2f;
6030
+ }
6031
+ .rf-btn--contained.rf-btn--info {
6032
+ background-color: #0288d1;
6033
+ }
6034
+ .rf-btn--contained.rf-btn--warning {
6035
+ background-color: #ed6c02;
6036
+ }
6037
+ .rf-btn--contained.rf-btn--inherit {
6038
+ background-color: #e0e0e0;
6039
+ color: rgba(0, 0, 0, 0.87);
6040
+ }
6041
+ .rf-btn--contained:hover {
6042
+ box-shadow:
6043
+ 0 2px 4px -1px rgba(0, 0, 0, 0.2),
6044
+ 0 4px 5px 0 rgba(0, 0, 0, 0.14),
6045
+ 0 1px 10px 0 rgba(0, 0, 0, 0.12);
6046
+ filter: brightness(0.92);
6047
+ }
6048
+ .rf-btn--contained.rf-btn--no-elevation {
6049
+ box-shadow: none;
6050
+ }
6051
+ .rf-btn--contained.rf-btn--no-elevation:hover {
6052
+ box-shadow: none;
6053
+ }
6054
+ .rf-btn--outlined {
6055
+ background-color: transparent;
6056
+ }
6057
+ .rf-btn--outlined.rf-btn--primary {
6058
+ color: var(--primary-color);
6059
+ border: 1px solid var(--primary-color);
6060
+ }
6061
+ .rf-btn--outlined.rf-btn--secondary {
6062
+ color: var(--secondary-color);
6063
+ border: 1px solid var(--secondary-color);
6064
+ }
6065
+ .rf-btn--outlined.rf-btn--success {
6066
+ color: #2e7d32;
6067
+ border: 1px solid #2e7d32;
6068
+ }
6069
+ .rf-btn--outlined.rf-btn--error {
6070
+ color: #d32f2f;
6071
+ border: 1px solid #d32f2f;
6072
+ }
6073
+ .rf-btn--outlined.rf-btn--info {
6074
+ color: #0288d1;
6075
+ border: 1px solid #0288d1;
6076
+ }
6077
+ .rf-btn--outlined.rf-btn--warning {
6078
+ color: #ed6c02;
6079
+ border: 1px solid #ed6c02;
6080
+ }
6081
+ .rf-btn--outlined.rf-btn--inherit {
6082
+ color: inherit;
6083
+ border: 1px solid currentColor;
6084
+ }
6085
+ .rf-btn--outlined:hover {
6086
+ background-color: rgba(0, 0, 0, 0.04);
6087
+ }
6088
+ .rf-btn--disabled,
6089
+ .rf-btn:disabled {
6090
+ opacity: 0.38;
6091
+ cursor: default;
6092
+ pointer-events: none;
6093
+ box-shadow: none;
6094
+ }
6095
+ .rf-btn--loading {
6096
+ cursor: default;
6097
+ pointer-events: none;
6098
+ }
6099
+ .rf-btn__start-icon,
6100
+ .rf-btn__end-icon {
6101
+ display: inherit;
6102
+ font-size: 1.25em;
6103
+ }
6104
+ .rf-btn__start-icon > *,
6105
+ .rf-btn__end-icon > * {
6106
+ font-size: inherit;
6107
+ }
6108
+ .rf-btn__label {
6109
+ display: inherit;
6110
+ }
6111
+ .rf-btn__loading-indicator {
6112
+ display: inline-flex;
6113
+ align-items: center;
6114
+ }
6115
+ .rf-icon-btn {
6116
+ display: inline-flex;
6117
+ align-items: center;
6118
+ justify-content: center;
6119
+ border: none;
6120
+ border-radius: 50%;
6121
+ background-color: transparent;
6122
+ cursor: pointer;
6123
+ transition: background-color 0.15s;
6124
+ position: relative;
6125
+ box-sizing: border-box;
6126
+ -webkit-tap-highlight-color: transparent;
6127
+ outline: 0;
6128
+ text-decoration: none;
6129
+ color: rgba(0, 0, 0, 0.54);
6130
+ padding: 8px;
6131
+ font-size: 1.5rem;
6132
+ }
6133
+ .rf-icon-btn:hover {
6134
+ background-color: rgba(0, 0, 0, 0.04);
6135
+ }
6136
+ .rf-icon-btn--small {
6137
+ padding: 5px;
6138
+ font-size: 1.125rem;
6139
+ }
6140
+ .rf-icon-btn--medium {
6141
+ padding: 8px;
6142
+ font-size: 1.5rem;
6143
+ }
6144
+ .rf-icon-btn--large {
6145
+ padding: 12px;
6146
+ font-size: 1.75rem;
6147
+ }
6148
+ .rf-icon-btn--default {
6149
+ color: rgba(0, 0, 0, 0.54);
6150
+ }
6151
+ .rf-icon-btn--primary {
6152
+ color: var(--primary-color);
6153
+ }
6154
+ .rf-icon-btn--secondary {
6155
+ color: var(--secondary-color);
6156
+ }
6157
+ .rf-icon-btn--success {
6158
+ color: #2e7d32;
6159
+ }
6160
+ .rf-icon-btn--error {
6161
+ color: #d32f2f;
6162
+ }
6163
+ .rf-icon-btn--info {
6164
+ color: #0288d1;
6165
+ }
6166
+ .rf-icon-btn--warning {
6167
+ color: #ed6c02;
6168
+ }
6169
+ .rf-icon-btn--inherit {
6170
+ color: inherit;
6171
+ }
6172
+ .rf-icon-btn--edge-start {
6173
+ margin-left: -12px;
6174
+ }
6175
+ .rf-icon-btn--edge-start.rf-icon-btn--small {
6176
+ margin-left: -3px;
6177
+ }
6178
+ .rf-icon-btn--edge-end {
6179
+ margin-right: -12px;
6180
+ }
6181
+ .rf-icon-btn--edge-end.rf-icon-btn--small {
6182
+ margin-right: -3px;
6183
+ }
6184
+ .rf-icon-btn--disabled,
6185
+ .rf-icon-btn:disabled {
6186
+ opacity: 0.38;
6187
+ cursor: default;
6188
+ pointer-events: none;
6189
+ background-color: transparent;
6190
+ }
6191
+
5946
6192
  /* lib/styles/text-field.css */
5947
6193
  .rf-text-field {
5948
6194
  --tf-primary-color: #f15b24;
package/dist/main.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { InputHTMLAttributes, ReactNode, CSSProperties, ReactElement, ComponentType } from 'react';
2
+ import React__default, { ReactNode, CSSProperties, InputHTMLAttributes, ReactElement, ComponentType } from 'react';
3
3
 
4
4
  declare const APP_THEMES: {
5
5
  default: {
@@ -421,6 +421,42 @@ interface StandardButtonProps extends React.ButtonHTMLAttributes<HTMLButtonEleme
421
421
  }
422
422
  declare const StandardButton: React.FC<StandardButtonProps>;
423
423
 
424
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color"> {
425
+ variant?: "contained" | "outlined" | "text";
426
+ color?: "primary" | "secondary" | "success" | "error" | "info" | "warning" | "inherit";
427
+ size?: "small" | "medium" | "large";
428
+ startIcon?: ReactNode;
429
+ endIcon?: ReactNode;
430
+ fullWidth?: boolean;
431
+ disabled?: boolean;
432
+ disableElevation?: boolean;
433
+ disableRipple?: boolean;
434
+ href?: string;
435
+ loading?: boolean;
436
+ loadingPosition?: "start" | "end" | "center";
437
+ component?: React.ElementType;
438
+ children?: ReactNode;
439
+ className?: string;
440
+ style?: CSSProperties;
441
+ sx?: SxProp;
442
+ }
443
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
444
+
445
+ interface IconButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color"> {
446
+ color?: "default" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "inherit";
447
+ size?: "small" | "medium" | "large";
448
+ edge?: "start" | "end" | false;
449
+ disabled?: boolean;
450
+ disableRipple?: boolean;
451
+ href?: string;
452
+ component?: React.ElementType;
453
+ children?: ReactNode;
454
+ className?: string;
455
+ style?: CSSProperties;
456
+ sx?: SxProp;
457
+ }
458
+ declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
459
+
424
460
  interface BaseDialogProps {
425
461
  open?: boolean;
426
462
  onConfirm?: () => Promise<void> | void;
@@ -1586,4 +1622,4 @@ interface ImageFieldProps {
1586
1622
  }
1587
1623
  declare const ImageField: React__default.ForwardRefExoticComponent<ImageFieldProps & React__default.RefAttributes<HTMLDivElement>>;
1588
1624
 
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 };
1625
+ 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, 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
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { InputHTMLAttributes, ReactNode, CSSProperties, ReactElement, ComponentType } from 'react';
2
+ import React__default, { ReactNode, CSSProperties, InputHTMLAttributes, ReactElement, ComponentType } from 'react';
3
3
 
4
4
  declare const APP_THEMES: {
5
5
  default: {
@@ -421,6 +421,42 @@ interface StandardButtonProps extends React.ButtonHTMLAttributes<HTMLButtonEleme
421
421
  }
422
422
  declare const StandardButton: React.FC<StandardButtonProps>;
423
423
 
424
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color"> {
425
+ variant?: "contained" | "outlined" | "text";
426
+ color?: "primary" | "secondary" | "success" | "error" | "info" | "warning" | "inherit";
427
+ size?: "small" | "medium" | "large";
428
+ startIcon?: ReactNode;
429
+ endIcon?: ReactNode;
430
+ fullWidth?: boolean;
431
+ disabled?: boolean;
432
+ disableElevation?: boolean;
433
+ disableRipple?: boolean;
434
+ href?: string;
435
+ loading?: boolean;
436
+ loadingPosition?: "start" | "end" | "center";
437
+ component?: React.ElementType;
438
+ children?: ReactNode;
439
+ className?: string;
440
+ style?: CSSProperties;
441
+ sx?: SxProp;
442
+ }
443
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
444
+
445
+ interface IconButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color"> {
446
+ color?: "default" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | "inherit";
447
+ size?: "small" | "medium" | "large";
448
+ edge?: "start" | "end" | false;
449
+ disabled?: boolean;
450
+ disableRipple?: boolean;
451
+ href?: string;
452
+ component?: React.ElementType;
453
+ children?: ReactNode;
454
+ className?: string;
455
+ style?: CSSProperties;
456
+ sx?: SxProp;
457
+ }
458
+ declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
459
+
424
460
  interface BaseDialogProps {
425
461
  open?: boolean;
426
462
  onConfirm?: () => Promise<void> | void;
@@ -1586,4 +1622,4 @@ interface ImageFieldProps {
1586
1622
  }
1587
1623
  declare const ImageField: React__default.ForwardRefExoticComponent<ImageFieldProps & React__default.RefAttributes<HTMLDivElement>>;
1588
1624
 
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 };
1625
+ 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, 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 };