frst-components 0.20.1 → 0.20.3

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 (559) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +651 -230
  4. package/dist/src/components/LXP/accordionTrack/accordionTrack.d.ts.map +1 -1
  5. package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts +1 -1
  6. package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts.map +1 -1
  7. package/dist/src/components/LXP/accordionTrack/contentCoursesTrails.d.ts.map +1 -1
  8. package/dist/src/components/LXP/thumbnails/thumbnails.d.ts +1 -1
  9. package/dist/src/components/LXP/thumbnails/thumbnails.d.ts.map +1 -1
  10. package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts +1 -1
  11. package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts.map +1 -1
  12. package/dist/src/components/emoji-picker/emojiPickerStyles.d.ts +9 -0
  13. package/dist/src/components/emoji-picker/emojiPickerStyles.d.ts.map +1 -0
  14. package/dist/src/components/emoji-picker/index.d.ts +7 -1
  15. package/dist/src/components/emoji-picker/index.d.ts.map +1 -1
  16. package/dist/src/components/input-comment-v2/index.d.ts +5 -0
  17. package/dist/src/components/input-comment-v2/index.d.ts.map +1 -0
  18. package/dist/src/components/input-comment-v2/inputCommentStyles.d.ts +18 -0
  19. package/dist/src/components/input-comment-v2/inputCommentStyles.d.ts.map +1 -0
  20. package/dist/src/components/modal/modalLXP/Modal.d.ts +4 -0
  21. package/dist/src/components/modal/modalLXP/Modal.d.ts.map +1 -0
  22. package/package.json +2 -5
  23. package/src/components/DS/loading/index.tsx +0 -70
  24. package/src/components/DS/loading/loading.stories.tsx +0 -31
  25. package/src/components/DS/loading/loadingStyle.ts +0 -40
  26. package/src/components/DS/modal/index.stories.tsx +0 -25
  27. package/src/components/DS/modal/index.tsx +0 -100
  28. package/src/components/DS/modal/styles.ts +0 -101
  29. package/src/components/DS/select/Select.tsx +0 -101
  30. package/src/components/DS/select/SelectContext.tsx +0 -9
  31. package/src/components/DS/select/SelectItem.tsx +0 -69
  32. package/src/components/DS/select/index.tsx +0 -18
  33. package/src/components/DS/select/select.stories.tsx +0 -20
  34. package/src/components/DS/select/styles/StylesSelect.tsx +0 -100
  35. package/src/components/DS/tooltip/index.stories.tsx +0 -24
  36. package/src/components/DS/tooltip/index.tsx +0 -81
  37. package/src/components/DS/tooltip/styles.ts +0 -155
  38. package/src/components/DS/tooltip/types.d.ts +0 -21
  39. package/src/components/EBR/buttons-group/index.d.ts +0 -4
  40. package/src/components/EBR/buttons-group/index.stories.tsx +0 -23
  41. package/src/components/EBR/buttons-group/index.tsx +0 -31
  42. package/src/components/EBR/buttons-group/styles.ts +0 -7
  43. package/src/components/EBR/group-statistics/groupStatistics.d.ts +0 -6
  44. package/src/components/EBR/group-statistics/groupStatistics.stories.tsx +0 -89
  45. package/src/components/EBR/group-statistics/groupStatisticsStyles.ts +0 -63
  46. package/src/components/EBR/group-statistics/index.tsx +0 -85
  47. package/src/components/EBR/objective-step/index.tsx +0 -18
  48. package/src/components/EBR/objective-step/objectiveStep.d.ts +0 -5
  49. package/src/components/EBR/objective-step/objectiveStep.stories.tsx +0 -24
  50. package/src/components/EBR/objective-step/objectiveStepStyles.ts +0 -42
  51. package/src/components/EBR/rating/index.tsx +0 -97
  52. package/src/components/EBR/rating/rating.d.ts +0 -42
  53. package/src/components/EBR/rating/rating.stories.tsx +0 -24
  54. package/src/components/EBR/rating/ratingStyles.ts +0 -25
  55. package/src/components/EBR/specialist-contact/index.tsx +0 -40
  56. package/src/components/EBR/specialist-contact/specialistContact.d.ts +0 -13
  57. package/src/components/EBR/specialist-contact/specialistContact.stories.tsx +0 -26
  58. package/src/components/EBR/specialist-contact/specialistContactStyles.ts +0 -93
  59. package/src/components/EBR/stepper/index.d.ts +0 -29
  60. package/src/components/EBR/stepper/index.stories.tsx +0 -43
  61. package/src/components/EBR/stepper/index.tsx +0 -7
  62. package/src/components/EBR/stepper/stepper.tsx +0 -23
  63. package/src/components/EBR/stepper/stepperItem.tsx +0 -38
  64. package/src/components/EBR/stepper/styles.ts +0 -140
  65. package/src/components/EBR/trail-list/index.tsx +0 -82
  66. package/src/components/EBR/trail-list/trailList.d.ts +0 -6
  67. package/src/components/EBR/trail-list/trailList.stories.tsx +0 -59
  68. package/src/components/EBR/trail-list/trailListStyles.ts +0 -54
  69. package/src/components/FI/bannerProblemFeed/bannerProblemFeed.stories.tsx +0 -355
  70. package/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.ts +0 -128
  71. package/src/components/FI/bannerProblemFeed/index.tsx +0 -388
  72. package/src/components/FI/bannerSRG/bannerSRG.d.ts +0 -33
  73. package/src/components/FI/bannerSRG/bannerSRG.stories.tsx +0 -106
  74. package/src/components/FI/bannerSRG/bannerSRGStyle.ts +0 -226
  75. package/src/components/FI/bannerSRG/index.tsx +0 -93
  76. package/src/components/FI/feedInteraction/feedInteraction.stories.tsx +0 -219
  77. package/src/components/FI/feedInteraction/feedInteractionStyles.ts +0 -142
  78. package/src/components/FI/feedInteraction/index.tsx +0 -343
  79. package/src/components/FI/follow/follow.stories.tsx +0 -59
  80. package/src/components/FI/follow/followStyles.ts +0 -42
  81. package/src/components/FI/follow/index.tsx +0 -144
  82. package/src/components/FI/interactionsModal/InteractionsModal.stories.tsx +0 -123
  83. package/src/components/FI/interactionsModal/InteractionsModalStyles.ts +0 -164
  84. package/src/components/FI/interactionsModal/index.tsx +0 -106
  85. package/src/components/FI/interactionsModal/interactionsModal.d.ts +0 -23
  86. package/src/components/FI/notificationCard/index.tsx +0 -66
  87. package/src/components/FI/notificationCard/notificationCard.stories.tsx +0 -34
  88. package/src/components/FI/notificationCard/notificationCardStyles.ts +0 -41
  89. package/src/components/FI/notificationPopOver/index.tsx +0 -190
  90. package/src/components/FI/notificationPopOver/notificationPopOver.stories.tsx +0 -117
  91. package/src/components/FI/notificationPopOver/notificationPopOverStyles.ts +0 -109
  92. package/src/components/FI/postFeed/index.tsx +0 -188
  93. package/src/components/FI/postFeed/postFeed.stories.tsx +0 -313
  94. package/src/components/FI/postFeed/postFeedStyles.ts +0 -188
  95. package/src/components/FI/searchBox/SearchBox.stories.tsx +0 -34
  96. package/src/components/FI/searchBox/SearchBoxStyles.ts +0 -21
  97. package/src/components/FI/searchBox/index.tsx +0 -25
  98. package/src/components/FI/searchBox/searchBox.d.ts +0 -11
  99. package/src/components/FI/sessionFilters/index.tsx +0 -160
  100. package/src/components/FI/sessionFilters/sessionFilters.d.ts +0 -35
  101. package/src/components/FI/sessionFilters/sessionFilters.stories.tsx +0 -74
  102. package/src/components/FI/sessionFilters/sessionFiltersStyle.ts +0 -86
  103. package/src/components/FI/smallSRGBanner/index.tsx +0 -24
  104. package/src/components/FI/smallSRGBanner/smallSRGBanner.stories.tsx +0 -19
  105. package/src/components/FI/smallSRGBanner/smallSRGBannerStyles.ts +0 -34
  106. package/src/components/IJ/ContentCycle/ContentCycle.d.ts +0 -56
  107. package/src/components/IJ/ContentCycle/ContentCycle.stories.tsx +0 -30
  108. package/src/components/IJ/ContentCycle/ContentCycleStyles.ts +0 -152
  109. package/src/components/IJ/ContentCycle/index.tsx +0 -85
  110. package/src/components/IJ/ListContentCycle/ListContentCycle.d.ts +0 -33
  111. package/src/components/IJ/ListContentCycle/ListContentCycle.stories.tsx +0 -77
  112. package/src/components/IJ/ListContentCycle/ListContentCycleStyles.ts +0 -10
  113. package/src/components/IJ/ListContentCycle/index.tsx +0 -35
  114. package/src/components/IJ/StepLearningCycle/StepLearningCycle.d.ts +0 -39
  115. package/src/components/IJ/StepLearningCycle/StepLearningCycle.stories.tsx +0 -24
  116. package/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.ts +0 -93
  117. package/src/components/IJ/StepLearningCycle/index.tsx +0 -153
  118. package/src/components/IJ/favorite/favorite.stories.tsx +0 -19
  119. package/src/components/IJ/favorite/favoriteStyles.ts +0 -15
  120. package/src/components/IJ/favorite/index.tsx +0 -44
  121. package/src/components/IJ/learningCycleCard/components/menu/index.tsx +0 -92
  122. package/src/components/IJ/learningCycleCard/components/menu/menuStyle.ts +0 -27
  123. package/src/components/IJ/learningCycleCard/index.tsx +0 -93
  124. package/src/components/IJ/learningCycleCard/learningCycleCard.d.ts +0 -28
  125. package/src/components/IJ/learningCycleCard/learningCycleCard.stories.tsx +0 -229
  126. package/src/components/IJ/learningCycleCard/learningCycleCardStyle.ts +0 -173
  127. package/src/components/IJ/listSelector/index.tsx +0 -85
  128. package/src/components/IJ/listSelector/listSelector.stories.tsx +0 -64
  129. package/src/components/IJ/listSelector/listSelectorStyles.ts +0 -49
  130. package/src/components/IJ/pagination/index.tsx +0 -155
  131. package/src/components/IJ/pagination/pagination.stories.tsx +0 -112
  132. package/src/components/IJ/pagination/paginationStyles.ts +0 -61
  133. package/src/components/IJ/participantCard/index.tsx +0 -111
  134. package/src/components/IJ/participantCard/participantCard.d.ts +0 -24
  135. package/src/components/IJ/participantCard/participantCard.stories.tsx +0 -82
  136. package/src/components/IJ/participantCard/participantCardStyle.ts +0 -304
  137. package/src/components/IJ/participantCardOld/index.tsx +0 -108
  138. package/src/components/IJ/participantCardOld/participantCard.d.ts +0 -23
  139. package/src/components/IJ/participantCardOld/participantCard.stories.tsx +0 -34
  140. package/src/components/IJ/participantCardOld/participantCardStyle.ts +0 -218
  141. package/src/components/IJ/thumbListContent/index.tsx +0 -127
  142. package/src/components/IJ/thumbListContent/thumbListContent.stories.tsx +0 -130
  143. package/src/components/IJ/thumbListContent/thumbListContentStyles.ts +0 -196
  144. package/src/components/LXP/DropdownSelectMultiple/dropdownSelectMultiple.stories.tsx +0 -43
  145. package/src/components/LXP/DropdownSelectMultiple/index.tsx +0 -77
  146. package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectDemo.ts +0 -79
  147. package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectItems.css +0 -118
  148. package/src/components/LXP/DropdownSelectMultiple/styles/icons/DropdownChevron.png +0 -0
  149. package/src/components/LXP/DropdownSelectMultiple/styles/icons/close.png +0 -0
  150. package/src/components/LXP/DropdownSelectMultiple/styles/icons/vector.png +0 -0
  151. package/src/components/LXP/DropdownSelectMultiple/styles/primeflex.css +0 -20970
  152. package/src/components/LXP/DropdownSelectMultiple/styles/primereact.css +0 -6326
  153. package/src/components/LXP/DropdownSelectMultiple/styles/theme.css +0 -6515
  154. package/src/components/LXP/accordionTrack/IAccordionTrack.d.ts +0 -81
  155. package/src/components/LXP/accordionTrack/accordionTrack.stories.tsx +0 -305
  156. package/src/components/LXP/accordionTrack/accordionTrack.tsx +0 -402
  157. package/src/components/LXP/accordionTrack/accordionTrackList.tsx +0 -263
  158. package/src/components/LXP/accordionTrack/accordionTrackStyle.ts +0 -196
  159. package/src/components/LXP/accordionTrack/contentCourses.tsx +0 -9
  160. package/src/components/LXP/accordionTrack/contentCoursesTrails.tsx +0 -304
  161. package/src/components/LXP/accordionTrack/vectorDown.tsx +0 -26
  162. package/src/components/LXP/accordionTrack/vectorUp.tsx +0 -26
  163. package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.d.ts +0 -10
  164. package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.stories.tsx +0 -29
  165. package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.ts +0 -92
  166. package/src/components/LXP/avatarAssociatedChannel/index.tsx +0 -47
  167. package/src/components/LXP/avatarChannel/avatarChannel.d.ts +0 -13
  168. package/src/components/LXP/avatarChannel/avatarChannel.stories.tsx +0 -38
  169. package/src/components/LXP/avatarChannel/avatarChannelStyles.ts +0 -145
  170. package/src/components/LXP/avatarChannel/index.tsx +0 -112
  171. package/src/components/LXP/bannerLxp/bannerLxp.stories.tsx +0 -37
  172. package/src/components/LXP/bannerLxp/bannerLxp.tsx +0 -141
  173. package/src/components/LXP/bannerLxp/index.tsx +0 -270
  174. package/src/components/LXP/buttonContent/buttonContent.d.ts +0 -12
  175. package/src/components/LXP/buttonContent/buttonContent.stories.tsx +0 -23
  176. package/src/components/LXP/buttonContent/buttonContentStyle.ts +0 -63
  177. package/src/components/LXP/buttonContent/index.tsx +0 -16
  178. package/src/components/LXP/calendarLxp/calendar.css +0 -375
  179. package/src/components/LXP/calendarLxp/calendarLxp.module.css +0 -39
  180. package/src/components/LXP/calendarLxp/calendarLxp.stories.tsx +0 -19
  181. package/src/components/LXP/calendarLxp/defaultRanges.tsx +0 -99
  182. package/src/components/LXP/calendarLxp/index.tsx +0 -72
  183. package/src/components/LXP/cardLearningCicle/cardLearningCicle.d.ts +0 -16
  184. package/src/components/LXP/cardLearningCicle/cardLearningCicle.stories.tsx +0 -31
  185. package/src/components/LXP/cardLearningCicle/cardLearningCicleStyle.ts +0 -118
  186. package/src/components/LXP/cardLearningCicle/index.tsx +0 -129
  187. package/src/components/LXP/colorpicker/colorpicker.d.ts +0 -6
  188. package/src/components/LXP/colorpicker/colorpicker.stories.tsx +0 -18
  189. package/src/components/LXP/colorpicker/colorpickerStyles.ts +0 -46
  190. package/src/components/LXP/colorpicker/index.tsx +0 -30
  191. package/src/components/LXP/contentSwitcher/contentSwitcher.d.ts +0 -12
  192. package/src/components/LXP/contentSwitcher/contentSwitcher.stories.tsx +0 -26
  193. package/src/components/LXP/contentSwitcher/contentSwitcherStyle.ts +0 -92
  194. package/src/components/LXP/contentSwitcher/index.tsx +0 -33
  195. package/src/components/LXP/contentThumbnails/contentThumbnails.d.ts +0 -21
  196. package/src/components/LXP/contentThumbnails/contentThumbnails.stories.tsx +0 -106
  197. package/src/components/LXP/contentThumbnails/contentThumbnailsStyle.ts +0 -170
  198. package/src/components/LXP/contentThumbnails/index.tsx +0 -208
  199. package/src/components/LXP/contentThumbnails/vectorDown.tsx +0 -26
  200. package/src/components/LXP/contentThumbnails/vectorEllipse.tsx +0 -38
  201. package/src/components/LXP/contentThumbnails/vectorUp.tsx +0 -26
  202. package/src/components/LXP/extraContent/adminExtraContent.tsx +0 -127
  203. package/src/components/LXP/extraContent/extraContent.d.ts +0 -42
  204. package/src/components/LXP/extraContent/extraContent.module.css +0 -24
  205. package/src/components/LXP/extraContent/extraContent.stories.tsx +0 -96
  206. package/src/components/LXP/extraContent/index.tsx +0 -27
  207. package/src/components/LXP/extraContent/richTextEditor/components.tsx +0 -194
  208. package/src/components/LXP/extraContent/richTextEditor/index.tsx +0 -262
  209. package/src/components/LXP/extraContent/studentExtraContent.tsx +0 -160
  210. package/src/components/LXP/fileUpload/FileUpload.d.ts +0 -14
  211. package/src/components/LXP/fileUpload/FileUpload.stories.tsx +0 -29
  212. package/src/components/LXP/fileUpload/fileUploadStyles.ts +0 -86
  213. package/src/components/LXP/fileUpload/index.tsx +0 -51
  214. package/src/components/LXP/headerContent/headerContent.stories.tsx +0 -94
  215. package/src/components/LXP/headerContent/headerContent.ts +0 -216
  216. package/src/components/LXP/headerContent/index.tsx +0 -121
  217. package/src/components/LXP/headerContent/selectedCountCircle.tsx +0 -14
  218. package/src/components/LXP/login/index.tsx +0 -410
  219. package/src/components/LXP/login/login.d.ts +0 -50
  220. package/src/components/LXP/login/login.stories.tsx +0 -98
  221. package/src/components/LXP/login/loginStyle.ts +0 -290
  222. package/src/components/LXP/manageLerningCicles/index.tsx +0 -70
  223. package/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.ts +0 -88
  224. package/src/components/LXP/manageLerningCicles/manageLearningCicles.d.ts +0 -12
  225. package/src/components/LXP/manageLerningCicles/manageLearningCicles.stories.tsx +0 -23
  226. package/src/components/LXP/participantThumbnails/index.tsx +0 -85
  227. package/src/components/LXP/participantThumbnails/participantThumbnails.stories.tsx +0 -19
  228. package/src/components/LXP/participantThumbnails/participantThumbnails.ts +0 -114
  229. package/src/components/LXP/participantThumbnailsList/index.tsx +0 -64
  230. package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.stories.tsx +0 -93
  231. package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.ts +0 -114
  232. package/src/components/LXP/permission/index.tsx +0 -223
  233. package/src/components/LXP/permission/permission.d.ts +0 -16
  234. package/src/components/LXP/permission/permission.stories.tsx +0 -28
  235. package/src/components/LXP/permission/permissionStyle.ts +0 -52
  236. package/src/components/LXP/popOver/index.tsx +0 -111
  237. package/src/components/LXP/popOver/popOver.d.ts +0 -30
  238. package/src/components/LXP/popOver/popOver.stories.tsx +0 -128
  239. package/src/components/LXP/popOver/popOverStyle.ts +0 -130
  240. package/src/components/LXP/popOverLXP-antigo/index.tsx +0 -48
  241. package/src/components/LXP/popOverLXP-antigo/popOverLXP.d.ts +0 -9
  242. package/src/components/LXP/popOverLXP-antigo/popOverLXP.stories.tsx +0 -103
  243. package/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.ts +0 -121
  244. package/src/components/LXP/progressBar/index.tsx +0 -18
  245. package/src/components/LXP/progressBar/progressBar.d.ts +0 -8
  246. package/src/components/LXP/progressBar/progressBar.stories.tsx +0 -18
  247. package/src/components/LXP/progressBar/progressStyle.ts +0 -28
  248. package/src/components/LXP/searchResults/index.tsx +0 -36
  249. package/src/components/LXP/searchResults/searchResults.d.ts +0 -11
  250. package/src/components/LXP/searchResults/searchResults.stories.tsx +0 -23
  251. package/src/components/LXP/searchResults/searchResultsStyles.ts +0 -63
  252. package/src/components/LXP/selectLXP/SelectLXP.tsx +0 -170
  253. package/src/components/LXP/selectLXP/SelectLXPContext.tsx +0 -9
  254. package/src/components/LXP/selectLXP/SelectLXPItem.tsx +0 -63
  255. package/src/components/LXP/selectLXP/index.tsx +0 -16
  256. package/src/components/LXP/selectLXP/selectLXP.stories.tsx +0 -20
  257. package/src/components/LXP/star-metric/index.tsx +0 -28
  258. package/src/components/LXP/star-metric/starMetric.d.ts +0 -6
  259. package/src/components/LXP/star-metric/starMetric.stories.tsx +0 -18
  260. package/src/components/LXP/star-metric/starMetricStyles.ts +0 -17
  261. package/src/components/LXP/thumbnails/thumbnails.d.ts +0 -36
  262. package/src/components/LXP/thumbnails/thumbnails.stories.tsx +0 -48
  263. package/src/components/LXP/thumbnails/thumbnails.tsx +0 -217
  264. package/src/components/LXP/thumbnails/thumbnailsDraggable.tsx +0 -73
  265. package/src/components/LXP/thumbnails/thumbnailsStyle.ts +0 -183
  266. package/src/components/LXP/thumbnails/vectorCross.tsx +0 -25
  267. package/src/components/LXP/thumbnails/vectorEllipse.tsx +0 -38
  268. package/src/components/LXP/tooltip/index.tsx +0 -15
  269. package/src/components/LXP/tooltip/tooltip.stories.tsx +0 -19
  270. package/src/components/LXP/tooltip/tooltipStyle.ts +0 -114
  271. package/src/components/LXP/urlAddress/index.tsx +0 -30
  272. package/src/components/LXP/urlAddress/urlAddress.d.ts +0 -10
  273. package/src/components/LXP/urlAddress/urlAddress.stories.tsx +0 -21
  274. package/src/components/LXP/urlAddress/urlAddressStyle.ts +0 -61
  275. package/src/components/LXP/video/Video.d.ts +0 -19
  276. package/src/components/LXP/video/Video.stories.tsx +0 -95
  277. package/src/components/LXP/video/index.tsx +0 -22
  278. package/src/components/LogoFRST/index.tsx +0 -34
  279. package/src/components/LogoFRST/logoFRST.module.css +0 -27
  280. package/src/components/LogoFRST/logoFRST.stories.tsx +0 -38
  281. package/src/components/accordion-tabs/accordionTabs.d.ts +0 -19
  282. package/src/components/accordion-tabs/accordionTabs.stories.tsx +0 -34
  283. package/src/components/accordion-tabs/accordionTabsStyles.ts +0 -114
  284. package/src/components/accordion-tabs/index.tsx +0 -77
  285. package/src/components/audio-player/Royalty.mp3 +0 -0
  286. package/src/components/audio-player/audioPlayer.stories.tsx +0 -39
  287. package/src/components/audio-player/audioPlayerStyles.ts +0 -314
  288. package/src/components/audio-player/index.tsx +0 -209
  289. package/src/components/avatar/avatar.d.ts +0 -8
  290. package/src/components/avatar/avatar.stories.tsx +0 -21
  291. package/src/components/avatar/avatarStyles.ts +0 -23
  292. package/src/components/avatar/index.tsx +0 -21
  293. package/src/components/buttons/buttonStyle.ts +0 -339
  294. package/src/components/buttons/buttons.stories.tsx +0 -52
  295. package/src/components/buttons/buttonsWithIcons.stories.tsx +0 -57
  296. package/src/components/buttons/index.tsx +0 -90
  297. package/src/components/calendar/calendar.stories.tsx +0 -156
  298. package/src/components/calendar/calendarStyle.ts +0 -209
  299. package/src/components/calendar/index.tsx +0 -157
  300. package/src/components/card-trail/cardTrail.stories.tsx +0 -167
  301. package/src/components/card-trail/cardTrailStyle.ts +0 -31
  302. package/src/components/card-trail/index.tsx +0 -160
  303. package/src/components/card-trail/moduleStyle.ts +0 -98
  304. package/src/components/card-trail-carousel/cardsTrailsCarousel.d.ts +0 -13
  305. package/src/components/card-trail-carousel/cardsTrailsCarousel.stories.tsx +0 -152
  306. package/src/components/card-trail-carousel/index.tsx +0 -47
  307. package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css +0 -20
  308. package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.stories.tsx +0 -18
  309. package/src/components/cardLT/AvatarWithInfo/index.tsx +0 -55
  310. package/src/components/cardLT/AvatarWithInfo/vector.tsx +0 -25
  311. package/src/components/cardLT/BannerProblem/BannerProblem.d.ts +0 -98
  312. package/src/components/cardLT/BannerProblem/BannerProblem.module.css +0 -113
  313. package/src/components/cardLT/BannerProblem/BannerProblem.stories.tsx +0 -191
  314. package/src/components/cardLT/BannerProblem/index.tsx +0 -433
  315. package/src/components/cardLT/BannerProblem/styles.ts +0 -16
  316. package/src/components/cardLT/MessageBox/MessageBox.module.css +0 -142
  317. package/src/components/cardLT/MessageBox/icons/errorIcon.tsx +0 -19
  318. package/src/components/cardLT/MessageBox/icons/successIcon.tsx +0 -18
  319. package/src/components/cardLT/MessageBox/icons/warningIcon.tsx +0 -20
  320. package/src/components/cardLT/MessageBox/index.tsx +0 -124
  321. package/src/components/cardLT/MessageBox/messageBox.stories.tsx +0 -53
  322. package/src/components/cardLT/Rating/Rating.module.css +0 -50
  323. package/src/components/cardLT/Rating/index.tsx +0 -92
  324. package/src/components/cardLT/Rating/rating.stories.tsx +0 -34
  325. package/src/components/cardLT/Rating/starIcon.tsx +0 -24
  326. package/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css +0 -16
  327. package/src/components/cardLT/RatingCurtidas/index.tsx +0 -80
  328. package/src/components/cardLT/RatingCurtidas/ratingCurtidas.stories.tsx +0 -21
  329. package/src/components/cardLT/RocketButton/RocketButton.stories.tsx +0 -28
  330. package/src/components/cardLT/RocketButton/RocketButtonIcon.tsx +0 -36
  331. package/src/components/cardLT/RocketButton/index.tsx +0 -57
  332. package/src/components/cardLT/StepsMission/Planet.module.css +0 -137
  333. package/src/components/cardLT/StepsMission/StepMission.tsx +0 -220
  334. package/src/components/cardLT/StepsMission/Steps.tsx +0 -116
  335. package/src/components/cardLT/StepsMission/planet.stories.tsx +0 -73
  336. package/src/components/cardLT/StepsMission/planetSteps.d.ts +0 -40
  337. package/src/components/cardLT/StepsMission/planets/jupter.png +0 -0
  338. package/src/components/cardLT/StepsMission/planets/lock.png +0 -0
  339. package/src/components/cardLT/StepsMission/planets/marte.png +0 -0
  340. package/src/components/cardLT/StepsMission/planets/netuno.png +0 -0
  341. package/src/components/cardLT/StepsMission/planets/saturno.png +0 -0
  342. package/src/components/cardLT/StepsMission/planets/urano.png +0 -0
  343. package/src/components/cardLT/TextIcon/TextIcon.module.css +0 -8
  344. package/src/components/cardLT/TextIcon/index.tsx +0 -64
  345. package/src/components/cardLT/TextIcon/starIcon.tsx +0 -27
  346. package/src/components/cardLT/TextIcon/textIcon.stories.tsx +0 -21
  347. package/src/components/cardLT/selectCard/avatarWithInfo.module.css +0 -20
  348. package/src/components/cardLT/selectCard/avatarWithInfo.stories.tsx +0 -19
  349. package/src/components/cardLT/selectCard/index.tsx +0 -55
  350. package/src/components/cardLT/selectCard/vector.tsx +0 -25
  351. package/src/components/cards/base/base.stories.tsx +0 -23
  352. package/src/components/cards/base/index.tsx +0 -10
  353. package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.module.css +0 -88
  354. package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.stories.tsx +0 -95
  355. package/src/components/cards/cardDefinicaoProblema/index.tsx +0 -98
  356. package/src/components/cards/cardProblem/cardProblem.module.css +0 -114
  357. package/src/components/cards/cardProblem/cardProblem.stories.tsx +0 -164
  358. package/src/components/cards/cardProblem/index.tsx +0 -251
  359. package/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css +0 -99
  360. package/src/components/cards/cardProblemGestor/cardProblemaGestor.stories.tsx +0 -78
  361. package/src/components/cards/cardProblemGestor/index.tsx +0 -105
  362. package/src/components/cards/cardResultConquista/Icons/Aprendizado.png +0 -0
  363. package/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png +0 -0
  364. package/src/components/cards/cardResultConquista/Icons/Conquista.png +0 -0
  365. package/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png +0 -0
  366. package/src/components/cards/cardResultConquista/cardResultConquista.module.css +0 -52
  367. package/src/components/cards/cardResultConquista/cardResultConquista.stories.tsx +0 -35
  368. package/src/components/cards/cardResultConquista/index.tsx +0 -76
  369. package/src/components/cards/user/index.tsx +0 -204
  370. package/src/components/cards/user/user.stories.tsx +0 -172
  371. package/src/components/challenge-cards/challengeCard.d.ts +0 -17
  372. package/src/components/challenge-cards/challengeCard.stories.tsx +0 -43
  373. package/src/components/challenge-cards/challengeCardStyles.ts +0 -266
  374. package/src/components/challenge-cards/dropdownMenuStyle.ts +0 -87
  375. package/src/components/challenge-cards/index.tsx +0 -308
  376. package/src/components/checkmark/checkmark.d.ts +0 -11
  377. package/src/components/checkmark/checkmark.stories.tsx +0 -23
  378. package/src/components/checkmark/checkmarkStyles.ts +0 -27
  379. package/src/components/checkmark/index.tsx +0 -61
  380. package/src/components/commentary-box/commentaryBox.d.ts +0 -41
  381. package/src/components/commentary-box/commentaryBox.stories.tsx +0 -57
  382. package/src/components/commentary-box/commentaryBox.utils.ts +0 -31
  383. package/src/components/commentary-box/commentaryBoxStyles.ts +0 -271
  384. package/src/components/commentary-box/index.tsx +0 -260
  385. package/src/components/conquistaCarrossel/conquistaCarrossel.d.ts +0 -13
  386. package/src/components/conquistaCarrossel/conquistaCarrossel.stories.tsx +0 -163
  387. package/src/components/conquistaCarrossel/index.tsx +0 -56
  388. package/src/components/demo/stepController/StepControllerStyle.ts +0 -46
  389. package/src/components/demo/stepController/index.tsx +0 -54
  390. package/src/components/demo/stepController/stepController.stories.tsx +0 -22
  391. package/src/components/dropdown-profile-menu/dropdownProfileMenu.d.ts +0 -28
  392. package/src/components/dropdown-profile-menu/dropdownProfileMenu.stories.tsx +0 -91
  393. package/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.ts +0 -171
  394. package/src/components/dropdown-profile-menu/index.tsx +0 -203
  395. package/src/components/emoji-picker/emojiPicker.stories.tsx +0 -20
  396. package/src/components/emoji-picker/index.tsx +0 -60
  397. package/src/components/exclusive-class/exclusiveClass.d.ts +0 -8
  398. package/src/components/exclusive-class/exclusiveClass.stories.tsx +0 -19
  399. package/src/components/exclusive-class/exclusiveClassStyles.ts +0 -39
  400. package/src/components/exclusive-class/index.tsx +0 -33
  401. package/src/components/field-search-dropdown/fieldSearch.d.ts +0 -36
  402. package/src/components/field-search-dropdown/fieldSearch.stories.tsx +0 -92
  403. package/src/components/field-search-dropdown/fieldSearchStyle.ts +0 -150
  404. package/src/components/field-search-dropdown/index.tsx +0 -233
  405. package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.d.ts +0 -7
  406. package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.stories.tsx +0 -101
  407. package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.ts +0 -7
  408. package/src/components/filter-accordion-checkbox/filterAccordionCheckboxStyles.ts +0 -2
  409. package/src/components/filter-accordion-checkbox/index.tsx +0 -188
  410. package/src/components/form-elements/checkbox/checkbox.d.ts +0 -9
  411. package/src/components/form-elements/checkbox/checkbox.stories.tsx +0 -20
  412. package/src/components/form-elements/checkbox/checkboxStyle.ts +0 -40
  413. package/src/components/form-elements/checkbox/index.tsx +0 -33
  414. package/src/components/form-elements/textarea/index.tsx +0 -6
  415. package/src/components/form-elements/textarea/textArea.stories.tsx +0 -27
  416. package/src/components/form-elements/textfield/index.tsx +0 -104
  417. package/src/components/form-elements/textfield/textField.stories.tsx +0 -124
  418. package/src/components/form-elements/textfield/textFieldStyle.ts +0 -213
  419. package/src/components/global-menu/components/customMenu/index.tsx +0 -1
  420. package/src/components/global-menu/globalMenu.d.ts +0 -66
  421. package/src/components/global-menu/globalMenu.stories.tsx +0 -959
  422. package/src/components/global-menu/globalMenuStyles.ts +0 -197
  423. package/src/components/global-menu/index.tsx +0 -1336
  424. package/src/components/headerChallenge/headerChallenge.stories.tsx +0 -20
  425. package/src/components/headerChallenge/headerChallengeStyle.ts +0 -102
  426. package/src/components/headerChallenge/index.tsx +0 -17
  427. package/src/components/index.tsx +0 -46
  428. package/src/components/input-comment/index.tsx +0 -178
  429. package/src/components/input-comment/inputComment.d.ts +0 -16
  430. package/src/components/input-comment/inputComment.stories.tsx +0 -26
  431. package/src/components/input-comment/inputComment.utils.ts +0 -7
  432. package/src/components/input-comment/inputCommentStyles.ts +0 -116
  433. package/src/components/item-lateral-menu/index.tsx +0 -87
  434. package/src/components/item-lateral-menu/itemLateralMenu.d.ts +0 -30
  435. package/src/components/item-lateral-menu/itemLateralMenu.stories.tsx +0 -159
  436. package/src/components/item-lateral-menu/itemLateralMenuStyles.ts +0 -131
  437. package/src/components/item-menu-global/index.tsx +0 -36
  438. package/src/components/item-menu-global/itemMenuGlobal.d.ts +0 -16
  439. package/src/components/item-menu-global/itemMenuGlobal.stories.tsx +0 -40
  440. package/src/components/item-menu-global/itemMenuGlobalStyles.ts +0 -73
  441. package/src/components/languages-dropdown/index.tsx +0 -102
  442. package/src/components/languages-dropdown/languagesDropdown.d.ts +0 -13
  443. package/src/components/languages-dropdown/languagesDropdown.stories.tsx +0 -38
  444. package/src/components/languages-dropdown/languagesDropdownStyles.ts +0 -66
  445. package/src/components/lateral-menu/index.tsx +0 -68
  446. package/src/components/lateral-menu/lateralMenu.d.ts +0 -17
  447. package/src/components/lateral-menu/lateralMenu.stories.tsx +0 -429
  448. package/src/components/lateral-menu/lateralMenuStyles.ts +0 -68
  449. package/src/components/learning-steps/index.tsx +0 -67
  450. package/src/components/learning-steps/learningSteps.d.ts +0 -16
  451. package/src/components/learning-steps/learningSteps.stories.tsx +0 -123
  452. package/src/components/learning-steps/learningStepsStyles.ts +0 -46
  453. package/src/components/menu-more/index.tsx +0 -79
  454. package/src/components/menu-more/menuMore.d.ts +0 -15
  455. package/src/components/menu-more/menuMore.stories.tsx +0 -76
  456. package/src/components/menu-more/menuMoreStyles.ts +0 -123
  457. package/src/components/modal/modalLearningTech/index.tsx +0 -67
  458. package/src/components/modal/modalLearningTech/modalLearningTech.module.css +0 -79
  459. package/src/components/modal/modalLearningTech/modalLearningTech.stories.tsx +0 -60
  460. package/src/components/modal/modalVideo/index.tsx +0 -129
  461. package/src/components/modal/modalVideo/modalVideo.module.css +0 -27
  462. package/src/components/modal/modalVideo/modalVideo.stories.tsx +0 -41
  463. package/src/components/modal/statusProblema/fecharIcon.tsx +0 -18
  464. package/src/components/modal/statusProblema/index.tsx +0 -124
  465. package/src/components/modal/statusProblema/problemaFRST.png +0 -0
  466. package/src/components/modal/statusProblema/statusProblema.module.css +0 -154
  467. package/src/components/modal/statusProblema/statusProblema.stories.tsx +0 -27
  468. package/src/components/quantidadeDesafios/imgSetas/setasDesafios.svg +0 -60
  469. package/src/components/quantidadeDesafios/index.tsx +0 -152
  470. package/src/components/quantidadeDesafios/quantidadeDesafios.stories.tsx +0 -49
  471. package/src/components/quantidadeDesafios/quantidadeDesafios.ts +0 -121
  472. package/src/components/sandbox.stories.tsx +0 -18
  473. package/src/components/scroll-container/index.tsx +0 -189
  474. package/src/components/scroll-container/scrollContainer.d.ts +0 -17
  475. package/src/components/scroll-container/scrollContainer.stories.tsx +0 -45
  476. package/src/components/scroll-container/scrollContainer.utils.ts +0 -11
  477. package/src/components/scroll-container/scrollContainerStyles.ts +0 -93
  478. package/src/components/search-field/index.tsx +0 -48
  479. package/src/components/search-field/searchField.d.ts +0 -13
  480. package/src/components/search-field/searchField.stories.tsx +0 -40
  481. package/src/components/search-field/searchFieldStyles.ts +0 -100
  482. package/src/components/select/Select.tsx +0 -170
  483. package/src/components/select/SelectContext.tsx +0 -9
  484. package/src/components/select/SelectItem.tsx +0 -63
  485. package/src/components/select/index.tsx +0 -16
  486. package/src/components/select/select.stories.tsx +0 -20
  487. package/src/components/speech-bubble/index.tsx +0 -29
  488. package/src/components/speech-bubble/speechBubble.d.ts +0 -10
  489. package/src/components/speech-bubble/speechBubble.stories.tsx +0 -20
  490. package/src/components/speech-bubble/speechBubbleStyles.ts +0 -121
  491. package/src/components/step-card/index.tsx +0 -48
  492. package/src/components/step-card/stepCard.d.ts +0 -12
  493. package/src/components/step-card/stepCard.stories.tsx +0 -26
  494. package/src/components/step-card/stepCardStyles.ts +0 -109
  495. package/src/components/tag/base.stories.tsx +0 -52
  496. package/src/components/tag/index.tsx +0 -59
  497. package/src/components/totalizer-card/index.tsx +0 -29
  498. package/src/components/totalizer-card/totalizerCard.d.ts +0 -10
  499. package/src/components/totalizer-card/totalizerCard.stories.tsx +0 -34
  500. package/src/components/totalizer-card/totalizerCardStyles.ts +0 -97
  501. package/src/icons.stories.tsx +0 -321
  502. package/src/shared/global.css +0 -146
  503. package/src/shared/globalComponentsStyle.ts +0 -88
  504. package/src/shared/icons.tsx +0 -3544
  505. package/src/shared/stories/AlertCicle.stories.tsx +0 -17
  506. package/src/shared/stories/CheckInCicleIcon.stories.tsx +0 -19
  507. package/src/shared/stories/CloseInCicleIcon.stories.tsx +0 -19
  508. package/src/shared/stories/DotIcon.stories.tsx +0 -17
  509. package/src/shared/stories/MoreDotsHorizontal.stories.tsx +0 -17
  510. package/src/theme/index.ts +0 -6
  511. package/src/theme/tokens.ts +0 -196
  512. package/storybook-static/142.1620db0e.iframe.bundle.js +0 -76
  513. package/storybook-static/142.1620db0e.iframe.bundle.js.LICENSE.txt +0 -114
  514. package/storybook-static/142.1620db0e.iframe.bundle.js.map +0 -1
  515. package/storybook-static/142.f4b5719978bc029def49.manager.bundle.js +0 -2
  516. package/storybook-static/142.f4b5719978bc029def49.manager.bundle.js.LICENSE.txt +0 -12
  517. package/storybook-static/173.50bd68b8.iframe.bundle.js +0 -2
  518. package/storybook-static/173.50bd68b8.iframe.bundle.js.LICENSE.txt +0 -8
  519. package/storybook-static/273.50cd4e43.iframe.bundle.js +0 -2
  520. package/storybook-static/273.50cd4e43.iframe.bundle.js.LICENSE.txt +0 -14
  521. package/storybook-static/295.74984d4265017a824622.manager.bundle.js +0 -1
  522. package/storybook-static/32.88a3ce9bab069a6db245.manager.bundle.js +0 -1
  523. package/storybook-static/32.a25e8351.iframe.bundle.js +0 -1
  524. package/storybook-static/551.45e246a02b3a76ac609c.manager.bundle.js +0 -1
  525. package/storybook-static/551.d1245db5.iframe.bundle.js +0 -1
  526. package/storybook-static/566.37aa6701b2519194db63.manager.bundle.js +0 -2
  527. package/storybook-static/566.37aa6701b2519194db63.manager.bundle.js.LICENSE.txt +0 -31
  528. package/storybook-static/566.dfa86444.iframe.bundle.js +0 -2
  529. package/storybook-static/566.dfa86444.iframe.bundle.js.LICENSE.txt +0 -31
  530. package/storybook-static/647.c51c26783dc4fb68973d.manager.bundle.js +0 -2
  531. package/storybook-static/647.c51c26783dc4fb68973d.manager.bundle.js.LICENSE.txt +0 -94
  532. package/storybook-static/691.6957468453be390249fa.manager.bundle.js +0 -2
  533. package/storybook-static/691.6957468453be390249fa.manager.bundle.js.LICENSE.txt +0 -8
  534. package/storybook-static/701.b21e23ee.iframe.bundle.js +0 -1
  535. package/storybook-static/725.2a7b46857211ebaa0eb5.manager.bundle.js +0 -1
  536. package/storybook-static/725.354e06ba.iframe.bundle.js +0 -1
  537. package/storybook-static/855.ea614875.iframe.bundle.js +0 -2
  538. package/storybook-static/855.ea614875.iframe.bundle.js.LICENSE.txt +0 -12
  539. package/storybook-static/bg1.png +0 -0
  540. package/storybook-static/bg2.png +0 -0
  541. package/storybook-static/favicon.ico +0 -0
  542. package/storybook-static/iframe.html +0 -364
  543. package/storybook-static/index.html +0 -59
  544. package/storybook-static/locales/en-US.json +0 -30
  545. package/storybook-static/locales/es.json +0 -31
  546. package/storybook-static/locales/pt-BR.json +0 -38
  547. package/storybook-static/main.1327abd8.iframe.bundle.js +0 -1
  548. package/storybook-static/main.dbf1bc8b8d32336860c1.manager.bundle.js +0 -1
  549. package/storybook-static/manifest.json +0 -15
  550. package/storybook-static/project.json +0 -1
  551. package/storybook-static/robots.txt +0 -3
  552. package/storybook-static/runtime~main.046dc868.iframe.bundle.js +0 -1
  553. package/storybook-static/runtime~main.d23e7d11d5fe197adf05.manager.bundle.js +0 -1
  554. package/storybook-static/static/media/Aprendizado.cdcb9636.png +0 -0
  555. package/storybook-static/static/media/AprendizadoPressed.a511c1be.png +0 -0
  556. package/storybook-static/static/media/Conquista.aea42b3a.png +0 -0
  557. package/storybook-static/static/media/ConquistaPressed.8ece7181.png +0 -0
  558. package/storybook-static/static/media/problemaFRST.a7bdf295.png +0 -0
  559. package/tsconfig.json +0 -39
