@npm_leadtech/legal-lib-components 7.12.20 → 7.12.22

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 (243) hide show
  1. package/dist/images/componentsSvg/InfoMailSvg.d.ts +2 -0
  2. package/dist/images/componentsSvg/InfoMailSvg.js +4 -0
  3. package/dist/images/componentsSvg/InfoMailSvg.tsx +12 -0
  4. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecatedProps.types.d.ts → MenuItems/MenuItemProps.types.d.ts} +1 -1
  5. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecatedProps.types.ts → MenuItems/MenuItemProps.types.ts} +1 -1
  6. package/dist/src/components/atoms/MenuItems/MenuItems.d.ts +4 -0
  7. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.js → MenuItems/MenuItems.js} +4 -4
  8. package/dist/src/components/{organisms → atoms}/MenuItems/MenuItems.styled.d.ts +1 -1
  9. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.styled.js → MenuItems/MenuItems.styled.js} +1 -1
  10. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.styled.ts → MenuItems/MenuItems.styled.ts} +1 -1
  11. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.tsx → MenuItems/MenuItems.tsx} +6 -12
  12. package/dist/src/components/atoms/MenuItems/index.d.ts +2 -0
  13. package/dist/src/components/atoms/MenuItems/index.js +1 -0
  14. package/dist/src/components/atoms/MenuItems/index.ts +2 -0
  15. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
  16. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
  17. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +2 -2
  18. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +2 -2
  19. package/dist/src/components/atoms/TopBar/TopBar.styled.js +1 -48
  20. package/dist/src/components/atoms/TopBar/TopBar.styled.ts +1 -48
  21. package/dist/src/components/atoms/TopBar/TopBar.tsx +1 -1
  22. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.d.ts +7 -0
  23. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +10 -0
  24. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +1 -0
  25. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +49 -0
  26. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +50 -0
  27. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +22 -0
  28. package/dist/src/components/atoms/TopBarMobile/index.d.ts +1 -0
  29. package/dist/src/components/atoms/TopBarMobile/index.js +1 -0
  30. package/dist/src/components/atoms/TopBarMobile/index.ts +1 -0
  31. package/dist/src/components/atoms/index.d.ts +2 -2
  32. package/dist/src/components/atoms/index.js +2 -2
  33. package/dist/src/components/atoms/index.ts +2 -2
  34. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.d.ts +3 -0
  35. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.js +6 -0
  36. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.d.ts +1 -0
  37. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.js +22 -0
  38. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.ts +23 -0
  39. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.tsx +15 -0
  40. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.d.ts +4 -0
  41. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.ts +4 -0
  42. package/dist/src/components/molecules/ContactInfoBox/index.d.ts +2 -0
  43. package/dist/src/components/molecules/ContactInfoBox/index.js +1 -0
  44. package/dist/src/components/molecules/ContactInfoBox/index.ts +2 -0
  45. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.d.ts +3 -0
  46. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.js +13 -0
  47. package/dist/src/components/molecules/{DocumentListMenuSection/DocumentListMenuSection.styled.d.ts → ContactInfoCard/ContactInfoCard.styled.d.ts} +1 -1
  48. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.js +43 -0
  49. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.ts +44 -0
  50. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.tsx +38 -0
  51. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.d.ts +6 -0
  52. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.ts +7 -0
  53. package/dist/src/components/molecules/ContactInfoCard/index.d.ts +2 -0
  54. package/dist/src/components/molecules/ContactInfoCard/index.js +2 -0
  55. package/dist/src/components/molecules/ContactInfoCard/index.ts +2 -0
  56. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
  57. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +2 -2
  58. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.d.ts +1 -1
  59. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.ts +1 -1
  60. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
  61. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +2 -2
  62. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.js +2 -2
  63. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.tsx +2 -2
  64. package/dist/src/components/molecules/index.d.ts +0 -5
  65. package/dist/src/components/molecules/index.js +0 -5
  66. package/dist/src/components/molecules/index.ts +0 -5
  67. package/dist/src/components/organisms/index.d.ts +0 -4
  68. package/dist/src/components/organisms/index.js +0 -4
  69. package/dist/src/components/organisms/index.ts +0 -4
  70. package/dist/src/components/sections/index.d.ts +0 -1
  71. package/dist/src/components/sections/index.js +0 -1
  72. package/dist/src/components/sections/index.ts +0 -1
  73. package/dist/tsconfig.build.tsbuildinfo +1 -1
  74. package/package.json +1 -2
  75. package/dist/images/componentsSvg/SearchIcon.d.ts +0 -4
  76. package/dist/images/componentsSvg/SearchIcon.js +0 -4
  77. package/dist/images/componentsSvg/SearchIcon.tsx +0 -26
  78. package/dist/images/svg/business-type.svg +0 -3
  79. package/dist/images/svg/clear-24-px.svg +0 -14
  80. package/dist/images/svg/men.svg +0 -5
  81. package/dist/src/components/atoms/DropdownInput/DropdownInput.d.ts +0 -3
  82. package/dist/src/components/atoms/DropdownInput/DropdownInput.js +0 -24
  83. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.d.ts +0 -1
  84. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.js +0 -147
  85. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.ts +0 -149
  86. package/dist/src/components/atoms/DropdownInput/DropdownInput.tsx +0 -60
  87. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.d.ts +0 -8
  88. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.js +0 -2
  89. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.ts +0 -10
  90. package/dist/src/components/atoms/DropdownInput/index.d.ts +0 -2
  91. package/dist/src/components/atoms/DropdownInput/index.js +0 -1
  92. package/dist/src/components/atoms/DropdownInput/index.ts +0 -2
  93. package/dist/src/components/atoms/MenuItemsDeprecated/MenuItemsDeprecated.d.ts +0 -4
  94. package/dist/src/components/atoms/MenuItemsDeprecated/MenuItemsDeprecated.styled.d.ts +0 -1
  95. package/dist/src/components/atoms/MenuItemsDeprecated/index.d.ts +0 -2
  96. package/dist/src/components/atoms/MenuItemsDeprecated/index.js +0 -1
  97. package/dist/src/components/atoms/MenuItemsDeprecated/index.ts +0 -2
  98. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.d.ts +0 -3
  99. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.js +0 -6
  100. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.d.ts +0 -1
  101. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.js +0 -18
  102. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.ts +0 -19
  103. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.tsx +0 -22
  104. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.d.ts +0 -8
  105. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.ts +0 -9
  106. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.d.ts +0 -2
  107. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.js +0 -1
  108. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.ts +0 -2
  109. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.d.ts +0 -3
  110. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.js +0 -7
  111. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.styled.js +0 -20
  112. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.styled.ts +0 -21
  113. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.tsx +0 -35
  114. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSectionProps.types.d.ts +0 -16
  115. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSectionProps.types.ts +0 -18
  116. package/dist/src/components/molecules/DocumentListMenuSection/index.d.ts +0 -2
  117. package/dist/src/components/molecules/DocumentListMenuSection/index.js +0 -1
  118. package/dist/src/components/molecules/DocumentListMenuSection/index.ts +0 -2
  119. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.d.ts +0 -3
  120. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.js +0 -5
  121. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.d.ts +0 -1
  122. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.js +0 -26
  123. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.ts +0 -27
  124. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.tsx +0 -17
  125. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.d.ts +0 -4
  126. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.js +0 -1
  127. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.ts +0 -4
  128. package/dist/src/components/molecules/MenuSectionTitle/index.d.ts +0 -2
  129. package/dist/src/components/molecules/MenuSectionTitle/index.js +0 -1
  130. package/dist/src/components/molecules/MenuSectionTitle/index.ts +0 -2
  131. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.d.ts +0 -4
  132. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.js +0 -7
  133. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.d.ts +0 -1
  134. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.js +0 -34
  135. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.ts +0 -35
  136. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.tsx +0 -23
  137. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.d.ts +0 -4
  138. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.js +0 -1
  139. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.ts +0 -4
  140. package/dist/src/components/molecules/NavMobileContactBar/index.d.ts +0 -2
  141. package/dist/src/components/molecules/NavMobileContactBar/index.js +0 -1
  142. package/dist/src/components/molecules/NavMobileContactBar/index.ts +0 -2
  143. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.d.ts +0 -3
  144. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.js +0 -5
  145. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.d.ts +0 -1
  146. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.js +0 -18
  147. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.ts +0 -19
  148. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.tsx +0 -25
  149. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.d.ts +0 -8
  150. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.js +0 -1
  151. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.ts +0 -9
  152. package/dist/src/components/molecules/ProductListMenu/index.d.ts +0 -2
  153. package/dist/src/components/molecules/ProductListMenu/index.js +0 -1
  154. package/dist/src/components/molecules/ProductListMenu/index.ts +0 -2
  155. package/dist/src/components/molecules/SearchBar/SearchBar.d.ts +0 -3
  156. package/dist/src/components/molecules/SearchBar/SearchBar.js +0 -33
  157. package/dist/src/components/molecules/SearchBar/SearchBar.styled.d.ts +0 -1
  158. package/dist/src/components/molecules/SearchBar/SearchBar.styled.js +0 -62
  159. package/dist/src/components/molecules/SearchBar/SearchBar.styled.ts +0 -63
  160. package/dist/src/components/molecules/SearchBar/SearchBar.tsx +0 -72
  161. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.d.ts +0 -37
  162. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.js +0 -1
  163. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.ts +0 -41
  164. package/dist/src/components/molecules/SearchBar/index.d.ts +0 -2
  165. package/dist/src/components/molecules/SearchBar/index.js +0 -1
  166. package/dist/src/components/molecules/SearchBar/index.ts +0 -2
  167. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.d.ts +0 -3
  168. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.js +0 -7
  169. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.d.ts +0 -1
  170. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.js +0 -67
  171. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.ts +0 -68
  172. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.tsx +0 -47
  173. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.d.ts +0 -21
  174. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.js +0 -1
  175. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.ts +0 -24
  176. package/dist/src/components/organisms/DocumentListMenu/index.d.ts +0 -2
  177. package/dist/src/components/organisms/DocumentListMenu/index.js +0 -1
  178. package/dist/src/components/organisms/DocumentListMenu/index.ts +0 -2
  179. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.d.ts +0 -3
  180. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.js +0 -11
  181. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.d.ts +0 -1
  182. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.js +0 -97
  183. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.ts +0 -98
  184. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.tsx +0 -59
  185. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.d.ts +0 -22
  186. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.js +0 -1
  187. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.ts +0 -25
  188. package/dist/src/components/organisms/DocumentMainMenu/index.d.ts +0 -2
  189. package/dist/src/components/organisms/DocumentMainMenu/index.js +0 -1
  190. package/dist/src/components/organisms/DocumentMainMenu/index.ts +0 -2
  191. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.d.ts +0 -4
  192. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.js +0 -7
  193. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.d.ts +0 -1
  194. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.js +0 -27
  195. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.ts +0 -28
  196. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.tsx +0 -21
  197. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.d.ts +0 -7
  198. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.js +0 -1
  199. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.ts +0 -8
  200. package/dist/src/components/organisms/DocumentSubMenu/index.d.ts +0 -2
  201. package/dist/src/components/organisms/DocumentSubMenu/index.js +0 -1
  202. package/dist/src/components/organisms/DocumentSubMenu/index.ts +0 -2
  203. package/dist/src/components/organisms/MenuItems/MenuItems.d.ts +0 -3
  204. package/dist/src/components/organisms/MenuItems/MenuItems.js +0 -9
  205. package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +0 -688
  206. package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +0 -692
  207. package/dist/src/components/organisms/MenuItems/MenuItems.tsx +0 -74
  208. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.d.ts +0 -45
  209. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.js +0 -1
  210. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.ts +0 -46
  211. package/dist/src/components/organisms/MenuItems/index.d.ts +0 -2
  212. package/dist/src/components/organisms/MenuItems/index.js +0 -1
  213. package/dist/src/components/organisms/MenuItems/index.ts +0 -2
  214. package/dist/src/components/organisms/NavMenu/NavMenu.d.ts +0 -3
  215. package/dist/src/components/organisms/NavMenu/NavMenu.js +0 -10
  216. package/dist/src/components/organisms/NavMenu/NavMenu.styled.d.ts +0 -1
  217. package/dist/src/components/organisms/NavMenu/NavMenu.styled.js +0 -633
  218. package/dist/src/components/organisms/NavMenu/NavMenu.styled.ts +0 -637
  219. package/dist/src/components/organisms/NavMenu/NavMenu.tsx +0 -121
  220. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.d.ts +0 -80
  221. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.js +0 -1
  222. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.ts +0 -82
  223. package/dist/src/components/organisms/NavMenu/index.d.ts +0 -2
  224. package/dist/src/components/organisms/NavMenu/index.js +0 -1
  225. package/dist/src/components/organisms/NavMenu/index.ts +0 -2
  226. package/dist/src/components/sections/Header/Header.d.ts +0 -4
  227. package/dist/src/components/sections/Header/Header.js +0 -11
  228. package/dist/src/components/sections/Header/Header.styled.d.ts +0 -1
  229. package/dist/src/components/sections/Header/Header.styled.js +0 -137
  230. package/dist/src/components/sections/Header/Header.styled.ts +0 -138
  231. package/dist/src/components/sections/Header/Header.tsx +0 -28
  232. package/dist/src/components/sections/Header/HeaderProps.types.d.ts +0 -97
  233. package/dist/src/components/sections/Header/HeaderProps.types.js +0 -1
  234. package/dist/src/components/sections/Header/HeaderProps.types.ts +0 -101
  235. package/dist/src/components/sections/Header/index.d.ts +0 -2
  236. package/dist/src/components/sections/Header/index.js +0 -1
  237. package/dist/src/components/sections/Header/index.ts +0 -2
  238. package/dist/src/hooks/useWindowSize.d.ts +0 -6
  239. package/dist/src/hooks/useWindowSize.js +0 -43
  240. package/dist/src/hooks/useWindowSize.tsx +0 -51
  241. /package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecatedProps.types.js → MenuItems/MenuItemProps.types.js} +0 -0
  242. /package/dist/src/components/molecules/{AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.js → ContactInfoBox/ContactInfoBoxProps.types.js} +0 -0
  243. /package/dist/src/components/molecules/{DocumentListMenuSection/DocumentListMenuSectionProps.types.js → ContactInfoCard/ContactInfoCardProps.js} +0 -0
