@learningpool/ui 1.11.2 → 1.11.3
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.
|
@@ -6,7 +6,7 @@ import { SwipeableDrawer, OutlinedInput, InputLabel } from '../../../index';
|
|
|
6
6
|
import { getOffsetNavigationBackground, getOffsetNavigationContrastText } from '../helpers';
|
|
7
7
|
import { styled } from '@mui/material/styles';
|
|
8
8
|
import { animated } from '@react-spring/web';
|
|
9
|
-
export var StyledSwipeableSearch = styled(SwipeableDrawer)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* Override the MUI default z-index of the Drawer component\n to ensure that the drawer is always below the AppBar. */\n z-index: ", ";\n\n .MuiPaper-root {\n box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 5px 8px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 14px 0px rgba(0, 0, 0, 0.12);\n border: none;\n border-radius: 20px 20px 0 0;\n z-index:
|
|
9
|
+
export var StyledSwipeableSearch = styled(SwipeableDrawer)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n /* Override the MUI default z-index of the Drawer component\n to ensure that the drawer is always below the AppBar. */\n z-index: ", ";\n\n .MuiPaper-root {\n box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 5px 8px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 14px 0px rgba(0, 0, 0, 0.12);\n border: none;\n border-radius: 20px 20px 0 0;\n z-index: 1100;\n }\n"], ["\n /* Override the MUI default z-index of the Drawer component\n to ensure that the drawer is always below the AppBar. */\n z-index: ", ";\n\n .MuiPaper-root {\n box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 5px 8px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 14px 0px rgba(0, 0, 0, 0.12);\n border: none;\n border-radius: 20px 20px 0 0;\n z-index: 1100;\n }\n"])), function (props) { return props.theme.zIndex.appBar - 1; });
|
|
10
10
|
export var StyledBox = styled(animated.div)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n padding: ", ";\n height: 100%;\n"], ["\n background-color: ", ";\n padding: ", ";\n height: 100%;\n"])), function (props) { return getOffsetNavigationBackground(props.theme); }, function (props) { return props.theme.spacing(3, 2.5, '80px', 2.5); });
|
|
11
11
|
export var StyledOutlinedInputLabel = styled(InputLabel)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n\n &.MuiInputLabel-root.Mui-focused {\n background-color: ", ";\n color: ", ";\n }\n"], ["\n background-color: ", ";\n color: ", ";\n\n &.MuiInputLabel-root.Mui-focused {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) { return getOffsetNavigationBackground(props.theme); }, function (props) { return getOffsetNavigationContrastText(props.theme); }, function (props) { return getOffsetNavigationBackground(props.theme); }, function (props) { return getOffsetNavigationContrastText(props.theme); });
|
|
12
12
|
export var StyledOutlinedInput = styled(OutlinedInput)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n .MuiInputBase-input {\n color: ", ";\n }\n\n fieldset {\n border-color: ", " !important;\n transition: all 0.2s ease;\n }\n\n &.MuiOutlinedInput-root:hover fieldset,\n &.MuiOutlinedInput-root:focus fieldset {\n border-width: 2px;\n }\n\n .MuiIconButton-root {\n color: ", ";\n }\n"], ["\n .MuiInputBase-input {\n color: ", ";\n }\n\n fieldset {\n border-color: ", " !important;\n transition: all 0.2s ease;\n }\n\n &.MuiOutlinedInput-root:hover fieldset,\n &.MuiOutlinedInput-root:focus fieldset {\n border-width: 2px;\n }\n\n .MuiIconButton-root {\n color: ", ";\n }\n"])), function (props) { return getOffsetNavigationContrastText(props.theme); }, function (props) { return getOffsetNavigationContrastText(props.theme); }, function (props) { return getOffsetNavigationContrastText(props.theme); });
|