@npm_leadtech/legal-lib-components 7.25.5 → 7.26.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.
Files changed (91) hide show
  1. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.js +7 -7
  2. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.ts +7 -7
  3. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +1 -1
  4. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +1 -1
  5. package/dist/src/components/atoms/RatafiaLandingIcon/RatafiaLandingIcon.scss +2 -1
  6. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +7 -1
  7. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +7 -2
  8. package/dist/src/components/atoms/TopBar/TopBar.styled.js +1 -1
  9. package/dist/src/components/atoms/TopBar/TopBar.styled.ts +1 -1
  10. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +1 -1
  11. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +1 -1
  12. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.styled.js +1 -1
  13. package/dist/src/components/molecules/DesktopSearchBar/DesktopSearchBar.styled.ts +1 -1
  14. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.styled.js +1 -1
  15. package/dist/src/components/molecules/MobileSearchBar/MobileSearchBar.styled.ts +1 -1
  16. package/dist/src/components/molecules/SearchBar/SearchBar.styled.js +1 -1
  17. package/dist/src/components/molecules/SearchBar/SearchBar.styled.ts +1 -1
  18. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.js +3 -3
  19. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.ts +3 -3
  20. package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +13 -11
  21. package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +13 -11
  22. package/dist/src/components/organisms/NavMenu/NavMenu.styled.js +27 -10
  23. package/dist/src/components/organisms/NavMenu/NavMenu.styled.ts +27 -10
  24. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -3
  25. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +2 -4
  26. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +2 -4
  27. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +1 -4
  28. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +1 -3
  29. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -2
  30. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +1 -3
  31. package/dist/src/components/sections/Header/Header.js +1 -1
  32. package/dist/src/components/sections/Header/Header.styled.js +14 -8
  33. package/dist/src/components/sections/Header/Header.styled.ts +14 -8
  34. package/dist/src/components/sections/Header/Header.tsx +1 -1
  35. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -9
  36. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -4
  37. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -4
  38. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -11
  39. package/dist/src/components/sections/index.d.ts +0 -3
  40. package/dist/src/components/sections/index.js +0 -3
  41. package/dist/src/components/sections/index.ts +0 -3
  42. package/dist/src/globalStyles/breakpoints.d.ts +2 -0
  43. package/dist/src/globalStyles/breakpoints.js +2 -0
  44. package/dist/src/globalStyles/breakpoints.ts +3 -0
  45. package/dist/tsconfig.build.tsbuildinfo +1 -1
  46. package/package.json +1 -1
  47. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +0 -3
  48. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +0 -5
  49. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +0 -1
  50. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +0 -50
  51. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +0 -51
  52. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +0 -20
  53. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +0 -5
  54. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +0 -1
  55. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +0 -5
  56. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +0 -2
  57. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +0 -2
  58. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +0 -2
  59. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +0 -3
  60. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +0 -5
  61. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +0 -26
  62. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +0 -10
  63. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +0 -1
  64. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +0 -16
  65. package/dist/src/components/pages/HowItWorksPage/index.d.ts +0 -2
  66. package/dist/src/components/pages/HowItWorksPage/index.js +0 -2
  67. package/dist/src/components/pages/HowItWorksPage/index.ts +0 -2
  68. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +0 -4
  69. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +0 -12
  70. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +0 -1
  71. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +0 -94
  72. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +0 -95
  73. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +0 -69
  74. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +0 -15
  75. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +0 -1
  76. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +0 -16
  77. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +0 -2
  78. package/dist/src/components/sections/LawGeniusCardsSection/index.js +0 -1
  79. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +0 -2
  80. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +0 -3
  81. package/dist/src/components/sections/TryNowSection/TryNowSection.js +0 -6
  82. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +0 -1
  83. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +0 -186
  84. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +0 -187
  85. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +0 -28
  86. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +0 -8
  87. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +0 -1
  88. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +0 -9
  89. package/dist/src/components/sections/TryNowSection/index.d.ts +0 -2
  90. package/dist/src/components/sections/TryNowSection/index.js +0 -1
  91. package/dist/src/components/sections/TryNowSection/index.ts +0 -2
@@ -4,7 +4,7 @@ export const DropdownInputStyled = styled.div `
4
4
  position: relative;
5
5
  padding: 1.5rem;
6
6
 
7
- @media ${device['landscape-tablets']} {
7
+ @media ${device.tablets} {
8
8
  padding: 16px 24px;
9
9
  }
10
10
 
@@ -18,7 +18,7 @@ export const DropdownInputStyled = styled.div `
18
18
  transition: all 0.25s;
