@astral/ui 0.8.1 → 0.10.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/Badge/styled.js +6 -6
- package/Button/styled.js +3 -3
- package/ButtonBase/styled.js +13 -13
- package/Checkbox/styled.js +1 -1
- package/DashboardLayout/Header/styled.js +10 -10
- package/DashboardLayout/SideBar/styled.js +3 -3
- package/Dialog/Dialog.d.ts +3 -0
- package/Dialog/Dialog.js +39 -0
- package/Dialog/index.d.ts +2 -0
- package/Dialog/index.js +14 -0
- package/Dialog/types.d.ts +7 -0
- package/Dialog/types.js +2 -0
- package/DialogActions/DialogActions.d.ts +3 -0
- package/DialogActions/DialogActions.js +33 -0
- package/DialogActions/index.d.ts +1 -0
- package/DialogActions/index.js +13 -0
- package/DialogContent/DialogContent.d.ts +1 -0
- package/DialogContent/DialogContent.js +5 -0
- package/DialogContent/index.d.ts +1 -0
- package/DialogContent/index.js +13 -0
- package/DialogContentText/DialogContentText.d.ts +1 -0
- package/DialogContentText/DialogContentText.js +5 -0
- package/DialogContentText/index.d.ts +1 -0
- package/DialogContentText/index.js +13 -0
- package/DialogTitle/DialogTitle.d.ts +3 -0
- package/DialogTitle/DialogTitle.js +34 -0
- package/DialogTitle/index.d.ts +2 -0
- package/DialogTitle/index.js +14 -0
- package/DialogTitle/types.d.ts +4 -0
- package/DialogTitle/types.js +2 -0
- package/FormControlLabel/styled.js +1 -1
- package/IconButton/styled.js +1 -1
- package/List/styled.js +1 -1
- package/ListItem/styled.js +3 -3
- package/ListItemButton/styled.js +3 -3
- package/MenuList/styled.js +1 -1
- package/Radio/styled.js +1 -1
- package/Select/styled.js +2 -2
- package/Tag/styled.js +5 -5
- package/Tooltip/styled.js +6 -6
- package/esm/Badge/styled.js +6 -6
- package/esm/Button/styled.js +3 -3
- package/esm/ButtonBase/styled.js +13 -13
- package/esm/Checkbox/styled.js +1 -1
- package/esm/DashboardLayout/Header/styled.js +10 -10
- package/esm/DashboardLayout/SideBar/styled.js +3 -3
- package/esm/Dialog/Dialog.d.ts +3 -0
- package/esm/Dialog/Dialog.js +35 -0
- package/esm/Dialog/index.d.ts +2 -0
- package/esm/Dialog/index.js +2 -0
- package/esm/Dialog/types.d.ts +7 -0
- package/esm/Dialog/types.js +1 -0
- package/esm/DialogActions/DialogActions.d.ts +3 -0
- package/esm/DialogActions/DialogActions.js +29 -0
- package/esm/DialogActions/index.d.ts +1 -0
- package/esm/DialogActions/index.js +1 -0
- package/esm/DialogContent/DialogContent.d.ts +1 -0
- package/esm/DialogContent/DialogContent.js +1 -0
- package/esm/DialogContent/index.d.ts +1 -0
- package/esm/DialogContent/index.js +1 -0
- package/esm/DialogContentText/DialogContentText.d.ts +1 -0
- package/esm/DialogContentText/DialogContentText.js +1 -0
- package/esm/DialogContentText/index.d.ts +1 -0
- package/esm/DialogContentText/index.js +1 -0
- package/esm/DialogTitle/DialogTitle.d.ts +3 -0
- package/esm/DialogTitle/DialogTitle.js +30 -0
- package/esm/DialogTitle/index.d.ts +2 -0
- package/esm/DialogTitle/index.js +2 -0
- package/esm/DialogTitle/types.d.ts +4 -0
- package/esm/DialogTitle/types.js +1 -0
- package/esm/FormControlLabel/styled.js +1 -1
- package/esm/IconButton/styled.js +1 -1
- package/esm/List/styled.js +1 -1
- package/esm/ListItem/styled.js +3 -3
- package/esm/ListItemButton/styled.js +3 -3
- package/esm/MenuList/styled.js +1 -1
- package/esm/Radio/styled.js +1 -1
- package/esm/Select/styled.js +2 -2
- package/esm/Tag/styled.js +5 -5
- package/esm/Tooltip/styled.js +6 -6
- package/esm/index.d.ts +5 -0
- package/esm/index.js +5 -0
- package/esm/theme/components/MuiDialog.d.ts +3 -0
- package/esm/theme/components/MuiDialog.js +16 -0
- package/esm/theme/components/MuiDialogActions.d.ts +3 -0
- package/esm/theme/components/MuiDialogActions.js +13 -0
- package/esm/theme/components/MuiDialogContent.d.ts +3 -0
- package/esm/theme/components/MuiDialogContent.js +10 -0
- package/esm/theme/components/MuiDialogTitle.d.ts +3 -0
- package/esm/theme/components/MuiDialogTitle.js +19 -0
- package/esm/theme/components/components.js +8 -0
- package/esm/theme/palette/palette.d.ts +1 -0
- package/esm/theme/palette/palette.js +1 -0
- package/index.d.ts +5 -0
- package/index.js +5 -0
- package/package.json +12 -2
- package/theme/components/MuiDialog.d.ts +3 -0
- package/theme/components/MuiDialog.js +19 -0
- package/theme/components/MuiDialogActions.d.ts +3 -0
- package/theme/components/MuiDialogActions.js +16 -0
- package/theme/components/MuiDialogContent.d.ts +3 -0
- package/theme/components/MuiDialogContent.js +13 -0
- package/theme/components/MuiDialogTitle.d.ts +3 -0
- package/theme/components/MuiDialogTitle.js +22 -0
- package/theme/components/components.js +8 -0
- package/theme/palette/palette.d.ts +1 -0
- package/theme/palette/palette.js +1 -0
package/Tag/styled.js
CHANGED
|
@@ -114,18 +114,18 @@ exports.StyledTag = (0, styles_1.styled)(material_1.Chip, {
|
|
|
114
114
|
shouldForwardProp: function (prop) {
|
|
115
115
|
return prop !== 'customColor' && prop !== 'customVariant' && prop !== 'rounded';
|
|
116
116
|
},
|
|
117
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
117
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 20px;\n\n font-size: 14px;\n\n background-color: ", ";\n border-radius: ", ";\n\n user-select: none;\n\n &:hover {\n color: ", ";\n\n background-color: ", ";\n }\n\n &:active {\n color: ", ";\n\n background-color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n\n &:active {\n color: ", ";\n }\n }\n\n .MuiChip-deleteIcon {\n width: 20px;\n height: 20px;\n margin: 0;\n\n color: ", ";\n\n background: ", ";\n border-radius: ", ";\n\n &:hover {\n color: ", ";\n\n background: ", ";\n }\n\n &:active {\n color: ", ";\n\n background: ", ";\n }\n }\n\n .MuiChip-avatar {\n width: 16px;\n height: 16px;\n margin: 2px;\n }\n\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"], ["\n height: 20px;\n\n font-size: 14px;\n\n background-color: ", ";\n border-radius: ", ";\n\n user-select: none;\n\n &:hover {\n color: ", ";\n\n background-color: ", ";\n }\n\n &:active {\n color: ", ";\n\n background-color: ", ";\n }\n\n .MuiChip-label {\n padding: ", ";\n\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n\n &:active {\n color: ", ";\n }\n }\n\n .MuiChip-deleteIcon {\n width: 20px;\n height: 20px;\n margin: 0;\n\n color: ", ";\n\n background: ", ";\n border-radius: ", ";\n\n &:hover {\n color: ", ";\n\n background: ", ";\n }\n\n &:active {\n color: ", ";\n\n background: ", ";\n }\n }\n\n .MuiChip-avatar {\n width: 16px;\n height: 16px;\n margin: 2px;\n }\n\n .MuiChip-icon {\n width: 16px;\n height: 16px;\n }\n"])), function (props) {
|
|
118
118
|
return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.DEFAULT }));
|
|
119
|
-
}, function (props) {
|
|
119
|
+
}, function (props) { return getShape(__assign({}, props)); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER })); }, function (props) {
|
|
120
120
|
return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER }));
|
|
121
|
-
}, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.
|
|
121
|
+
}, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE })); }, function (props) {
|
|
122
122
|
return getBgColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE }));
|
|
123
|
-
}, function (props) { return
|
|
123
|
+
}, function (props) { return getTagLabelPadding(__assign({}, props)); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.DEFAULT })); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.HOVER })); }, function (props) { return getColor(__assign(__assign({}, props), { tagState: constants_1.TagStates.ACTIVE })); }, function (_a) {
|
|
124
124
|
var theme = _a.theme;
|
|
125
125
|
return theme.palette.grey[800];
|
|
126
126
|
}, function (props) {
|
|
127
127
|
return getDeleteIconBgColor(__assign(__assign({}, props), { iconState: constants_1.TagStates.DEFAULT }));
|
|
128
|
-
}, function (_a) {
|
|
128
|
+
}, function (props) { return getDeleteIconBorderRadius(__assign({}, props)); }, function (_a) {
|
|
129
129
|
var theme = _a.theme;
|
|
130
130
|
return theme.palette.grey[800];
|
|
131
131
|
}, function (props) {
|
package/Tooltip/styled.js
CHANGED
|
@@ -34,12 +34,9 @@ var constants_1 = require("./constants");
|
|
|
34
34
|
exports.StyledTooltip = (0, styles_1.styled)(function (_a) {
|
|
35
35
|
var className = _a.className, props = __rest(_a, ["className"]);
|
|
36
36
|
return ((0, jsx_runtime_1.jsx)(material_1.Tooltip, __assign({}, props, { classes: { popper: className } }), void 0));
|
|
37
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n & .MuiTooltip-tooltip {\n margin: 0;\n
|
|
37
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n & .MuiTooltip-tooltip {\n margin: 0;\n\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n background-color: ", ";\n border-radius: ", ";\n }\n\n & .MuiTooltip-arrow {\n color: ", ";\n }\n\n &&[data-popper-placement*='top'] .MuiTooltip-tooltip {\n margin-bottom: ", ";\n }\n\n &&[data-popper-placement*='bottom'] .MuiTooltip-tooltip {\n margin-top: ", ";\n }\n\n &&[data-popper-placement*='left'] .MuiTooltip-tooltip {\n margin-right: ", ";\n }\n\n &&[data-popper-placement*='right'] .MuiTooltip-tooltip {\n margin-left: ", ";\n }\n"], ["\n & .MuiTooltip-tooltip {\n margin: 0;\n\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n\n background-color: ", ";\n border-radius: ", ";\n }\n\n & .MuiTooltip-arrow {\n color: ", ";\n }\n\n &&[data-popper-placement*='top'] .MuiTooltip-tooltip {\n margin-bottom: ", ";\n }\n\n &&[data-popper-placement*='bottom'] .MuiTooltip-tooltip {\n margin-top: ", ";\n }\n\n &&[data-popper-placement*='left'] .MuiTooltip-tooltip {\n margin-right: ", ";\n }\n\n &&[data-popper-placement*='right'] .MuiTooltip-tooltip {\n margin-left: ", ";\n }\n"])), function (_a) {
|
|
38
38
|
var theme = _a.theme;
|
|
39
|
-
return theme.
|
|
40
|
-
}, function (_a) {
|
|
41
|
-
var theme = _a.theme;
|
|
42
|
-
return theme.shape.small;
|
|
39
|
+
return theme.typography.fontWeightRegular;
|
|
43
40
|
}, function (_a) {
|
|
44
41
|
var size = _a.size, theme = _a.theme;
|
|
45
42
|
return size === constants_1.TooltipSizes.SMALL
|
|
@@ -52,7 +49,10 @@ exports.StyledTooltip = (0, styles_1.styled)(function (_a) {
|
|
|
52
49
|
: theme.typography.ui.lineHeight;
|
|
53
50
|
}, function (_a) {
|
|
54
51
|
var theme = _a.theme;
|
|
55
|
-
return theme.
|
|
52
|
+
return theme.palette.grey[900];
|
|
53
|
+
}, function (_a) {
|
|
54
|
+
var theme = _a.theme;
|
|
55
|
+
return theme.shape.small;
|
|
56
56
|
}, function (_a) {
|
|
57
57
|
var theme = _a.theme;
|
|
58
58
|
return theme.palette.grey[900];
|
package/esm/Badge/styled.js
CHANGED
|
@@ -38,18 +38,18 @@ var getTextColor = function (_a) {
|
|
|
38
38
|
};
|
|
39
39
|
export var StyledBadge = styled(Badge, {
|
|
40
40
|
shouldForwardProp: function (prop) { return prop !== 'customColor'; },
|
|
41
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .MuiBadge-badge {\n height: 20px;\n
|
|
42
|
-
var
|
|
43
|
-
return
|
|
41
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .MuiBadge-badge {\n height: 20px;\n padding: ", ";\n\n color: ", ";\n font-size: ", ";\n line-height: 20px;\n\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: 12px;\n }\n\n .MuiBadge-dot {\n width: 12px;\n height: 12px;\n\n border: 2px solid ", ";\n }\n"], ["\n .MuiBadge-badge {\n height: 20px;\n padding: ", ";\n\n color: ", ";\n font-size: ", ";\n line-height: 20px;\n\n background-color: ", ";\n border: 2px solid ", ";\n border-radius: 12px;\n }\n\n .MuiBadge-dot {\n width: 12px;\n height: 12px;\n\n border: 2px solid ", ";\n }\n"])), function (_a) {
|
|
42
|
+
var theme = _a.theme;
|
|
43
|
+
return theme.spacing(0, 1);
|
|
44
44
|
}, function (_a) {
|
|
45
45
|
var customColor = _a.customColor, theme = _a.theme;
|
|
46
46
|
return getTextColor({ customColor: customColor, theme: theme });
|
|
47
|
-
}, function (_a) {
|
|
48
|
-
var theme = _a.theme;
|
|
49
|
-
return theme.spacing(0, 1);
|
|
50
47
|
}, function (_a) {
|
|
51
48
|
var theme = _a.theme;
|
|
52
49
|
return theme.typography.small.fontSize;
|
|
50
|
+
}, function (_a) {
|
|
51
|
+
var customColor = _a.customColor, theme = _a.theme;
|
|
52
|
+
return getBgColor({ customColor: customColor, theme: theme });
|
|
53
53
|
}, function (_a) {
|
|
54
54
|
var theme = _a.theme;
|
|
55
55
|
return theme.palette.common.white;
|
package/esm/Button/styled.js
CHANGED
|
@@ -14,12 +14,12 @@ export var StyledButton = styled(ButtonBase, {
|
|
|
14
14
|
shouldForwardProp: function (prop) {
|
|
15
15
|
return prop !== 'startIcon' && prop !== 'endIcon' && prop !== 'loading';
|
|
16
16
|
},
|
|
17
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
17
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n\n pointer-events: ", ";\n\n &:focus {\n color: ", ";\n }\n\n > span:first-of-type {\n display: inherit;\n margin-right: ", ";\n }\n\n > span:last-of-type {\n display: inherit;\n margin-left: ", ";\n }\n\n .MuiCircularProgress-root {\n position: absolute;\n\n width: 16px !important;\n height: 16px !important;\n\n color: ", ";\n\n transform: translate(-50%, -50%);\n }\n"], ["\n color: ", ";\n\n pointer-events: ", ";\n\n &:focus {\n color: ", ";\n }\n\n > span:first-of-type {\n display: inherit;\n margin-right: ", ";\n }\n\n > span:last-of-type {\n display: inherit;\n margin-left: ", ";\n }\n\n .MuiCircularProgress-root {\n position: absolute;\n\n width: 16px !important;\n height: 16px !important;\n\n color: ", ";\n\n transform: translate(-50%, -50%);\n }\n"])), function (_a) {
|
|
18
18
|
var loading = _a.loading;
|
|
19
|
-
return
|
|
19
|
+
return loading && 'transparent';
|
|
20
20
|
}, function (_a) {
|
|
21
21
|
var loading = _a.loading;
|
|
22
|
-
return loading
|
|
22
|
+
return (loading ? 'none' : 'inherit');
|
|
23
23
|
}, function (_a) {
|
|
24
24
|
var loading = _a.loading;
|
|
25
25
|
return loading && 'transparent';
|
package/esm/ButtonBase/styled.js
CHANGED
|
@@ -167,36 +167,36 @@ export var StyledButtonBase = styled(ButtonUnstyled, {
|
|
|
167
167
|
shouldForwardProp: function (prop) {
|
|
168
168
|
return prop !== 'customColor' && prop !== 'customVariant';
|
|
169
169
|
},
|
|
170
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
171
|
-
|
|
172
|
-
return theme.shape.small;
|
|
170
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: ", ";\n padding: ", ";\n\n color: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-family: Ubuntu, serif;\n\n background-color: ", ";\n border: none;\n border-radius: ", ";\n cursor: pointer;\n\n &:hover {\n color: ", ";\n\n background-color: ", ";\n }\n\n &:focus {\n color: ", ";\n\n background-color: ", ";\n outline: 2px solid ", ";\n }\n\n &:active {\n color: ", ";\n\n background-color: ", ";\n outline: none;\n }\n\n &.", " {\n color: ", ";\n\n background-color: ", ";\n cursor: unset;\n }\n"], ["\n position: relative;\n\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: ", ";\n padding: ", ";\n\n color: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-family: Ubuntu, serif;\n\n background-color: ", ";\n border: none;\n border-radius: ", ";\n cursor: pointer;\n\n &:hover {\n color: ", ";\n\n background-color: ", ";\n }\n\n &:focus {\n color: ", ";\n\n background-color: ", ";\n outline: 2px solid ", ";\n }\n\n &:active {\n color: ", ";\n\n background-color: ", ";\n outline: none;\n }\n\n &.", " {\n color: ", ";\n\n background-color: ", ";\n cursor: unset;\n }\n"])), getButtonHeight, getButtonPadding, function (props) {
|
|
171
|
+
return getColor(__assign(__assign({}, props), { buttonState: ButtonStates.DEFAULT }));
|
|
173
172
|
}, function (_a) {
|
|
174
173
|
var theme = _a.theme;
|
|
175
|
-
return theme.typography.button.
|
|
174
|
+
return theme.typography.button.fontWeight;
|
|
176
175
|
}, function (_a) {
|
|
177
176
|
var theme = _a.theme;
|
|
178
|
-
return theme.typography.button.
|
|
177
|
+
return theme.typography.button.fontSize;
|
|
179
178
|
}, function (props) {
|
|
180
179
|
return getBgColor(__assign(__assign({}, props), { buttonState: ButtonStates.DEFAULT }));
|
|
180
|
+
}, function (_a) {
|
|
181
|
+
var theme = _a.theme;
|
|
182
|
+
return theme.shape.small;
|
|
181
183
|
}, function (props) {
|
|
182
|
-
return getColor(__assign(__assign({}, props), { buttonState: ButtonStates.
|
|
184
|
+
return getColor(__assign(__assign({}, props), { buttonState: ButtonStates.HOVER }));
|
|
183
185
|
}, function (props) {
|
|
184
186
|
return getBgColor(__assign(__assign({}, props), { buttonState: ButtonStates.HOVER }));
|
|
185
187
|
}, function (props) {
|
|
186
|
-
return getColor(__assign(__assign({}, props), { buttonState: ButtonStates.
|
|
188
|
+
return getColor(__assign(__assign({}, props), { buttonState: ButtonStates.FOCUS }));
|
|
187
189
|
}, function (props) {
|
|
188
190
|
return getBgColor(__assign(__assign({}, props), { buttonState: ButtonStates.FOCUS }));
|
|
189
|
-
}, function (props) {
|
|
190
|
-
return getColor(__assign(__assign({}, props), { buttonState: ButtonStates.FOCUS }));
|
|
191
191
|
}, function (_a) {
|
|
192
192
|
var theme = _a.theme;
|
|
193
193
|
return theme.palette.primary['400'];
|
|
194
|
-
}, function (props) {
|
|
195
|
-
return getBgColor(__assign(__assign({}, props), { buttonState: ButtonStates.ACTIVE }));
|
|
196
194
|
}, function (props) {
|
|
197
195
|
return getColor(__assign(__assign({}, props), { buttonState: ButtonStates.ACTIVE }));
|
|
198
|
-
},
|
|
196
|
+
}, function (props) {
|
|
197
|
+
return getBgColor(__assign(__assign({}, props), { buttonState: ButtonStates.ACTIVE }));
|
|
198
|
+
}, buttonUnstyledClasses.disabled, function (_a) {
|
|
199
199
|
var theme = _a.theme;
|
|
200
200
|
return theme.palette.grey['500'];
|
|
201
|
-
});
|
|
201
|
+
}, getDisabledBgColor);
|
|
202
202
|
var templateObject_1;
|
package/esm/Checkbox/styled.js
CHANGED
|
@@ -4,7 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { Checkbox } from '@mui/material';
|
|
6
6
|
import { styled } from '../styles';
|
|
7
|
-
export var StyledCheckbox = styled(Checkbox)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 5px;\n
|
|
7
|
+
export var StyledCheckbox = styled(Checkbox)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 5px;\n\n color: ", ";\n\n border-radius: unset;\n\n &:hover {\n color: ", ";\n }\n\n & .MuiSvgIcon-border {\n color: ", ";\n }\n\n & > svg {\n width: 1rem;\n height: 1rem;\n }\n\n &.Mui-disabled {\n color: ", ";\n\n & .MuiSvgIcon-border {\n color: currentColor;\n }\n }\n\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n\n &.Mui-disabled {\n color: ", ";\n }\n\n & .MuiSvgIcon-mark {\n color: ", ";\n }\n }\n"], ["\n padding: 5px;\n\n color: ", ";\n\n border-radius: unset;\n\n &:hover {\n color: ", ";\n }\n\n & .MuiSvgIcon-border {\n color: ", ";\n }\n\n & > svg {\n width: 1rem;\n height: 1rem;\n }\n\n &.Mui-disabled {\n color: ", ";\n\n & .MuiSvgIcon-border {\n color: currentColor;\n }\n }\n\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n\n &.Mui-disabled {\n color: ", ";\n }\n\n & .MuiSvgIcon-mark {\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
8
8
|
var theme = _a.theme;
|
|
9
9
|
return theme.palette.background.element;
|
|
10
10
|
}, function (_a) {
|
|
@@ -3,27 +3,27 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import { styled } from '../../styles';
|
|
6
|
-
export var StyledHeader = styled('header')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n grid-column: 1 / -1;\n
|
|
6
|
+
export var StyledHeader = styled('header')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n z-index: ", ";\n\n grid-column: 1 / -1;\n width: 100%;\n height: 56px;\n min-height: 56px;\n padding: 0 ", ";\n\n background-color: ", ";\n box-shadow: ", ";\n"], ["\n z-index: ", ";\n\n grid-column: 1 / -1;\n width: 100%;\n height: 56px;\n min-height: 56px;\n padding: 0 ", ";\n\n background-color: ", ";\n box-shadow: ", ";\n"])), function (_a) {
|
|
7
7
|
var theme = _a.theme;
|
|
8
8
|
return theme.zIndex.appBar;
|
|
9
|
-
}, function (_a) {
|
|
10
|
-
var theme = _a.theme;
|
|
11
|
-
return theme.elevation[200];
|
|
12
9
|
}, function (_a) {
|
|
13
10
|
var theme = _a.theme;
|
|
14
11
|
return theme.spacing(5);
|
|
15
12
|
}, function (_a) {
|
|
16
13
|
var theme = _a.theme;
|
|
17
14
|
return theme.palette.background.default;
|
|
15
|
+
}, function (_a) {
|
|
16
|
+
var theme = _a.theme;
|
|
17
|
+
return theme.elevation[200];
|
|
18
18
|
});
|
|
19
19
|
export var InnerContainer = styled('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n height: 100%;\n"], ["\n display: flex;\n justify-content: space-between;\n height: 100%;\n"])));
|
|
20
|
-
export var LeftContainer = styled('div')(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n height: 100%;\n
|
|
21
|
-
export var LogoContainer = styled('div')(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n
|
|
22
|
-
var withWidget = _a.withWidget, theme = _a.theme;
|
|
23
|
-
return withWidget && theme.spacing(2);
|
|
24
|
-
}, function (_a) {
|
|
20
|
+
export var LeftContainer = styled('div')(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 100%;\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 100%;\n"])));
|
|
21
|
+
export var LogoContainer = styled('div')(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n max-height: 24px;\n margin-right: ", ";\n margin-left: ", ";\n\n > * {\n height: 100%;\n }\n"], ["\n height: 100%;\n max-height: 24px;\n margin-right: ", ";\n margin-left: ", ";\n\n > * {\n height: 100%;\n }\n"])), function (_a) {
|
|
25
22
|
var theme = _a.theme;
|
|
26
23
|
return theme.spacing(4);
|
|
24
|
+
}, function (_a) {
|
|
25
|
+
var withWidget = _a.withWidget, theme = _a.theme;
|
|
26
|
+
return withWidget && theme.spacing(2);
|
|
27
27
|
});
|
|
28
|
-
export var LogoStyle = styled('img')(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: 100%;\n cursor: pointer;\n"], ["\n height: 100%;\n cursor: pointer;\n"])));
|
|
28
|
+
export var LogoStyle = styled('img')(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: 100%;\n\n cursor: pointer;\n"], ["\n height: 100%;\n\n cursor: pointer;\n"])));
|
|
29
29
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
@@ -4,15 +4,15 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { Drawer } from '@mui/material';
|
|
6
6
|
import { styled } from '../../styles';
|
|
7
|
-
export var StyledDrawer = styled(Drawer)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n z-index: ", ";\n grid-column: 1;\n width: 241px;\n
|
|
7
|
+
export var StyledDrawer = styled(Drawer)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n z-index: ", ";\n\n grid-column: 1;\n width: 241px;\n\n .MuiPaper-root {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n\n padding: ", ";\n\n background-color: ", ";\n border-right: 1px solid ", ";\n }\n"], ["\n position: relative;\n z-index: ", ";\n\n grid-column: 1;\n width: 241px;\n\n .MuiPaper-root {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n\n padding: ", ";\n\n background-color: ", ";\n border-right: 1px solid ", ";\n }\n"])), function (_a) {
|
|
8
8
|
var theme = _a.theme;
|
|
9
9
|
return theme.zIndex.appBar - 1;
|
|
10
10
|
}, function (_a) {
|
|
11
11
|
var theme = _a.theme;
|
|
12
|
-
return theme.
|
|
12
|
+
return theme.spacing(5, 0);
|
|
13
13
|
}, function (_a) {
|
|
14
14
|
var theme = _a.theme;
|
|
15
|
-
return theme.
|
|
15
|
+
return theme.palette.background.element;
|
|
16
16
|
}, function (_a) {
|
|
17
17
|
var theme = _a.theme;
|
|
18
18
|
return theme.palette.grey[300];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import { Dialog as MuiDialog } from '@mui/material';
|
|
25
|
+
import { DialogTitle } from '../index';
|
|
26
|
+
export var Dialog = function (_a) {
|
|
27
|
+
var children = _a.children, title = _a.title, disableBackdropClick = _a.disableBackdropClick, onClose = _a.onClose, props = __rest(_a, ["children", "title", "disableBackdropClick", "onClose"]);
|
|
28
|
+
var handleClose = onClose &&
|
|
29
|
+
(function (event, reason) {
|
|
30
|
+
if (disableBackdropClick && reason == 'backdropClick')
|
|
31
|
+
return;
|
|
32
|
+
onClose(event, reason);
|
|
33
|
+
});
|
|
34
|
+
return (_jsxs(MuiDialog, __assign({ onClose: handleClose }, props, { children: [title && _jsx(DialogTitle, __assign({ onClose: onClose }, { children: title }), void 0), children] }), void 0));
|
|
35
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DialogProps as MuiDialogProps } from '@mui/material';
|
|
3
|
+
export declare type DialogProps = Omit<MuiDialogProps, 'onClose'> & {
|
|
4
|
+
title?: string;
|
|
5
|
+
disableBackdropClick?: boolean;
|
|
6
|
+
onClose?: (event?: React.MouseEvent<HTMLButtonElement>, reason?: 'backdropClick' | 'escapeKeyDown') => void;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
+
import { DialogActions as MuiDialogActions, } from '@mui/material';
|
|
25
|
+
import { Grid } from '../Grid';
|
|
26
|
+
export var DialogActions = function (_a) {
|
|
27
|
+
var children = _a.children, disableSpacing = _a.disableSpacing, props = __rest(_a, ["children", "disableSpacing"]);
|
|
28
|
+
return (_jsx(MuiDialogActions, __assign({}, props, { children: _jsx(Grid, __assign({ container: true, autoFlow: "column", justifyContent: "end", spacing: disableSpacing ? 0 : 2 }, { children: children }), void 0) }), void 0));
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DialogActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DialogActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogContent } from '@mui/material';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogContent } from '@mui/material';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DialogContent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DialogContent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogContentText } from '@mui/material';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogContentText } from '@mui/material';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DialogContentText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DialogContentText';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import { DialogTitle as MuiDialogTitle } from '@mui/material';
|
|
25
|
+
import { CrossOutlineMd } from '@astral/icons';
|
|
26
|
+
import { IconButton } from '../IconButton';
|
|
27
|
+
export var DialogTitle = function (_a) {
|
|
28
|
+
var children = _a.children, onClose = _a.onClose, props = __rest(_a, ["children", "onClose"]);
|
|
29
|
+
return (_jsxs(MuiDialogTitle, __assign({}, props, { children: [children, onClose && (_jsx(IconButton, __assign({ variant: "text", onClick: onClose }, { children: _jsx(CrossOutlineMd, {}, void 0) }), void 0))] }), void 0));
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,7 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { FormControlLabel } from '@mui/material';
|
|
6
6
|
import { styled } from '../styles';
|
|
7
|
-
export var StyledFormControlLabel = styled(FormControlLabel)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-
|
|
7
|
+
export var StyledFormControlLabel = styled(FormControlLabel)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-right: 0;\n margin-left: -5px;\n\n & .MuiFormControlLabel-label {\n margin-left: ", ";\n }\n"], ["\n margin-right: 0;\n margin-left: -5px;\n\n & .MuiFormControlLabel-label {\n margin-left: ", ";\n }\n"])), function (_a) {
|
|
8
8
|
var theme = _a.theme;
|
|
9
9
|
return theme.spacing(1);
|
|
10
10
|
});
|
package/esm/IconButton/styled.js
CHANGED
|
@@ -14,7 +14,7 @@ export var StyledIconButton = styled(ButtonBase, {
|
|
|
14
14
|
shouldForwardProp: function (prop) {
|
|
15
15
|
return prop !== 'startIcon' && prop !== 'endIcon' && prop !== 'loading';
|
|
16
16
|
},
|
|
17
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
17
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n padding: ", ";\n"], ["\n width: ", ";\n height: ", ";\n padding: ", ";\n"])), getButtonHeight, getButtonHeight, function (_a) {
|
|
18
18
|
var theme = _a.theme;
|
|
19
19
|
return theme.spacing(1);
|
|
20
20
|
});
|
package/esm/List/styled.js
CHANGED
|
@@ -4,5 +4,5 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { List as MuiList } from '@mui/material';
|
|
6
6
|
import { styled } from '../styles';
|
|
7
|
-
export var StyledList = styled(MuiList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n width: 100%;\n height: 100%;\n
|
|
7
|
+
export var StyledList = styled(MuiList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n"], ["\n a {\n display: inline-block;\n width: 100%;\n height: 100%;\n\n text-decoration: none;\n }\n"])));
|
|
8
8
|
var templateObject_1;
|
package/esm/ListItem/styled.js
CHANGED
|
@@ -34,11 +34,11 @@ export var getColor = function (_a) {
|
|
|
34
34
|
};
|
|
35
35
|
export var StyledListItem = styled(ListItem, {
|
|
36
36
|
shouldForwardProp: function (prop) { return prop !== 'selected'; },
|
|
37
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
37
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n\n background-color: ", ";\n border-radius: ", ";\n cursor: pointer;\n\n user-select: none;\n\n :hover {\n color: ", ";\n }\n"], ["\n color: ", ";\n\n background-color: ", ";\n border-radius: ", ";\n cursor: pointer;\n\n user-select: none;\n\n :hover {\n color: ", ";\n }\n"])), function (props) {
|
|
38
|
+
return getColor(__assign(__assign({}, props), { listItemState: ListItemStates.DEFAULT }));
|
|
39
|
+
}, function (props) { return getBgColor(__assign({}, props)); }, function (_a) {
|
|
38
40
|
var theme = _a.theme;
|
|
39
41
|
return theme.shape.small;
|
|
40
|
-
}, function (props) { return getBgColor(__assign({}, props)); }, function (props) {
|
|
41
|
-
return getColor(__assign(__assign({}, props), { listItemState: ListItemStates.DEFAULT }));
|
|
42
42
|
}, function (props) {
|
|
43
43
|
return getColor(__assign(__assign({}, props), { listItemState: ListItemStates.HOVER }));
|
|
44
44
|
});
|
|
@@ -30,11 +30,11 @@ export var getColor = function (_a) {
|
|
|
30
30
|
return theme.palette.primary[800];
|
|
31
31
|
return theme.palette.grey[900];
|
|
32
32
|
};
|
|
33
|
-
export var StyledListItemButton = styled(ListItemButton)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
33
|
+
export var StyledListItemButton = styled(ListItemButton)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n\n background-color: ", ";\n border-radius: ", ";\n cursor: pointer;\n\n user-select: none;\n\n :hover {\n color: ", ";\n }\n"], ["\n color: ", ";\n\n background-color: ", ";\n border-radius: ", ";\n cursor: pointer;\n\n user-select: none;\n\n :hover {\n color: ", ";\n }\n"])), function (props) {
|
|
34
|
+
return getColor(__assign(__assign({}, props), { listItemButtonState: ListItemButtonStates.DEFAULT }));
|
|
35
|
+
}, function (props) { return getBgColor(__assign({}, props)); }, function (_a) {
|
|
34
36
|
var theme = _a.theme;
|
|
35
37
|
return theme.shape.small;
|
|
36
|
-
}, function (props) {
|
|
37
|
-
return getColor(__assign(__assign({}, props), { listItemButtonState: ListItemButtonStates.DEFAULT }));
|
|
38
38
|
}, function (props) {
|
|
39
39
|
return getColor(__assign(__assign({}, props), { listItemButtonState: ListItemButtonStates.HOVER }));
|
|
40
40
|
});
|
package/esm/MenuList/styled.js
CHANGED
|
@@ -4,7 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { MenuList } from '@mui/material';
|
|
6
6
|
import { styled } from '../styles';
|
|
7
|
-
export var StyledMenuList = styled(MenuList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &.MuiList-root {\n padding: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n }\n"], ["\n &.MuiList-root {\n padding: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n }\n"])), function (_a) {
|
|
7
|
+
export var StyledMenuList = styled(MenuList)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &.MuiList-root {\n padding: ", ";\n\n border-radius: ", ";\n box-shadow: ", ";\n }\n"], ["\n &.MuiList-root {\n padding: ", ";\n\n border-radius: ", ";\n box-shadow: ", ";\n }\n"])), function (_a) {
|
|
8
8
|
var theme = _a.theme;
|
|
9
9
|
return theme.spacing(1, 0);
|
|
10
10
|
}, function (_a) {
|
package/esm/Radio/styled.js
CHANGED
|
@@ -4,7 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { Radio } from '@mui/material';
|
|
6
6
|
import { styled } from '../styles';
|
|
7
|
-
export var StyledRadio = styled(Radio)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 5px;\n
|
|
7
|
+
export var StyledRadio = styled(Radio)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 5px;\n\n color: ", ";\n\n border-radius: unset;\n\n &:hover {\n background: none;\n\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled:not(.Mui-checked) {\n color: ", ";\n\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-checked {\n color: ", ";\n\n &:hover {\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled {\n color: ", ";\n }\n\n & > svg > path {\n fill: ", ";\n }\n }\n"], ["\n padding: 5px;\n\n color: ", ";\n\n border-radius: unset;\n\n &:hover {\n background: none;\n\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled:not(.Mui-checked) {\n color: ", ";\n\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-checked {\n color: ", ";\n\n &:hover {\n & > svg {\n color: ", ";\n }\n }\n\n &.Mui-disabled {\n color: ", ";\n }\n\n & > svg > path {\n fill: ", ";\n }\n }\n"])), function (_a) {
|
|
8
8
|
var theme = _a.theme;
|
|
9
9
|
return theme.palette.background.default;
|
|
10
10
|
}, function (_a) {
|
package/esm/Select/styled.js
CHANGED
|
@@ -4,7 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { styled } from '../styles';
|
|
6
6
|
import { MenuItem } from '../MenuItem';
|
|
7
|
-
export var TagsWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n margin-bottom: -", ";\n\n .MuiChip-root {\n margin-bottom: ", ";\n background-color: ", ";\n }\n\n .MuiChip-root:hover {\n background-color: ", ";\n }\n\n .MuiChip-root:not(:last-of-type) {\n margin-right: ", ";\n }\n"], ["\n display: flex;\n flex-wrap: wrap;\n margin-bottom: -", ";\n\n .MuiChip-root {\n margin-bottom: ", ";\n background-color: ", ";\n }\n\n .MuiChip-root:hover {\n background-color: ", ";\n }\n\n .MuiChip-root:not(:last-of-type) {\n margin-right: ", ";\n }\n"])), function (_a) {
|
|
7
|
+
export var TagsWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n margin-bottom: -", ";\n\n .MuiChip-root {\n margin-bottom: ", ";\n\n background-color: ", ";\n }\n\n .MuiChip-root:hover {\n background-color: ", ";\n }\n\n .MuiChip-root:not(:last-of-type) {\n margin-right: ", ";\n }\n"], ["\n display: flex;\n flex-wrap: wrap;\n margin-bottom: -", ";\n\n .MuiChip-root {\n margin-bottom: ", ";\n\n background-color: ", ";\n }\n\n .MuiChip-root:hover {\n background-color: ", ";\n }\n\n .MuiChip-root:not(:last-of-type) {\n margin-right: ", ";\n }\n"])), function (_a) {
|
|
8
8
|
var theme = _a.theme;
|
|
9
9
|
return theme.spacing(1);
|
|
10
10
|
}, function (_a) {
|
|
@@ -20,7 +20,7 @@ export var TagsWrapper = styled.div(templateObject_1 || (templateObject_1 = __ma
|
|
|
20
20
|
var theme = _a.theme;
|
|
21
21
|
return theme.spacing(1);
|
|
22
22
|
});
|
|
23
|
-
export var ProgressWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n
|
|
23
|
+
export var ProgressWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n min-height: 64px;\n\n .MuiCircularProgress-root {\n margin-top: ", ";\n\n color: ", ";\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n min-height: 64px;\n\n .MuiCircularProgress-root {\n margin-top: ", ";\n\n color: ", ";\n }\n"])), function (_a) {
|
|
24
24
|
var theme = _a.theme;
|
|
25
25
|
return theme.spacing(5);
|
|
26
26
|
}, function (_a) {
|