@@ -1,1336 +0,0 @@
1
- import React, { useState, useEffect } from 'react'
2
- import '../../shared/global.css'
3
- import { ThemeProvider } from 'styled-components'
4
- import { FRSTTheme } from '../../theme'
5
- import * as Styles from './globalMenuStyles'
6
- import { IGlobalMenu } from './globalMenu'
7
-
8
- import {
9
- BackArrow,
10
- ExitArrow,
11
- FRSTLogo,
12
- IconNotification,
13
- InstagramIcon,
14
- LinkedinIcon,
15
- PodCastIcon,
16
- SiteIcon,
17
- SpotifyIcon,
18
- YoutubeIcon
19
- } from '@shared/icons'
20
-
21
- import FieldSearch from '@components/field-search-dropdown'
22
- import ItemGlobalMenu from '@components/item-menu-global'
23
- import LanguagesDropdown from '@components/languages-dropdown'
24
- import DropdownProfileMenu from '@components/dropdown-profile-menu'
25
- import NotificationPopOver from '@components/FI/notificationPopOver'
26
-
27
- export default function GlobalMenu({
28
- variant,
29
- menu,
30
- customMenu,
31
- user,
32
- search,
33
- notification,
34
- languages,
35
- languageSelected,
36
- onChangeLanguage,
37
- style,
38
- textNotification,
39
- onClickSite,
40
- onClickLinkedin,
41
- onClickInstagram,
42
- onClickYoutube,
43
- onClickSpotify,
44
- onClickPodCast,
45
- onClickProfileMenuText,
46
- onClickExit,
47
- profileMenuText,
48
- showSearchField,
49
- marginTopSubMenu,
50
- onClickLogo
51
- }: IGlobalMenu) {
52
- const [valueSearch, setValueSearch] = useState(search.value)
53
- const [valueListSearch, setValueListSearch] = useState(search.listEntry)
54
- const [loadingSearch, setLoadingSearch] = useState(search.loading)
55
-
56
- const [isMobileVersion, setIsMobileVersion] = useState(false)
57
- const [controlExpandedSearchMobile, setControlExpandedSearchMobile] = useState(false)
58
- const [showLogo, setShowLogo] = useState(false)
59
- const [isVisibleMenuMobile, setIsVisibleMenuMobile] = useState(false)
60
- const [isVisibleSideMenu, setIsVisibleSideMenu] = useState(false)
61
-
62
- const [windowSize, setWindowSize] = useState([0, 0])
63
- const [openNotification, setOpenNotification] = useState(false)
64
- const [openNotificationMobile, setOpenNotificationMobile] = useState(false)
65
- const [anchorNotification, setAnchorNotification] = useState(null)
66
- const [onAreaPopOver, setOnAreaPopOver] = useState(false)
67
- const [SubMenu, setSubMenu] = useState([])
68
- const [SelectedItem, setSelectedItem] = useState()
69
- const [isTabletVersion, setIsTabletVersion] = useState(false)
70
- const [HideHambMenu, setHideHambMenu] = useState(false)
71
-
72
- useEffect(() => {
73
- setValueListSearch(search.listEntry)
74
- }, [search.listEntry])
75
-
76
- useEffect(() => {
77
- setLoadingSearch(search.isloading)
78
- }, [search.loading])
79
-
80
- useEffect(() => {
81
- function updateSize() {
82
- setWindowSize([window.innerWidth, window.innerHeight])
83
- setIsMobileVersion(window.innerWidth < 700)
84
- setIsTabletVersion(window.innerWidth < 1200 && window.innerWidth >= 700)
85
- setShowLogo(false)
86
- setIsVisibleMenuMobile(false)
87
- }
88
- window.addEventListener('resize', updateSize)
89
- updateSize()
90
- return () => window.removeEventListener('resize', updateSize)
91
- }, [])
92
-
93
- useEffect(() => {
94
- setValueSearch(search.value)
95
- setValueListSearch(search.listEntry)
96
- setLoadingSearch(search.loading)
97
- }, [search])
98
-
99
- useEffect(() => {
100
- setShowLogo(isMobileVersion)
101
- if (isMobileVersion) setControlExpandedSearchMobile(false)
102
- else {
103
- setControlExpandedSearchMobile(true)
104
- }
105
- }, [isMobileVersion])
106
-
107
- useEffect(() => {
108
- if (!controlExpandedSearchMobile)
109
- setTimeout(() => {
110
- setShowLogo(!controlExpandedSearchMobile && isMobileVersion)
111
- setHideHambMenu(window.innerWidth < 420 ? controlExpandedSearchMobile : false)
112
- }, 1500)
113
- else {
114
- setShowLogo(!controlExpandedSearchMobile && isMobileVersion)
115
- setHideHambMenu(window.innerWidth < 420 ? controlExpandedSearchMobile : false)
116
- }
117
- }, [controlExpandedSearchMobile])
118
-
119
- const handleChangeValueSearch = (value) => {
120
- setValueSearch(value)
121
- search.onChange(value)
122
- }
123
-
124
- const handleCloseNotification = () => {
125
- setOpenNotification(!openNotification)
126
- setOpenNotificationMobile(!openNotificationMobile)
127
- }
128
-
129
- const handleOpenNotification = (event) => {
130
- setOpenNotification(!openNotification)
131
- setOpenNotificationMobile(!openNotificationMobile)
132
- setAnchorNotification(event.currentTarget)
133
- }
134
-
135
- const onClickNotification = (event) => {
136
- if (!!onAreaPopOver == false) {
137
- setOpenNotification(!openNotification)
138
- setOpenNotificationMobile(!openNotificationMobile)
139
- setAnchorNotification(event.currentTarget)
140
- }
141
- }
142
-
143
- const handleClickItem = (item) => {
144
- item.onClick()
145
- setSelectedItem(item.id)
146
- if (item.subMenu) setSubMenu(item.subMenu)
147
- else setSubMenu([])
148
- }
149
-
150
- const newNotification = notification.notificationList
151
- ? notification.notificationList.filter((notification) => notification.isNewNotification)
152
- : []
153
-
154
- return (
155
- <ThemeProvider theme={FRSTTheme}>
156
- {variant == 'LXP' ? (
157
- <>
158
- <MenuMobile
159
- onClickExit={onClickExit}
160
- languageSelected={languageSelected}
161
- variant={'LXP'}
162
- items={menu}
163
- isVisible={isVisibleMenuMobile}
164
- setVisible={(e) => setIsVisibleMenuMobile(e)}
165
- onClickSite={onClickSite}
166
- onClickLinkedin={onClickLinkedin}
167
- onClickInstagram={onClickInstagram}
168
- onClickYoutube={onClickYoutube}
169
- onClickSpotify={onClickSpotify}
170
- onClickPodCast={onClickPodCast}
171
- customMenu={customMenu}
172
- />
173
- <SideMenu
174
- onClickExit={onClickExit}
175
- languageSelected={languageSelected}
176
- variant={'LXP'}
177
- items={menu}
178
- isVisible={isVisibleSideMenu}
179
- setVisible={(e) => setIsVisibleSideMenu(e)}
180
- onClickSite={onClickSite}
181
- onClickLinkedin={onClickLinkedin}
182
- onClickInstagram={onClickInstagram}
183
- onClickYoutube={onClickYoutube}
184
- onClickSpotify={onClickSpotify}
185
- onClickPodCast={onClickPodCast}
186
- customMenu={customMenu}
187
- />
188
- <div style={{ width: '100%', display: 'flex', flexDirection: 'column' }}>
189
- <Styles.MenuContainer
190
- variant={variant}
191
- style={{
192
- paddingRight: windowSize[0] > 1400 ? '124px' : isMobileVersion ? '12px' : '35px',
193
- paddingLeft: windowSize[0] > 1400 ? '124px' : isMobileVersion ? '12px' : '35px',
194
- ...style
195
- }}
196
- >
197
- {isMobileVersion && !HideHambMenu && (
198
- <Styles.HamburgerButton onClick={() => setIsVisibleMenuMobile(true)}>
199
- <IconHamburgerMenu />
200
- </Styles.HamburgerButton>
201
- )}
202
- {isMobileVersion && HideHambMenu && (
203
- <Styles.ArrowButton onClick={() => setControlExpandedSearchMobile(false)}>
204
- <BackArrow fill={FRSTTheme['colors'].selectItens} />
205
- </Styles.ArrowButton>
206
- )}
207
- {isTabletVersion && (
208
- <Styles.HamburgerButton onClick={() => setIsVisibleSideMenu(true)}>
209
- <IconHamburgerMenu />
210
- </Styles.HamburgerButton>
211
- )}
212
- {!isMobileVersion && (
213
- <Styles.WrapperLogo onClick={() => onClickLogo()} style={{ marginRight: isTabletVersion && 32 }}>
214
- <FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
215
- </Styles.WrapperLogo>
216
- )}
217
- {showLogo && (
218
- <Styles.WrapperLogo onClick={() => onClickLogo()} style={{ marginRight: '0px' }}>
219
- <FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
220
- </Styles.WrapperLogo>
221
- )}
222
- <Styles.WrapperMenu style={{ height: '100%', justifyContent: 'space-between' }}>
223
- {!isMobileVersion && showSearchField && (
224
- <FieldSearch
225
- variant="LXP"
226
- value={valueSearch}
227
- placeholder={search.label}
228
- onFilter={search.onFilter}
229
- loading={loadingSearch}
230
- textLoading={search.textLoading}
231
- setFieldSearchIsOpen={setControlExpandedSearchMobile}
232
- fieldSearchIsOpen={controlExpandedSearchMobile}
233
- isLabeledResult={search.isLabeledResult}
234
- listResults={search.isLabeledResult ? null : valueListSearch}
235
- labeledResultList={search.isLabeledResult ? valueListSearch : null}
236
- historicResults={search.historicResults}
237
- isMobileVersion={isMobileVersion}
238
- hasOptionSeeAll={search.hasOptionSeeAll}
239
- seeAll={search.seeAll}
240
- style={{
241
- width: windowSize[0] < 830 ? '230px' : windowSize[0] > 1500 ? '428px' : '332px'
242
- }}
243
- />
244
- )}
245
-
246
- <Styles.MenuContainer
247
- variant={variant}
248
- style={{
249
- height: '100%',
250
- paddingLeft: isMobileVersion ? '0' : windowSize[0] * 0.03 + 'px',
251
- paddingRight: isMobileVersion ? '0' : windowSize[0] * 0.03 + 'px',
252
- justifyContent: isMobileVersion ? 'space-between' : 'flex-end'
253
- }}
254
- >
255
- {isMobileVersion && (
256
- <FieldSearch
257
- variant="LXP"
258
- value={valueSearch}
259
- onChange={(e) => handleChangeValueSearch(e.target.value)}
260
- placeholder={search.label}
261
- onFilter={search.onFilter}
262
- loading={loadingSearch}
263
- textLoading={search.textLoading}
264
- fieldSearchIsOpen={controlExpandedSearchMobile}
265
- setFieldSearchIsOpen={setControlExpandedSearchMobile}
266
- isLabeledResult={search.isLabeledResult}
267
- listResults={search.isLabeledResult ? null : valueListSearch}
268
- labeledResultList={search.isLabeledResult ? valueListSearch : null}
269
- historicResults={search.historicResults}
270
- isMobileVersion={isMobileVersion}
271
- hasOptionSeeAll={search.hasOptionSeeAll}
272
- seeAll={search.seeAll}
273
- style={{
274
- width: isMobileVersion ? '180px' : '332px'
275
- // marginLeft: controlExpandedSearchMobile ? '-25px' : '-50px'
276
- }}
277
- />
278
- )}
279
- {!isMobileVersion &&
280
- !isTabletVersion &&
281
- menu &&
282
- menu.length > 0 &&
283
- menu.map((item, index) => {
284
- return (
285
- <ItemGlobalMenu
286
- label={item.label}
287
- key={item.id ? item.id : index}
288
- variant="LXP"
289
- type="menu"
290
- pressed={item.id === SelectedItem || item.active}
291
- icon={item.iconBegin}
292
- handleOnClick={() => handleClickItem(item)}
293
- style={{ paddingRight: '10px', paddingLeft: '10px', height: '100%' }}
294
- />
295
- )
296
- })}
297
-
298
- {!isMobileVersion && !isTabletVersion && notification && (
299
- <div style={{ position: 'relative' }}>
300
- <ItemGlobalMenu
301
- label={textNotification}
302
- variant="LXP"
303
- type="menu"
304
- pressed={false}
305
- handleOnClick={() => onClickNotification}
306
- icon={<IconNotification fill={FRSTTheme['colors'].shadeWhite} />}
307
- style={{ paddingRight: '10px', paddingLeft: '10px', height: '100%' }}
308
- customMenu={customMenu}
309
- />
310
-
311
- {newNotification.length ? (
312
- <div style={{ position: 'absolute', marginLeft: '50%', marginTop: '-54px' }}>
313
- <HasNotificationIcon />
314
- </div>
315
- ) : null}
316
- <NotificationPopOver
317
- handleClickMarkRead={notification.handleClickMarkRead}
318
- isOpen={openNotification}
319
- anchor={anchorNotification}
320
- textEmptyState={notification.textEmptyState}
321
- notificationList={notification.notificationList}
322
- textMarkAllAsRead={notification.textMarkAllAsRead}
323
- textNotification={notification.textNotification}
324
- isMobile={false}
325
- setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
326
- textBack={notification.textBack}
327
- handleClickBack={() => handleCloseNotification()}
328
- />
329
- </div>
330
- )}
331
- {isMobileVersion && notification && (
332
- <Styles.WrapperIconNotificationMobile
333
- onClick={onClickNotification}
334
- style={{
335
- borderBottom:
336
- openNotificationMobile && windowSize[0] <= 650
337
- ? `4px solid ${FRSTTheme['colors'].primary1}`
338
- : '',
339
- height: windowSize[0] <= 650 ? '100%' : 'auto'
340
- }}
341
- >
342
- <span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
343
- <IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
344
- {newNotification.length ? (
345
- <div style={{ marginLeft: '-12px' }}>
346
- {' '}
347
- <HasNotificationIcon />{' '}
348
- </div>
349
- ) : null}
350
- </span>
351
- </Styles.WrapperIconNotificationMobile>
352
- )}
353
- {isTabletVersion && notification && (
354
- <Styles.WrapperIconNotificationMobile
355
- onClick={onClickNotification}
356
- style={{
357
- borderBottom:
358
- openNotificationMobile && windowSize[0] <= 650
359
- ? `4px solid ${FRSTTheme['colors'].primary1}`
360
- : '',
361
- height: windowSize[0] <= 650 ? '100%' : 'auto'
362
- }}
363
- >
364
- <span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
365
- <IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
366
- {newNotification.length ? (
367
- <div style={{ marginLeft: '-12px' }}>
368
- {' '}
369
- <HasNotificationIcon />{' '}
370
- </div>
371
- ) : null}
372
- </span>
373
- {windowSize[0] >= 700 ? (
374
- <NotificationPopOver
375
- handleClickMarkRead={notification.handleClickMarkRead}
376
- isOpen={openNotificationMobile}
377
- anchor={anchorNotification}
378
- textEmptyState={notification.textEmptyState}
379
- notificationList={notification.notificationList}
380
- textMarkAllAsRead={notification.textMarkAllAsRead}
381
- textNotification={notification.textNotification}
382
- isMobile={false}
383
- setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
384
- textBack={notification.textBack}
385
- handleClickBack={() => handleCloseNotification()}
386
- />
387
- ) : null}
388
- </Styles.WrapperIconNotificationMobile>
389
- )}
390
- </Styles.MenuContainer>
391
- </Styles.WrapperMenu>
392
-
393
- <Styles.WrapperRightInfo>
394
- <DropdownProfileMenu
395
- variant="LXP"
396
- user={user}
397
- profileMenuText={profileMenuText}
398
- handleProfileMenuClick={onClickProfileMenuText}
399
- menuItems={user && user.menuItems}
400
- isMobileVersion={isMobileVersion}
401
- style={{
402
- marginLeft: isMobileVersion ? '0px' : '5px',
403
- marginRight: isMobileVersion ? '0px' : '5px'
404
- }}
405
- />
406
- {customMenu?.map((item, index) => (
407
- <ItemGlobalMenu
408
- label={isMobileVersion ? '' : item.label}
409
- key={item.id ? item.id : index}
410
- variant="LXP"
411
- type="menu"
412
- pressed={item.id === SelectedItem || item.active}
413
- icon={item.iconBegin}
414
- handleOnClick={() => handleClickItem(item)}
415
- customMenu={customMenu}
416
- style={{
417
- paddingRight: '10px',
418
- paddingLeft: '10px',
419
- height: '100%',
420
- flexDirection: 'inherit'
421
- }}
422
- />
423
- ))}
424
- {!isMobileVersion && !isTabletVersion && languages && languages.length > 0 && (
425
- <LanguagesDropdown
426
- variant="LXP"
427
- languages={[...languages]}
428
- selected={languageSelected}
429
- onSelect={(e) => onChangeLanguage(e)}
430
- distanceBtnDrop={'57px'}
431
- />
432
- )}
433
- </Styles.WrapperRightInfo>
434
- </Styles.MenuContainer>
435
- {SubMenu && SubMenu.length > 0 && (
436
- <Styles.SubMenuContainer
437
- variant={variant}
438
- marginTop={marginTopSubMenu}
439
- style={{
440
- paddingRight: windowSize[0] > 1400 ? '124px' : '35px',
441
- paddingLeft: windowSize[0] > 1400 ? '124px' : '35px',
442
- ...style
443
- }}
444
- >
445
- {SubMenu.map((item, index) => {
446
- return (
447
- <ItemGlobalMenu
448
- label={item.label}
449
- key={item.id ? item.id : index}
450
- variant="LXP"
451
- type="submenu"
452
- handleOnClick={() => item.onClick('tes')}
453
- style={{ paddingRight: '10px', paddingLeft: '10px' }}
454
- />
455
- )
456
- })}
457
- </Styles.SubMenuContainer>
458
- )}
459
- </div>
460
- {openNotificationMobile && windowSize[0] < 700 ? (
461
- <NotificationPopOver
462
- handleClickMarkRead={notification.handleClickMarkRead}
463
- isOpen={openNotificationMobile}
464
- anchor={anchorNotification}
465
- textEmptyState={notification.textEmptyState}
466
- notificationList={notification.notificationList}
467
- textMarkAllAsRead={notification.textMarkAllAsRead}
468
- textNotification={notification.textNotification}
469
- isMobile={true}
470
- setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
471
- textBack={notification.textBack}
472
- handleClickBack={() => handleCloseNotification()}
473
- />
474
- ) : null}
475
- </>
476
- ) : variant === 'default' ? (
477
- <>
478
- <MenuMobile
479
- onClickExit={onClickExit}
480
- languageSelected={languageSelected}
481
- variant={'default'}
482
- items={menu}
483
- isVisible={isVisibleMenuMobile}
484
- setVisible={(e) => setIsVisibleMenuMobile(e)}
485
- onClickSite={onClickSite}
486
- onClickLinkedin={onClickLinkedin}
487
- onClickInstagram={onClickInstagram}
488
- onClickYoutube={onClickYoutube}
489
- onClickSpotify={onClickSpotify}
490
- onClickPodCast={onClickPodCast}
491
- customMenu={customMenu}
492
- />
493
- <div style={{ width: '100%', display: 'flex', flexDirection: 'column' }}>
494
- <Styles.MenuContainer
495
- variant={variant}
496
- style={{
497
- paddingRight: windowSize[0] > 1400 ? '124px' : windowSize[0] < 500 ? '10px' : '35px',
498
- paddingLeft: windowSize[0] > 1400 ? '124px' : windowSize[0] < 500 ? '10px' : '35px',
499
- ...style
500
- }}
501
- >
502
- {isMobileVersion && (
503
- <Styles.HamburgerButton style={{ marginLeft: 0 }} onClick={() => setIsVisibleMenuMobile(true)}>
504
- <IconHamburgerMenu />
505
- </Styles.HamburgerButton>
506
- )}
507
- {isTabletVersion && (
508
- <Styles.HamburgerButton onClick={() => setIsVisibleMenuMobile(true)}>
509
- <IconHamburgerMenu />
510
- </Styles.HamburgerButton>
511
- )}
512
- {!isMobileVersion && !isTabletVersion && (
513
- <Styles.WrapperLogo onClick={() => onClickLogo()}>
514
- <FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
515
- </Styles.WrapperLogo>
516
- )}
517
- {showLogo && (
518
- <Styles.WrapperLogo onClick={() => onClickLogo()} style={{ marginRight: '0px' }}>
519
- <FRSTLogo height="28" fill={FRSTTheme['colors'].primary1} />
520
- </Styles.WrapperLogo>
521
- )}
522
- <Styles.WrapperMenu style={{ height: '100%' }}>
523
- {!isMobileVersion && !isTabletVersion && showSearchField && (
524
- <FieldSearch
525
- variant="LXP"
526
- value={valueSearch}
527
- onFilter={search.onFilter}
528
- onChange={(e) => handleChangeValueSearch(e.target.value)}
529
- placeholder={search.label}
530
- loading={loadingSearch}
531
- textLoading={search.textLoading}
532
- fieldSearchIsOpen={controlExpandedSearchMobile}
533
- setFieldSearchIsOpen={setControlExpandedSearchMobile}
534
- isLabeledResult={search.isLabeledResult}
535
- listResults={search.isLabeledResult ? null : valueListSearch}
536
- labeledResultList={search.isLabeledResult ? valueListSearch : null}
537
- historicResults={search.historicResults}
538
- isMobileVersion={isMobileVersion}
539
- hasOptionSeeAll={search.hasOptionSeeAll}
540
- seeAll={search.seeAll}
541
- style={{
542
- width: isMobileVersion ? '190px' : '332px'
543
- }}
544
- />
545
- )}
546
- </Styles.WrapperMenu>
547
-
548
- <Styles.WrapperRightInfo>
549
- {isMobileVersion && (
550
- <FieldSearch
551
- variant="LXP"
552
- value={valueSearch}
553
- onFilter={search.onFilter}
554
- onChange={(e) => handleChangeValueSearch(e.target.value)}
555
- placeholder={search.label}
556
- loading={loadingSearch}
557
- textLoading={search.textLoading}
558
- fieldSearchIsOpen={controlExpandedSearchMobile}
559
- setFieldSearchIsOpen={setControlExpandedSearchMobile}
560
- isLabeledResult={search.isLabeledResult}
561
- listResults={search.isLabeledResult ? null : valueListSearch}
562
- labeledResultList={search.isLabeledResult ? valueListSearch : null}
563
- historicResults={search.historicResults}
564
- isMobileVersion={isMobileVersion}
565
- hasOptionSeeAll={search.hasOptionSeeAll}
566
- seeAll={search.seeAll}
567
- style={{
568
- width: isMobileVersion ? '180px' : '332px',
569
- marginLeft: controlExpandedSearchMobile ? '-15px' : '-30px'
570
- }}
571
- />
572
- )}
573
- {isTabletVersion && (
574
- <FieldSearch
575
- variant="LXP"
576
- value={valueSearch}
577
- onFilter={search.onFilter}
578
- onChange={(e) => handleChangeValueSearch(e.target.value)}
579
- placeholder={search.label}
580
- loading={loadingSearch}
581
- textLoading={search.textLoading}
582
- fieldSearchIsOpen={controlExpandedSearchMobile}
583
- setFieldSearchIsOpen={setControlExpandedSearchMobile}
584
- isLabeledResult={search.isLabeledResult}
585
- listResults={search.isLabeledResult ? null : valueListSearch}
586
- labeledResultList={search.isLabeledResult ? valueListSearch : null}
587
- historicResults={search.historicResults}
588
- isMobileVersion={isMobileVersion}
589
- hasOptionSeeAll={search.hasOptionSeeAll}
590
- seeAll={search.seeAll}
591
- style={{
592
- width: isMobileVersion ? '180px' : '332px',
593
- marginLeft: controlExpandedSearchMobile ? '-25px' : '-50px'
594
- }}
595
- />
596
- )}
597
- {!isMobileVersion && !isTabletVersion && notification && (
598
- <>
599
- {customMenu?.map((item, index) => (
600
- <ItemGlobalMenu
601
- label={isMobileVersion ? '' : item.label}
602
- key={item.id ? item.id : index}
603
- variant="LXP"
604
- type="menu"
605
- pressed={item.id === SelectedItem || item.active}
606
- icon={item.iconBegin}
607
- handleOnClick={() => handleClickItem(item)}
608
- customMenu={customMenu}
609
- style={{
610
- paddingRight: '10px',
611
- paddingLeft: '10px',
612
- height: '100%',
613
- flexDirection: 'inherit'
614
- }}
615
- />
616
- ))}
617
- <Styles.WrapperIconNotification onClick={onClickNotification}>
618
- <span
619
- style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}
620
- onClick={handleOpenNotification}
621
- >
622
- <IconNotification fill={FRSTTheme['colors'].shadeWhite} />
623
- {newNotification.length ? (
624
- <div style={{ marginLeft: '-12px' }}>
625
- <HasNotificationIcon />
626
- </div>
627
- ) : null}{' '}
628
- &nbsp; {textNotification}
629
- </span>
630
- <NotificationPopOver
631
- handleClickMarkRead={notification.handleClickMarkRead}
632
- isOpen={openNotification}
633
- anchor={anchorNotification}
634
- textEmptyState={notification.textEmptyState}
635
- notificationList={notification.notificationList}
636
- textMarkAllAsRead={notification.textMarkAllAsRead}
637
- textNotification={notification.textNotification}
638
- isMobile={false}
639
- setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
640
- textBack={notification.textBack}
641
- handleClickBack={() => handleCloseNotification()}
642
- />
643
- </Styles.WrapperIconNotification>
644
- </>
645
- )}
646
- {isMobileVersion && notification && (
647
- <Styles.WrapperIconNotificationMobile
648
- onClick={onClickNotification}
649
- style={{
650
- borderBottom:
651
- openNotificationMobile && windowSize[0] <= 650
652
- ? `4px solid ${FRSTTheme['colors'].primary1}`
653
- : '',
654
- height: windowSize[0] <= 650 ? '100%' : 'auto'
655
- }}
656
- >
657
- <span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
658
- <IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
659
- {newNotification.length ? (
660
- <div style={{ marginLeft: '-12px' }}>
661
- {' '}
662
- <HasNotificationIcon />{' '}
663
- </div>
664
- ) : null}
665
- </span>
666
- {windowSize[0] > 700 ? (
667
- <NotificationPopOver
668
- handleClickMarkRead={notification.handleClickMarkRead}
669
- isOpen={openNotificationMobile}
670
- anchor={anchorNotification}
671
- textEmptyState={notification.textEmptyState}
672
- notificationList={notification.notificationList}
673
- textMarkAllAsRead={notification.textMarkAllAsRead}
674
- textNotification={notification.textNotification}
675
- isMobile={false}
676
- setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
677
- textBack={notification.textBack}
678
- handleClickBack={() => handleCloseNotification()}
679
- />
680
- ) : null}
681
- </Styles.WrapperIconNotificationMobile>
682
- )}
683
- {isTabletVersion && notification && (
684
- <Styles.WrapperIconNotificationMobile
685
- onClick={onClickNotification}
686
- style={{
687
- borderBottom:
688
- openNotificationMobile && windowSize[0] <= 650
689
- ? `4px solid ${FRSTTheme['colors'].primary1}`
690
- : '',
691
- height: windowSize[0] <= 650 ? '100%' : 'auto'
692
- }}
693
- >
694
- <span style={{ display: 'inline-flex', justifyContent: 'flex-start', alignItems: 'center' }}>
695
- <IconNotification fill={FRSTTheme['colors'].shadeWhite} />{' '}
696
- {newNotification.length ? (
697
- <div style={{ marginLeft: '-12px' }}>
698
- {' '}
699
- <HasNotificationIcon />{' '}
700
- </div>
701
- ) : null}
702
- </span>
703
- {windowSize[0] > 700 ? (
704
- <NotificationPopOver
705
- handleClickMarkRead={notification.handleClickMarkRead}
706
- isOpen={openNotificationMobile}
707
- anchor={anchorNotification}
708
- textEmptyState={notification.textEmptyState}
709
- notificationList={notification.notificationList}
710
- textMarkAllAsRead={notification.textMarkAllAsRead}
711
- textNotification={notification.textNotification}
712
- isMobile={false}
713
- setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
714
- textBack={notification.textBack}
715
- handleClickBack={() => handleCloseNotification()}
716
- />
717
- ) : null}
718
- </Styles.WrapperIconNotificationMobile>
719
- )}
720
- <DropdownProfileMenu
721
- variant="LXP"
722
- user={user}
723
- profileMenuText={profileMenuText}
724
- handleProfileMenuClick={onClickProfileMenuText}
725
- menuItems={user && user.menuItems}
726
- isMobileVersion={isMobileVersion}
727
- style={{
728
- marginLeft: isMobileVersion ? '0px' : '5px',
729
- marginRight: isMobileVersion ? '0px' : '5px'
730
- }}
731
- />
732
- {!isMobileVersion && !isTabletVersion && languages && languages.length > 0 && (
733
- <LanguagesDropdown
734
- variant="LXP"
735
- languages={[...languages]}
736
- selected={languageSelected}
737
- onSelect={(e) => onChangeLanguage(e)}
738
- distanceBtnDrop={'57px'}
739
- />
740
- )}
741
- </Styles.WrapperRightInfo>
742
- </Styles.MenuContainer>
743
- </div>
744
- {openNotificationMobile && windowSize[0] <= 700 ? (
745
- <NotificationPopOver
746
- handleClickMarkRead={notification.handleClickMarkRead}
747
- isOpen={openNotificationMobile}
748
- anchor={anchorNotification}
749
- textEmptyState={notification.textEmptyState}
750
- notificationList={notification.notificationList}
751
- textMarkAllAsRead={notification.textMarkAllAsRead}
752
- textNotification={notification.textNotification}
753
- isMobile={true}
754
- setOnAreaPopOver={(e) => setOnAreaPopOver(e)}
755
- textBack={notification.textBack}
756
- handleClickBack={() => handleCloseNotification()}
757
- />
758
- ) : null}
759
- </>
760
- ) : (
761
- <div style={{ width: '100%', display: 'flex', flexDirection: 'column', ...style }}>
762
- <Styles.MenuContainer variant={variant} style={{ ...style, display: 'none' }}>
763
- <Styles.WrapperLogo onClick={() => onClickLogo()}>
764
- <FRSTLogo height="28" />
765
- </Styles.WrapperLogo>
766
- <Styles.WrapperMenu>
767
- {menu &&
768
- menu.length > 0 &&
769
- menu.map((item, index) => {
770
- return (
771
- <ItemGlobalMenu
772
- label={item.label}
773
- key={item.id ? item.id : index}
774
- variant="default"
775
- type="menu"
776
- handleOnClick={() => item.onClick('tes')}
777
- style={{ paddingRight: '10px', paddingLeft: '10px' }}
778
- />
779
- )
780
- })}
781
- </Styles.WrapperMenu>
782
- <Styles.WrapperRightInfo>
783
- <DropdownProfileMenu
784
- variant="default"
785
- user={user}
786
- menuItems={user && user.menuItems}
787
- isMobileVersion={isMobileVersion}
788
- profileMenuText={profileMenuText}
789
- handleProfileMenuClick={onClickProfileMenuText}
790
- />
791
- </Styles.WrapperRightInfo>
792
- {languages && languages.length > 0 && (
793
- <LanguagesDropdown
794
- variant="default"
795
- languages={[...languages]}
796
- selected={languageSelected}
797
- onSelect={(e) => onChangeLanguage(e)}
798
- distanceBtnDrop={'45px'}
799
- />
800
- )}
801
- </Styles.MenuContainer>
802
- </div>
803
- )}
804
- </ThemeProvider>
805
- )
806
- }
807
-
808
- export function MenuMobile({
809
- items,
810
- isVisible,
811
- setVisible,
812
- variant,
813
- languageSelected,
814
- onClickExit,
815
- onClickSite,
816
- onClickLinkedin,
817
- onClickInstagram,
818
- onClickYoutube,
819
- onClickSpotify,
820
- onClickPodCast,
821
- customMenu
822
- }) {
823
- const [optionsSubMenu, setOptionsSubmenu] = useState({})
824
- const [subMenuIsVisible, setSubMenuIsVisible] = useState(false)
825
-
826
- const newOptionsSubMenu = (items) => {
827
- setOptionsSubmenu(items)
828
- setTimeout(() => setSubMenuIsVisible(true), 200)
829
- }
830
-
831
- return (
832
- <>
833
- <SubMenuMobile
834
- onClickExit={onClickExit}
835
- items={optionsSubMenu}
836
- isVisible={subMenuIsVisible}
837
- setVisible={setSubMenuIsVisible}
838
- variant={variant}
839
- languageSelected={languageSelected}
840
- onClickSite={onClickSite}
841
- onClickLinkedin={onClickLinkedin}
842
- onClickInstagram={onClickInstagram}
843
- onClickYoutube={onClickYoutube}
844
- onClickSpotify={onClickSpotify}
845
- onClickPodCast={onClickPodCast}
846
- customMenu={customMenu}
847
- />
848
- <Styles.MenuMobile isVisible={isVisible}>
849
- {variant === 'LXP' || variant === 'custom' ? (
850
- <>
851
- <div>
852
- <Styles.ItemMenuMobile onClick={() => setVisible(false)}>
853
- <span>
854
- {' '}
855
- <BackArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
856
- </span>
857
- </Styles.ItemMenuMobile>
858
- {items &&
859
- items.length > 0 &&
860
- items.map((item, index) => {
861
- if (item.label == 'Criar conteúdo') return
862
-
863
- if (item.onClick == null)
864
- return (
865
- <Styles.ItemMenuMobile onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
866
- &nbsp;
867
- {item.label}
868
- </Styles.ItemMenuMobile>
869
- )
870
-
871
- return (
872
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
873
- &nbsp;
874
- {item.label}
875
- </Styles.ItemMenuMobile>
876
- )
877
- })}
878
- <Styles.ItemMenuMobile style={{ borderBottom: 'none' }} onClick={() => onClickExit()}>
879
- <span>
880
- {' '}
881
- <ExitArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
882
- </span>
883
- </Styles.ItemMenuMobile>
884
- </div>
885
- <Styles.footerMenuMobile>
886
- <span style={{ marginTop: 24 }}>
887
- {languageSelected === 'en-US'
888
- ? 'Visit our channel and social networks'
889
- : 'Visite nossos canais e redes sociais'}
890
- </span>
891
- <Styles.frstSocials>
892
- <Styles.itemFrstSocials onClick={onClickSite}>
893
- {' '}
894
- <SiteIcon />{' '}
895
- </Styles.itemFrstSocials>
896
- <Styles.itemFrstSocials onClick={onClickLinkedin}>
897
- {' '}
898
- <LinkedinIcon />{' '}
899
- </Styles.itemFrstSocials>
900
- <Styles.itemFrstSocials onClick={onClickInstagram}>
901
- {' '}
902
- <InstagramIcon />{' '}
903
- </Styles.itemFrstSocials>
904
- <Styles.itemFrstSocials onClick={onClickYoutube}>
905
- {' '}
906
- <YoutubeIcon />{' '}
907
- </Styles.itemFrstSocials>
908
- <Styles.itemFrstSocials onClick={onClickSpotify}>
909
- {' '}
910
- <SpotifyIcon />{' '}
911
- </Styles.itemFrstSocials>
912
- <Styles.itemFrstSocials onClick={onClickPodCast}>
913
- {' '}
914
- <PodCastIcon />{' '}
915
- </Styles.itemFrstSocials>
916
- </Styles.frstSocials>
917
- </Styles.footerMenuMobile>
918
- </>
919
- ) : (
920
- <>
921
- <div>
922
- <Styles.ItemMenuMobile style={{ paddingBottom: 32 }} onClick={() => setVisible(false)}>
923
- <span>
924
- {' '}
925
- <BackArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
926
- </span>
927
- </Styles.ItemMenuMobile>
928
- {items &&
929
- items.length > 0 &&
930
- items.map((item, index) => {
931
- if (item.label == 'Criar conteúdo') return
932
-
933
- if (item.onClick == null)
934
- return (
935
- <Styles.ItemMenuMobile onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
936
- {item.iconBegin}
937
- &nbsp;
938
- {item.label}
939
- </Styles.ItemMenuMobile>
940
- )
941
-
942
- return (
943
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
944
- {item.iconBegin}
945
- &nbsp;
946
- {item.label}
947
- </Styles.ItemMenuMobile>
948
- )
949
- })}
950
- {customMenu?.map((item, index) => (
951
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
952
- <span style={{ marginRight: customMenu ? 2 : 0 }}>{item.iconBegin}</span>
953
- &nbsp;
954
- {item.label}
955
- </Styles.ItemMenuMobile>
956
- ))}
957
- </div>
958
- <Styles.footerMenuMobile>
959
- <Styles.ItemMenuMobile style={{}} onClick={() => onClickExit()}>
960
- <span>
961
- {' '}
962
- <ExitArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
963
- </span>
964
- </Styles.ItemMenuMobile>
965
- <span style={{ marginTop: 24 }}>
966
- {languageSelected === 'en-US'
967
- ? 'Visit our channel and social networks'
968
- : 'Visite nossos canais e redes sociais'}
969
- </span>
970
- <Styles.frstSocials>
971
- <Styles.itemFrstSocials onClick={onClickSite}>
972
- {' '}
973
- <SiteIcon />{' '}
974
- </Styles.itemFrstSocials>
975
- <Styles.itemFrstSocials onClick={onClickLinkedin}>
976
- {' '}
977
- <LinkedinIcon />{' '}
978
- </Styles.itemFrstSocials>
979
- <Styles.itemFrstSocials onClick={onClickInstagram}>
980
- {' '}
981
- <InstagramIcon />{' '}
982
- </Styles.itemFrstSocials>
983
- <Styles.itemFrstSocials onClick={onClickYoutube}>
984
- {' '}
985
- <YoutubeIcon />{' '}
986
- </Styles.itemFrstSocials>
987
- <Styles.itemFrstSocials onClick={onClickSpotify}>
988
- {' '}
989
- <SpotifyIcon />{' '}
990
- </Styles.itemFrstSocials>
991
- <Styles.itemFrstSocials onClick={onClickPodCast}>
992
- {' '}
993
- <PodCastIcon />{' '}
994
- </Styles.itemFrstSocials>
995
- </Styles.frstSocials>
996
- </Styles.footerMenuMobile>
997
- </>
998
- )}
999
- </Styles.MenuMobile>
1000
- </>
1001
- )
1002
- }
1003
-
1004
- export function SubMenuMobile({
1005
- items,
1006
- isVisible,
1007
- setVisible,
1008
- variant,
1009
- languageSelected,
1010
- onClickExit,
1011
- onClickSite,
1012
- onClickLinkedin,
1013
- onClickInstagram,
1014
- onClickYoutube,
1015
- onClickSpotify,
1016
- onClickPodCast,
1017
- customMenu
1018
- }) {
1019
- const [options, setOptions] = useState(items)
1020
- useEffect(() => {
1021
- setOptions(items)
1022
- }, [items])
1023
-
1024
- return (
1025
- <Styles.MenuMobile isVisible={isVisible} style={{ zIndex: '10002' }}>
1026
- {variant === 'LXP' ? (
1027
- <>
1028
- <div>
1029
- {options &&
1030
- options.length > 0 &&
1031
- options.map((item, index) => {
1032
- if (item.label == 'Criar conteúdo') return
1033
- return (
1034
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
1035
- {item.label}
1036
- </Styles.ItemMenuMobile>
1037
- )
1038
- })}
1039
- </div>
1040
- <Styles.ItemMenuMobile onClick={() => setVisible(false)} style={{ borderTop: '1px solid #444' }}>
1041
- {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
1042
- </Styles.ItemMenuMobile>
1043
- </>
1044
- ) : (
1045
- <>
1046
- <div>
1047
- <Styles.ItemMenuMobile style={{ paddingBottom: 32 }} onClick={() => setVisible(false)}>
1048
- <span>
1049
- {' '}
1050
- <BackArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
1051
- </span>
1052
- </Styles.ItemMenuMobile>
1053
- {options &&
1054
- options.length > 0 &&
1055
- options.map((item, index) => {
1056
- if (item.label == 'Criar conteúdo') return
1057
-
1058
- if (item.onClick == null)
1059
- return (
1060
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
1061
- {item.iconBegin}
1062
- &nbsp;
1063
- {item.label}
1064
- </Styles.ItemMenuMobile>
1065
- )
1066
-
1067
- return (
1068
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
1069
- {item.iconBegin}
1070
- &nbsp;
1071
- {item.label}
1072
- </Styles.ItemMenuMobile>
1073
- )
1074
- })}
1075
- {customMenu?.map((item, index) => (
1076
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
1077
- {item.iconBegin}
1078
- &nbsp;
1079
- {item.label}
1080
- </Styles.ItemMenuMobile>
1081
- ))}
1082
- </div>
1083
- <Styles.footerMenuMobile>
1084
- <Styles.ItemMenuMobile style={{}} onClick={() => onClickExit()}>
1085
- <span>
1086
- {' '}
1087
- <ExitArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
1088
- </span>
1089
- </Styles.ItemMenuMobile>
1090
- <span style={{ marginTop: 24 }}>
1091
- {languageSelected === 'en-US'
1092
- ? 'Visit our channel and social networks'
1093
- : 'Visite nossos canais e redes sociais'}
1094
- </span>
1095
- <Styles.frstSocials>
1096
- <Styles.itemFrstSocials onClick={onClickSite}>
1097
- {' '}
1098
- <SiteIcon />{' '}
1099
- </Styles.itemFrstSocials>
1100
- <Styles.itemFrstSocials onClick={onClickLinkedin}>
1101
- {' '}
1102
- <LinkedinIcon />{' '}
1103
- </Styles.itemFrstSocials>
1104
- <Styles.itemFrstSocials onClick={onClickInstagram}>
1105
- {' '}
1106
- <InstagramIcon />{' '}
1107
- </Styles.itemFrstSocials>
1108
- <Styles.itemFrstSocials onClick={onClickYoutube}>
1109
- {' '}
1110
- <YoutubeIcon />{' '}
1111
- </Styles.itemFrstSocials>
1112
- <Styles.itemFrstSocials onClick={onClickSpotify}>
1113
- {' '}
1114
- <SpotifyIcon />{' '}
1115
- </Styles.itemFrstSocials>
1116
- <Styles.itemFrstSocials onClick={onClickPodCast}>
1117
- {' '}
1118
- <PodCastIcon />{' '}
1119
- </Styles.itemFrstSocials>
1120
- </Styles.frstSocials>
1121
- </Styles.footerMenuMobile>
1122
- </>
1123
- )}
1124
- </Styles.MenuMobile>
1125
- )
1126
- }
1127
-
1128
- export function SideMenu({
1129
- items,
1130
- isVisible,
1131
- setVisible,
1132
- variant,
1133
- languageSelected,
1134
- onClickExit,
1135
- onClickSite,
1136
- onClickLinkedin,
1137
- onClickInstagram,
1138
- onClickYoutube,
1139
- onClickSpotify,
1140
- onClickPodCast,
1141
- customMenu
1142
- }) {
1143
- const [optionsSubMenu, setOptionsSubmenu] = useState({})
1144
- const [subMenuIsVisible, setSubMenuIsVisible] = useState(false)
1145
-
1146
- const newOptionsSubMenu = (items) => {
1147
- setOptionsSubmenu(items)
1148
- setTimeout(() => setSubMenuIsVisible(true), 200)
1149
- }
1150
-
1151
- return (
1152
- <>
1153
- <Styles.SideMenu isVisible={isVisible}>
1154
- {variant === 'LXP' ? (
1155
- <>
1156
- <div>
1157
- <Styles.ItemSideMenu onClick={() => setVisible(false)}>
1158
- <span>
1159
- {' '}
1160
- <BackArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
1161
- </span>
1162
- </Styles.ItemSideMenu>
1163
- {items &&
1164
- items.length > 0 &&
1165
- items.map((item, index) => {
1166
- if (item.label == 'Criar conteúdo') return
1167
-
1168
- if (item.onClick == null)
1169
- return (
1170
- <Styles.ItemSideMenu onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
1171
- &nbsp;
1172
- {item.label}
1173
- </Styles.ItemSideMenu>
1174
- )
1175
-
1176
- return (
1177
- <Styles.ItemSideMenu onClick={(e) => item.onClick(e)} key={index}>
1178
- &nbsp;
1179
- {item.label}
1180
- </Styles.ItemSideMenu>
1181
- )
1182
- })}
1183
- <Styles.ItemSideMenu style={{ borderBottom: 'none' }} onClick={() => onClickExit()}>
1184
- <span>
1185
- {' '}
1186
- <ExitArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
1187
- </span>
1188
- </Styles.ItemSideMenu>
1189
- </div>
1190
- <Styles.footerMenuMobile>
1191
- <span style={{ marginTop: 24 }}>
1192
- {languageSelected === 'en-US'
1193
- ? 'Visit our channel and social networks'
1194
- : 'Visite nossos canais e redes sociais'}
1195
- </span>
1196
- <Styles.frstSocials>
1197
- <Styles.itemFrstSocials onClick={onClickSite}>
1198
- {' '}
1199
- <SiteIcon />{' '}
1200
- </Styles.itemFrstSocials>
1201
- <Styles.itemFrstSocials onClick={onClickLinkedin}>
1202
- {' '}
1203
- <LinkedinIcon />{' '}
1204
- </Styles.itemFrstSocials>
1205
- <Styles.itemFrstSocials onClick={onClickInstagram}>
1206
- {' '}
1207
- <InstagramIcon />{' '}
1208
- </Styles.itemFrstSocials>
1209
- <Styles.itemFrstSocials onClick={onClickYoutube}>
1210
- {' '}
1211
- <YoutubeIcon />{' '}
1212
- </Styles.itemFrstSocials>
1213
- <Styles.itemFrstSocials onClick={onClickSpotify}>
1214
- {' '}
1215
- <SpotifyIcon />{' '}
1216
- </Styles.itemFrstSocials>
1217
- <Styles.itemFrstSocials onClick={onClickPodCast}>
1218
- {' '}
1219
- <PodCastIcon />{' '}
1220
- </Styles.itemFrstSocials>
1221
- </Styles.frstSocials>
1222
- </Styles.footerMenuMobile>
1223
- </>
1224
- ) : (
1225
- <>
1226
- <div>
1227
- <Styles.ItemMenuMobile style={{ paddingBottom: 32 }} onClick={() => setVisible(false)}>
1228
- <span>
1229
- {' '}
1230
- <BackArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Back' : 'Voltar'}
1231
- </span>
1232
- </Styles.ItemMenuMobile>
1233
- {items &&
1234
- items.length > 0 &&
1235
- items.map((item, index) => {
1236
- if (item.label == 'Criar conteúdo') return
1237
-
1238
- if (item.onClick == null)
1239
- return (
1240
- <Styles.ItemMenuMobile onClick={() => newOptionsSubMenu(item.subItens)} key={index}>
1241
- {item.iconBegin}
1242
- &nbsp;
1243
- {item.label}
1244
- </Styles.ItemMenuMobile>
1245
- )
1246
-
1247
- return (
1248
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
1249
- {item.iconBegin}
1250
- &nbsp;
1251
- {item.label}
1252
- </Styles.ItemMenuMobile>
1253
- )
1254
- })}
1255
- {customMenu?.map((item, index) => (
1256
- <Styles.ItemMenuMobile onClick={(e) => item.onClick(e)} key={index}>
1257
- {item.iconBegin}
1258
- &nbsp;
1259
- {item.label}
1260
- </Styles.ItemMenuMobile>
1261
- ))}
1262
- </div>
1263
- <Styles.footerMenuMobile>
1264
- <Styles.ItemMenuMobile style={{}} onClick={() => onClickExit()}>
1265
- <span>
1266
- {' '}
1267
- <ExitArrow fill="white" /> &nbsp; {languageSelected === 'en-US' ? 'Logout' : 'Sair'}
1268
- </span>
1269
- </Styles.ItemMenuMobile>
1270
- <span style={{ marginTop: 24 }}>
1271
- {languageSelected === 'en-US'
1272
- ? 'Visit our channel and social networks'
1273
- : 'Visite nossos canais e redes sociais'}
1274
- </span>
1275
- <Styles.frstSocials>
1276
- <Styles.itemFrstSocials onClick={onClickSite}>
1277
- {' '}
1278
- <SiteIcon />{' '}
1279
- </Styles.itemFrstSocials>
1280
- <Styles.itemFrstSocials onClick={onClickLinkedin}>
1281
- {' '}
1282
- <LinkedinIcon />{' '}
1283
- </Styles.itemFrstSocials>
1284
- <Styles.itemFrstSocials onClick={onClickInstagram}>
1285
- {' '}
1286
- <InstagramIcon />{' '}
1287
- </Styles.itemFrstSocials>
1288
- <Styles.itemFrstSocials onClick={onClickYoutube}>
1289
- {' '}
1290
- <YoutubeIcon />{' '}
1291
- </Styles.itemFrstSocials>
1292
- <Styles.itemFrstSocials onClick={onClickSpotify}>
1293
- {' '}
1294
- <SpotifyIcon />{' '}
1295
- </Styles.itemFrstSocials>
1296
- <Styles.itemFrstSocials onClick={onClickPodCast}>
1297
- {' '}
1298
- <PodCastIcon />{' '}
1299
- </Styles.itemFrstSocials>
1300
- </Styles.frstSocials>
1301
- </Styles.footerMenuMobile>
1302
- </>
1303
- )}
1304
- </Styles.SideMenu>
1305
- </>
1306
- )
1307
- }
1308
-
1309
- export function IconHamburgerMenu() {
1310
- return (
1311
- <div>
1312
- <svg width="27" height="33" viewBox="0 0 27 33" fill="none" xmlns="http://www.w3.org/2000/svg">
1313
- <path
1314
- d="M7.46 2.4H6.23L4.79 6.42L4.28 8.06H4.26L3.76 6.41L2.31 2.4H1.08V9H1.84V4.85L1.75 3.11H1.76L3.93 9H4.61L6.78 3.11H6.79L6.7 4.85V9H7.46V2.4ZM13.6673 6.24C13.6673 4.95 12.8773 3.9 11.4273 3.9C9.91727 3.9 9.06727 4.88 9.06727 6.5C9.06727 8.12 9.97727 9.1 11.4873 9.1C12.5673 9.1 13.1873 8.69 13.5673 8.01L12.8973 7.66C12.7173 8.14 12.2173 8.4 11.4873 8.4C10.5673 8.4 9.95727 7.81 9.85727 6.8H13.6273C13.6473 6.66 13.6673 6.47 13.6673 6.24ZM11.4273 4.6C12.2773 4.6 12.7873 5.17 12.8973 6.09H9.86727C9.98727 5.15 10.5373 4.6 11.4273 4.6ZM17.6178 3.9C16.9278 3.9 16.2878 4.15 15.9378 4.78L15.8878 4H15.1878V9H15.9878V6.34C15.9878 5.06 16.8078 4.6 17.5378 4.6C18.2278 4.6 18.7678 4.97 18.7678 6.08V9H19.5678V5.8C19.5678 4.51 18.6878 3.9 17.6178 3.9ZM24.9092 4V6.72C24.9092 7.9 24.1592 8.4 23.3092 8.4C22.5892 8.4 22.1292 8.09 22.1292 7.06V4H21.3292V7.27C21.3292 8.59 22.1792 9.1 23.1692 9.1C23.9692 9.1 24.6092 8.84 24.9592 8.24L25.0092 9H25.7092V4H24.9092Z"
1315
- fill="white"
1316
- />
1317
- <path
1318
- fillRule="evenodd"
1319
- clipRule="evenodd"
1320
- d="M0 15.5854C0 15.0332 0.447715 14.5854 1 14.5854H24.7843C25.3366 14.5854 25.7843 15.0332 25.7843 15.5854C25.7843 16.1377 25.3366 16.5854 24.7843 16.5854H1C0.447715 16.5854 0 16.1377 0 15.5854ZM0 23.6736C0 23.1213 0.447715 22.6736 1 22.6736H24.7843C25.3366 22.6736 25.7843 23.1213 25.7843 23.6736C25.7843 24.2259 25.3366 24.6736 24.7843 24.6736H1C0.447715 24.6736 0 24.2259 0 23.6736ZM1 30.7617C0.447715 30.7617 0 31.2094 0 31.7617C0 32.314 0.447715 32.7617 1 32.7617H24.7843C25.3366 32.7617 25.7843 32.314 25.7843 31.7617C25.7843 31.2094 25.3366 30.7617 24.7843 30.7617H1Z"
1321
- fill="white"
1322
- />
1323
- </svg>
1324
- </div>
1325
- )
1326
- }
1327
-
1328
- export function HasNotificationIcon() {
1329
- return (
1330
- <div>
1331
- <svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
1332
- <rect width="10" height="10" rx="5" fill="#FF4D0D" />
1333
- </svg>
1334
- </div>
1335
- )
1336
- }