19
19
  border-bottom: 1px solid var(--neutral-neutral-4);
20
20
 
21
- @media ${device['landscape-tablets']} {
21
+ @media ${device.tablets} {
22
22
  border-top: 2px solid transparent;
23
23
  border-bottom: none;
24
24
  }
@@ -26,7 +26,7 @@ export const DropdownInputStyled = styled.div `
26
26
  &:focus-within {
27
27
  border-bottom: 2px var(--neutral-neutral-4) solid;
28
28
 
29
- @media ${device['landscape-tablets']} {
29
+ @media ${device.tablets} {
30
30
  border-bottom: none;
31
31
  }
32
32
 
@@ -69,7 +69,7 @@ export const DropdownInputStyled = styled.div `
69
69
  color: var(--neutral-neutral-3);
70
70
  fill: var(--neutral-neutral-3);
71
71
 
72
- @media ${device['landscape-tablets']} {
72
+ @media ${device.tablets} {
73
73
  cursor: pointer;
74
74
  }
75
75
 
@@ -97,7 +97,7 @@ export const DropdownInputStyled = styled.div `
97
97
  .dropdown_input__container__icon__main {
98
98
  display: none;
99
99
 
100
- @media ${device['landscape-tablets']} {
100
+ @media ${device.tablets} {
101
101
  display: block;
102
102
  }
103
103
  }
@@ -105,7 +105,7 @@ export const DropdownInputStyled = styled.div `
105
105
  .dropdown_input__container__icon__clear {
106
106
  opacity: 1;
107
107
 
108
- @media ${device['landscape-tablets']} {
108
+ @media ${device.tablets} {
109
109
  display: none;
110
110
  }
111
111
  }
@@ -134,7 +134,7 @@ export const DropdownInputStyled = styled.div `
134
134
  border-top: none;
135
135
  padding: 1rem 2rem;
136
136
 
137
- @media ${device['landscape-tablets']} {
137
+ @media ${device.tablets} {
138
138
  opacity: 1;
139
139
  left: 0;
140
140
  top: 100%;
@@ -5,7 +5,7 @@ export const DropdownInputStyled = styled.div`
5
5
  position: relative;
6
6
  padding: 1.5rem;
7
7
 
8
- @media ${device['landscape-tablets']} {
8
+ @media ${device.tablets} {
9
9
  padding: 16px 24px;
10
10
  }
11
11
 
@@ -19,7 +19,7 @@ export const DropdownInputStyled = styled.div`
19
19
  transition: all 0.25s;
20
20
  border-bottom: 1px solid var(--neutral-neutral-4);
21
21
 
22
- @media ${device['landscape-tablets']} {
22
+ @media ${device.tablets} {
23
23
  border-top: 2px solid transparent;
24
24
  border-bottom: none;
25
25
  }
@@ -27,7 +27,7 @@ export const DropdownInputStyled = styled.div`
27
27
  &:focus-within {
28
28
  border-bottom: 2px var(--neutral-neutral-4) solid;
29
29
 
30
- @media ${device['landscape-tablets']} {
30
+ @media ${device.tablets} {
31
31
  border-bottom: none;
32
32
  }
33
33
 
@@ -70,7 +70,7 @@ export const DropdownInputStyled = styled.div`
70
70
  color: var(--neutral-neutral-3);
71
71
  fill: var(--neutral-neutral-3);
72
72
 
73
- @media ${device['landscape-tablets']} {
73
+ @media ${device.tablets} {
74
74
  cursor: pointer;
75
75
  }
76
76
 
@@ -98,7 +98,7 @@ export const DropdownInputStyled = styled.div`
98
98
  .dropdown_input__container__icon__main {
99
99
  display: none;
100
100
 
101
- @media ${device['landscape-tablets']} {
101
+ @media ${device.tablets} {
102
102
  display: block;
103
103
  }
104
104
  }
@@ -106,7 +106,7 @@ export const DropdownInputStyled = styled.div`
106
106
  .dropdown_input__container__icon__clear {
107
107
  opacity: 1;
108
108
 
109
- @media ${device['landscape-tablets']} {
109
+ @media ${device.tablets} {
110
110
  display: none;
111
111
  }
112
112
  }
@@ -135,7 +135,7 @@ export const DropdownInputStyled = styled.div`
135
135
  border-top: none;
136
136
  padding: 1rem 2rem;
137
137
 
138
- @media ${device['landscape-tablets']} {
138
+ @media ${device.tablets} {
139
139
  opacity: 1;
140
140
  left: 0;
141
141
  top: 100%;
@@ -55,7 +55,7 @@ export const FixedFooterStyled = styled.div `
55
55
  margin: auto;
56
56
  padding: 2.75rem 1rem 1rem;
57
57
  }
58
- @media (min-width: 720px) {
58
+ @media (min-width: 1024px) {
59
59
  footer .language-selector-mobile-container {
60
60
  display: none;
61
61
  }
@@ -56,7 +56,7 @@ export const FixedFooterStyled = styled.div`
56
56
  margin: auto;
57
57
  padding: 2.75rem 1rem 1rem;
58
58
  }
59
- @media (min-width: 720px) {
59
+ @media (min-width: 1024px) {
60
60
  footer .language-selector-mobile-container {
61
61
  display: none;
62
62
  }
@@ -1,6 +1,7 @@
1
1
  .ratafia-landing-icon {
2
- padding: 0.25rem 0.5rem;
2
+ padding: 1px 4px;
3
3
  border-radius: var(--s-border-radius);
4
4
  color: var(--neutral-neutral-1);
5
5
  background: var(--secondary-main-light-3);
6
+ font-size: 12px;
6
7
  }
@@ -1,4 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
3
+ import { useEffect, useState } from 'react';
2
4
  import Select from 'react-select';
3
5
  import { SearchSelectStyled } from './SearchSelect.styled';
4
6
  import classNames from 'classnames';
@@ -23,6 +25,7 @@ const getSortedItems = (items, isSortAlphabetically = false) => {
23
25
  };
24
26
  const SearchSelect = (props) => {
25
27
  const { customClass = '', menuPlacement = MenuPlacement.bottom } = props;
28
+ const [menuPortalTarget, setMenuPortalTarget] = useState();
26
29
  const sortedItems = getSortedItems(props.items, props.isSortAlphabetically);
27
30
  const defaultValue = props.defaultValue;
28
31
  const classnames = classNames({
@@ -31,6 +34,9 @@ const SearchSelect = (props) => {
31
34
  [customClass]: props.customClass,
32
35
  '--group-invalid': !props.isValidGroup
33
36
  });
37
+ useEffect(() => {
38
+ setMenuPortalTarget(document.body);
39
+ }, []);
34
40
  const handleChange = (selectedOption) => {
35
41
  const selectObject = {
36
42
  target: {
@@ -51,6 +57,6 @@ const SearchSelect = (props) => {
51
57
  };
52
58
  },
53
59
  menuPortal: (base) => ({ ...base, zIndex: 9999 })
54
- }, id: props.name, name: props.name, className: 'legal-selector', defaultValue: defaultValue, onChange: handleChange, isDisabled: props.disabled, isSearchable: props.isSearchable !== false, options: sortedItems, escapeClearsValue: true, isClearable: true, menuPortalTarget: document.body, placeholder: props.placeholder, defaultMenuIsOpen: props.defaultMenuIsOpen, menuPlacement: menuPlacement })] })] }));
60
+ }, id: props.name, name: props.name, className: 'legal-selector', defaultValue: defaultValue, onChange: handleChange, isDisabled: props.disabled, isSearchable: props.isSearchable !== false, options: sortedItems, escapeClearsValue: true, isClearable: true, menuPortalTarget: menuPortalTarget, placeholder: props.placeholder, defaultMenuIsOpen: props.defaultMenuIsOpen, menuPlacement: menuPlacement })] })] }));
55
61
  };
