@rabex-kit/rabex-ui 0.1.13 → 0.1.19
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/LoadingButton/index.d.ts +1 -1
- package/dist/Theme/Typography/index.d.ts +0 -9
- package/dist/Typography/index.d.ts +1 -1
- package/dist/rabex-ui.cjs.development.js +5 -10
- 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 +5 -10
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
@@ -13,7 +13,7 @@ export declare type LoadingButtonProps = Omit<MuiLoadingButtonProps, 'size' | 'c
|
|
13
13
|
* You can read Material-UI LoadingButton Documentation [here](https://mui.com/material-ui/api/loading-button/).
|
14
14
|
*
|
15
15
|
* ```typescript
|
16
|
-
* import { LoadingButton } from '@rabex-kit/
|
16
|
+
* import { LoadingButton } from '@rabex-kit/rabex-ui';
|
17
17
|
* ```
|
18
18
|
*
|
19
19
|
*
|
@@ -22,7 +22,6 @@ declare module '@mui/material/styles' {
|
|
22
22
|
inputLabel2: React.CSSProperties;
|
23
23
|
body4: React.CSSProperties;
|
24
24
|
body5: React.CSSProperties;
|
25
|
-
paragaph: React.CSSProperties;
|
26
25
|
}
|
27
26
|
interface TypographyVariantsOptions {
|
28
27
|
h1: React.CSSProperties;
|
@@ -46,7 +45,6 @@ declare module '@mui/material/styles' {
|
|
46
45
|
inputLabel2: React.CSSProperties;
|
47
46
|
body4: React.CSSProperties;
|
48
47
|
body5: React.CSSProperties;
|
49
|
-
paragaph: React.CSSProperties;
|
50
48
|
}
|
51
49
|
}
|
52
50
|
declare module '@mui/material/Typography' {
|
@@ -72,7 +70,6 @@ declare module '@mui/material/Typography' {
|
|
72
70
|
inputLabel2: true;
|
73
71
|
body4: true;
|
74
72
|
body5: true;
|
75
|
-
paragraph: true;
|
76
73
|
}
|
77
74
|
}
|
78
75
|
declare const _default: {
|
@@ -125,7 +122,6 @@ declare const _default: {
|
|
125
122
|
inputLabel2: string;
|
126
123
|
body4: string;
|
127
124
|
body5: string;
|
128
|
-
paragraph: string;
|
129
125
|
};
|
130
126
|
};
|
131
127
|
};
|
@@ -229,11 +225,6 @@ declare const _default: {
|
|
229
225
|
lineHeight: string;
|
230
226
|
fontFamily: string;
|
231
227
|
};
|
232
|
-
paragraph: {
|
233
|
-
fontSize: string;
|
234
|
-
lineHeight: string;
|
235
|
-
fontFamily: string;
|
236
|
-
};
|
237
228
|
};
|
238
229
|
};
|
239
230
|
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' | 'body5'
|
4
|
+
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'title' | 'subtitle' | 'title2' | 'button' | 'body1' | 'largeButton' | 'inputLabel' | 'body2' | 'mediumButton' | 'subtitle2' | 'body3' | 'smallButton' | 'helperText' | 'inputLabel2' | 'body4' | 'body5';
|
5
5
|
weight?: 'bold' | 'semiBold' | 'regular' | 'light';
|
6
6
|
component?: React.ElementType;
|
7
7
|
};
|
@@ -291,6 +291,7 @@ var Typography = function Typography(_ref) {
|
|
291
291
|
var weight = _ref.weight,
|
292
292
|
sx = _ref.sx,
|
293
293
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
294
|
+
// const { palette } = useTheme();
|
294
295
|
return React__default.createElement(MuiTypography, Object.assign({
|
295
296
|
sx: _extends({}, sx, {
|
296
297
|
fontWeight: weight ? fontWeight[weight] : 'regular'
|
@@ -1572,7 +1573,7 @@ var ListSubHeader = function ListSubHeader(props) {
|
|
1572
1573
|
* You can read Material-UI LoadingButton Documentation [here](https://mui.com/material-ui/api/loading-button/).
|
1573
1574
|
*
|
1574
1575
|
* ```typescript
|
1575
|
-
* import { LoadingButton } from '@rabex-kit/
|
1576
|
+
* import { LoadingButton } from '@rabex-kit/rabex-ui';
|
1576
1577
|
* ```
|
1577
1578
|
*
|
1578
1579
|
*
|
@@ -2320,8 +2321,7 @@ var RabexTypography = {
|
|
2320
2321
|
helperText: 'span',
|
2321
2322
|
inputLabel2: 'span',
|
2322
2323
|
body4: 'span',
|
2323
|
-
body5: 'span'
|
2324
|
-
paragraph: 'span'
|
2324
|
+
body5: 'span'
|
2325
2325
|
}
|
2326
2326
|
}
|
2327
2327
|
},
|
@@ -2424,11 +2424,6 @@ var RabexTypography = {
|
|
2424
2424
|
fontSize: '12px',
|
2425
2425
|
lineHeight: '24px',
|
2426
2426
|
fontFamily: 'Yekan, Arial'
|
2427
|
-
},
|
2428
|
-
paragraph: {
|
2429
|
-
fontSize: '12px',
|
2430
|
-
lineHeight: '24px',
|
2431
|
-
fontFamily: 'Yekan, Arial'
|
2432
2427
|
}
|
2433
2428
|
}
|
2434
2429
|
};
|
@@ -3661,8 +3656,8 @@ var RabexDivider = {
|
|
3661
3656
|
root: function root(_ref) {
|
3662
3657
|
var theme = _ref.theme;
|
3663
3658
|
return {
|
3664
|
-
borderStyle: '
|
3665
|
-
borderColor: theme.palette.
|
3659
|
+
borderStyle: 'solid',
|
3660
|
+
borderColor: theme.palette.base[200]
|
3666
3661
|
};
|
3667
3662
|
}
|
3668
3663
|
}
|