@dtdot/lego 0.17.11 → 0.17.12

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.
@@ -7,6 +7,7 @@ const DesktopMinimalMenuOuter = styled.div `
7
7
 
8
8
  width: 64px;
9
9
  height: 100%;
10
+ z-index: 10;
10
11
 
11
12
  background-color: ${(props) => props.theme.colours.cardBackground};
12
13
  `;
@@ -35,7 +35,7 @@ const DesktopMinimalMenuItem = ({ icon, active, onClick }) => {
35
35
  hoverActive: { opacity: 1, backgroundColor: theme.colours.primary.main, width: 4 },
36
36
  }), [theme]);
37
37
  return (React.createElement(ItemContainer, { whileHover: active ? 'hoverActive' : 'hover', animate: active ? 'active' : undefined, onClick: onClick },
38
- React.createElement(MenuIconBar, { style: { backgroundColor: 'grey', opacity: 0 }, variants: barVariants, transition: { type: 'spring', duration: 0.3 } }),
38
+ React.createElement(MenuIconBar, { style: { backgroundColor: theme.colours.cardBackground, opacity: 0 }, variants: barVariants, transition: { type: 'spring', duration: 0.3 } }),
39
39
  icon && (React.createElement(motion.div, { variants: iconContainerVariants },
40
40
  React.createElement(FontAwesomeIcon, { icon: icon })))));
41
41
  };
@@ -11,6 +11,7 @@ const MobileMinimalMenuOuter = styled.div `
11
11
 
12
12
  width: 100%;
13
13
  height: 48px;
14
+ z-index: 10;
14
15
 
15
16
  display: flex;
16
17
  justify-content: space-evenly;
@@ -28,7 +29,6 @@ const AnimatedMenuBumpContainer = styled(motion.div) `
28
29
  svg {
29
30
  fill: ${(props) => props.theme.colours.cardBackground};
30
31
  }
31
- /* background-color: red; */
32
32
  `;
33
33
  const MobileMinimalMenuContainer = ({ children }) => {
34
34
  const [bumpX, setBumpX] = useState(0);
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import styled from 'styled-components';
3
3
  const PageOuter = styled.div `
4
- padding-bottom: 48px;
4
+ padding-bottom: 64px;
5
5
  `;
6
6
  const MobileMinimalMenuPage = ({ children }) => {
7
7
  return React.createElement(PageOuter, null, children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtdot/lego",
3
- "version": "0.17.11",
3
+ "version": "0.17.12",
4
4
  "description": "Some reusable components for building my applications",
5
5
  "main": "build/index.js",
6
6
  "scripts": {