56
62
  export default SearchSelect;
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
 
3
- import React, { type FC } from 'react'
3
+ import React, { type FC, useEffect, useState } from 'react'
4
4
  import Select from 'react-select'
5
5
 
6
6
  import { type SearchSelectProps } from './SearchSelectProps.types'
@@ -28,6 +28,7 @@ const getSortedItems = (items: any, isSortAlphabetically: boolean | undefined =
28
28
 
29
29
  const SearchSelect: FC<SearchSelectProps> = (props) => {
30
30
  const { customClass = '', menuPlacement = MenuPlacement.bottom } = props
31
+ const [menuPortalTarget, setMenuPortalTarget] = useState<HTMLElement | undefined>()
31
32
  const sortedItems = getSortedItems(props.items, props.isSortAlphabetically)
32
33
  const defaultValue = props.defaultValue as unknown as string
33
34
 
@@ -38,6 +39,10 @@ const SearchSelect: FC<SearchSelectProps> = (props) => {
38
39
  '--group-invalid': !props.isValidGroup
39
40
  })
40
41
 
42
+ useEffect(() => {
43
+ setMenuPortalTarget(document.body)
44
+ }, [])
45
+
41
46
  const handleChange = (selectedOption): void => {
42
47
  const selectObject = {
43
48
  target: {
@@ -90,7 +95,7 @@ const SearchSelect: FC<SearchSelectProps> = (props) => {
90
95
  options={sortedItems}
91
96
  escapeClearsValue={true}
92
97
  isClearable={true}
93
- menuPortalTarget={document.body}
98
+ menuPortalTarget={menuPortalTarget}
94
99
  placeholder={props.placeholder}
95
100
  defaultMenuIsOpen={props.defaultMenuIsOpen}
96
101
  menuPlacement={menuPlacement}
@@ -11,7 +11,7 @@ export const TopBarStyled = styled.div `
11
11
  height: 0;
12
12
  }
13
13
 
14
- @media ${device['landscape-tablets']} {
14
+ @media ${device.tablets} {
15
15
  display: block;
16
16
  }
17
17
  @media ${device.mobile} {
@@ -12,7 +12,7 @@ export const TopBarStyled = styled.div`
12
12
  height: 0;
13
13
  }
14
14
 
15
- @media ${device['landscape-tablets']} {
15
+ @media ${device.tablets} {
16
16
  display: block;
17
17
  }
18
18
  @media ${device.mobile} {
@@ -13,7 +13,7 @@ export const ContactInformation = styled.div `
13
13
  margin-bottom: 1rem;
14
14
  width: 100%;
15
15
 
16
- @media (min-width: 828px) {
16
+ @media (min-width: 1024px) {
17
17
  display: none;
18
18
  }
19
19
  }
@@ -14,7 +14,7 @@ export const ContactInformation = styled.div`
14
14
  margin-bottom: 1rem;
15
15
  width: 100%;
16
16
 
17
- @media (min-width: 828px) {
17
+ @media (min-width: 1024px) {
18
18
  display: none;
19
19
  }
20
20
  }
@@ -3,7 +3,7 @@ import styled from 'styled-components';
3
3
  export const DesktopSearchBarStyled = styled.div `
4
4
  display: none;
5
5
 
6
- @media ${device['landscape-tablets']} {
6
+ @media ${device.tablets} {
7
7
  display: block;
8
8
  position: absolute;
9
9
  top: 75px;
@@ -4,7 +4,7 @@ import styled from 'styled-components'
4
4
  export const DesktopSearchBarStyled = styled.div`
5
5
  display: none;
6
6
 
7
- @media ${device['landscape-tablets']} {
7
+ @media ${device.tablets} {
8
8
  display: block;
9
9
  position: absolute;
10
10
  top: 75px;
@@ -4,7 +4,7 @@ export const MobileSearchBarStyled = styled.div `
4
4
  display: block;
5
5
  width: 100%;
6
6
 
7
- @media ${device['landscape-tablets']} {
7
+ @media ${device.tablets} {
8
8
  display: none;
9
9
  }
10
10
 
@@ -5,7 +5,7 @@ export const MobileSearchBarStyled = styled.div`
5
5
  display: block;
6
6
  width: 100%;
7
7
 
8
- @media ${device['landscape-tablets']} {
8
+ @media ${device.tablets} {
9
9
  display: none;
10
10
  }
11
11
 
@@ -4,7 +4,7 @@ export const SearchBarStyled = styled.div `
4
4
  .search-icon-container {
5
5
  display: none;
6
6
 
7
- @media ${device['landscape-tablets']} {
7
+ @media ${device.tablets} {
8
8
  display: block;
9
9
  }
10
10
  }
@@ -5,7 +5,7 @@ export const SearchBarStyled = styled.div`
5
5
  .search-icon-container {
6
6
  display: none;
7
7
 
8
- @media ${device['landscape-tablets']} {
8
+ @media ${device.tablets} {
9
9
  display: block;
10
10
  }
11
11
  }
@@ -7,7 +7,7 @@ export const DocumentListMenuStyled = styled.div `
7
7
  width: 100%;
8
8
  padding: 1rem 0;
9
9
 
10
- @media ${device['landscape-tablets']} {
10
+ @media ${device.tablets} {
11
11
  display: none;
12
12
  }
13
13
 
@@ -17,7 +17,7 @@ export const DocumentListMenuStyled = styled.div `
17
17
  align-items: flex-start;
18
18
  margin: auto;
19
19
 
20
- @media ${device['landscape-tablets']} {
20
+ @media ${device.tablets} {
21
21
  width: 696px;
22
22
  }
23
23
 
@@ -33,7 +33,7 @@ export const DocumentListMenuStyled = styled.div `
33
33
  text-align: left;
34
34
  width: 100%;
35
35
 
36
- @media ${device['landscape-tablets']} {
36
+ @media ${device.tablets} {
37
37
  width: 33%;
38
38
  padding-right: 1rem;
39
39
  &:nth-child(3) {
@@ -8,7 +8,7 @@ export const DocumentListMenuStyled = styled.div`
8
8
  width: 100%;
9
9
  padding: 1rem 0;
10
10
 
11
- @media ${device['landscape-tablets']} {
11
+ @media ${device.tablets} {
12
12
  display: none;
13
13
  }
14
14
 
@@ -18,7 +18,7 @@ export const DocumentListMenuStyled = styled.div`
18
18
  align-items: flex-start;
19
19
  margin: auto;
20
20
 
21
- @media ${device['landscape-tablets']} {
21
+ @media ${device.tablets} {
22
22
  width: 696px;
23
23
  }
24
24
 
@@ -34,7 +34,7 @@ export const DocumentListMenuStyled = styled.div`
34
34
  text-align: left;
35
35
  width: 100%;
36
36
 
37
- @media ${device['landscape-tablets']} {
37
+ @media ${device.tablets} {
38
38
  width: 33%;
39
39
  padding-right: 1rem;
40
40
  &:nth-child(3) {
@@ -39,6 +39,7 @@ export const MenuItemsStyled = styled.div `
39
39
  .left-nav {
40
40
  display: flex;
41
41
  align-items: center;
42
+ gap: 1rem;
42
43
  }
43
44
 
44
45
  .header-phone {
@@ -69,7 +70,7 @@ export const MenuItemsStyled = styled.div `
69
70
  }
70
71
  }
71
72
 
72
- @media ${device['landscape-tablets']} {
73
+ @media ${device.tablets} {
73
74
  display: flex;
74
75
  align-items: center;
75
76
  flex-direction: row;
@@ -87,10 +88,9 @@ export const MenuItemsStyled = styled.div `
87
88
  .navigation-pane__products__container,
88
89
  .navigation-pane__resources__container {
89
90
  display: flex;
90
- gap: 0.5rem;
91
91
  display: none;
92
92
 
93
- @media ${device['landscape-tablets']} {
93
+ @media ${device.tablets} {
94
94
  display: flex;
95
95
  }
96
96
  }
@@ -103,12 +103,10 @@ export const MenuItemsStyled = styled.div `
103
103
  .navigation-pane__resources,
104
104
  .navigation-pane__help {
105
105
  position: relative;
106
- margin-left: 0.5rem;
107
106
  padding: 0.75rem 0;
108
107
  cursor: pointer;
109
108
 
110
109
  @media ${device['portrait-tablets']} {
111
- margin-right: 1.5rem;
112
110
  padding-bottom: 0.5rem;
113
111
  }
114
112
 
@@ -137,7 +135,7 @@ export const MenuItemsStyled = styled.div `
137
135
  .products__list,
138
136
  .help__list,
139
137
  .resources__list {
140
- @media (min-width: 720px) {
138
+ @media (min-width: ${size.tab}) {
141
139
  border-radius: var(--s-border-radius);
142
140
  padding: 0.75rem 1rem;
143
141
  display: flex;
@@ -255,7 +253,7 @@ export const MenuItemsStyled = styled.div `
255
253
  width: 100%;
256
254
  }
257
255
 
258
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
256
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
259
257
  display: none;
260
258
  }
261
259
 
@@ -339,7 +337,11 @@ export const MenuItemsStyled = styled.div `
339
337
  align-items: center;
340
338
  min-width: 18rem;
341
339
 
342
- @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
340
+ @media (max-width: 1024px) {
341
+ gap: 1rem;
342
+ }
343
+
344
+ @media (min-width: ${size.tab}) and (max-width: ${size.lg}) {
343
345
  min-width: 12rem;
344
346
  }
345
347
 
@@ -367,7 +369,7 @@ export const MenuItemsStyled = styled.div `
367
369
  .navigation-pane.--is-mobile {
368
370
  display: flex;
369
371
 
370
- @media ${device['landscape-tablets']} {
372
+ @media (max-width: ${size.tab}) {
371
373
  display: none;
372
374
  }
373
375
 
@@ -639,12 +641,12 @@ export const MenuItemsStyled = styled.div `
639
641
  .is-tablet {
640
642
  display: none;
641
643
 
642
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
644
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
643
645
  display: flex;
644
646
  }
645
647
  }
646
648
 
647
- @media (min-width: ${size.xxs}) and (max-width: ${size.sm}) {
649
+ @media (min-width: ${size.xxs}) and (max-width: ${size.tab}) {
648
650
  .navigation-pane__wrapper {
649
651
  display: flex;
650
652
  flex-direction: column;
@@ -40,6 +40,7 @@ export const MenuItemsStyled = styled.div`
40
40
  .left-nav {
41
41
  display: flex;
42
42
  align-items: center;
43
+ gap: 1rem;
43
44
  }
44
45
 
45
46
  .header-phone {
@@ -70,7 +71,7 @@ export const MenuItemsStyled = styled.div`
70
71
  }
71
72
  }
72
73
 
73
- @media ${device['landscape-tablets']} {
74
+ @media ${device.tablets} {
74
75
  display: flex;
75
76
  align-items: center;
76
77
  flex-direction: row;
@@ -88,10 +89,9 @@ export const MenuItemsStyled = styled.div`
88
89
  .navigation-pane__products__container,
89
90
  .navigation-pane__resources__container {
90
91
  display: flex;
91
- gap: 0.5rem;
92
92
  display: none;
93
93
 
94
- @media ${device['landscape-tablets']} {
94
+ @media ${device.tablets} {
95
95
  display: flex;
96
96
  }
97
97
  }
@@ -104,12 +104,10 @@ export const MenuItemsStyled = styled.div`
104
104
  .navigation-pane__resources,
105
105
  .navigation-pane__help {
106
106
  position: relative;
107
- margin-left: 0.5rem;
108
107
  padding: 0.75rem 0;
109
108
  cursor: pointer;
110
109
 
111
110
  @media ${device['portrait-tablets']} {
112
- margin-right: 1.5rem;
113
111
  padding-bottom: 0.5rem;
114
112
  }
115
113
 
@@ -138,7 +136,7 @@ export const MenuItemsStyled = styled.div`
138
136
  .products__list,
139
137
  .help__list,
140
138
  .resources__list {
141
- @media (min-width: 720px) {
139
+ @media (min-width: ${size.tab}) {
142
140
  border-radius: var(--s-border-radius);
143
141
  padding: 0.75rem 1rem;
144
142
  display: flex;
@@ -256,7 +254,7 @@ export const MenuItemsStyled = styled.div`
256
254
  width: 100%;
257
255
  }
258
256
 
259
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
257
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
260
258
  display: none;
261
259
  }
262
260
 
@@ -340,7 +338,11 @@ export const MenuItemsStyled = styled.div`
340
338
  align-items: center;
341
339
  min-width: 18rem;
342
340
 
343
- @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
341
+ @media (max-width: 1024px) {
342
+ gap: 1rem;
343
+ }
344
+
345
+ @media (min-width: ${size.tab}) and (max-width: ${size.lg}) {
344
346
  min-width: 12rem;
345
347
  }
346
348
 
@@ -368,7 +370,7 @@ export const MenuItemsStyled = styled.div`
368
370
  .navigation-pane.--is-mobile {
369
371
  display: flex;
370
372
 
371
- @media ${device['landscape-tablets']} {
373
+ @media (max-width: ${size.tab}) {
372
374
  display: none;
373
375
  }
374
376
 
@@ -640,12 +642,12 @@ export const MenuItemsStyled = styled.div`
640
642
  .is-tablet {
641
643
  display: none;
642
644
 
643
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
645
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
644
646
  display: flex;
645
647
  }
646
648
  }
647
649
 
648
- @media (min-width: ${size.xxs}) and (max-width: ${size.sm}) {
650
+ @media (min-width: ${size.xxs}) and (max-width: ${size.tab}) {
649
651
  .navigation-pane__wrapper {
650
652
  display: flex;
651
653
  flex-direction: column;
@@ -11,7 +11,7 @@ export const NavMenuStyled = styled.nav `
11
11
  flex: 1;
12
12
  }
13
13
  &.--is-mobile {
14
- @media (min-width: ${size.sm}) {
14
+ @media (min-width: ${size.tab}) {
15
15
  display: none;
16
16
  }
17
17
  }
@@ -27,6 +27,10 @@ export const NavMenuStyled = styled.nav `
27
27
  .left-nav {
28
28
  display: flex;
29
29
  align-items: center;
30
+ @media (max-width: 1024px) {
31
+ gap: 1rem;
32
+ }
33
+ gap: 2rem;
30
34
  }
31
35
 
32
36
  .header-phone {
@@ -49,7 +53,17 @@ export const NavMenuStyled = styled.nav `
49
53
  flex-flow: row nowrap;
50
54
  align-items: center;
51
55
  justify-content: flex-end;
52
- gap: 1.5rem;
56
+ gap: 2rem;
57
+
58
+ @media (max-width: 1024px) {
59
+ gap: 1rem;
60
+ }
61
+
62
+ .nav-menu-item {
63
+ @media (max-width: 1024px) {
64
+ display: none;
65
+ }
66
+ }
53
67
 
54
68
  .search {
55
69
  width: 100%;
@@ -57,7 +71,7 @@ export const NavMenuStyled = styled.nav `
57
71
  }
58
72
  }
59
73
 
60
- @media ${device['landscape-tablets']} {
74
+ @media (min-width: ${size.tab}) {
61
75
  display: flex;
62
76
  align-items: center;
63
77
  flex-direction: row;
@@ -76,12 +90,10 @@ export const NavMenuStyled = styled.nav `
76
90
  .navigation-pane__help,
77
91
  .navigation-pane__resources {
78
92
  position: relative;
79
- margin-left: 0.5rem;
80
93
  padding: 0.75rem 0;
81
94
  cursor: pointer;
82
95
 
83
96
  @media ${device['portrait-tablets']} {
84
- margin-right: 1.5rem;
85
97
  padding-bottom: 0.5rem;
86
98
  }
87
99
 
@@ -218,7 +230,7 @@ export const NavMenuStyled = styled.nav `
218
230
  width: 100%;
219
231
  }
220
232
 
221
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
233
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
222
234
  display: none;
223
235
  }
224
236
 
@@ -300,8 +312,13 @@ export const NavMenuStyled = styled.nav `
300
312
  display: flex;
301
313
  align-items: center;
302
314
  min-width: 18rem;
315
+ gap: 2rem;
316
+
317
+ @media (max-width: 1024px) {
318
+ gap: 1rem;
319
+ }
303
320
 
304
- @media (min-width: ${size.sm}) and (max-width: ${size.lg}) {
321
+ @media (min-width: ${size.tab}) and (max-width: ${size.lg}) {
305
322
  min-width: 12rem;
306
323
  }
307
324
 
@@ -332,7 +349,7 @@ export const NavMenuStyled = styled.nav `
332
349
  display: flex;
333
350
  flex-direction: column;
334
351
 
335
- @media ${device['landscape-tablets']} {
352
+ @media (max-width: ${size.tab}) {
336
353
  display: none;
337
354
  }
338
355
  .navigation-pane__user-menu {
@@ -579,12 +596,12 @@ export const NavMenuStyled = styled.nav `
579
596
  .is-tablet {
580
597
  display: none;
581
598
 
582
- @media (min-width: ${size.sm}) and (max-width: ${size.md}) {
599
+ @media (min-width: ${size.tab}) and (max-width: ${size.md}) {
583
600
  display: flex;
584
601
  }
585
602
  }
586
603
 
587
- @media (min-width: ${size.xxs}) and (max-width: ${size.sm}) {
604
+ @media (min-width: ${size.xxs}) and (max-width: ${size.tab}) {
588
605
  .navigation-pane__wrapper {
589
606
  display: flex;
590
607
  flex-direction: column;