@rabex-kit/rabex-ui 0.1.18 → 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/rabex-ui.cjs.development.js +8 -11
- 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 -8
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
@@ -5,7 +5,6 @@ import MuiAccordionSummary from '@mui/material/AccordionSummary/AccordionSummary
|
|
5
5
|
import MuiAlert from '@mui/material/Alert/Alert.js';
|
6
6
|
import Stack$1 from '@mui/material/Stack/Stack.js';
|
7
7
|
import MuiTypography from '@mui/material/Typography/Typography.js';
|
8
|
-
import useTheme from '@mui/material/styles/useTheme.js';
|
9
8
|
import useMediaQuery from '@mui/material/useMediaQuery/useMediaQuery.js';
|
10
9
|
export { default as useMediaQuery } from '@mui/material/useMediaQuery/useMediaQuery.js';
|
11
10
|
export { default as useScrollTrigger } from '@mui/material/useScrollTrigger/useScrollTrigger.js';
|
@@ -36,6 +35,7 @@ import MuiFormLabel from '@mui/material/FormLabel/FormLabel.js';
|
|
36
35
|
import MuiGrid from '@mui/material/Unstable_Grid2';
|
37
36
|
import MuiIconButton from '@mui/material/IconButton/IconButton.js';
|
38
37
|
import MuiInput from '@mui/material/Input/Input.js';
|
38
|
+
import useTheme from '@mui/material/styles/useTheme.js';
|
39
39
|
import MuiInputAdornment from '@mui/material/InputAdornment/InputAdornment.js';
|
40
40
|
import MuiInputLabel from '@mui/material/InputLabel/InputLabel.js';
|
41
41
|
import MuiLinearProgress from '@mui/material/LinearProgress/LinearProgress.js';
|
@@ -260,7 +260,7 @@ var AlertAction = function AlertAction(_ref) {
|
|
260
260
|
})));
|
261
261
|
};
|
262
262
|
|
263
|
-
var _excluded$1 = ["weight", "sx"
|
263
|
+
var _excluded$1 = ["weight", "sx"];
|
264
264
|
var fontWeight = {
|
265
265
|
bold: '700',
|
266
266
|
semiBold: '600',
|
@@ -285,15 +285,12 @@ var fontWeight = {
|
|
285
285
|
var Typography = function Typography(_ref) {
|
286
286
|
var weight = _ref.weight,
|
287
287
|
sx = _ref.sx,
|
288
|
-
color = _ref.color,
|
289
288
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
290
|
-
|
291
|
-
palette = _useTheme.palette;
|
289
|
+
// const { palette } = useTheme();
|
292
290
|
return React.createElement(MuiTypography, Object.assign({
|
293
291
|
sx: _extends({}, sx, {
|
294
292
|
fontWeight: weight ? fontWeight[weight] : 'regular'
|
295
|
-
})
|
296
|
-
color: color || palette.textColor[900]
|
293
|
+
})
|
297
294
|
}, props));
|
298
295
|
};
|
299
296
|
Typography.defaultProps = {
|
@@ -1571,7 +1568,7 @@ var ListSubHeader = function ListSubHeader(props) {
|
|
1571
1568
|
* You can read Material-UI LoadingButton Documentation [here](https://mui.com/material-ui/api/loading-button/).
|
1572
1569
|
*
|
1573
1570
|
* ```typescript
|
1574
|
-
* import { LoadingButton } from '@rabex-kit/
|
1571
|
+
* import { LoadingButton } from '@rabex-kit/rabex-ui';
|
1575
1572
|
* ```
|
1576
1573
|
*
|
1577
1574
|
*
|