@learningpool/ui 1.11.2 → 1.11.4

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.
@@ -1096,9 +1096,9 @@ export declare const StyledBox: import("@emotion/styled").StyledComponent<import
1096
1096
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
1097
1097
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
1098
1098
  }> & {
1099
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1100
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1101
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
1099
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1100
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1101
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
1102
1102
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
1103
1103
  export declare const StyledBoxProfile: import("@emotion/styled").StyledComponent<import("@react-spring/web").AnimatedProps<{
1104
1104
  className?: string | undefined;
@@ -2194,9 +2194,9 @@ export declare const StyledBoxProfile: import("@emotion/styled").StyledComponent
2194
2194
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
2195
2195
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
2196
2196
  }> & {
2197
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
2198
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
2199
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
2197
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
2198
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
2199
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
2200
2200
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
2201
2201
  export declare const StyledBoxProfileEdit: import("@emotion/styled").StyledComponent<import("@react-spring/web").AnimatedProps<{
2202
2202
  className?: string | undefined;
@@ -3292,9 +3292,9 @@ export declare const StyledBoxProfileEdit: import("@emotion/styled").StyledCompo
3292
3292
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
3293
3293
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3294
3294
  }> & {
3295
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
3296
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
3297
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
3295
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
3296
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
3297
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
3298
3298
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3299
3299
  export declare const StyledAvatarName: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
3300
3300
  align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
@@ -1104,9 +1104,9 @@ export declare const StyledDrawerLogo: import("@emotion/styled").StyledComponent
1104
1104
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
1105
1105
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
1106
1106
  }> & {
1107
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1108
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1109
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
1107
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1108
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1109
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
1110
1110
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
1111
1111
  export declare const StyledDrawerLogoText: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
1112
1112
  align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
@@ -1096,9 +1096,9 @@ export declare const StyledBox: import("@emotion/styled").StyledComponent<import
1096
1096
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
1097
1097
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
1098
1098
  }> & {
1099
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1100
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1101
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
1099
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1100
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1101
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
1102
1102
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
1103
1103
  export declare const StyledOutlinedInputLabel: import("@emotion/styled").StyledComponent<import("@mui/material").InputLabelProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
1104
1104
  export declare const StyledOutlinedInput: import("@emotion/styled").StyledComponent<import("@mui/material").OutlinedInputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -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: 1500;\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: 1500;\n }\n"])), function (props) { return props.theme.zIndex.appBar - 1; });
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); });
@@ -1129,9 +1129,9 @@ export declare const StyledBox: import("@emotion/styled").StyledComponent<import
1129
1129
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
1130
1130
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
1131
1131
  }> & {
1132
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1133
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1134
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
1132
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1133
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1134
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
1135
1135
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
1136
1136
  export declare const StyledBoxProfile: import("@emotion/styled").StyledComponent<import("@react-spring/web").AnimatedProps<{
1137
1137
  className?: string | undefined;
@@ -2227,9 +2227,9 @@ export declare const StyledBoxProfile: import("@emotion/styled").StyledComponent
2227
2227
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
2228
2228
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
2229
2229
  }> & {
2230
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
2231
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
2232
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
2230
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
2231
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
2232
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
2233
2233
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
2234
2234
  export declare const StyledBoxProfileEdit: import("@emotion/styled").StyledComponent<import("@react-spring/web").AnimatedProps<{
2235
2235
  className?: string | undefined;
@@ -3325,9 +3325,9 @@ export declare const StyledBoxProfileEdit: import("@emotion/styled").StyledCompo
3325
3325
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
3326
3326
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3327
3327
  }> & {
3328
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
3329
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
3330
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
3328
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
3329
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
3330
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
3331
3331
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3332
3332
  export declare const StyledAvatarName: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
3333
3333
  align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
@@ -1102,9 +1102,9 @@ export declare const DrawerHeader: import("@emotion/styled").StyledComponent<imp
1102
1102
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
1103
1103
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
1104
1104
  }> & {
1105
- scrollTop?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1106
- scrollLeft?: number | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<number, any> | undefined;
1107
- viewBox?: string | import("@react-spring/shared/dist/declarations/src/fluids").FluidValue<string, any> | undefined;
1105
+ scrollTop?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1106
+ scrollLeft?: number | import("@react-spring/shared").FluidValue<number, any> | undefined;
1107
+ viewBox?: string | import("@react-spring/shared").FluidValue<string, any> | undefined;
1108
1108
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
1109
1109
  isDrawerOpen?: any;
1110
1110
  }, {}, {}>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "components",
10
10
  "ui"
11
11
  ],
12
- "version": "1.11.2",
12
+ "version": "1.11.4",
13
13
  "private": false,
14
14
  "main": "index.js",
15
15
  "module": "index.js",
@@ -17,20 +17,21 @@
17
17
  "@emotion/react": "^11.7.1",
18
18
  "@emotion/styled": "^11.6.0",
19
19
  "@learningpool/design-tokens": "^1.1.0-beta.7",
20
- "@mui/icons-material": "^5.8.4",
20
+ "@mui/icons-material": "^5.14.15",
21
21
  "@mui/material": "5.10.6",
22
22
  "@mui/x-data-grid": "^5.12.3",
23
- "@react-spring/web": "9.6.1",
23
+ "@react-spring/web": "^9.7.3",
24
24
  "@types/jest": "^27.4.0",
25
- "@types/node": "^16.11.45",
26
- "@types/react": "^17.0.48",
27
- "@types/react-dom": "^17.0.18",
25
+ "@types/node": "^16.18.59",
26
+ "@types/react": "^17.0.69",
27
+ "@types/react-dom": "^17.0.22",
28
28
  "@typescript-eslint/parser": "^5.31.0",
29
29
  "anysort": "^2.0.0",
30
30
  "eslint-plugin-n": "^15.2.4",
31
31
  "focus-trap-react": "^8.11.0",
32
32
  "jwt-decode": "^3.1.2",
33
33
  "polished": "^4.2.2",
34
+ "postcss": "^8.4.31",
34
35
  "query-string": "^7.1.1",
35
36
  "styled-components": "^5.3.6",
36
37
  "tss-react": "^3.3.6",