l-min-components 0.6.0 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import {
2
3
  AbsoluteSVG,
3
4
  ArrowIcon,
@@ -1,4 +1,4 @@
1
- import { useCallback, CSSProperties } from "react";
1
+ import React, { useCallback, CSSProperties } from "react";
2
2
  import styled from "styled-components";
3
3
  /**
4
4
  * @param {{
@@ -1,16 +1,10 @@
1
- import { useState, useEffect, useRef } from "react";
1
+ import React, { useState, useEffect, useRef } from "react";
2
2
  import ReactFlagsSelect from "react-flags-select";
3
3
  import logo from "./assets/images/logo.png";
4
- import {
5
- Navbar2,
6
- NavGroup2,
7
- Nav2,
8
- CountryFlagGroup2,
9
- } from "./index.styled";
4
+ import { Navbar2, NavGroup2, Nav2, CountryFlagGroup2 } from "./index.styled";
10
5
  import { ArrowDownIcon } from "./assets/svg/arrow-down";
11
6
  import ButtonComponent from "../button";
12
7
 
13
-
14
8
  /**
15
9
  * @param {{
16
10
  * type: string,
@@ -61,10 +55,9 @@ const HeaderComponentTwo = (props) => {
61
55
  <ArrowDownIcon />
62
56
  </CountryFlagGroup2>
63
57
 
64
- <ButtonComponent type="secondary" text="Log in"/>
58
+ <ButtonComponent type="secondary" text="Log in" />
65
59
  </NavGroup2>
66
60
  </Navbar2>
67
-
68
61
  );
69
62
  };
70
63
 
@@ -1,2 +1,2 @@
1
- import React from "react";
2
- export { default as header } from "./header/index";
1
+ export { default as Header } from "./header/index";
2
+ export { default as LoginHeader } from "./header/login-header";
@@ -1,8 +1,14 @@
1
1
  import React from "react";
2
- import { Icon, NavItem, NavItems, NavLinkStyled, NavWrapper, IconContainer } from "./styles";
2
+ import {
3
+ Icon,
4
+ NavItem,
5
+ NavItems,
6
+ NavLinkStyled,
7
+ NavWrapper,
8
+ IconContainer,
9
+ } from "./styles";
3
10
  import { CiLogout } from "react-icons/ci";
4
- import { HiOutlineLogout } from "react-icons/hi"
5
-
11
+ import { HiOutlineLogout } from "react-icons/hi";
6
12
 
7
13
  const SideBar = ({ routes }) => {
8
14
  return (
@@ -18,9 +24,9 @@ const SideBar = ({ routes }) => {
18
24
  ))}
19
25
  </NavItems>
20
26
  <IconContainer>
21
- <HiOutlineLogout/>
22
- <p>Sign Out</p>
23
- </IconContainer>
27
+ <HiOutlineLogout />
28
+ <p>Sign Out</p>
29
+ </IconContainer>
24
30
  </NavWrapper>
25
31
  );
26
32
  };