@rabex-kit/rabex-ui 0.0.3 → 0.0.6
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/Chip/index.d.ts +1 -15
- package/dist/SegmentedControl/index.d.ts +18 -0
- package/dist/SegmentedControlTab/index.d.ts +5 -0
- package/dist/Tabs/index.d.ts +2 -2
- package/dist/Theme/Chip/index.d.ts +18 -15
- package/dist/Theme/Palette/base.d.ts +7 -3
- package/dist/Theme/Palette/dark.d.ts +27 -0
- package/dist/Theme/Palette/light.d.ts +11 -0
- package/dist/Theme/SegmentedControl/index.d.ts +491 -0
- package/dist/Theme/SegmentedControlTab/index.d.ts +41 -0
- package/dist/Theme/Typography/index.d.ts +18 -0
- package/dist/Typography/index.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/rabex-ui.cjs.development.js +467 -212
- package/dist/rabex-ui.cjs.development.js.map +1 -1
- package/dist/rabex-ui.cjs.production.min.js +1 -1
- package/dist/rabex-ui.cjs.production.min.js.map +1 -1
- package/dist/rabex-ui.esm.js +466 -213
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1,41 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
components: {
|
3
|
+
styleOverrides: {
|
4
|
+
root: ({ theme }: {
|
5
|
+
theme: any;
|
6
|
+
}) => {
|
7
|
+
minWidth: number;
|
8
|
+
fontWeight: string;
|
9
|
+
color: any;
|
10
|
+
padding: any;
|
11
|
+
'&': {
|
12
|
+
position: string;
|
13
|
+
};
|
14
|
+
'&::after': {
|
15
|
+
content: string;
|
16
|
+
position: string;
|
17
|
+
width: number;
|
18
|
+
height: number;
|
19
|
+
background: any;
|
20
|
+
top: string;
|
21
|
+
left: number;
|
22
|
+
};
|
23
|
+
'&.Mui-selected::after, &:first-of-type::after, &.Mui-selected + .MuiTab-root::after': {
|
24
|
+
content: string;
|
25
|
+
display: string;
|
26
|
+
};
|
27
|
+
'&.Mui-selected': {
|
28
|
+
backgroundColor: any;
|
29
|
+
};
|
30
|
+
'&.Mui-disabled': {
|
31
|
+
cursor: string;
|
32
|
+
color: any;
|
33
|
+
};
|
34
|
+
'& .MuiTab-iconWrapper': {
|
35
|
+
fontSize: string;
|
36
|
+
};
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
40
|
+
};
|
41
|
+
export default _default;
|
@@ -21,6 +21,8 @@ declare module '@mui/material/styles' {
|
|
21
21
|
helperText: React.CSSProperties;
|
22
22
|
inputLabel2: React.CSSProperties;
|
23
23
|
body4: React.CSSProperties;
|
24
|
+
body5: React.CSSProperties;
|
25
|
+
paragaph: React.CSSProperties;
|
24
26
|
}
|
25
27
|
interface TypographyVariantsOptions {
|
26
28
|
h1: React.CSSProperties;
|
@@ -43,6 +45,8 @@ declare module '@mui/material/styles' {
|
|
43
45
|
helperText: React.CSSProperties;
|
44
46
|
inputLabel2: React.CSSProperties;
|
45
47
|
body4: React.CSSProperties;
|
48
|
+
body5: React.CSSProperties;
|
49
|
+
paragaph: React.CSSProperties;
|
46
50
|
}
|
47
51
|
}
|
48
52
|
declare module '@mui/material/Typography' {
|
@@ -67,6 +71,8 @@ declare module '@mui/material/Typography' {
|
|
67
71
|
helperText: true;
|
68
72
|
inputLabel2: true;
|
69
73
|
body4: true;
|
74
|
+
body5: true;
|
75
|
+
paragraph: true;
|
70
76
|
}
|
71
77
|
}
|
72
78
|
declare const _default: {
|
@@ -118,6 +124,8 @@ declare const _default: {
|
|
118
124
|
helperText: string;
|
119
125
|
inputLabel2: string;
|
120
126
|
body4: string;
|
127
|
+
body5: string;
|
128
|
+
paragraph: string;
|
121
129
|
};
|
122
130
|
};
|
123
131
|
};
|
@@ -216,6 +224,16 @@ declare const _default: {
|
|
216
224
|
lineHeight: string;
|
217
225
|
fontFamily: string;
|
218
226
|
};
|
227
|
+
body5: {
|
228
|
+
fontSize: string;
|
229
|
+
lineHeight: string;
|
230
|
+
fontFamily: string;
|
231
|
+
};
|
232
|
+
paragraph: {
|
233
|
+
fontSize: string;
|
234
|
+
lineHeight: string;
|
235
|
+
fontFamily: string;
|
236
|
+
};
|
219
237
|
};
|
220
238
|
};
|
221
239
|
export default _default;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TypographyProps as MuiTypographyProps } from '@mui/material';
|
3
3
|
export declare type TypographyProps = Omit<MuiTypographyProps, 'variant' | 'weight' | 'component'> & {
|
4
|
-
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'title' | 'subtitle' | 'title2' | 'button' | 'body1' | 'largeButton' | 'inputLabel' | 'body2' | 'mediumButton' | 'subtitle2' | 'body3' | 'smallButton' | 'helperText' | 'inputLabel2' | 'body4';
|
4
|
+
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'title' | 'subtitle' | 'title2' | 'button' | 'body1' | 'largeButton' | 'inputLabel' | 'body2' | 'mediumButton' | 'subtitle2' | 'body3' | 'smallButton' | 'helperText' | 'inputLabel2' | 'body4' | 'body5' | 'paragraph';
|
5
5
|
weight?: 'bold' | 'semiBold' | 'regular' | 'light';
|
6
6
|
component?: React.ElementType;
|
7
7
|
};
|
package/dist/index.d.ts
CHANGED
@@ -115,5 +115,7 @@ import TextField, { TextFieldProps } from './TextField';
|
|
115
115
|
import { Palette, PaletteColor } from './Theme/Palette/base';
|
116
116
|
import UploadButton, { UploadButtonProps } from './UploadButton';
|
117
117
|
import Zoom, { ZoomProps } from './Zoom';
|
118
|
-
|
119
|
-
|
118
|
+
import SegmentedControl, { SegmentedControlProps } from './SegmentedControl';
|
119
|
+
import SegmentedControlTab, { SegmentedControlTabProps } from './SegmentedControlTab';
|
120
|
+
export { theme, Typography, Button, LoadingButton, Tabs, Tab, Box, Grid, NoSsr, Skeleton, Stack, Chip, Paper, Divider, Checkbox, Radio, Tooltip, Avatar, Breadcrumbs, CurrencyPairsTitle, List, ListItem, ListItemButton, ListItemIcon, ListItemAvatar, ListItemSecondaryAction, ListSubHeader, ListItemText, SvgIcon, ToggleButton, ToggleButtonGroup, TabPanel, IconButton, Select, SelectItem, DynamicBackground, DynamicBackgroundContainer, Table, TableHead, TableBody, TableRow, TableCell, TableContainer, TablePagination, TableFooter, TableSortLabel, RTable, RTableHead, RTableRow, Input, InputLabel, RadioGroup, FormLabel, FormControl, FormGroup, FormControlLabel, FormHelperText, TabContext, TabList, Link, useTheme, useCopyToClipboard, useMediaQuery, useOnScreen, useScrollTrigger, useTime, useWindowSize, useResponsive, numberUtils, searchUtils, Slider, InputAdornment, Accordion, AccordionDetails, AccordionActions, AccordionSummary, Stepper, StepContent, StepConnector, StepButton, StepIcon, Step, StepLabel, MobileStepper, CssBaseline, Backdrop, Modal, ModalContent, Container, Alert, AlertAction, AlertTimer, AlertTitle, UploadButton, Snackbar, SnackbarContent, LinearProgress, CircularProgress, TextField, FormikTextField, FormikInput, FormikSelect, MenuItem, ThemeProvider, styled, MenuList, Menu, Popover, Popper, Fade, Autocomplete, Zoom, Collapse, Grow, Slide, Dialog, DialogActions, DialogContent, DialogTitle, SwipeableDrawer, SeeMore, ClickAwayListener, Pagination, PaginationItem, Drawer, SliderContent, SegmentedControl, SegmentedControlTab, };
|
121
|
+
export type { Theme, CSSObject, TypographyProps, ButtonProps, LoadingButtonProps, TabsProps, TabProps, BoxProps, GridProps, NoSsrProps, SkeletonProps, StackProps, ChipProps, PaperProps, DividerProps, CheckboxProps, RadioProps, TooltipProps, BreadcrumbsProps, ListProps, ListItemProps, ListItemAvatarProps, ListItemButtonProps, ListItemIconProps, ListItemTextProps, ListItemSecondaryActionProps, ListSubHeaderProps, SvgIconProps, ToggleButtonProps, ToggleButtonGroupProps, TabPanelProps, IconButtonProps, AvatarProps, CurrencyPairsTitleProps, SelectProps, SelectItemProps, DynamicBackgroundProps, DynamicBackgroundContainerProps, TableProps, TableHeadProps, TableBodyProps, TableRowProps, TableCellProps, TableContainerProps, TablePaginationProps, TableFooterProps, TableSortLabelProps, RTableProps, RTableRowProps, RTableHeadProps, InputProps, InputLabelProps, RadioGroupProps, FormLabelProps, FormControlProps, FormGroupProps, FormControlLabelProps, FormHelperTextProps, TabContextProps, TabListProps, LinkProps, SliderProps, InputAdornmentProps, AccordionProps, AccordionDetailsProps, AccordionActionsProps, AccordionSummaryProps, StepperProps, StepContentProps, StepConnectorProps, StepButtonProps, StepIconProps, StepProps, StepLabelProps, MobileStepperProps, Palette, PaletteColor, BackdropProps, ModalProps, ModalContentProps, ContainerProps, AlertProps, AlertActionProps, AlertTimerProps, AlertTitleProps, UploadButtonProps, SnackbarProps, SnackbarContentProps, LinearProgressProps, CircularProgressProps, TextFieldProps, FormikTextFieldProps, FormikInputProps, FormikSelectProps, MenuItemProps, MenuListProps, MenuProps, PopoverProps, PopperProps, ZoomProps, CollapseProps, FadeProps, AutocompleteProps, GrowProps, SlideProps, DialogProps, DialogActionsProps, DialogContentProps, DialogTitleProps, SwipeableDrawerProps, SeeMoreProps, ClickAwayListenerProps, PaginationProps, PaginationItemProps, DrawerProps, SliderContentProps, SegmentedControlProps, SegmentedControlTabProps };
|