@@ -1,41 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- export interface Products {
3
- categoryUrl?: string
4
- isFeatured?: boolean
5
- popularOrder: number
6
- jumboTitle: string
7
- linkText: string
8
- slug: string
9
- footerPopularDocument?: boolean
10
- logoImgBig?: string
11
- logoImgSmall?: string
12
- categoryProduct?: {
13
- name: string
14
- icon: string
15
- }
16
- }
17
-
18
- export interface StrapiSearchBar {
19
- title: string
20
- placeholder: string
21
- }
22
-
23
- export interface Routes {
24
- CUSTOM_URL_FROM_APP_SUBDOMAIN: (url: string) => string
25
- CUSTOM_URL_FROM_TARGET_ADDRESS: (url: string) => string
26
- LEGAL_DOCUMENTS: string
27
- LEGAL_DOCUMENTS_WITH_HASH: (category: string) => string
28
- LEGAL_DOCUMENTS_WITH_CATEGORY: (category: string) => string
29
- LOGIN: string
30
- MY_DOCUMENTS: string
31
- REGISTER: string
32
- RATAFIA_LOGIN: string
33
- SIGN_EDITOR: string
34
- }
35
-
36
- export interface SearchBarProps {
37
- products: Products[]
38
- searchBarTexts: StrapiSearchBar
39
- routes: Routes
40
- handleResultClick: (product: string, link: string) => void
41
- }
@@ -1,2 +0,0 @@
1
- export { SearchBar } from './SearchBar';
2
- export { type SearchBarProps } from './SearchBarProps.types';
@@ -1 +0,0 @@
1
- export { SearchBar } from './SearchBar';
@@ -1,2 +0,0 @@
1
- export { SearchBar } from './SearchBar'
2
- export { type SearchBarProps } from './SearchBarProps.types'
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { type DocumentListMenuProps } from './DocumentListMenuProps.types';
3
- export declare const DocumentListMenu: React.FC<DocumentListMenuProps>;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms/Button';
3
- import { DocumentListMenuSection } from '../../molecules/DocumentListMenuSection';
4
- import { DocumentListMenuStyled } from './DocumentListMenu.styled';
5
- export const DocumentListMenu = ({ routes, seeAllLegalDocs, seeAllTypeDocs, finalMenu, hasSubCategoryPage, setCookiePolicyFunc }) => {
6
- return (_jsxs(DocumentListMenuStyled, { className: 'document-list-menu', children: [_jsx("div", { className: 'documents-wrapper', children: finalMenu.map((item, index) => (_jsx("div", { className: 'products__list__section-container', children: _jsx(DocumentListMenuSection, { products: item.products, type: item.type, icon: item.icon, seeAllTypeDocs: seeAllTypeDocs, slug: finalMenu[0].slug, hasSubCategoryPage: hasSubCategoryPage, routes: routes, setCookiePolicyFunc: setCookiePolicyFunc }) }, index))) }), _jsx("div", { className: 'all-documents-button-wrapper', children: _jsx(Button, { color: 'transparent', centered: true, size: 'M', givenClass: 'all-documents-button', link: routes.LEGAL_DOCUMENTS, label: seeAllLegalDocs, dataQa: 'button-see-all-documents' }) })] }));
7
- };
@@ -1 +0,0 @@
1
- export declare const DocumentListMenuStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,67 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
- import styled from 'styled-components';
3
- export const DocumentListMenuStyled = styled.div `
4
- display: flex;
5
- flex-flow: column nowrap;
6
- background: var(--others-white);
7
- width: 100%;
8
- padding: 1rem 0;
9
-
10
- @media ${device['landscape-tablets']} {
11
- display: none;
12
- }
13
-
14
- .documents-wrapper {
15
- display: flex;
16
- flex-flow: row wrap;
17
- align-items: flex-start;
18
- margin: auto;
19
-
20
- @media ${device['landscape-tablets']} {
21
- width: 696px;
22
- }
23
-
24
- @media ${device['laptop']} {
25
- width: 910px;
26
- }
27
-
28
- @media ${device['desktop-xl']} {
29
- width: 1128px;
30
- }
31
-
32
- .products__list__section-container {
33
- text-align: left;
34
- width: 100%;
35
-
36
- @media ${device['landscape-tablets']} {
37
- width: 33%;
38
- padding-right: 1rem;
39
- &:nth-child(3) {
40
- padding-right: 0;
41
- }
42
- }
43
-
44
- @media ${device['laptop']} {
45
- width: 20%;
46
- &:nth-child(3) {
47
- padding-right: 1rem;
48
- }
49
- &:last-child {
50
- padding-right: 0;
51
- }
52
- }
53
- }
54
- }
55
-
56
- .all-documents-button-wrapper {
57
- display: flex;
58
- justify-content: center;
59
- width: 100%;
60
-
61
- .all-documents-button {
62
- margin: 1rem auto;
63
- max-width: 330px;
64
- width: 100%;
65
- }
66
- }
67
- `;
@@ -1,68 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const DocumentListMenuStyled = styled.div`
5
- display: flex;
6
- flex-flow: column nowrap;
7
- background: var(--others-white);
8
- width: 100%;
9
- padding: 1rem 0;
10
-
11
- @media ${device['landscape-tablets']} {
12
- display: none;
13
- }
14
-
15
- .documents-wrapper {
16
- display: flex;
17
- flex-flow: row wrap;
18
- align-items: flex-start;
19
- margin: auto;
20
-
21
- @media ${device['landscape-tablets']} {
22
- width: 696px;
23
- }
24
-
25
- @media ${device['laptop']} {
26
- width: 910px;
27
- }
28
-
29
- @media ${device['desktop-xl']} {
30
- width: 1128px;
31
- }
32
-
33
- .products__list__section-container {
34
- text-align: left;
35
- width: 100%;
36
-
37
- @media ${device['landscape-tablets']} {
38
- width: 33%;
39
- padding-right: 1rem;
40
- &:nth-child(3) {
41
- padding-right: 0;
42
- }
43
- }
44
-
45
- @media ${device['laptop']} {
46
- width: 20%;
47
- &:nth-child(3) {
48
- padding-right: 1rem;
49
- }
50
- &:last-child {
51
- padding-right: 0;
52
- }
53
- }
54
- }
55
- }
56
-
57
- .all-documents-button-wrapper {
58
- display: flex;
59
- justify-content: center;
60
- width: 100%;
61
-
62
- .all-documents-button {
63
- margin: 1rem auto;
64
- max-width: 330px;
65
- width: 100%;
66
- }
67
- }
68
- `
@@ -1,47 +0,0 @@
1
- import { Button } from '../../atoms/Button'
2
- import React from 'react'
3
-
4
- import { type DocumentListMenuProps } from './DocumentListMenuProps.types'
5
- import { DocumentListMenuSection } from '../../molecules/DocumentListMenuSection'
6
- import { DocumentListMenuStyled } from './DocumentListMenu.styled'
7
-
8
- export const DocumentListMenu: React.FC<DocumentListMenuProps> = ({
9
- routes,
10
- seeAllLegalDocs,
11
- seeAllTypeDocs,
12
- finalMenu,
13
- hasSubCategoryPage,
14
- setCookiePolicyFunc
15
- }) => {
16
- return (
17
- <DocumentListMenuStyled className={'document-list-menu'}>
18
- <div className={'documents-wrapper'}>
19
- {finalMenu.map((item, index) => (
20
- <div className='products__list__section-container' key={index}>
21
- <DocumentListMenuSection
22
- products={item.products}
23
- type={item.type}
24
- icon={item.icon}
25
- seeAllTypeDocs={seeAllTypeDocs}
26
- slug={finalMenu[0].slug}
27
- hasSubCategoryPage={hasSubCategoryPage}
28
- routes={routes}
29
- setCookiePolicyFunc={setCookiePolicyFunc}
30
- ></DocumentListMenuSection>
31
- </div>
32
- ))}
33
- </div>
34
- <div className={'all-documents-button-wrapper'}>
35
- <Button
36
- color='transparent'
37
- centered
38
- size='M'
39
- givenClass='all-documents-button'
40
- link={routes.LEGAL_DOCUMENTS}
41
- label={seeAllLegalDocs}
42
- dataQa='button-see-all-documents'
43
- ></Button>
44
- </div>
45
- </DocumentListMenuStyled>
46
- )
47
- }
@@ -1,21 +0,0 @@
1
- import { Routes } from '../../sections/Header/HeaderProps.types';
2
- export interface ProductListMenuProps {
3
- slug: string;
4
- linkText: string;
5
- categoryUrl?: string;
6
- }
7
- export interface DocumentListMenuSectionProps {
8
- icon: string;
9
- type: string;
10
- products: ProductListMenuProps[];
11
- slug: string;
12
- seeAllTypeDocs: string;
13
- }
14
- export interface DocumentListMenuProps {
15
- seeAllLegalDocs: string;
16
- seeAllTypeDocs: string;
17
- routes: Routes;
18
- finalMenu: DocumentListMenuSectionProps[];
19
- hasSubCategoryPage: boolean;
20
- setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void;
21
- }
@@ -1,24 +0,0 @@
1
- import { Routes } from '../../sections/Header/HeaderProps.types'
2
-
3
- export interface ProductListMenuProps {
4
- slug: string
5
- linkText: string
6
- categoryUrl?: string
7
- }
8
-
9
- export interface DocumentListMenuSectionProps {
10
- icon: string
11
- type: string
12
- products: ProductListMenuProps[]
13
- slug: string
14
- seeAllTypeDocs: string
15
- }
16
-
17
- export interface DocumentListMenuProps {
18
- seeAllLegalDocs: string
19
- seeAllTypeDocs: string
20
- routes: Routes
21
- finalMenu: DocumentListMenuSectionProps[]
22
- hasSubCategoryPage: boolean
23
- setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void
24
- }
@@ -1,2 +0,0 @@
1
- export { DocumentListMenu } from './DocumentListMenu';
2
- export { type DocumentListMenuProps } from './DocumentListMenuProps.types';
@@ -1 +0,0 @@
1
- export { DocumentListMenu } from './DocumentListMenu';
@@ -1,2 +0,0 @@
1
- export { DocumentListMenu } from './DocumentListMenu'
2
- export { type DocumentListMenuProps } from './DocumentListMenuProps.types'
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { type DocumentMainMenuProps } from '../DocumentMainMenu/DocumentMainMenuProps.types';
3
- export declare const DocumentMainMenu: React.FC<DocumentMainMenuProps>;
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ArrowRight } from '../../../../images/componentsSvg/ArrowRight';
3
- import { DocumentMainMenuStyled } from './DocumentMainMenu.styled';
4
- import DocumentSubMenu from '../DocumentSubMenu/DocumentSubMenu';
5
- export const DocumentMainMenu = ({ seeAllTypeDocs, allLegalDocs, allTypeDocs, setCookiePolicyFunc, routes, hasSubCategoryPage, finalMenu }) => {
6
- return (_jsxs(DocumentMainMenuStyled, { children: [finalMenu.map((item, index) => (_jsxs("li", { className: 'menu-items-li', children: [item.type, _jsx("div", { className: 'icon-arrow', children: _jsx(ArrowRight, {}) }), _jsxs("ul", { className: 'submenu__list', children: [item.products.map((product, index) => (_jsx(DocumentSubMenu, { product: product, setCookiePolicyFunc: setCookiePolicyFunc, routes: routes }, index))), _jsx("li", { className: 'menu-items-li all-item', children: _jsx("a", { title: seeAllTypeDocs.replace(/{{type}}/g, item.type), "data-qa": `Header_Menu__${item.slug}_all-documents`, href: hasSubCategoryPage
7
- ? routes.LEGAL_DOCUMENTS_WITH_CATEGORY(item.slug)
8
- : routes.LEGAL_DOCUMENTS_WITH_HASH(item.type), children: item.type.includes('Documents')
9
- ? allTypeDocs.replace(/{{type}}/g, item.type).replace('Documents', '')
10
- : allTypeDocs.replace(/{{type}}/g, item.type) }) })] }, index)] }, index))), _jsx("li", { className: 'menu-items-li all-item', children: _jsx("a", { title: allLegalDocs, "data-qa": 'Header_Menu_Document_List_All_Documents', href: routes.LEGAL_DOCUMENTS, children: allLegalDocs }) })] }));
11
- };
@@ -1 +0,0 @@
1
- export declare const DocumentMainMenuStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,97 +0,0 @@
1
- import styled from 'styled-components';
2
- export const DocumentMainMenuStyled = styled.div `
3
- border-radius: var(--s-border-radius);
4
- padding: 0.75rem 1rem;
5
- margin-top: 0.5rem;
6
- display: flex;
7
- /* visibility: hidden;
8
- opacity: 0; */
9
- background: var(--others-white);
10
- transition: all 0.1s ease;
11
- box-shadow: var(--box-shadow-medium);
12
- min-width: max-content;
13
- flex-flow: column wrap;
14
- position: absolute;
15
- left: 0;
16
-
17
- & > .menu-items-li {
18
- display: flex;
19
- justify-content: space-between;
20
- padding-right: 0.5rem;
21
- width: 100%;
22
- margin: 0.25rem 2.5rem 0.25rem 0;
23
- border-radius: 4px;
24
- transition: all 0.3s ease;
25
- padding: 0.25rem;
26
- position: relative;
27
- cursor: pointer;
28
- align-items: baseline;
29
-
30
- &.all-item {
31
- font-weight: bold;
32
- &:before {
33
- content: none;
34
- }
35
- }
36
-
37
- .icon-arrow {
38
- width: 0.625rem;
39
- height: 0.813rem;
40
- &:before,
41
- &:after {
42
- width: 0.125rem;
43
- background-color: var(--neutral-neutral-1);
44
- }
45
- }
46
-
47
- &::marker {
48
- content: none;
49
- }
50
-
51
- &:hover {
52
- background-color: var(--primary-main-light-5);
53
-
54
- .submenu__list {
55
- opacity: 1;
56
- visibility: visible;
57
- margin-left: 1.5rem;
58
- transition: all 0.4s ease;
59
- }
60
- .icon-arrow {
61
- &:before,
62
- &:after {
63
- background-color: var(--primary-main);
64
- }
65
- }
66
- }
67
-
68
- .submenu__list {
69
- border-radius: var(--s-border-radius);
70
- padding: 0.75rem 1rem;
71
- display: flex;
72
- visibility: hidden;
73
- opacity: 0;
74
- margin-left: 1rem;
75
- background: var(--others-white);
76
- box-shadow: 0 0.125rem 0.5rem 0 #02374a40;
77
- transition: all 0.1s ease;
78
- min-width: max-content;
79
- flex-flow: column wrap;
80
- position: absolute;
81
- left: 100%;
82
- top: -1rem;
83
- }
84
-
85
- .submenu__list {
86
- .all-item {
87
- font-weight: bold;
88
- margin: 0.25rem 3rem 0.25rem 0;
89
- padding: 0.25rem;
90
-
91
- &:hover {
92
- background-color: var(--primary-main-light-5);
93
- }
94
- }
95
- }
96
- }
97
- `;
@@ -1,98 +0,0 @@
1
- import styled from 'styled-components'
2
-
3
- export const DocumentMainMenuStyled = styled.div`
4
- border-radius: var(--s-border-radius);
5
- padding: 0.75rem 1rem;
6
- margin-top: 0.5rem;
7
- display: flex;
8
- /* visibility: hidden;
9
- opacity: 0; */
10
- background: var(--others-white);
11
- transition: all 0.1s ease;
12
- box-shadow: var(--box-shadow-medium);
13
- min-width: max-content;
14
- flex-flow: column wrap;
15
- position: absolute;
16
- left: 0;
17
-
18
- & > .menu-items-li {
19
- display: flex;
20
- justify-content: space-between;
21
- padding-right: 0.5rem;
22
- width: 100%;
23
- margin: 0.25rem 2.5rem 0.25rem 0;
24
- border-radius: 4px;
25
- transition: all 0.3s ease;
26
- padding: 0.25rem;
27
- position: relative;
28
- cursor: pointer;
29
- align-items: baseline;
30
-
31
- &.all-item {
32
- font-weight: bold;
33
- &:before {
34
- content: none;
35
- }
36
- }
37
-
38
- .icon-arrow {
39
- width: 0.625rem;
40
- height: 0.813rem;
41
- &:before,
42
- &:after {
43
- width: 0.125rem;
44
- background-color: var(--neutral-neutral-1);
45
- }
46
- }
47
-
48
- &::marker {
49
- content: none;
50
- }
51
-
52
- &:hover {
53
- background-color: var(--primary-main-light-5);
54
-
55
- .submenu__list {
56
- opacity: 1;
57
- visibility: visible;
58
- margin-left: 1.5rem;
59
- transition: all 0.4s ease;
60
- }
61
- .icon-arrow {
62
- &:before,
63
- &:after {
64
- background-color: var(--primary-main);
65
- }
66
- }
67
- }
68
-
69
- .submenu__list {
70
- border-radius: var(--s-border-radius);
71
- padding: 0.75rem 1rem;
72
- display: flex;
73
- visibility: hidden;
74
- opacity: 0;
75
- margin-left: 1rem;
76
- background: var(--others-white);
77
- box-shadow: 0 0.125rem 0.5rem 0 #02374a40;
78
- transition: all 0.1s ease;
79
- min-width: max-content;
80
- flex-flow: column wrap;
81
- position: absolute;
82
- left: 100%;
83
- top: -1rem;
84
- }
85
-
86
- .submenu__list {
87
- .all-item {
88
- font-weight: bold;
89
- margin: 0.25rem 3rem 0.25rem 0;
90
- padding: 0.25rem;
91
-
92
- &:hover {
93
- background-color: var(--primary-main-light-5);
94
- }
95
- }
96
- }
97
- }
98
- `
@@ -1,59 +0,0 @@
1
- import React from 'react'
2
-
3
- import { ArrowRight } from '../../../../images/componentsSvg/ArrowRight'
4
- import { type DocumentMainMenuProps } from '../DocumentMainMenu/DocumentMainMenuProps.types'
5
- import { DocumentMainMenuStyled } from './DocumentMainMenu.styled'
6
- import DocumentSubMenu from '../DocumentSubMenu/DocumentSubMenu'
7
-
8
- export const DocumentMainMenu: React.FC<DocumentMainMenuProps> = ({
9
- seeAllTypeDocs,
10
- allLegalDocs,
11
- allTypeDocs,
12
- setCookiePolicyFunc,
13
- routes,
14
- hasSubCategoryPage,
15
- finalMenu
16
- }) => {
17
- return (
18
- <DocumentMainMenuStyled>
19
- {finalMenu.map((item, index) => (
20
- <li className='menu-items-li' key={index}>
21
- {item.type}
22
- <div className='icon-arrow'>
23
- <ArrowRight />
24
- </div>
25
- <ul className={'submenu__list'} key={index}>
26
- {item.products.map((product, index) => (
27
- <DocumentSubMenu
28
- product={product}
29
- key={index}
30
- setCookiePolicyFunc={setCookiePolicyFunc}
31
- routes={routes}
32
- />
33
- ))}
34
- <li className='menu-items-li all-item'>
35
- <a
36
- title={seeAllTypeDocs.replace(/{{type}}/g, item.type)}
37
- data-qa={`Header_Menu__${item.slug}_all-documents`}
38
- href={
39
- hasSubCategoryPage
40
- ? routes.LEGAL_DOCUMENTS_WITH_CATEGORY(item.slug)
41
- : routes.LEGAL_DOCUMENTS_WITH_HASH(item.type)
42
- }
43
- >
44
- {item.type.includes('Documents')
45
- ? allTypeDocs.replace(/{{type}}/g, item.type).replace('Documents', '')
46
- : allTypeDocs.replace(/{{type}}/g, item.type)}
47
- </a>
48
- </li>
49
- </ul>
50
- </li>
51
- ))}
52
- <li className='menu-items-li all-item'>
53
- <a title={allLegalDocs} data-qa='Header_Menu_Document_List_All_Documents' href={routes.LEGAL_DOCUMENTS}>
54
- {allLegalDocs}
55
- </a>
56
- </li>
57
- </DocumentMainMenuStyled>
58
- )
59
- }
@@ -1,22 +0,0 @@
1
- import { Routes } from '../../sections/Header/HeaderProps.types';
2
- export interface ProductListMenuProps {
3
- slug: string;
4
- linkText: string;
5
- categoryUrl?: string;
6
- }
7
- export interface DocumentListMenuSectionProps {
8
- icon: React.ReactNode;
9
- type: string;
10
- products: ProductListMenuProps[];
11
- slug: string;
12
- seeAllTypeDocs: string;
13
- }
14
- export interface DocumentMainMenuProps {
15
- seeAllTypeDocs: string;
16
- allLegalDocs: string;
17
- allTypeDocs: string;
18
- setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void;
19
- routes: Routes;
20
- hasSubCategoryPage: boolean;
21
- finalMenu: DocumentListMenuSectionProps[];
22
- }
@@ -1,25 +0,0 @@
1
- import { Routes } from '../../sections/Header/HeaderProps.types'
2
-
3
- export interface ProductListMenuProps {
4
- slug: string
5
- linkText: string
6
- categoryUrl?: string
7
- }
8
-
9
- export interface DocumentListMenuSectionProps {
10
- icon: React.ReactNode
11
- type: string
12
- products: ProductListMenuProps[]
13
- slug: string
14
- seeAllTypeDocs: string
15
- }
16
-
17
- export interface DocumentMainMenuProps {
18
- seeAllTypeDocs: string
19
- allLegalDocs: string
20
- allTypeDocs: string
21
- setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void
22
- routes: Routes
23
- hasSubCategoryPage: boolean
24
- finalMenu: DocumentListMenuSectionProps[]
25
- }
@@ -1,2 +0,0 @@
1
- export { DocumentMainMenu } from './DocumentMainMenu';
2
- export { type DocumentMainMenuProps } from './DocumentMainMenuProps.types';
@@ -1 +0,0 @@
1
- export { DocumentMainMenu } from './DocumentMainMenu';
@@ -1,2 +0,0 @@
1
- export { DocumentMainMenu } from './DocumentMainMenu'
2
- export { type DocumentMainMenuProps } from './DocumentMainMenuProps.types'
@@ -1,4 +0,0 @@
1
- import { type DocumentSubMenuProps } from './DocumentSubMenuProps.types';
2
- import React from 'react';
3
- declare const DocumentSubMenu: React.FC<DocumentSubMenuProps>;
4
- export default DocumentSubMenu;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { DocumentSubMenuStyled } from './DocumentSubMenu.styled';
3
- const DocumentSubMenu = ({ product, setCookiePolicyFunc, routes }) => {
4
- const productLink = product.categoryUrl ? `${product.categoryUrl}/${product.slug}` : product.slug;
5
- return (_jsx(DocumentSubMenuStyled, { className: 'menu-items-li', children: _jsx("a", { title: product.linkText, "data-qa": `Header_Menu_${product.slug}_Document_List`, onClick: () => setCookiePolicyFunc, href: routes.CUSTOM_URL_FROM_TARGET_ADDRESS(productLink), children: product.linkText }) }));
6
- };
7
- export default DocumentSubMenu;