@npm_leadtech/legal-lib-components 7.12.24 → 7.12.26

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 (253) hide show
  1. package/dist/images/componentsSvg/SearchIcon.d.ts +4 -0
  2. package/dist/images/componentsSvg/SearchIcon.js +4 -0
  3. package/dist/images/componentsSvg/SearchIcon.tsx +26 -0
  4. package/dist/images/svg/business-type.svg +3 -0
  5. package/dist/images/svg/clear-24-px.svg +14 -0
  6. package/dist/images/svg/men.svg +5 -0
  7. package/dist/src/components/atoms/DropdownInput/DropdownInput.d.ts +3 -0
  8. package/dist/src/components/atoms/DropdownInput/DropdownInput.js +24 -0
  9. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.d.ts +1 -0
  10. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.js +147 -0
  11. package/dist/src/components/atoms/DropdownInput/DropdownInput.styled.ts +149 -0
  12. package/dist/src/components/atoms/DropdownInput/DropdownInput.tsx +60 -0
  13. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.d.ts +8 -0
  14. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.js +2 -0
  15. package/dist/src/components/atoms/DropdownInput/DropdownInputProps.types.ts +10 -0
  16. package/dist/src/components/atoms/DropdownInput/index.d.ts +2 -0
  17. package/dist/src/components/atoms/DropdownInput/index.js +1 -0
  18. package/dist/src/components/atoms/DropdownInput/index.ts +2 -0
  19. package/dist/src/components/atoms/MenuItemsDeprecated/MenuItemsDeprecated.d.ts +4 -0
  20. package/dist/src/components/atoms/{MenuItems/MenuItems.js → MenuItemsDeprecated/MenuItemsDeprecated.js} +4 -4
  21. package/dist/src/components/atoms/MenuItemsDeprecated/MenuItemsDeprecated.styled.d.ts +1 -0
  22. package/dist/src/components/atoms/{MenuItems/MenuItems.styled.js → MenuItemsDeprecated/MenuItemsDeprecated.styled.js} +1 -1
  23. package/dist/src/components/atoms/{MenuItems/MenuItems.styled.ts → MenuItemsDeprecated/MenuItemsDeprecated.styled.ts} +1 -1
  24. package/dist/src/components/atoms/{MenuItems/MenuItems.tsx → MenuItemsDeprecated/MenuItemsDeprecated.tsx} +12 -6
  25. package/dist/src/components/atoms/{MenuItems/MenuItemProps.types.d.ts → MenuItemsDeprecated/MenuItemsDeprecatedProps.types.d.ts} +1 -1
  26. package/dist/src/components/atoms/{MenuItems/MenuItemProps.types.ts → MenuItemsDeprecated/MenuItemsDeprecatedProps.types.ts} +1 -1
  27. package/dist/src/components/atoms/MenuItemsDeprecated/index.d.ts +2 -0
  28. package/dist/src/components/atoms/MenuItemsDeprecated/index.js +1 -0
  29. package/dist/src/components/atoms/MenuItemsDeprecated/index.ts +2 -0
  30. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
  31. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
  32. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +2 -2
  33. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +2 -2
  34. package/dist/src/components/atoms/TopBar/TopBar.styled.js +48 -1
  35. package/dist/src/components/atoms/TopBar/TopBar.styled.ts +48 -1
  36. package/dist/src/components/atoms/TopBar/TopBar.tsx +1 -1
  37. package/dist/src/components/atoms/index.d.ts +2 -2
  38. package/dist/src/components/atoms/index.js +2 -2
  39. package/dist/src/components/atoms/index.ts +2 -2
  40. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.d.ts +3 -0
  41. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.js +6 -0
  42. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.d.ts +1 -0
  43. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.js +18 -0
  44. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.styled.ts +19 -0
  45. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenu.tsx +22 -0
  46. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.d.ts +8 -0
  47. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.ts +9 -0
  48. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.d.ts +2 -0
  49. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.js +1 -0
  50. package/dist/src/components/molecules/AllTypeDocumentsItemMenu/index.ts +2 -0
  51. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.d.ts +3 -0
  52. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.js +7 -0
  53. package/dist/src/components/molecules/{ContactInfoCard/ContactInfoCard.styled.d.ts → DocumentListMenuSection/DocumentListMenuSection.styled.d.ts} +1 -1
  54. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.styled.js +20 -0
  55. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.styled.ts +21 -0
  56. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSection.tsx +35 -0
  57. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSectionProps.types.d.ts +16 -0
  58. package/dist/src/components/molecules/DocumentListMenuSection/DocumentListMenuSectionProps.types.ts +18 -0
  59. package/dist/src/components/molecules/DocumentListMenuSection/index.d.ts +2 -0
  60. package/dist/src/components/molecules/DocumentListMenuSection/index.js +1 -0
  61. package/dist/src/components/molecules/DocumentListMenuSection/index.ts +2 -0
  62. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
  63. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +2 -2
  64. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.d.ts +1 -1
  65. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.ts +1 -1
  66. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.d.ts +3 -0
  67. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.js +5 -0
  68. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.d.ts +1 -0
  69. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.js +26 -0
  70. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.styled.ts +27 -0
  71. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitle.tsx +17 -0
  72. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.d.ts +4 -0
  73. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.js +1 -0
  74. package/dist/src/components/molecules/MenuSectionTitle/MenuSectionTitleProps.types.ts +4 -0
  75. package/dist/src/components/molecules/MenuSectionTitle/index.d.ts +2 -0
  76. package/dist/src/components/molecules/MenuSectionTitle/index.js +1 -0
  77. package/dist/src/components/molecules/MenuSectionTitle/index.ts +2 -0
  78. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
  79. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +2 -2
  80. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.d.ts +4 -0
  81. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.js +7 -0
  82. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.d.ts +1 -0
  83. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.js +34 -0
  84. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.styled.ts +35 -0
  85. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBar.tsx +23 -0
  86. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.d.ts +4 -0
  87. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.js +1 -0
  88. package/dist/src/components/molecules/NavMobileContactBar/NavMobileContactBarProps.types.ts +4 -0
  89. package/dist/src/components/molecules/NavMobileContactBar/index.d.ts +2 -0
  90. package/dist/src/components/molecules/NavMobileContactBar/index.js +1 -0
  91. package/dist/src/components/molecules/NavMobileContactBar/index.ts +2 -0
  92. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.d.ts +3 -0
  93. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.js +5 -0
  94. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.d.ts +1 -0
  95. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.js +18 -0
  96. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.styled.ts +19 -0
  97. package/dist/src/components/molecules/ProductListMenu/ProductListMenu.tsx +25 -0
  98. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.d.ts +8 -0
  99. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.js +1 -0
  100. package/dist/src/components/molecules/ProductListMenu/ProductListMenuProps.types.ts +9 -0
  101. package/dist/src/components/molecules/ProductListMenu/index.d.ts +2 -0
  102. package/dist/src/components/molecules/ProductListMenu/index.js +1 -0
  103. package/dist/src/components/molecules/ProductListMenu/index.ts +2 -0
  104. package/dist/src/components/molecules/SearchBar/SearchBar.d.ts +3 -0
  105. package/dist/src/components/molecules/SearchBar/SearchBar.js +33 -0
  106. package/dist/src/components/molecules/SearchBar/SearchBar.styled.d.ts +1 -0
  107. package/dist/src/components/molecules/SearchBar/SearchBar.styled.js +62 -0
  108. package/dist/src/components/molecules/SearchBar/SearchBar.styled.ts +63 -0
  109. package/dist/src/components/molecules/SearchBar/SearchBar.tsx +72 -0
  110. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.d.ts +37 -0
  111. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.js +1 -0
  112. package/dist/src/components/molecules/SearchBar/SearchBarProps.types.ts +41 -0
  113. package/dist/src/components/molecules/SearchBar/index.d.ts +2 -0
  114. package/dist/src/components/molecules/SearchBar/index.js +1 -0
  115. package/dist/src/components/molecules/SearchBar/index.ts +2 -0
  116. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.js +2 -2
  117. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.tsx +2 -2
  118. package/dist/src/components/molecules/index.d.ts +5 -0
  119. package/dist/src/components/molecules/index.js +5 -0
  120. package/dist/src/components/molecules/index.ts +5 -0
  121. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +3 -3
  122. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +6 -4
  123. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.d.ts +3 -2
  124. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +4 -2
  125. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.d.ts +3 -0
  126. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.js +7 -0
  127. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.d.ts +1 -0
  128. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.js +67 -0
  129. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.styled.ts +68 -0
  130. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenu.tsx +47 -0
  131. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.d.ts +21 -0
  132. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.js +1 -0
  133. package/dist/src/components/organisms/DocumentListMenu/DocumentListMenuProps.types.ts +24 -0
  134. package/dist/src/components/organisms/DocumentListMenu/index.d.ts +2 -0
  135. package/dist/src/components/organisms/DocumentListMenu/index.js +1 -0
  136. package/dist/src/components/organisms/DocumentListMenu/index.ts +2 -0
  137. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.d.ts +3 -0
  138. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.js +11 -0
  139. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.d.ts +1 -0
  140. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.js +97 -0
  141. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.styled.ts +98 -0
  142. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenu.tsx +59 -0
  143. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.d.ts +22 -0
  144. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.js +1 -0
  145. package/dist/src/components/organisms/DocumentMainMenu/DocumentMainMenuProps.types.ts +25 -0
  146. package/dist/src/components/organisms/DocumentMainMenu/index.d.ts +2 -0
  147. package/dist/src/components/organisms/DocumentMainMenu/index.js +1 -0
  148. package/dist/src/components/organisms/DocumentMainMenu/index.ts +2 -0
  149. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.d.ts +4 -0
  150. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.js +7 -0
  151. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.d.ts +1 -0
  152. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.js +27 -0
  153. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.styled.ts +28 -0
  154. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenu.tsx +21 -0
  155. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.d.ts +7 -0
  156. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.js +1 -0
  157. package/dist/src/components/organisms/DocumentSubMenu/DocumentSubMenuProps.types.ts +8 -0
  158. package/dist/src/components/organisms/DocumentSubMenu/index.d.ts +2 -0
  159. package/dist/src/components/organisms/DocumentSubMenu/index.js +1 -0
  160. package/dist/src/components/organisms/DocumentSubMenu/index.ts +2 -0
  161. package/dist/src/components/organisms/MenuItems/MenuItems.d.ts +3 -0
  162. package/dist/src/components/organisms/MenuItems/MenuItems.js +9 -0
  163. package/dist/src/components/{atoms → organisms}/MenuItems/MenuItems.styled.d.ts +1 -1
  164. package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +692 -0
  165. package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +696 -0
  166. package/dist/src/components/organisms/MenuItems/MenuItems.tsx +74 -0
  167. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.d.ts +45 -0
  168. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.js +1 -0
  169. package/dist/src/components/organisms/MenuItems/MenuItemsProps.types.ts +46 -0
  170. package/dist/src/components/organisms/MenuItems/index.d.ts +2 -0
  171. package/dist/src/components/organisms/MenuItems/index.js +1 -0
  172. package/dist/src/components/organisms/MenuItems/index.ts +2 -0
  173. package/dist/src/components/organisms/NavMenu/NavMenu.d.ts +3 -0
  174. package/dist/src/components/organisms/NavMenu/NavMenu.js +10 -0
  175. package/dist/src/components/organisms/NavMenu/NavMenu.styled.d.ts +1 -0
  176. package/dist/src/components/organisms/NavMenu/NavMenu.styled.js +637 -0
  177. package/dist/src/components/organisms/NavMenu/NavMenu.styled.ts +641 -0
  178. package/dist/src/components/organisms/NavMenu/NavMenu.tsx +121 -0
  179. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.d.ts +80 -0
  180. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.js +1 -0
  181. package/dist/src/components/organisms/NavMenu/NavMenuProps.types.ts +82 -0
  182. package/dist/src/components/organisms/NavMenu/index.d.ts +2 -0
  183. package/dist/src/components/organisms/NavMenu/index.js +1 -0
  184. package/dist/src/components/organisms/NavMenu/index.ts +2 -0
  185. package/dist/src/components/organisms/index.d.ts +4 -0
  186. package/dist/src/components/organisms/index.js +4 -0
  187. package/dist/src/components/organisms/index.ts +4 -0
  188. package/dist/src/components/sections/Header/Header.d.ts +4 -0
  189. package/dist/src/components/sections/Header/Header.js +11 -0
  190. package/dist/src/components/sections/Header/Header.styled.d.ts +1 -0
  191. package/dist/src/components/sections/Header/Header.styled.js +137 -0
  192. package/dist/src/components/sections/Header/Header.styled.ts +138 -0
  193. package/dist/src/components/sections/Header/Header.tsx +28 -0
  194. package/dist/src/components/sections/Header/HeaderProps.types.d.ts +97 -0
  195. package/dist/src/components/sections/Header/HeaderProps.types.js +1 -0
  196. package/dist/src/components/sections/Header/HeaderProps.types.ts +101 -0
  197. package/dist/src/components/sections/Header/index.d.ts +2 -0
  198. package/dist/src/components/sections/Header/index.js +1 -0
  199. package/dist/src/components/sections/Header/index.ts +2 -0
  200. package/dist/src/components/sections/index.d.ts +1 -0
  201. package/dist/src/components/sections/index.js +1 -0
  202. package/dist/src/components/sections/index.ts +1 -0
  203. package/dist/src/hooks/useWindowSize.d.ts +6 -0
  204. package/dist/src/hooks/useWindowSize.js +43 -0
  205. package/dist/src/hooks/useWindowSize.tsx +51 -0
  206. package/dist/tsconfig.build.tsbuildinfo +1 -1
  207. package/package.json +2 -1
  208. package/dist/images/componentsSvg/InfoLocationSvg.d.ts +0 -2
  209. package/dist/images/componentsSvg/InfoLocationSvg.js +0 -4
  210. package/dist/images/componentsSvg/InfoLocationSvg.tsx +0 -14
  211. package/dist/images/componentsSvg/InfoMailSvg.d.ts +0 -2
  212. package/dist/images/componentsSvg/InfoMailSvg.js +0 -4
  213. package/dist/images/componentsSvg/InfoMailSvg.tsx +0 -12
  214. package/dist/images/componentsSvg/InfoPhoneSvg.d.ts +0 -2
  215. package/dist/images/componentsSvg/InfoPhoneSvg.js +0 -4
  216. package/dist/images/componentsSvg/InfoPhoneSvg.tsx +0 -12
  217. package/dist/src/components/atoms/MenuItems/MenuItems.d.ts +0 -4
  218. package/dist/src/components/atoms/MenuItems/index.d.ts +0 -2
  219. package/dist/src/components/atoms/MenuItems/index.js +0 -1
  220. package/dist/src/components/atoms/MenuItems/index.ts +0 -2
  221. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.d.ts +0 -7
  222. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +0 -10
  223. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +0 -1
  224. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +0 -49
  225. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +0 -50
  226. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +0 -22
  227. package/dist/src/components/atoms/TopBarMobile/index.d.ts +0 -1
  228. package/dist/src/components/atoms/TopBarMobile/index.js +0 -1
  229. package/dist/src/components/atoms/TopBarMobile/index.ts +0 -1
  230. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.d.ts +0 -3
  231. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.js +0 -6
  232. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.d.ts +0 -1
  233. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.js +0 -22
  234. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.ts +0 -23
  235. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.tsx +0 -15
  236. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.d.ts +0 -4
  237. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.ts +0 -4
  238. package/dist/src/components/molecules/ContactInfoBox/index.d.ts +0 -2
  239. package/dist/src/components/molecules/ContactInfoBox/index.js +0 -1
  240. package/dist/src/components/molecules/ContactInfoBox/index.ts +0 -2
  241. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.d.ts +0 -3
  242. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.js +0 -13
  243. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.js +0 -43
  244. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.ts +0 -44
  245. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.tsx +0 -38
  246. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.d.ts +0 -6
  247. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.ts +0 -7
  248. package/dist/src/components/molecules/ContactInfoCard/index.d.ts +0 -2
  249. package/dist/src/components/molecules/ContactInfoCard/index.js +0 -2
  250. package/dist/src/components/molecules/ContactInfoCard/index.ts +0 -2
  251. /package/dist/src/components/atoms/{MenuItems/MenuItemProps.types.js → MenuItemsDeprecated/MenuItemsDeprecatedProps.types.js} +0 -0
  252. /package/dist/src/components/molecules/{ContactInfoBox/ContactInfoBoxProps.types.js → AllTypeDocumentsItemMenu/AllTypeDocumentsItemMenuProps.types.js} +0 -0
  253. /package/dist/src/components/molecules/{ContactInfoCard/ContactInfoCardProps.js → DocumentListMenuSection/DocumentListMenuSectionProps.types.js} +0 -0
