@npm_leadtech/legal-lib-components 7.12.1 → 7.12.2

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 (221) hide show
  1. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecatedProps.types.d.ts → MenuItems/MenuItemProps.types.d.ts} +1 -1
  2. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecatedProps.types.ts → MenuItems/MenuItemProps.types.ts} +1 -1
  3. package/dist/src/components/atoms/MenuItems/MenuItems.d.ts +4 -0
  4. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.js → MenuItems/MenuItems.js} +4 -4
  5. package/dist/src/components/{organisms → atoms}/MenuItems/MenuItems.styled.d.ts +1 -1
  6. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.styled.js → MenuItems/MenuItems.styled.js} +1 -1
  7. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.styled.ts → MenuItems/MenuItems.styled.ts} +1 -1
  8. package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecated.tsx → MenuItems/MenuItems.tsx} +6 -12
  9. package/dist/src/components/atoms/MenuItems/index.d.ts +2 -0
  10. package/dist/src/components/atoms/MenuItems/index.js +1 -0
  11. package/dist/src/components/atoms/MenuItems/index.ts +2 -0
  12. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +1 -1
  13. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +1 -0
  14. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +2 -2
  15. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +2 -2
  16. package/dist/src/components/atoms/TopBar/TopBar.js +2 -8
  17. package/dist/src/components/atoms/TopBar/TopBar.styled.js +0 -47
  18. package/dist/src/components/atoms/TopBar/TopBar.styled.ts +0 -47
  19. package/dist/src/components/atoms/TopBar/TopBar.tsx +2 -9
  20. package/dist/src/components/atoms/TopBar/TopBarProps.types.d.ts +0 -2
  21. package/dist/src/components/atoms/TopBar/TopBarProps.types.ts +0 -2
  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/MenuItemsSection/MenuItemsSection.js +2 -2
  35. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +2 -2
  36. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.d.ts +1 -1
  37. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.ts +1 -1
  38. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
  39. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +2 -2
  40. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.js +2 -2
  41. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.tsx +2 -2
  42. package/dist/src/components/molecules/index.d.ts +0 -5
  43. package/dist/src/components/molecules/index.js +0 -5
  44. package/dist/src/components/molecules/index.ts +0 -5
  45. package/dist/src/components/organisms/index.d.ts +0 -4
  46. package/dist/src/components/organisms/index.js +0 -4
  47. package/dist/src/components/organisms/index.ts +0 -4
  48. package/dist/src/components/sections/index.d.ts +0 -1
  49. package/dist/src/components/sections/index.js +0 -1
  50. package/dist/src/components/sections/index.ts +0 -1
  51. package/dist/tsconfig.build.tsbuildinfo +1 -1
  52. package/package.json +1 -2
  53. package/dist/images/componentsSvg/SearchIcon.d.ts +0 -4
  54. package/dist/images/componentsSvg/SearchIcon.js +0 -4
  55. package/dist/images/componentsSvg/SearchIcon.tsx +0 -26
  56. package/dist/images/svg/clear-24-px.svg +0 -14
  57. package/dist/images/svg/men.svg +0 -5
  58. package/dist/src/components/atoms/DropdownInput/DropdownInput.d.ts +0 -3
  59. package/dist/src/components/atoms/DropdownInput/DropdownInput.js +0 -24
  60. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.d.ts +0 -1
  61. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.js +0 -144
  62. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.ts +0 -146
  63. package/dist/src/components/atoms/DropdownInput/DropdownInput.tsx +0 -60
  64. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.d.ts +0 -8
  65. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.js +0 -2
  66. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.ts +0 -10
  67. package/dist/src/components/atoms/DropdownInput/index.d.ts +0 -2
  68. package/dist/src/components/atoms/DropdownInput/index.js +0 -1
  69. package/dist/src/components/atoms/DropdownInput/index.ts +0 -2
  70. package/dist/src/components/atoms/MenuItemsDeprecated/MenuItemsDeprecated.d.ts +0 -4
  71. package/dist/src/components/atoms/MenuItemsDeprecated/MenuItemsDeprecated.styled.d.ts +0 -1
  72. package/dist/src/components/atoms/MenuItemsDeprecated/index.d.ts +0 -2
  73. package/dist/src/components/atoms/MenuItemsDeprecated/index.js +0 -1
  74. package/dist/src/components/atoms/MenuItemsDeprecated/index.ts +0 -2
  75. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.d.ts +0 -3
  76. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.js +0 -6
  77. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.d.ts +0 -1
  78. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.js +0 -18
  79. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.ts +0 -19
  80. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.tsx +0 -22
  81. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.d.ts +0 -8
  82. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.js +0 -1
  83. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.ts +0 -9
  84. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.d.ts +0 -2
  85. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.js +0 -1
  86. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.ts +0 -2
  87. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.d.ts +0 -3
  88. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.js +0 -7
  89. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.styled.d.ts +0 -1
  90. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.styled.js +0 -20
  91. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.styled.ts +0 -21
  92. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.tsx +0 -35
  93. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSectionProps.types.d.ts +0 -16
  94. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSectionProps.types.js +0 -1
  95. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSectionProps.types.ts +0 -18
  96. package/dist/src/components/molecules/DocumentListMenuSection/index.d.ts +0 -2
  97. package/dist/src/components/molecules/DocumentListMenuSection/index.js +0 -1
  98. package/dist/src/components/molecules/DocumentListMenuSection/index.ts +0 -2
  99. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.d.ts +0 -3
  100. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.js +0 -5
  101. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.d.ts +0 -1
  102. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.js +0 -26
  103. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.ts +0 -27
  104. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.tsx +0 -15
  105. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.d.ts +0 -4
  106. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.js +0 -1
  107. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.ts +0 -4
  108. package/dist/src/components/molecules/MenuSectionTitle/index.d.ts +0 -2
  109. package/dist/src/components/molecules/MenuSectionTitle/index.js +0 -1
  110. package/dist/src/components/molecules/MenuSectionTitle/index.ts +0 -2
  111. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.d.ts +0 -4
  112. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.js +0 -7
  113. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.d.ts +0 -1
  114. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.js +0 -34
  115. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.ts +0 -35
  116. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.tsx +0 -23
  117. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.d.ts +0 -4
  118. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.js +0 -1
  119. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.ts +0 -4
  120. package/dist/src/components/molecules/NavMobileContactBar/index.d.ts +0 -2
  121. package/dist/src/components/molecules/NavMobileContactBar/index.js +0 -1
  122. package/dist/src/components/molecules/NavMobileContactBar/index.ts +0 -2
  123. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.d.ts +0 -3
  124. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.js +0 -5
  125. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.d.ts +0 -1
  126. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.js +0 -18
  127. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.ts +0 -19
  128. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.tsx +0 -25
  129. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.d.ts +0 -8
  130. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.js +0 -1
  131. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.ts +0 -9
  132. package/dist/src/components/molecules/ProductListMenu/index.d.ts +0 -2
  133. package/dist/src/components/molecules/ProductListMenu/index.js +0 -1
  134. package/dist/src/components/molecules/ProductListMenu/index.ts +0 -2
  135. package/dist/src/components/molecules/SearchBar/SearchBar.d.ts +0 -3
  136. package/dist/src/components/molecules/SearchBar/SearchBar.js +0 -33
  137. package/dist/src/components/molecules/SearchBar/SearchBar.styled.d.ts +0 -1
  138. package/dist/src/components/molecules/SearchBar/SearchBar.styled.js +0 -62
  139. package/dist/src/components/molecules/SearchBar/SearchBar.styled.ts +0 -63
  140. package/dist/src/components/molecules/SearchBar/SearchBar.tsx +0 -72
  141. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.d.ts +0 -36
  142. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.js +0 -1
  143. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.ts +0 -40
  144. package/dist/src/components/molecules/SearchBar/index.d.ts +0 -2
  145. package/dist/src/components/molecules/SearchBar/index.js +0 -1
  146. package/dist/src/components/molecules/SearchBar/index.ts +0 -2
  147. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.d.ts +0 -3
  148. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.js +0 -7
  149. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.d.ts +0 -1
  150. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.js +0 -64
  151. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.ts +0 -65
  152. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.tsx +0 -47
  153. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.d.ts +0 -22
  154. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.js +0 -1
  155. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.ts +0 -25
  156. package/dist/src/components/organisms/DocumentListMenu/index.d.ts +0 -2
  157. package/dist/src/components/organisms/DocumentListMenu/index.js +0 -1
  158. package/dist/src/components/organisms/DocumentListMenu/index.ts +0 -2
  159. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.d.ts +0 -3
  160. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.js +0 -11
  161. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.d.ts +0 -1
  162. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.js +0 -97
  163. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.ts +0 -98
  164. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.tsx +0 -59
  165. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.d.ts +0 -22
  166. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.js +0 -1
  167. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.ts +0 -25
  168. package/dist/src/components/organisms/DocumentMainMenu/index.d.ts +0 -2
  169. package/dist/src/components/organisms/DocumentMainMenu/index.js +0 -1
  170. package/dist/src/components/organisms/DocumentMainMenu/index.ts +0 -2
  171. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.d.ts +0 -4
  172. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.js +0 -7
  173. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.d.ts +0 -1
  174. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.js +0 -27
  175. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.ts +0 -28
  176. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.tsx +0 -21
  177. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.d.ts +0 -7
  178. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.js +0 -1
  179. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.ts +0 -8
  180. package/dist/src/components/organisms/DocumentSubMenu/index.d.ts +0 -2
  181. package/dist/src/components/organisms/DocumentSubMenu/index.js +0 -1
  182. package/dist/src/components/organisms/DocumentSubMenu/index.ts +0 -2
  183. package/dist/src/components/organisms/MenuItems/MenuItems.d.ts +0 -3
  184. package/dist/src/components/organisms/MenuItems/MenuItems.js +0 -9
  185. package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +0 -594
  186. package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +0 -598
  187. package/dist/src/components/organisms/MenuItems/MenuItems.tsx +0 -74
  188. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.d.ts +0 -45
  189. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.js +0 -1
  190. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.ts +0 -46
  191. package/dist/src/components/organisms/MenuItems/index.d.ts +0 -2
  192. package/dist/src/components/organisms/MenuItems/index.js +0 -1
  193. package/dist/src/components/organisms/MenuItems/index.ts +0 -2
  194. package/dist/src/components/organisms/NavMenu/NavMenu.d.ts +0 -3
  195. package/dist/src/components/organisms/NavMenu/NavMenu.js +0 -10
  196. package/dist/src/components/organisms/NavMenu/NavMenu.styled.d.ts +0 -1
  197. package/dist/src/components/organisms/NavMenu/NavMenu.styled.js +0 -550
  198. package/dist/src/components/organisms/NavMenu/NavMenu.styled.ts +0 -554
  199. package/dist/src/components/organisms/NavMenu/NavMenu.tsx +0 -121
  200. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.d.ts +0 -80
  201. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.js +0 -1
  202. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.ts +0 -82
  203. package/dist/src/components/organisms/NavMenu/index.d.ts +0 -2
  204. package/dist/src/components/organisms/NavMenu/index.js +0 -1
  205. package/dist/src/components/organisms/NavMenu/index.ts +0 -2
  206. package/dist/src/components/sections/Header/Header.d.ts +0 -4
  207. package/dist/src/components/sections/Header/Header.js +0 -11
  208. package/dist/src/components/sections/Header/Header.styled.d.ts +0 -1
  209. package/dist/src/components/sections/Header/Header.styled.js +0 -117
  210. package/dist/src/components/sections/Header/Header.styled.ts +0 -118
  211. package/dist/src/components/sections/Header/Header.tsx +0 -28
  212. package/dist/src/components/sections/Header/HeaderProps.types.d.ts +0 -96
  213. package/dist/src/components/sections/Header/HeaderProps.types.js +0 -1
  214. package/dist/src/components/sections/Header/HeaderProps.types.ts +0 -100
  215. package/dist/src/components/sections/Header/index.d.ts +0 -2
  216. package/dist/src/components/sections/Header/index.js +0 -1
  217. package/dist/src/components/sections/Header/index.ts +0 -2
  218. package/dist/src/hooks/useWindowSize.d.ts +0 -6
  219. package/dist/src/hooks/useWindowSize.js +0 -43
  220. package/dist/src/hooks/useWindowSize.tsx +0 -51
  221. /package/dist/src/components/atoms/{MenuItemsDeprecated/MenuItemsDeprecatedProps.types.js → MenuItems/MenuItemProps.types.js} +0 -0
