@salesgenterp/ui-components 0.4.90 → 0.4.91
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/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stack, Tooltip, TableCell, TableContainer as TableContainer$1, TableRow, Checkbox, Grid, TextField, InputAdornment, MenuItem, CircularProgress, Table as Table$1, TableBody as TableBody$1, Stepper, Step, StepLabel, StepContent, TableHead as TableHead$1, Paper, TablePagination, Typography, CardMedia,
|
|
1
|
+
import { Stack, Tooltip, TableCell, TableContainer as TableContainer$1, TableRow, Checkbox, Grid, TextField, InputAdornment, MenuItem, CircularProgress, Table as Table$1, TableBody as TableBody$1, Stepper, Step, StepLabel, StepContent, TableHead as TableHead$1, Paper, TablePagination, Typography, CardMedia, CardContent, Button, ListItemIcon, Collapse, Divider, List, ListItemText, ListItem, CssBaseline, Drawer } from '@mui/material';
|
|
2
2
|
import React__default, { useState, useEffect, createElement, forwardRef } from 'react';
|
|
3
3
|
import { GrClose, GrRadialSelected, GrStackOverflow } from 'react-icons/gr';
|
|
4
4
|
import 'react-icons/gi';
|
|
@@ -4522,12 +4522,14 @@ var TypographyContainer = styled(Typography)(_templateObject4$8 || (_templateObj
|
|
|
4522
4522
|
return props.backgroundColor ? '#fff' : '#000';
|
|
4523
4523
|
});
|
|
4524
4524
|
var CardMediaContainer = styled(CardMedia)(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n border-radius: 20px;\n"])));
|
|
4525
|
-
var CardContainer = styled(
|
|
4525
|
+
var CardContainer = styled(Stack)(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 20px !important;\n margin: 1.2rem 0;\n box-shadow: 0px 0px 4px 0px;\n"])), function (props) {
|
|
4526
4526
|
return props.secondaryColor;
|
|
4527
4527
|
});
|
|
4528
4528
|
var TotalRoot = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n"])));
|
|
4529
|
-
var TotalContainer = styled(Stack)(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n border-radius: 20px;\n background-color: ", ";\n padding: 1.5rem 1rem;\n box-shadow: 0px 0px 4px 0px;\n p {\n font-size: 18px;\n font-weight: 600;\n color:
|
|
4529
|
+
var TotalContainer = styled(Stack)(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n border-radius: 20px;\n background-color: ", ";\n padding: 1.5rem 1rem;\n box-shadow: 0px 0px 4px 0px;\n p {\n font-size: 18px;\n font-weight: 600;\n color: ", ";\n margin-bottom: 1rem;\n }\n h3 {\n font-size: 27px;\n font-weight: 600;\n color: #746e88;\n }\n svg {\n font-size: 38px;\n color: #fff;\n }\n"])), function (props) {
|
|
4530
4530
|
return props.secondaryColor;
|
|
4531
|
+
}, function (props) {
|
|
4532
|
+
return props.backgroundColor ? '#fff' : '#000';
|
|
4531
4533
|
});
|
|
4532
4534
|
var TableContainer = styled.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 20px;\n"])));
|
|
4533
4535
|
|
|
@@ -4642,8 +4644,7 @@ var AccountDetails = function AccountDetails(_ref) {
|
|
|
4642
4644
|
token = _ref$token === void 0 ? 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzYWxlc2dlbnRlcnBAZ21haWwuY29tIiwidGllciI6MiwidXNlclR5cGUiOiJDdXN0b21lciIsInRva2VuVHlwZSI6ImFjY2VzcyIsInN0b3JlSWQiOjIsImV4cCI6MTY2NDk5MzU2OCwidXNlcklkIjoyNDU1LCJpYXQiOjE2NjQ5NTc1NjgsInJlc2V0UGFzc3dvcmRSZXF1aXJlZCI6ZmFsc2V9.AZ9BKlpRSQwQtTztiPu8VEYjd3N0zCa6lmKFEtXr8JU' : _ref$token,
|
|
4643
4645
|
_ref$primaryColor = _ref.primaryColor,
|
|
4644
4646
|
primaryColor = _ref$primaryColor === void 0 ? '#BF262D' : _ref$primaryColor,
|
|
4645
|
-
|
|
4646
|
-
secondaryColor = _ref$secondaryColor === void 0 ? '#26232F' : _ref$secondaryColor,
|
|
4647
|
+
secondaryColor = _ref.secondaryColor,
|
|
4647
4648
|
backgroundColor = _ref.backgroundColor;
|
|
4648
4649
|
return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(CssBaseline, null), /*#__PURE__*/React__default.createElement(Root$1, {
|
|
4649
4650
|
primaryColor: primaryColor
|