@@ -0,0 +1,2 @@
1
+ export { MenuSectionTitle } from './MenuSectionTitle'
2
+ export { type MenuSectionTitleProps } from './MenuSectionTitleProps.types'
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
4
  import { useEffect } from 'react';
5
- import { MenuItems } from '../../atoms';
5
+ import { MenuItemsDeprecated } from '../../atoms';
6
6
  import { NavBarDropDownStyled } from './NavBarDropDown.styled';
7
7
  import { useIntersectionObserver } from '../../../hooks';
8
8
  let scrollPosition = 0;
@@ -63,5 +63,5 @@ export const NavBarDropDown = ({ isOpen, list, hasBullets = true, initialActiveC
63
63
  useEffect(() => {
64
64
  setEnableScrollbarOnClose(() => enableScrollbarOnClose);
65
65
  }, []);
66
- return (_jsx(_Fragment, { children: isOpen ? (_jsxs(NavBarDropDownStyled, { className: 'navbar-drop-down__container', children: [_jsx("div", { className: 'navbar-drop-down__container__menu_items', children: _jsx(MenuItems, { list: list, hasBullets: hasBullets, initialActiveContent: initialActiveContent }) }), _jsx("div", { ref: ref, className: 'navbar-drop-down__container__shadow', onClick: closeMenu })] })) : null }));
66
+ return (_jsx(_Fragment, { children: isOpen ? (_jsxs(NavBarDropDownStyled, { className: 'navbar-drop-down__container', children: [_jsx("div", { className: 'navbar-drop-down__container__menu_items', children: _jsx(MenuItemsDeprecated, { list: list, hasBullets: hasBullets, initialActiveContent: initialActiveContent }) }), _jsx("div", { ref: ref, className: 'navbar-drop-down__container__shadow', onClick: closeMenu })] })) : null }));
67
67
  };
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
3
  import React, { type FC, useEffect } from 'react'
4
- import { MenuItems } from '../../atoms'
4
+ import { MenuItemsDeprecated } from '../../atoms'
5
5
  import { type NavBarDropDownProps } from './NavBarDropDownProps.types'
6
6
  import { NavBarDropDownStyled } from './NavBarDropDown.styled'
7
7
  import { useIntersectionObserver } from '../../../hooks'
@@ -87,7 +87,7 @@ export const NavBarDropDown: FC<NavBarDropDownProps> = ({
87
87
  {isOpen ? (
88
88
  <NavBarDropDownStyled className='navbar-drop-down__container'>
89
89
  <div className='navbar-drop-down__container__menu_items'>
90
- <MenuItems list={list} hasBullets={hasBullets} initialActiveContent={initialActiveContent} />
90
+ <MenuItemsDeprecated list={list} hasBullets={hasBullets} initialActiveContent={initialActiveContent} />
91
91
  </div>
92
92
  <div ref={ref} className='navbar-drop-down__container__shadow' onClick={closeMenu}></div>
93
93
  </NavBarDropDownStyled>
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type NavMobileContactBarProps } from './NavMobileContactBarProps.types';
3
+ declare const NavMobileContactBar: React.FC<NavMobileContactBarProps>;
4
+ export default NavMobileContactBar;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button } from '../../atoms/Button';
3
+ import { NavMobileContactBarStyled } from './NavMobileContactBar.styled';
4
+ const NavMobileContactBar = ({ phone, schedule }) => {
5
+ return (_jsxs(NavMobileContactBarStyled, { className: 'nav-mobile-contact-bar', children: [_jsx(Button, { centered: true, isExternal: true, link: `tel:${phone}`, gtmTag: 'clicked_phone_menu', givenClass: 'nav-mobile-contact-bar_phone e-button e-button--link e-button--primary-1 e-button--center', label: phone, dataQa: 'nav_mobile_contact_phone' }), schedule && _jsx("p", { className: 'nav-mobile-contact-bar_schedule', children: schedule })] }));
6
+ };
7
+ export default NavMobileContactBar;
@@ -0,0 +1 @@
1
+ export declare const NavMobileContactBarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,34 @@
1
+ import phoneIconSvg from '../../../../images/svg/icon-web-24px.svg';
2
+ import styled from 'styled-components';
3
+ export const NavMobileContactBarStyled = styled.div `
4
+ display: flex;
5
+ flex-flow: column;
6
+ border-top: 1px solid get-color(neutral, neutral-4);
7
+ padding: 1.5rem 0;
8
+ margin: 0 1.5rem;
9
+
10
+ &:last-child {
11
+ border-top: none;
12
+ padding-top: 0px;
13
+ }
14
+
15
+ .nav-mobile-contact-bar_phone {
16
+ display: flex;
17
+ justify-content: center;
18
+ width: 100%;
19
+
20
+ &:before {
21
+ content: '';
22
+ width: 20px;
23
+ height: 20px;
24
+ background: url(${phoneIconSvg}) no-repeat center center / contain;
25
+ margin-right: 0.5rem;
26
+ }
27
+ }
28
+
29
+ .nav-mobile-contact-bar_schedule {
30
+ color: get-color(neutral, neutral-2);
31
+ text-align: center;
32
+ margin: 0.5rem auto;
33
+ }
34
+ `;
@@ -0,0 +1,35 @@
1
+ import phoneIconSvg from '../../../../images/svg/icon-web-24px.svg'
2
+ import styled from 'styled-components'
3
+
4
+ export const NavMobileContactBarStyled = styled.div`
5
+ display: flex;
6
+ flex-flow: column;
7
+ border-top: 1px solid get-color(neutral, neutral-4);
8
+ padding: 1.5rem 0;
9
+ margin: 0 1.5rem;
10
+
11
+ &:last-child {
12
+ border-top: none;
13
+ padding-top: 0px;
14
+ }
15
+
16
+ .nav-mobile-contact-bar_phone {
17
+ display: flex;
18
+ justify-content: center;
19
+ width: 100%;
20
+
21
+ &:before {
22
+ content: '';
23
+ width: 20px;
24
+ height: 20px;
25
+ background: url(${phoneIconSvg}) no-repeat center center / contain;
26
+ margin-right: 0.5rem;
27
+ }
28
+ }
29
+
30
+ .nav-mobile-contact-bar_schedule {
31
+ color: get-color(neutral, neutral-2);
32
+ text-align: center;
33
+ margin: 0.5rem auto;
34
+ }
35
+ `
@@ -0,0 +1,23 @@
1
+ import { Button } from '../../atoms/Button'
2
+ import React from 'react'
3
+
4
+ import { type NavMobileContactBarProps } from './NavMobileContactBarProps.types'
5
+ import { NavMobileContactBarStyled } from './NavMobileContactBar.styled'
6
+ const NavMobileContactBar: React.FC<NavMobileContactBarProps> = ({ phone, schedule }) => {
7
+ return (
8
+ <NavMobileContactBarStyled className='nav-mobile-contact-bar'>
9
+ <Button
10
+ centered
11
+ isExternal
12
+ link={`tel:${phone}`}
13
+ gtmTag='clicked_phone_menu'
14
+ givenClass='nav-mobile-contact-bar_phone e-button e-button--link e-button--primary-1 e-button--center'
15
+ label={phone}
16
+ dataQa={'nav_mobile_contact_phone'}
17
+ />
18
+ {schedule && <p className='nav-mobile-contact-bar_schedule'>{schedule}</p>}
19
+ </NavMobileContactBarStyled>
20
+ )
21
+ }
22
+
23
+ export default NavMobileContactBar
@@ -0,0 +1,4 @@
1
+ export interface NavMobileContactBarProps {
2
+ phone: string;
3
+ schedule?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface NavMobileContactBarProps {
2
+ phone: string
3
+ schedule?: string
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as NavMobileContactBar } from './NavMobileContactBar';
2
+ export { type NavMobileContactBarProps } from './NavMobileContactBarProps.types';
@@ -0,0 +1 @@
1
+ export { default as NavMobileContactBar } from './NavMobileContactBar';
@@ -0,0 +1,2 @@
1
+ export { default as NavMobileContactBar } from './NavMobileContactBar'
2
+ export { type NavMobileContactBarProps } from './NavMobileContactBarProps.types'
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type ProductListMenuProps } from './ProductListMenuProps.types';
3
+ export declare const ProductListMenu: React.FC<ProductListMenuProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ProductListMenuStyled } from './ProductListMenu.styled';
3
+ export const ProductListMenu = ({ slug, linkText, categoryUrl, routes, setCookiePolicyFunc }) => {
4
+ return (_jsx(ProductListMenuStyled, { className: 'products__list__section__li', children: _jsx("a", { title: linkText, "data-qa": `${slug}_Document_List`, onClick: () => setCookiePolicyFunc, href: routes.CUSTOM_URL_FROM_TARGET_ADDRESS(categoryUrl ? `${categoryUrl}/${slug}` : slug), children: linkText }) }));
5
+ };
@@ -0,0 +1 @@
1
+ export declare const ProductListMenuStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
@@ -0,0 +1,18 @@
1
+ import styled from 'styled-components';
2
+ export const ProductListMenuStyled = styled.li `
3
+ list-style: none;
4
+ margin-top: 1rem;
5
+ padding: 0.25rem 1.5rem 0.25rem 1.5rem;
6
+
7
+ &.all-item {
8
+ font-weight: bold;
9
+ }
10
+
11
+ &:last-child {
12
+ margin-bottom: 1.5rem;
13
+ }
14
+
15
+ &:hover {
16
+ background-color: var(--primary-main-light-5);
17
+ }
18
+ `;
@@ -0,0 +1,19 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const ProductListMenuStyled = styled.li`
4
+ list-style: none;
5
+ margin-top: 1rem;
6
+ padding: 0.25rem 1.5rem 0.25rem 1.5rem;
7
+
8
+ &.all-item {
9
+ font-weight: bold;
10
+ }
11
+
12
+ &:last-child {
13
+ margin-bottom: 1.5rem;
14
+ }
15
+
16
+ &:hover {
17
+ background-color: var(--primary-main-light-5);
18
+ }
19
+ `
@@ -0,0 +1,25 @@
1
+ import React from 'react'
2
+
3
+ import { type ProductListMenuProps } from './ProductListMenuProps.types'
4
+ import { ProductListMenuStyled } from './ProductListMenu.styled'
5
+
6
+ export const ProductListMenu: React.FC<ProductListMenuProps> = ({
7
+ slug,
8
+ linkText,
9
+ categoryUrl,
10
+ routes,
11
+ setCookiePolicyFunc
12
+ }) => {
13
+ return (
14
+ <ProductListMenuStyled className='products__list__section__li'>
15
+ <a
16
+ title={linkText}
17
+ data-qa={`${slug}_Document_List`}
18
+ onClick={() => setCookiePolicyFunc}
19
+ href={routes.CUSTOM_URL_FROM_TARGET_ADDRESS(categoryUrl ? `${categoryUrl}/${slug}` : slug)}
20
+ >
21
+ {linkText}
22
+ </a>
23
+ </ProductListMenuStyled>
24
+ )
25
+ }
@@ -0,0 +1,8 @@
1
+ import { Routes } from '../../sections/Header/HeaderProps.types';
2
+ export interface ProductListMenuProps {
3
+ slug: string;
4
+ linkText: string;
5
+ categoryUrl?: string;
6
+ routes: Routes;
7
+ setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { Routes } from '../../sections/Header/HeaderProps.types'
2
+
3
+ export interface ProductListMenuProps {
4
+ slug: string
5
+ linkText: string
6
+ categoryUrl?: string
7
+ routes: Routes
8
+ setCookiePolicyFunc: (url?: string, setCookiePolicyAccepted?: boolean) => void
9
+ }
@@ -0,0 +1,2 @@
1
+ export { ProductListMenu } from './ProductListMenu';
2
+ export { type ProductListMenuProps } from './ProductListMenuProps.types';
@@ -0,0 +1 @@
1
+ export { ProductListMenu } from './ProductListMenu';
@@ -0,0 +1,2 @@
1
+ export { ProductListMenu } from './ProductListMenu'
2
+ export { type ProductListMenuProps } from './ProductListMenuProps.types'
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type SearchBarProps } from './SearchBarProps.types';
3
+ export declare const SearchBar: React.FC<SearchBarProps>;
@@ -0,0 +1,33 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { DropdownInput } from '../../atoms/DropdownInput/DropdownInput';
4
+ import { SearchIcon } from '../../../../images/componentsSvg/SearchIcon';
5
+ import { useWindowSize } from '../../../hooks/useWindowSize';
6
+ import { SearchBarStyled } from './SearchBar.styled';
7
+ export const SearchBar = ({ products, searchBarTexts, routes, handleResultClick }) => {
8
+ const [results, setResults] = useState([]);
9
+ const windowSize = useWindowSize();
10
+ const _placeholder = windowSize.width === null || windowSize.width >= 720 ? '' : searchBarTexts.placeholder;
11
+ const searchFunction = (text) => {
12
+ const searchTerm = text.toLowerCase();
13
+ const productsFiltered = products.filter((item) => item.linkText.toLowerCase().includes(searchTerm));
14
+ const results = productsFiltered
15
+ .map((item) => {
16
+ const product = item.linkText;
17
+ const preMatch = product.slice(0, product.toLowerCase().indexOf(searchTerm));
18
+ const match = product.slice(product.toLowerCase().indexOf(searchTerm), preMatch.length + searchTerm.length);
19
+ const postMatch = product.slice(product.toLowerCase().indexOf(searchTerm) + searchTerm.length, product.length);
20
+ const link = item.categoryUrl ? `${item.categoryUrl}/${item.slug}` : item.slug;
21
+ return (_jsx("li", { className: 'dropdown_input__item', children: _jsxs("a", { href: routes.CUSTOM_URL_FROM_TARGET_ADDRESS(link), className: 'dropdown_input__link', onClick: (e) => {
22
+ e.preventDefault();
23
+ handleResultClick(product, routes.CUSTOM_URL_FROM_TARGET_ADDRESS(link));
24
+ }, title: product, children: [preMatch, _jsx("strong", { className: 'dropdown_input__link__emphasis', children: match }), postMatch] }, item.linkText) }, searchBarTexts.title));
25
+ })
26
+ .slice(0, 9);
27
+ results.push(_jsx("li", { className: 'dropdown_input__item', children: _jsx("a", { className: 'dropdown_input__link--all', title: searchBarTexts.title, href: routes.LEGAL_DOCUMENTS, children: searchBarTexts.title }) }, searchBarTexts.title));
28
+ setResults(results);
29
+ };
30
+ return (_jsx(SearchBarStyled, { children: _jsx(DropdownInput, { name: 'search', className: 'search', placeholder: _placeholder, icon: _jsx(SearchIcon, {}), onChange: (text) => {
31
+ searchFunction(text);
32
+ }, results: results }) }));
33
+ };
@@ -0,0 +1 @@
1
+ export declare const SearchBarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,62 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const SearchBarStyled = styled.div `
4
+ .dropdown_input {
5
+ .search {
6
+ width: calc(100% - 3rem);
7
+ margin: 0 1.5rem;
8
+
9
+ @media ${device['landscape-tablets']} {
10
+ display: none;
11
+ }
12
+
13
+ @media ${device['landscape-tablets']} {
14
+ display: block;
15
+ width: 10rem;
16
+ margin: 0 1.5rem 0 0;
17
+ }
18
+
19
+ @media ${device['desktop']} {
20
+ width: 14rem;
21
+ }
22
+
23
+ .dropdown_input__results {
24
+ transition: all 0.25s;
25
+ min-width: 100%;
26
+ width: max-content;
27
+ }
28
+
29
+ .dropdown_input__link {
30
+ color: var(--neutral-neutral-3);
31
+ animation: newLine 0.5s;
32
+
33
+ &:hover {
34
+ color: var(--others-black);
35
+ }
36
+
37
+ &__emphasis {
38
+ font-style: normal;
39
+ font-weight: normal;
40
+ color: var(--others-black);
41
+ }
42
+
43
+ &--all {
44
+ font-weight: bold;
45
+ animation: none;
46
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ @keyframes newLine {
52
+ 0% {
53
+ opacity: 0;
54
+ line-height: 0rem;
55
+ }
56
+
57
+ 100% {
58
+ opacity: 1;
59
+ line-height: 1.5rem;
60
+ }
61
+ }
62
+ `;
@@ -0,0 +1,63 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const SearchBarStyled = styled.div`
5
+ .dropdown_input {
6
+ .search {
7
+ width: calc(100% - 3rem);
8
+ margin: 0 1.5rem;
9
+
10
+ @media ${device['landscape-tablets']} {
11
+ display: none;
12
+ }
13
+
14
+ @media ${device['landscape-tablets']} {
15
+ display: block;
16
+ width: 10rem;
17
+ margin: 0 1.5rem 0 0;
18
+ }
19
+
20
+ @media ${device['desktop']} {
21
+ width: 14rem;
22
+ }
23
+
24
+ .dropdown_input__results {
25
+ transition: all 0.25s;
26
+ min-width: 100%;
27
+ width: max-content;
28
+ }
29
+
30
+ .dropdown_input__link {
31
+ color: var(--neutral-neutral-3);
32
+ animation: newLine 0.5s;
33
+
34
+ &:hover {
35
+ color: var(--others-black);
36
+ }
37
+
38
+ &__emphasis {
39
+ font-style: normal;
40
+ font-weight: normal;
41
+ color: var(--others-black);
42
+ }
43
+
44
+ &--all {
45
+ font-weight: bold;
46
+ animation: none;
47
+ }
48
+ }
49
+ }
50
+ }
51
+
52
+ @keyframes newLine {
53
+ 0% {
54
+ opacity: 0;
55
+ line-height: 0rem;
56
+ }
57
+
58
+ 100% {
59
+ opacity: 1;
60
+ line-height: 1.5rem;
61
+ }
62
+ }
63
+ `
@@ -0,0 +1,72 @@
1
+ import React, { useState } from 'react'
2
+
3
+ import { DropdownInput } from '../../atoms/DropdownInput/DropdownInput'
4
+ import { SearchIcon } from '../../../../images/componentsSvg/SearchIcon'
5
+ import { useWindowSize } from '../../../hooks/useWindowSize'
6
+
7
+ import { type SearchBarProps } from './SearchBarProps.types'
8
+ import { SearchBarStyled } from './SearchBar.styled'
9
+
10
+ export const SearchBar: React.FC<SearchBarProps> = ({ products, searchBarTexts, routes, handleResultClick }) => {
11
+ const [results, setResults] = useState<React.JSX.Element[]>([])
12
+
13
+ const windowSize = useWindowSize()
14
+ const _placeholder = windowSize.width === null || windowSize.width >= 720 ? '' : searchBarTexts.placeholder
15
+ const searchFunction = (text: string): void => {
16
+ const searchTerm = text.toLowerCase()
17
+
18
+ const productsFiltered = products.filter((item) => item.linkText.toLowerCase().includes(searchTerm))
19
+ const results = productsFiltered
20
+ .map((item) => {
21
+ const product = item.linkText
22
+ const preMatch = product.slice(0, product.toLowerCase().indexOf(searchTerm))
23
+ const match = product.slice(product.toLowerCase().indexOf(searchTerm), preMatch.length + searchTerm.length)
24
+ const postMatch = product.slice(product.toLowerCase().indexOf(searchTerm) + searchTerm.length, product.length)
25
+ const link = item.categoryUrl ? `${item.categoryUrl}/${item.slug}` : item.slug
26
+ return (
27
+ <li key={searchBarTexts.title} className='dropdown_input__item'>
28
+ <a
29
+ href={routes.CUSTOM_URL_FROM_TARGET_ADDRESS(link)}
30
+ className='dropdown_input__link'
31
+ key={item.linkText}
32
+ onClick={(e) => {
33
+ e.preventDefault()
34
+ handleResultClick(product, routes.CUSTOM_URL_FROM_TARGET_ADDRESS(link))
35
+ }}
36
+ title={product}
37
+ >
38
+ {preMatch}
39
+ <strong className='dropdown_input__link__emphasis'>{match}</strong>
40
+ {postMatch}
41
+ </a>
42
+ </li>
43
+ )
44
+ })
45
+ .slice(0, 9)
46
+
47
+ results.push(
48
+ <li key={searchBarTexts.title} className='dropdown_input__item'>
49
+ <a className='dropdown_input__link--all' title={searchBarTexts.title} href={routes.LEGAL_DOCUMENTS}>
50
+ {searchBarTexts.title}
51
+ </a>
52
+ </li>
53
+ )
54
+
55
+ setResults(results)
56
+ }
57
+
58
+ return (
59
+ <SearchBarStyled>
60
+ <DropdownInput
61
+ name='search'
62
+ className='search'
63
+ placeholder={_placeholder}
64
+ icon={<SearchIcon />}
65
+ onChange={(text: string) => {
66
+ searchFunction(text)
67
+ }}
68
+ results={results}
69
+ />
70
+ </SearchBarStyled>
71
+ )
72
+ }
@@ -0,0 +1,37 @@
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
+ SIGN_EDITOR: string;
31
+ }
32
+ export interface SearchBarProps {
33
+ products: Products[];
34
+ searchBarTexts: StrapiSearchBar;
35
+ routes: Routes;
36
+ handleResultClick: (product: string, link: string) => void;
37
+ }
@@ -0,0 +1,41 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ export { SearchBar } from './SearchBar';
2
+ export { type SearchBarProps } from './SearchBarProps.types';
@@ -0,0 +1 @@
1
+ export { SearchBar } from './SearchBar';
@@ -0,0 +1,2 @@
1
+ export { SearchBar } from './SearchBar'
2
+ export { type SearchBarProps } from './SearchBarProps.types'
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { MenuItems, Tooltip } from '../../atoms';
2
+ import { MenuItemsDeprecated, Tooltip } from '../../atoms';
3
3
  import { MenuCollapse24p } from '../../../../images/componentsSvg/MenuCollapse24p';
4
4
  // import './TooltipMenu.scss'
5
5
  const TooltipMenu = ({ options, onClick, label }) => {
6
- const menu = _jsx(MenuItems, { list: options });
6
+ const menu = _jsx(MenuItemsDeprecated, { list: options });
7
7
  return (_jsx(Tooltip, { content: menu, allowHTML: true, interactive: true, position: 'bottom', trigger: 'click', children: _jsxs("div", { className: 'tooltip-menu__item', onClick: onClick, children: [_jsx(MenuCollapse24p, {}), _jsx("span", { className: 'actions-span sans-serif --extra-small', children: label })] }) }));
8
8
  };
9
9
  export default TooltipMenu;