@@ -1,36 +0,0 @@
1
- export interface Products {
2
- categoryUrl?: string;
3
- isFeatured?: boolean;
4
- popularOrder: number;
5
- jumboTitle: string;
6
- linkText: string;
7
- slug: string;
8
- footerPopularDocument?: boolean;
9
- logoImgBig?: string;
10
- logoImgSmall?: string;
11
- categoryProduct?: {
12
- name: string;
13
- icon: string;
14
- };
15
- }
16
- export interface StrapiSearchBar {
17
- title: string;
18
- placeholder: string;
19
- }
20
- export interface Routes {
21
- CUSTOM_URL_FROM_APP_SUBDOMAIN: (url: string) => string;
22
- CUSTOM_URL_FROM_TARGET_ADDRESS: (url: string) => string;
23
- LEGAL_DOCUMENTS: string;
24
- LEGAL_DOCUMENTS_WITH_HASH: (category: string) => string;
25
- LEGAL_DOCUMENTS_WITH_CATEGORY: (category: string) => string;
26
- LOGIN: string;
27
- MY_DOCUMENTS: string;
28
- REGISTER: string;
29
- RATAFIA_LOGIN: string;
30
- }
31
- export interface SearchBarProps {
32
- products: Products[];
33
- searchBarTexts: StrapiSearchBar;
34
- routes: Routes;
35
- handleResultClick: (product: string, link: string) => void;
36
- }
@@ -1,40 +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
- }
34
-
35
- export interface SearchBarProps {
36
- products: Products[]
37
- searchBarTexts: StrapiSearchBar
38
- routes: Routes
39
- handleResultClick: (product: string, link: string) => void
40
- }
@@ -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,64 +0,0 @@
1
- import styled from 'styled-components';
2
- export const DocumentListMenuStyled = styled.div `
3
- display: flex;
4
- flex-flow: column nowrap;
5
- background: variables.get-color(others, white);
6
- width: 100%;
7
- padding: 1rem 0;
8
-
9
- @include mediaqueries.sm {
10
- display: none;
11
- }
12
-
13
- .documents-wrapper {
14
- display: flex;
15
- flex-flow: row wrap;
16
- align-items: flex-start;
17
- margin: auto;
18
-
19
- @include mediaqueries.sm {
20
- width: 696px;
21
- }
22
-
23
- @include mediaqueries.md {
24
- width: 910px;
25
- }
26
-
27
- @include mediaqueries.xl {
28
- width: 1128px;
29
- }
30
-
31
- .products__list__section-container {
32
- text-align: left;
33
- width: 100%;
34
-
35
- @include mediaqueries.sm {
36
- width: 33%;
37
- padding-right: 1rem;
38
- &:nth-child(3) {
39
- padding-right: 0;
40
- }
41
- }
42
-
43
- @include mediaqueries.md {
44
- width: 20%;
45
- &:nth-child(3) {
46
- padding-right: 1rem;
47
- }
48
- &:last-child {
49
- padding-right: 0;
50
- }
51
- }
52
- }
53
- }
54
-
55
- .all-documents-button-wrapper {
56
- display: flex;
57
-
58
- .all-documents-button {
59
- margin: 1rem auto;
60
- max-width: 330px;
61
- width: 100%;
62
- }
63
- }
64
- `;
@@ -1,65 +0,0 @@
1
- import styled from 'styled-components'
2
-
3
- export const DocumentListMenuStyled = styled.div`
4
- display: flex;
5
- flex-flow: column nowrap;
6
- background: variables.get-color(others, white);
7
- width: 100%;
8
- padding: 1rem 0;
9
-
10
- @include mediaqueries.sm {
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
- @include mediaqueries.sm {
21
- width: 696px;
22
- }
23
-
24
- @include mediaqueries.md {
25
- width: 910px;
26
- }
27
-
28
- @include mediaqueries.xl {
29
- width: 1128px;
30
- }
31
-
32
- .products__list__section-container {
33
- text-align: left;
34
- width: 100%;
35
-
36
- @include mediaqueries.sm {
37
- width: 33%;
38
- padding-right: 1rem;
39
- &:nth-child(3) {
40
- padding-right: 0;
41
- }
42
- }
43
-
44
- @include mediaqueries.md {
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
-
59
- .all-documents-button {
60
- margin: 1rem auto;
61
- max-width: 330px;
62
- width: 100%;
63
- }
64
- }
65
- `
@@ -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,22 +0,0 @@
1
- import React from 'react';
2
- import { Routes } from '../../sections/Header/HeaderProps.types';
3
- export interface ProductListMenuProps {
4
- slug: string;
5
- linkText: string;
6
- categoryUrl?: string;
7
- }
8
- export interface DocumentListMenuSectionProps {
9
- icon: React.ReactNode;
10
- type: string;
11
- products: ProductListMenuProps[];
12
- slug: string;
13
- seeAllTypeDocs: string;
14
- }
15
- export interface DocumentListMenuProps {
16
- seeAllLegalDocs: string;
17
- seeAllTypeDocs: string;
18
- routes: Routes;
19
- finalMenu: DocumentListMenuSectionProps[];
20
- hasSubCategoryPage: boolean;
21
- setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void;
22
- }
@@ -1,25 +0,0 @@
1
- import React from 'react'
2
- import { Routes } from '../../sections/Header/HeaderProps.types'
3
-
4
- export interface ProductListMenuProps {
5
- slug: string
6
- linkText: string
7
- categoryUrl?: string
8
- }
9
-
10
- export interface DocumentListMenuSectionProps {
11
- icon: React.ReactNode
12
- type: string
13
- products: ProductListMenuProps[]
14
- slug: string
15
- seeAllTypeDocs: string
16
- }
17
-
18
- export interface DocumentListMenuProps {
19
- seeAllLegalDocs: string
20
- seeAllTypeDocs: string
21
- routes: Routes
22
- finalMenu: DocumentListMenuSectionProps[]
23
- hasSubCategoryPage: boolean
24
- setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void
25
- }
@@ -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
- }