@astral/ui 1.7.0 → 1.9.0
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/Alert/Alert.js +2 -1
- package/Alert/styles.d.ts +4 -0
- package/Alert/styles.js +23 -0
- package/DashboardLayout/Header/Header.d.ts +1 -1
- package/DashboardLayout/Header/Header.js +1 -1
- package/Tab/Tab.d.ts +3 -0
- package/Tab/Tab.js +5 -0
- package/Tab/index.d.ts +1 -0
- package/Tab/index.js +17 -0
- package/Tabs/Tabs.d.ts +3 -0
- package/Tabs/Tabs.js +5 -0
- package/Tabs/index.d.ts +1 -0
- package/Tabs/index.js +17 -0
- package/esm/Alert/Alert.js +3 -2
- package/esm/Alert/styles.d.ts +4 -0
- package/esm/Alert/styles.js +20 -0
- package/esm/DashboardLayout/Header/Header.d.ts +1 -1
- package/esm/DashboardLayout/Header/Header.js +1 -1
- package/esm/Tab/Tab.d.ts +3 -0
- package/esm/Tab/Tab.js +2 -0
- package/esm/Tab/index.d.ts +1 -0
- package/esm/Tab/index.js +1 -0
- package/esm/Tabs/Tabs.d.ts +3 -0
- package/esm/Tabs/Tabs.js +2 -0
- package/esm/Tabs/index.d.ts +1 -0
- package/esm/Tabs/index.js +1 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/theme/components/MuiTab.d.ts +3 -0
- package/esm/theme/components/MuiTab.js +12 -0
- package/esm/theme/components/MuiTabs.d.ts +3 -0
- package/esm/theme/components/MuiTabs.js +16 -0
- package/esm/theme/components/components.js +4 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +2 -2
- package/theme/components/MuiTab.d.ts +3 -0
- package/theme/components/MuiTab.js +15 -0
- package/theme/components/MuiTabs.d.ts +3 -0
- package/theme/components/MuiTabs.js +19 -0
- package/theme/components/components.js +4 -0
package/Alert/Alert.js
CHANGED
|
@@ -29,9 +29,10 @@ var icons_1 = require("@astral/icons");
|
|
|
29
29
|
var Typography_1 = require("../Typography");
|
|
30
30
|
var Grid_1 = require("../Grid");
|
|
31
31
|
var Collapse_1 = require("../Collapse");
|
|
32
|
+
var styles_1 = require("./styles");
|
|
32
33
|
var Alert = function (_a) {
|
|
33
34
|
var children = _a.children, title = _a.title, _b = _a.closeText, closeText = _b === void 0 ? 'Скрыть' : _b, _c = _a.display, display = _c === void 0 ? true : _c, actions = _a.actions, onClose = _a.onClose, props = __rest(_a, ["children", "title", "closeText", "display", "actions", "onClose"]);
|
|
34
|
-
return ((0, jsx_runtime_1.jsx)(Collapse_1.Collapse, __assign({ in: display }, { children: (0, jsx_runtime_1.jsxs)(
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(Collapse_1.Collapse, __assign({ in: display }, { children: (0, jsx_runtime_1.jsxs)(styles_1.StyledAlert, __assign({}, props, { closeText: closeText, variant: "filled", onClose: onClose, iconMapping: {
|
|
35
36
|
info: (0, jsx_runtime_1.jsx)(icons_1.InfoFillMd, {}),
|
|
36
37
|
error: (0, jsx_runtime_1.jsx)(icons_1.ErrorFillMd, {}),
|
|
37
38
|
success: (0, jsx_runtime_1.jsx)(icons_1.SuccessFillMd, {}),
|
package/Alert/styles.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.StyledAlert = void 0;
|
|
8
|
+
var material_1 = require("@mui/material");
|
|
9
|
+
var styles_1 = require("../styles");
|
|
10
|
+
exports.StyledAlert = (0, styles_1.styled)(material_1.Alert)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: ", ";\n }\n\n ", " {\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: 0;\n }\n }\n"], ["\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: ", ";\n }\n\n ", " {\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: 0;\n }\n }\n"])), function (_a) {
|
|
11
|
+
var theme = _a.theme;
|
|
12
|
+
return theme.spacing(3);
|
|
13
|
+
}, function (_a) {
|
|
14
|
+
var theme = _a.theme;
|
|
15
|
+
return theme.spacing(3, 0);
|
|
16
|
+
}, function (_a) {
|
|
17
|
+
var theme = _a.theme;
|
|
18
|
+
return theme.breakpoints.up('sm');
|
|
19
|
+
}, function (_a) {
|
|
20
|
+
var theme = _a.theme;
|
|
21
|
+
return theme.spacing(2, 4);
|
|
22
|
+
});
|
|
23
|
+
var templateObject_1;
|
|
@@ -4,7 +4,7 @@ import { ProfileProps } from '../../Profile/types';
|
|
|
4
4
|
export declare type HeaderProps = {
|
|
5
5
|
product: ProductProps;
|
|
6
6
|
productSwitcher?: React.FC;
|
|
7
|
-
profile
|
|
7
|
+
profile?: ProfileProps;
|
|
8
8
|
};
|
|
9
9
|
export declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export default Header;
|
|
@@ -22,6 +22,6 @@ exports.Header = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
22
22
|
var ProductSwitcher = props.productSwitcher, product = props.product,
|
|
23
23
|
// menu: Menu,
|
|
24
24
|
profile = props.profile;
|
|
25
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.HeaderRoot, __assign({ ref: ref }, { children: [(0, jsx_runtime_1.jsxs)(styles_1.HeaderNav, { children: [ProductSwitcher && (0, jsx_runtime_1.jsx)(ProductSwitcher, {}), (0, jsx_runtime_1.jsx)(Product_1.Product, __assign({}, product))] }), (0, jsx_runtime_1.jsx)(Profile_1.Profile, __assign({}, profile))] })));
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.HeaderRoot, __assign({ ref: ref }, { children: [(0, jsx_runtime_1.jsxs)(styles_1.HeaderNav, { children: [ProductSwitcher && (0, jsx_runtime_1.jsx)(ProductSwitcher, {}), (0, jsx_runtime_1.jsx)(Product_1.Product, __assign({}, product))] }), profile && (0, jsx_runtime_1.jsx)(Profile_1.Profile, __assign({}, profile))] })));
|
|
26
26
|
});
|
|
27
27
|
exports.default = exports.Header;
|
package/Tab/Tab.d.ts
ADDED
package/Tab/Tab.js
ADDED
package/Tab/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tab';
|
package/Tab/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Tab"), exports);
|
package/Tabs/Tabs.d.ts
ADDED
package/Tabs/Tabs.js
ADDED
package/Tabs/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tabs';
|
package/Tabs/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Tabs"), exports);
|
package/esm/Alert/Alert.js
CHANGED
|
@@ -21,14 +21,15 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
-
import { AlertTitle
|
|
24
|
+
import { AlertTitle } from '@mui/material';
|
|
25
25
|
import { ErrorFillMd, InfoFillMd, SuccessFillMd, WarningFillMd, } from '@astral/icons';
|
|
26
26
|
import { Typography } from '../Typography';
|
|
27
27
|
import { Grid } from '../Grid';
|
|
28
28
|
import { Collapse } from '../Collapse';
|
|
29
|
+
import { StyledAlert } from './styles';
|
|
29
30
|
export var Alert = function (_a) {
|
|
30
31
|
var children = _a.children, title = _a.title, _b = _a.closeText, closeText = _b === void 0 ? 'Скрыть' : _b, _c = _a.display, display = _c === void 0 ? true : _c, actions = _a.actions, onClose = _a.onClose, props = __rest(_a, ["children", "title", "closeText", "display", "actions", "onClose"]);
|
|
31
|
-
return (_jsx(Collapse, __assign({ in: display }, { children: _jsxs(
|
|
32
|
+
return (_jsx(Collapse, __assign({ in: display }, { children: _jsxs(StyledAlert, __assign({}, props, { closeText: closeText, variant: "filled", onClose: onClose, iconMapping: {
|
|
32
33
|
info: _jsx(InfoFillMd, {}),
|
|
33
34
|
error: _jsx(ErrorFillMd, {}),
|
|
34
35
|
success: _jsx(SuccessFillMd, {}),
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import { Alert } from '@mui/material';
|
|
6
|
+
import { styled } from '../styles';
|
|
7
|
+
export var StyledAlert = styled(Alert)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: ", ";\n }\n\n ", " {\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: 0;\n }\n }\n"], ["\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: ", ";\n }\n\n ", " {\n padding: ", ";\n\n .MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root) {\n padding: 0;\n }\n }\n"])), function (_a) {
|
|
8
|
+
var theme = _a.theme;
|
|
9
|
+
return theme.spacing(3);
|
|
10
|
+
}, function (_a) {
|
|
11
|
+
var theme = _a.theme;
|
|
12
|
+
return theme.spacing(3, 0);
|
|
13
|
+
}, function (_a) {
|
|
14
|
+
var theme = _a.theme;
|
|
15
|
+
return theme.breakpoints.up('sm');
|
|
16
|
+
}, function (_a) {
|
|
17
|
+
var theme = _a.theme;
|
|
18
|
+
return theme.spacing(2, 4);
|
|
19
|
+
});
|
|
20
|
+
var templateObject_1;
|
|
@@ -4,7 +4,7 @@ import { ProfileProps } from '../../Profile/types';
|
|
|
4
4
|
export declare type HeaderProps = {
|
|
5
5
|
product: ProductProps;
|
|
6
6
|
productSwitcher?: React.FC;
|
|
7
|
-
profile
|
|
7
|
+
profile?: ProfileProps;
|
|
8
8
|
};
|
|
9
9
|
export declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export default Header;
|
|
@@ -19,6 +19,6 @@ export var Header = forwardRef(function (props, ref) {
|
|
|
19
19
|
var ProductSwitcher = props.productSwitcher, product = props.product,
|
|
20
20
|
// menu: Menu,
|
|
21
21
|
profile = props.profile;
|
|
22
|
-
return (_jsxs(HeaderRoot, __assign({ ref: ref }, { children: [_jsxs(HeaderNav, { children: [ProductSwitcher && _jsx(ProductSwitcher, {}), _jsx(Product, __assign({}, product))] }), _jsx(Profile, __assign({}, profile))] })));
|
|
22
|
+
return (_jsxs(HeaderRoot, __assign({ ref: ref }, { children: [_jsxs(HeaderNav, { children: [ProductSwitcher && _jsx(ProductSwitcher, {}), _jsx(Product, __assign({}, product))] }), profile && _jsx(Profile, __assign({}, profile))] })));
|
|
23
23
|
});
|
|
24
24
|
export default Header;
|
package/esm/Tab/Tab.d.ts
ADDED
package/esm/Tab/Tab.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tab';
|
package/esm/Tab/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tab';
|
package/esm/Tabs/Tabs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tabs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tabs';
|
package/esm/index.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export * from './Select';
|
|
|
52
52
|
export * from './styles';
|
|
53
53
|
export * from './StylesCacheProvider';
|
|
54
54
|
export * from './Table';
|
|
55
|
+
export * from './Tab';
|
|
56
|
+
export * from './Tabs';
|
|
55
57
|
export * from './Tag';
|
|
56
58
|
export * from './TextArea';
|
|
57
59
|
export * from './theme';
|
package/esm/index.js
CHANGED
|
@@ -52,6 +52,8 @@ export * from './Select';
|
|
|
52
52
|
export * from './styles';
|
|
53
53
|
export * from './StylesCacheProvider';
|
|
54
54
|
export * from './Table';
|
|
55
|
+
export * from './Tab';
|
|
56
|
+
export * from './Tabs';
|
|
55
57
|
export * from './Tag';
|
|
56
58
|
export * from './TextArea';
|
|
57
59
|
export * from './theme';
|
|
@@ -22,6 +22,8 @@ import { MuiMenuItem } from './MuiMenuItem';
|
|
|
22
22
|
import { MuiCircularProgress } from './MuiCircularProgress';
|
|
23
23
|
import { MuiListItemButton } from './MuiListItemButton';
|
|
24
24
|
import { MuiListItemText } from './MuiListItemText';
|
|
25
|
+
import { MuiTab } from './MuiTab';
|
|
26
|
+
import { MuiTabs } from './MuiTabs';
|
|
25
27
|
var getMuiCssBaseline = function (fontUrls) { return ({
|
|
26
28
|
styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
|
|
27
29
|
}); };
|
|
@@ -63,4 +65,6 @@ export var getComponents = function (fontUrls) { return ({
|
|
|
63
65
|
MuiCircularProgress: MuiCircularProgress,
|
|
64
66
|
MuiListItemButton: MuiListItemButton,
|
|
65
67
|
MuiListItemText: MuiListItemText,
|
|
68
|
+
MuiTab: MuiTab,
|
|
69
|
+
MuiTabs: MuiTabs,
|
|
66
70
|
}); };
|
package/index.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export * from './Select';
|
|
|
52
52
|
export * from './styles';
|
|
53
53
|
export * from './StylesCacheProvider';
|
|
54
54
|
export * from './Table';
|
|
55
|
+
export * from './Tab';
|
|
56
|
+
export * from './Tabs';
|
|
55
57
|
export * from './Tag';
|
|
56
58
|
export * from './TextArea';
|
|
57
59
|
export * from './theme';
|
package/index.js
CHANGED
|
@@ -68,6 +68,8 @@ __exportStar(require("./Select"), exports);
|
|
|
68
68
|
__exportStar(require("./styles"), exports);
|
|
69
69
|
__exportStar(require("./StylesCacheProvider"), exports);
|
|
70
70
|
__exportStar(require("./Table"), exports);
|
|
71
|
+
__exportStar(require("./Tab"), exports);
|
|
72
|
+
__exportStar(require("./Tabs"), exports);
|
|
71
73
|
__exportStar(require("./Tag"), exports);
|
|
72
74
|
__exportStar(require("./TextArea"), exports);
|
|
73
75
|
__exportStar(require("./theme"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"browser": "./src/index.ts",
|
|
5
5
|
"jest": {
|
|
6
6
|
"moduleNameMapper": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@astral/icons": "^1.
|
|
11
|
+
"@astral/icons": "^1.9.0",
|
|
12
12
|
"@emotion/cache": "11.7.1",
|
|
13
13
|
"@emotion/react": "11.9.0",
|
|
14
14
|
"@emotion/server": "11.4.0",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MuiTab = void 0;
|
|
4
|
+
exports.MuiTab = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: function (_a) {
|
|
7
|
+
var theme = _a.theme;
|
|
8
|
+
return {
|
|
9
|
+
minWidth: 0,
|
|
10
|
+
padding: theme.spacing(0, 2),
|
|
11
|
+
textTransform: 'none',
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MuiTabs = void 0;
|
|
4
|
+
exports.MuiTabs = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: function () {
|
|
7
|
+
return {
|
|
8
|
+
minHeight: 38,
|
|
9
|
+
height: 38,
|
|
10
|
+
};
|
|
11
|
+
},
|
|
12
|
+
indicator: function (_a) {
|
|
13
|
+
var theme = _a.theme;
|
|
14
|
+
return {
|
|
15
|
+
borderRadius: theme.shape.small,
|
|
16
|
+
};
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -25,6 +25,8 @@ var MuiMenuItem_1 = require("./MuiMenuItem");
|
|
|
25
25
|
var MuiCircularProgress_1 = require("./MuiCircularProgress");
|
|
26
26
|
var MuiListItemButton_1 = require("./MuiListItemButton");
|
|
27
27
|
var MuiListItemText_1 = require("./MuiListItemText");
|
|
28
|
+
var MuiTab_1 = require("./MuiTab");
|
|
29
|
+
var MuiTabs_1 = require("./MuiTabs");
|
|
28
30
|
var getMuiCssBaseline = function (fontUrls) { return ({
|
|
29
31
|
styleOverrides: "\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 300;\n font-display: swap;\n src: url(".concat(fontUrls.light.woff2, ") format('woff2'), url(").concat(fontUrls.light.woff, ") format('woff');\n }\n @font-face { \n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 400;\n font-display: swap;\n src: url(").concat(fontUrls.regular.woff2, ") format('woff2'), url(").concat(fontUrls.regular.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 500;\n font-display: swap;\n src: url(").concat(fontUrls.medium.woff2, ") format('woff2'), url(").concat(fontUrls.medium.woff, ") format('woff');\n }\n @font-face {\n font-family: 'Ubuntu';\n font-style: 'normal';\n font-weight: 700;\n font-display: swap;\n src: url(").concat(fontUrls.bold.woff2, ") format('woff2'), url(").concat(fontUrls.bold.woff, ") format('woff');\n }\n "),
|
|
30
32
|
}); };
|
|
@@ -66,5 +68,7 @@ var getComponents = function (fontUrls) { return ({
|
|
|
66
68
|
MuiCircularProgress: MuiCircularProgress_1.MuiCircularProgress,
|
|
67
69
|
MuiListItemButton: MuiListItemButton_1.MuiListItemButton,
|
|
68
70
|
MuiListItemText: MuiListItemText_1.MuiListItemText,
|
|
71
|
+
MuiTab: MuiTab_1.MuiTab,
|
|
72
|
+
MuiTabs: MuiTabs_1.MuiTabs,
|
|
69
73
|
}); };
|
|
70
74
|
exports.getComponents = getComponents;
|