frst-components 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1010) hide show
  1. package/.dockerignore +7 -0
  2. package/.env +1 -0
  3. package/.github/pull_request_template.md +26 -0
  4. package/.hintrc +41 -0
  5. package/.prettierrc +7 -0
  6. package/.storybook/i18n.js +26 -0
  7. package/.storybook/main.js +41 -0
  8. package/.storybook/preview.js +23 -0
  9. package/.vscode/settings.json +2 -0
  10. package/Dockerfile +22 -0
  11. package/README.md +52 -0
  12. package/declarations.d.ts +4 -0
  13. package/dist/index.d.ts +100 -0
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.js +14926 -0
  16. package/dist/src/components/DS/loading/index.d.ts +20 -0
  17. package/dist/src/components/DS/loading/index.d.ts.map +1 -0
  18. package/dist/src/components/DS/loading/loadingStyle.d.ts +6 -0
  19. package/dist/src/components/DS/loading/loadingStyle.d.ts.map +1 -0
  20. package/dist/src/components/DS/modal/index.d.ts +19 -0
  21. package/dist/src/components/DS/modal/index.d.ts.map +1 -0
  22. package/dist/src/components/DS/modal/styles.d.ts +16 -0
  23. package/dist/src/components/DS/modal/styles.d.ts.map +1 -0
  24. package/dist/src/components/DS/select/Select.d.ts +14 -0
  25. package/dist/src/components/DS/select/Select.d.ts.map +1 -0
  26. package/dist/src/components/DS/select/SelectContext.d.ts +7 -0
  27. package/dist/src/components/DS/select/SelectContext.d.ts.map +1 -0
  28. package/dist/src/components/DS/select/SelectItem.d.ts +12 -0
  29. package/dist/src/components/DS/select/SelectItem.d.ts.map +1 -0
  30. package/dist/src/components/DS/select/index.d.ts +10 -0
  31. package/dist/src/components/DS/select/index.d.ts.map +1 -0
  32. package/dist/src/components/DS/select/styles/StylesSelect.d.ts +14 -0
  33. package/dist/src/components/DS/select/styles/StylesSelect.d.ts.map +1 -0
  34. package/dist/src/components/DS/tooltip/index.d.ts +5 -0
  35. package/dist/src/components/DS/tooltip/index.d.ts.map +1 -0
  36. package/dist/src/components/DS/tooltip/styles.d.ts +12 -0
  37. package/dist/src/components/DS/tooltip/styles.d.ts.map +1 -0
  38. package/dist/src/components/EBR/buttons-group/index.d.ts +4 -0
  39. package/dist/src/components/EBR/buttons-group/index.d.ts.map +1 -0
  40. package/dist/src/components/EBR/buttons-group/styles.d.ts +2 -0
  41. package/dist/src/components/EBR/buttons-group/styles.d.ts.map +1 -0
  42. package/dist/src/components/EBR/group-statistics/groupStatisticsStyles.d.ts +19 -0
  43. package/dist/src/components/EBR/group-statistics/groupStatisticsStyles.d.ts.map +1 -0
  44. package/dist/src/components/EBR/group-statistics/index.d.ts +5 -0
  45. package/dist/src/components/EBR/group-statistics/index.d.ts.map +1 -0
  46. package/dist/src/components/EBR/objective-step/index.d.ts +4 -0
  47. package/dist/src/components/EBR/objective-step/index.d.ts.map +1 -0
  48. package/dist/src/components/EBR/objective-step/objectiveStepStyles.d.ts +4 -0
  49. package/dist/src/components/EBR/objective-step/objectiveStepStyles.d.ts.map +1 -0
  50. package/dist/src/components/EBR/rating/index.d.ts +7 -0
  51. package/dist/src/components/EBR/rating/index.d.ts.map +1 -0
  52. package/dist/src/components/EBR/rating/ratingStyles.d.ts +5 -0
  53. package/dist/src/components/EBR/rating/ratingStyles.d.ts.map +1 -0
  54. package/dist/src/components/EBR/specialist-contact/index.d.ts +4 -0
  55. package/dist/src/components/EBR/specialist-contact/index.d.ts.map +1 -0
  56. package/dist/src/components/EBR/specialist-contact/specialistContactStyles.d.ts +24 -0
  57. package/dist/src/components/EBR/specialist-contact/specialistContactStyles.d.ts.map +1 -0
  58. package/dist/src/components/EBR/stepper/index.d.ts +4 -0
  59. package/dist/src/components/EBR/stepper/index.d.ts.map +1 -0
  60. package/dist/src/components/EBR/stepper/stepper.d.ts +4 -0
  61. package/dist/src/components/EBR/stepper/stepper.d.ts.map +1 -0
  62. package/dist/src/components/EBR/stepper/stepperItem.d.ts +4 -0
  63. package/dist/src/components/EBR/stepper/stepperItem.d.ts.map +1 -0
  64. package/dist/src/components/EBR/stepper/styles.d.ts +13 -0
  65. package/dist/src/components/EBR/stepper/styles.d.ts.map +1 -0
  66. package/dist/src/components/EBR/trail-list/index.d.ts +4 -0
  67. package/dist/src/components/EBR/trail-list/index.d.ts.map +1 -0
  68. package/dist/src/components/EBR/trail-list/trailListStyles.d.ts +9 -0
  69. package/dist/src/components/EBR/trail-list/trailListStyles.d.ts.map +1 -0
  70. package/dist/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.d.ts +16 -0
  71. package/dist/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.d.ts.map +1 -0
  72. package/dist/src/components/FI/bannerProblemFeed/index.d.ts +105 -0
  73. package/dist/src/components/FI/bannerProblemFeed/index.d.ts.map +1 -0
  74. package/dist/src/components/FI/bannerSRG/bannerSRGStyle.d.ts +21 -0
  75. package/dist/src/components/FI/bannerSRG/bannerSRGStyle.d.ts.map +1 -0
  76. package/dist/src/components/FI/bannerSRG/index.d.ts +5 -0
  77. package/dist/src/components/FI/bannerSRG/index.d.ts.map +1 -0
  78. package/dist/src/components/FI/feedInteraction/feedInteractionStyles.d.ts +15 -0
  79. package/dist/src/components/FI/feedInteraction/feedInteractionStyles.d.ts.map +1 -0
  80. package/dist/src/components/FI/feedInteraction/index.d.ts +40 -0
  81. package/dist/src/components/FI/feedInteraction/index.d.ts.map +1 -0
  82. package/dist/src/components/FI/follow/index.d.ts +17 -0
  83. package/dist/src/components/FI/follow/index.d.ts.map +1 -0
  84. package/dist/src/components/FI/interactionsModal/InteractionsModalStyles.d.ts +13 -0
  85. package/dist/src/components/FI/interactionsModal/InteractionsModalStyles.d.ts.map +1 -0
  86. package/dist/src/components/FI/interactionsModal/index.d.ts +4 -0
  87. package/dist/src/components/FI/interactionsModal/index.d.ts.map +1 -0
  88. package/dist/src/components/FI/notificationCard/index.d.ts +13 -0
  89. package/dist/src/components/FI/notificationCard/index.d.ts.map +1 -0
  90. package/dist/src/components/FI/notificationCard/notificationCardStyles.d.ts +5 -0
  91. package/dist/src/components/FI/notificationCard/notificationCardStyles.d.ts.map +1 -0
  92. package/dist/src/components/FI/notificationPopOver/index.d.ts +25 -0
  93. package/dist/src/components/FI/notificationPopOver/index.d.ts.map +1 -0
  94. package/dist/src/components/FI/notificationPopOver/notificationPopOverStyles.d.ts +13 -0
  95. package/dist/src/components/FI/notificationPopOver/notificationPopOverStyles.d.ts.map +1 -0
  96. package/dist/src/components/FI/postFeed/index.d.ts +42 -0
  97. package/dist/src/components/FI/postFeed/index.d.ts.map +1 -0
  98. package/dist/src/components/FI/postFeed/postFeedStyles.d.ts +14 -0
  99. package/dist/src/components/FI/postFeed/postFeedStyles.d.ts.map +1 -0
  100. package/dist/src/components/FI/searchBox/SearchBoxStyles.d.ts +4 -0
  101. package/dist/src/components/FI/searchBox/SearchBoxStyles.d.ts.map +1 -0
  102. package/dist/src/components/FI/searchBox/index.d.ts +4 -0
  103. package/dist/src/components/FI/searchBox/index.d.ts.map +1 -0
  104. package/dist/src/components/FI/sessionFilters/index.d.ts +4 -0
  105. package/dist/src/components/FI/sessionFilters/index.d.ts.map +1 -0
  106. package/dist/src/components/FI/sessionFilters/sessionFiltersStyle.d.ts +12 -0
  107. package/dist/src/components/FI/sessionFilters/sessionFiltersStyle.d.ts.map +1 -0
  108. package/dist/src/components/FI/smallSRGBanner/index.d.ts +9 -0
  109. package/dist/src/components/FI/smallSRGBanner/index.d.ts.map +1 -0
  110. package/dist/src/components/FI/smallSRGBanner/smallSRGBannerStyles.d.ts +5 -0
  111. package/dist/src/components/FI/smallSRGBanner/smallSRGBannerStyles.d.ts.map +1 -0
  112. package/dist/src/components/IJ/ContentCycle/ContentCycleStyles.d.ts +17 -0
  113. package/dist/src/components/IJ/ContentCycle/ContentCycleStyles.d.ts.map +1 -0
  114. package/dist/src/components/IJ/ContentCycle/index.d.ts +4 -0
  115. package/dist/src/components/IJ/ContentCycle/index.d.ts.map +1 -0
  116. package/dist/src/components/IJ/ListContentCycle/ListContentCycleStyles.d.ts +2 -0
  117. package/dist/src/components/IJ/ListContentCycle/ListContentCycleStyles.d.ts.map +1 -0
  118. package/dist/src/components/IJ/ListContentCycle/index.d.ts +4 -0
  119. package/dist/src/components/IJ/ListContentCycle/index.d.ts.map +1 -0
  120. package/dist/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.d.ts +5 -0
  121. package/dist/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.d.ts.map +1 -0
  122. package/dist/src/components/IJ/StepLearningCycle/index.d.ts +4 -0
  123. package/dist/src/components/IJ/StepLearningCycle/index.d.ts.map +1 -0
  124. package/dist/src/components/IJ/favorite/favoriteStyles.d.ts +2 -0
  125. package/dist/src/components/IJ/favorite/favoriteStyles.d.ts.map +1 -0
  126. package/dist/src/components/IJ/favorite/index.d.ts +8 -0
  127. package/dist/src/components/IJ/favorite/index.d.ts.map +1 -0
  128. package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts +6 -0
  129. package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -0
  130. package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts +2 -0
  131. package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -0
  132. package/dist/src/components/IJ/learningCycleCard/index.d.ts +5 -0
  133. package/dist/src/components/IJ/learningCycleCard/index.d.ts.map +1 -0
  134. package/dist/src/components/IJ/learningCycleCard/learningCycleCardStyle.d.ts +23 -0
  135. package/dist/src/components/IJ/learningCycleCard/learningCycleCardStyle.d.ts.map +1 -0
  136. package/dist/src/components/IJ/listSelector/index.d.ts +23 -0
  137. package/dist/src/components/IJ/listSelector/index.d.ts.map +1 -0
  138. package/dist/src/components/IJ/listSelector/listSelectorStyles.d.ts +6 -0
  139. package/dist/src/components/IJ/listSelector/listSelectorStyles.d.ts.map +1 -0
  140. package/dist/src/components/IJ/pagination/index.d.ts +25 -0
  141. package/dist/src/components/IJ/pagination/index.d.ts.map +1 -0
  142. package/dist/src/components/IJ/pagination/paginationStyles.d.ts +10 -0
  143. package/dist/src/components/IJ/pagination/paginationStyles.d.ts.map +1 -0
  144. package/dist/src/components/IJ/participantCard/index.d.ts +5 -0
  145. package/dist/src/components/IJ/participantCard/index.d.ts.map +1 -0
  146. package/dist/src/components/IJ/participantCard/participantCardStyle.d.ts +33 -0
  147. package/dist/src/components/IJ/participantCard/participantCardStyle.d.ts.map +1 -0
  148. package/dist/src/components/IJ/participantCardOld/index.d.ts +5 -0
  149. package/dist/src/components/IJ/participantCardOld/index.d.ts.map +1 -0
  150. package/dist/src/components/IJ/participantCardOld/participantCardStyle.d.ts +14 -0
  151. package/dist/src/components/IJ/participantCardOld/participantCardStyle.d.ts.map +1 -0
  152. package/dist/src/components/IJ/thumbListContent/index.d.ts +20 -0
  153. package/dist/src/components/IJ/thumbListContent/index.d.ts.map +1 -0
  154. package/dist/src/components/IJ/thumbListContent/thumbListContentStyles.d.ts +22 -0
  155. package/dist/src/components/IJ/thumbListContent/thumbListContentStyles.d.ts.map +1 -0
  156. package/dist/src/components/LXP/DropdownSelectMultiple/index.d.ts +14 -0
  157. package/dist/src/components/LXP/DropdownSelectMultiple/index.d.ts.map +1 -0
  158. package/dist/src/components/LXP/accordionTrack/accordionTrack.d.ts +5 -0
  159. package/dist/src/components/LXP/accordionTrack/accordionTrack.d.ts.map +1 -0
  160. package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts +5 -0
  161. package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts.map +1 -0
  162. package/dist/src/components/LXP/accordionTrack/accordionTrackStyle.d.ts +25 -0
  163. package/dist/src/components/LXP/accordionTrack/accordionTrackStyle.d.ts.map +1 -0
  164. package/dist/src/components/LXP/accordionTrack/contentCourses.d.ts +4 -0
  165. package/dist/src/components/LXP/accordionTrack/contentCourses.d.ts.map +1 -0
  166. package/dist/src/components/LXP/accordionTrack/contentCoursesTrails.d.ts +4 -0
  167. package/dist/src/components/LXP/accordionTrack/contentCoursesTrails.d.ts.map +1 -0
  168. package/dist/src/components/LXP/accordionTrack/vectorDown.d.ts +11 -0
  169. package/dist/src/components/LXP/accordionTrack/vectorDown.d.ts.map +1 -0
  170. package/dist/src/components/LXP/accordionTrack/vectorUp.d.ts +11 -0
  171. package/dist/src/components/LXP/accordionTrack/vectorUp.d.ts.map +1 -0
  172. package/dist/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.d.ts +13 -0
  173. package/dist/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.d.ts.map +1 -0
  174. package/dist/src/components/LXP/avatarAssociatedChannel/index.d.ts +5 -0
  175. package/dist/src/components/LXP/avatarAssociatedChannel/index.d.ts.map +1 -0
  176. package/dist/src/components/LXP/avatarChannel/avatarChannelStyles.d.ts +27 -0
  177. package/dist/src/components/LXP/avatarChannel/avatarChannelStyles.d.ts.map +1 -0
  178. package/dist/src/components/LXP/avatarChannel/index.d.ts +5 -0
  179. package/dist/src/components/LXP/avatarChannel/index.d.ts.map +1 -0
  180. package/dist/src/components/LXP/bannerLxp/bannerLxp.d.ts +14 -0
  181. package/dist/src/components/LXP/bannerLxp/bannerLxp.d.ts.map +1 -0
  182. package/dist/src/components/LXP/bannerLxp/index.d.ts +26 -0
  183. package/dist/src/components/LXP/bannerLxp/index.d.ts.map +1 -0
  184. package/dist/src/components/LXP/buttonContent/buttonContentStyle.d.ts +4 -0
  185. package/dist/src/components/LXP/buttonContent/buttonContentStyle.d.ts.map +1 -0
  186. package/dist/src/components/LXP/buttonContent/index.d.ts +5 -0
  187. package/dist/src/components/LXP/buttonContent/index.d.ts.map +1 -0
  188. package/dist/src/components/LXP/calendarLxp/defaultRanges.d.ts +3 -0
  189. package/dist/src/components/LXP/calendarLxp/defaultRanges.d.ts.map +1 -0
  190. package/dist/src/components/LXP/calendarLxp/index.d.ts +11 -0
  191. package/dist/src/components/LXP/calendarLxp/index.d.ts.map +1 -0
  192. package/dist/src/components/LXP/cardLearningCicle/index.d.ts +5 -0
  193. package/dist/src/components/LXP/cardLearningCicle/index.d.ts.map +1 -0
  194. package/dist/src/components/LXP/colorpicker/colorpickerStyles.d.ts +7 -0
  195. package/dist/src/components/LXP/colorpicker/colorpickerStyles.d.ts.map +1 -0
  196. package/dist/src/components/LXP/colorpicker/index.d.ts +5 -0
  197. package/dist/src/components/LXP/colorpicker/index.d.ts.map +1 -0
  198. package/dist/src/components/LXP/contentSwitcher/contentSwitcherStyle.d.ts +8 -0
  199. package/dist/src/components/LXP/contentSwitcher/contentSwitcherStyle.d.ts.map +1 -0
  200. package/dist/src/components/LXP/contentSwitcher/index.d.ts +4 -0
  201. package/dist/src/components/LXP/contentSwitcher/index.d.ts.map +1 -0
  202. package/dist/src/components/LXP/contentThumbnails/contentThumbnailsStyle.d.ts +17 -0
  203. package/dist/src/components/LXP/contentThumbnails/contentThumbnailsStyle.d.ts.map +1 -0
  204. package/dist/src/components/LXP/contentThumbnails/index.d.ts +13 -0
  205. package/dist/src/components/LXP/contentThumbnails/index.d.ts.map +1 -0
  206. package/dist/src/components/LXP/contentThumbnails/vectorDown.d.ts +11 -0
  207. package/dist/src/components/LXP/contentThumbnails/vectorDown.d.ts.map +1 -0
  208. package/dist/src/components/LXP/contentThumbnails/vectorEllipse.d.ts +11 -0
  209. package/dist/src/components/LXP/contentThumbnails/vectorEllipse.d.ts.map +1 -0
  210. package/dist/src/components/LXP/contentThumbnails/vectorUp.d.ts +11 -0
  211. package/dist/src/components/LXP/contentThumbnails/vectorUp.d.ts.map +1 -0
  212. package/dist/src/components/LXP/extraContent/adminExtraContent.d.ts +4 -0
  213. package/dist/src/components/LXP/extraContent/adminExtraContent.d.ts.map +1 -0
  214. package/dist/src/components/LXP/extraContent/index.d.ts +4 -0
  215. package/dist/src/components/LXP/extraContent/index.d.ts.map +1 -0
  216. package/dist/src/components/LXP/extraContent/richTextEditor/components.d.ts +21 -0
  217. package/dist/src/components/LXP/extraContent/richTextEditor/components.d.ts.map +1 -0
  218. package/dist/src/components/LXP/extraContent/richTextEditor/index.d.ts +4 -0
  219. package/dist/src/components/LXP/extraContent/richTextEditor/index.d.ts.map +1 -0
  220. package/dist/src/components/LXP/extraContent/studentExtraContent.d.ts +4 -0
  221. package/dist/src/components/LXP/extraContent/studentExtraContent.d.ts.map +1 -0
  222. package/dist/src/components/LXP/fileUpload/fileUploadStyles.d.ts +7 -0
  223. package/dist/src/components/LXP/fileUpload/fileUploadStyles.d.ts.map +1 -0
  224. package/dist/src/components/LXP/fileUpload/index.d.ts +5 -0
  225. package/dist/src/components/LXP/fileUpload/index.d.ts.map +1 -0
  226. package/dist/src/components/LXP/headerContent/headerContent.d.ts +21 -0
  227. package/dist/src/components/LXP/headerContent/headerContent.d.ts.map +1 -0
  228. package/dist/src/components/LXP/headerContent/index.d.ts +21 -0
  229. package/dist/src/components/LXP/headerContent/index.d.ts.map +1 -0
  230. package/dist/src/components/LXP/login/index.d.ts +5 -0
  231. package/dist/src/components/LXP/login/index.d.ts.map +1 -0
  232. package/dist/src/components/LXP/login/loginStyle.d.ts +33 -0
  233. package/dist/src/components/LXP/login/loginStyle.d.ts.map +1 -0
  234. package/dist/src/components/LXP/manageLerningCicles/index.d.ts +5 -0
  235. package/dist/src/components/LXP/manageLerningCicles/index.d.ts.map +1 -0
  236. package/dist/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.d.ts +13 -0
  237. package/dist/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.d.ts.map +1 -0
  238. package/dist/src/components/LXP/participantThumbnails/index.d.ts +11 -0
  239. package/dist/src/components/LXP/participantThumbnails/index.d.ts.map +1 -0
  240. package/dist/src/components/LXP/participantThumbnails/participantThumbnails.d.ts +11 -0
  241. package/dist/src/components/LXP/participantThumbnails/participantThumbnails.d.ts.map +1 -0
  242. package/dist/src/components/LXP/participantThumbnailsList/index.d.ts +15 -0
  243. package/dist/src/components/LXP/participantThumbnailsList/index.d.ts.map +1 -0
  244. package/dist/src/components/LXP/permission/index.d.ts +5 -0
  245. package/dist/src/components/LXP/permission/index.d.ts.map +1 -0
  246. package/dist/src/components/LXP/popOver/index.d.ts +6 -0
  247. package/dist/src/components/LXP/popOver/index.d.ts.map +1 -0
  248. package/dist/src/components/LXP/popOver/popOverStyle.d.ts +24 -0
  249. package/dist/src/components/LXP/popOver/popOverStyle.d.ts.map +1 -0
  250. package/dist/src/components/LXP/popOverLXP-antigo/index.d.ts +5 -0
  251. package/dist/src/components/LXP/popOverLXP-antigo/index.d.ts.map +1 -0
  252. package/dist/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.d.ts +21 -0
  253. package/dist/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.d.ts.map +1 -0
  254. package/dist/src/components/LXP/progressBar/index.d.ts +5 -0
  255. package/dist/src/components/LXP/progressBar/index.d.ts.map +1 -0
  256. package/dist/src/components/LXP/progressBar/progressStyle.d.ts +5 -0
  257. package/dist/src/components/LXP/progressBar/progressStyle.d.ts.map +1 -0
  258. package/dist/src/components/LXP/searchResults/index.d.ts +5 -0
  259. package/dist/src/components/LXP/searchResults/index.d.ts.map +1 -0
  260. package/dist/src/components/LXP/searchResults/searchResultsStyles.d.ts +8 -0
  261. package/dist/src/components/LXP/searchResults/searchResultsStyles.d.ts.map +1 -0
  262. package/dist/src/components/LXP/selectLXP/SelectLXP.d.ts +12 -0
  263. package/dist/src/components/LXP/selectLXP/SelectLXP.d.ts.map +1 -0
  264. package/dist/src/components/LXP/selectLXP/SelectLXPContext.d.ts +7 -0
  265. package/dist/src/components/LXP/selectLXP/SelectLXPContext.d.ts.map +1 -0
  266. package/dist/src/components/LXP/selectLXP/SelectLXPItem.d.ts +12 -0
  267. package/dist/src/components/LXP/selectLXP/SelectLXPItem.d.ts.map +1 -0
  268. package/dist/src/components/LXP/selectLXP/index.d.ts +8 -0
  269. package/dist/src/components/LXP/selectLXP/index.d.ts.map +1 -0
  270. package/dist/src/components/LXP/star-metric/index.d.ts +4 -0
  271. package/dist/src/components/LXP/star-metric/index.d.ts.map +1 -0
  272. package/dist/src/components/LXP/star-metric/starMetricStyles.d.ts +2 -0
  273. package/dist/src/components/LXP/star-metric/starMetricStyles.d.ts.map +1 -0
  274. package/dist/src/components/LXP/thumbnails/thumbnails.d.ts +5 -0
  275. package/dist/src/components/LXP/thumbnails/thumbnails.d.ts.map +1 -0
  276. package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts +5 -0
  277. package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts.map +1 -0
  278. package/dist/src/components/LXP/thumbnails/thumbnailsStyle.d.ts +24 -0
  279. package/dist/src/components/LXP/thumbnails/thumbnailsStyle.d.ts.map +1 -0
  280. package/dist/src/components/LXP/thumbnails/vectorCross.d.ts +11 -0
  281. package/dist/src/components/LXP/thumbnails/vectorCross.d.ts.map +1 -0
  282. package/dist/src/components/LXP/thumbnails/vectorEllipse.d.ts +11 -0
  283. package/dist/src/components/LXP/thumbnails/vectorEllipse.d.ts.map +1 -0
  284. package/dist/src/components/LXP/tooltip/index.d.ts +4 -0
  285. package/dist/src/components/LXP/tooltip/index.d.ts.map +1 -0
  286. package/dist/src/components/LXP/tooltip/tooltipStyle.d.ts +7 -0
  287. package/dist/src/components/LXP/tooltip/tooltipStyle.d.ts.map +1 -0
  288. package/dist/src/components/LXP/urlAddress/index.d.ts +5 -0
  289. package/dist/src/components/LXP/urlAddress/index.d.ts.map +1 -0
  290. package/dist/src/components/LXP/video/index.d.ts +5 -0
  291. package/dist/src/components/LXP/video/index.d.ts.map +1 -0
  292. package/dist/src/components/LogoFRST/index.d.ts +10 -0
  293. package/dist/src/components/LogoFRST/index.d.ts.map +1 -0
  294. package/dist/src/components/accordion-tabs/accordionTabsStyles.d.ts +19 -0
  295. package/dist/src/components/accordion-tabs/accordionTabsStyles.d.ts.map +1 -0
  296. package/dist/src/components/accordion-tabs/index.d.ts +5 -0
  297. package/dist/src/components/accordion-tabs/index.d.ts.map +1 -0
  298. package/dist/src/components/audio-player/audioPlayerStyles.d.ts +21 -0
  299. package/dist/src/components/audio-player/audioPlayerStyles.d.ts.map +1 -0
  300. package/dist/src/components/audio-player/index.d.ts +22 -0
  301. package/dist/src/components/audio-player/index.d.ts.map +1 -0
  302. package/dist/src/components/avatar/avatarStyles.d.ts +9 -0
  303. package/dist/src/components/avatar/avatarStyles.d.ts.map +1 -0
  304. package/dist/src/components/avatar/index.d.ts +5 -0
  305. package/dist/src/components/avatar/index.d.ts.map +1 -0
  306. package/dist/src/components/buttons/buttonStyle.d.ts +25 -0
  307. package/dist/src/components/buttons/buttonStyle.d.ts.map +1 -0
  308. package/dist/src/components/buttons/index.d.ts +24 -0
  309. package/dist/src/components/buttons/index.d.ts.map +1 -0
  310. package/dist/src/components/calendar/calendarStyle.d.ts +39 -0
  311. package/dist/src/components/calendar/calendarStyle.d.ts.map +1 -0
  312. package/dist/src/components/calendar/index.d.ts +22 -0
  313. package/dist/src/components/calendar/index.d.ts.map +1 -0
  314. package/dist/src/components/card-trail/cardTrailStyle.d.ts +13 -0
  315. package/dist/src/components/card-trail/cardTrailStyle.d.ts.map +1 -0
  316. package/dist/src/components/card-trail/index.d.ts +21 -0
  317. package/dist/src/components/card-trail/index.d.ts.map +1 -0
  318. package/dist/src/components/card-trail/moduleStyle.d.ts +13 -0
  319. package/dist/src/components/card-trail/moduleStyle.d.ts.map +1 -0
  320. package/dist/src/components/card-trail-carousel/index.d.ts +5 -0
  321. package/dist/src/components/card-trail-carousel/index.d.ts.map +1 -0
  322. package/dist/src/components/cardLT/AvatarWithInfo/index.d.ts +26 -0
  323. package/dist/src/components/cardLT/AvatarWithInfo/index.d.ts.map +1 -0
  324. package/dist/src/components/cardLT/AvatarWithInfo/vector.d.ts +11 -0
  325. package/dist/src/components/cardLT/AvatarWithInfo/vector.d.ts.map +1 -0
  326. package/dist/src/components/cardLT/BannerProblem/index.d.ts +4 -0
  327. package/dist/src/components/cardLT/BannerProblem/index.d.ts.map +1 -0
  328. package/dist/src/components/cardLT/BannerProblem/styles.d.ts +5 -0
  329. package/dist/src/components/cardLT/BannerProblem/styles.d.ts.map +1 -0
  330. package/dist/src/components/cardLT/MessageBox/icons/errorIcon.d.ts +7 -0
  331. package/dist/src/components/cardLT/MessageBox/icons/errorIcon.d.ts.map +1 -0
  332. package/dist/src/components/cardLT/MessageBox/icons/successIcon.d.ts +7 -0
  333. package/dist/src/components/cardLT/MessageBox/icons/successIcon.d.ts.map +1 -0
  334. package/dist/src/components/cardLT/MessageBox/icons/warningIcon.d.ts +7 -0
  335. package/dist/src/components/cardLT/MessageBox/icons/warningIcon.d.ts.map +1 -0
  336. package/dist/src/components/cardLT/MessageBox/index.d.ts +30 -0
  337. package/dist/src/components/cardLT/MessageBox/index.d.ts.map +1 -0
  338. package/dist/src/components/cardLT/Rating/index.d.ts +35 -0
  339. package/dist/src/components/cardLT/Rating/index.d.ts.map +1 -0
  340. package/dist/src/components/cardLT/Rating/starIcon.d.ts +11 -0
  341. package/dist/src/components/cardLT/Rating/starIcon.d.ts.map +1 -0
  342. package/dist/src/components/cardLT/RatingCurtidas/index.d.ts +18 -0
  343. package/dist/src/components/cardLT/RatingCurtidas/index.d.ts.map +1 -0
  344. package/dist/src/components/cardLT/RocketButton/RocketButtonIcon.d.ts +18 -0
  345. package/dist/src/components/cardLT/RocketButton/RocketButtonIcon.d.ts.map +1 -0
  346. package/dist/src/components/cardLT/RocketButton/index.d.ts +16 -0
  347. package/dist/src/components/cardLT/RocketButton/index.d.ts.map +1 -0
  348. package/dist/src/components/cardLT/StepsMission/StepMission.d.ts +31 -0
  349. package/dist/src/components/cardLT/StepsMission/StepMission.d.ts.map +1 -0
  350. package/dist/src/components/cardLT/StepsMission/Steps.d.ts +27 -0
  351. package/dist/src/components/cardLT/StepsMission/Steps.d.ts.map +1 -0
  352. package/dist/src/components/cardLT/TextIcon/index.d.ts +26 -0
  353. package/dist/src/components/cardLT/TextIcon/index.d.ts.map +1 -0
  354. package/dist/src/components/cardLT/selectCard/index.d.ts +26 -0
  355. package/dist/src/components/cardLT/selectCard/index.d.ts.map +1 -0
  356. package/dist/src/components/cards/base/index.d.ts +4 -0
  357. package/dist/src/components/cards/base/index.d.ts.map +1 -0
  358. package/dist/src/components/cards/cardDefinicaoProblema/index.d.ts +38 -0
  359. package/dist/src/components/cards/cardDefinicaoProblema/index.d.ts.map +1 -0
  360. package/dist/src/components/cards/cardProblem/index.d.ts +31 -0
  361. package/dist/src/components/cards/cardProblem/index.d.ts.map +1 -0
  362. package/dist/src/components/cards/cardProblemGestor/index.d.ts +26 -0
  363. package/dist/src/components/cards/cardProblemGestor/index.d.ts.map +1 -0
  364. package/dist/src/components/cards/cardResultConquista/index.d.ts +22 -0
  365. package/dist/src/components/cards/cardResultConquista/index.d.ts.map +1 -0
  366. package/dist/src/components/cards/user/index.d.ts +27 -0
  367. package/dist/src/components/cards/user/index.d.ts.map +1 -0
  368. package/dist/src/components/challenge-cards/challengeCardStyles.d.ts +24 -0
  369. package/dist/src/components/challenge-cards/challengeCardStyles.d.ts.map +1 -0
  370. package/dist/src/components/challenge-cards/dropdownMenuStyle.d.ts +9 -0
  371. package/dist/src/components/challenge-cards/dropdownMenuStyle.d.ts.map +1 -0
  372. package/dist/src/components/challenge-cards/index.d.ts +14 -0
  373. package/dist/src/components/challenge-cards/index.d.ts.map +1 -0
  374. package/dist/src/components/checkmark/checkmarkStyles.d.ts +7 -0
  375. package/dist/src/components/checkmark/checkmarkStyles.d.ts.map +1 -0
  376. package/dist/src/components/checkmark/index.d.ts +5 -0
  377. package/dist/src/components/checkmark/index.d.ts.map +1 -0
  378. package/dist/src/components/commentary-box/commentaryBox.utils.d.ts +8 -0
  379. package/dist/src/components/commentary-box/commentaryBox.utils.d.ts.map +1 -0
  380. package/dist/src/components/commentary-box/commentaryBoxStyles.d.ts +35 -0
  381. package/dist/src/components/commentary-box/commentaryBoxStyles.d.ts.map +1 -0
  382. package/dist/src/components/commentary-box/index.d.ts +5 -0
  383. package/dist/src/components/commentary-box/index.d.ts.map +1 -0
  384. package/dist/src/components/conquistaCarrossel/index.d.ts +5 -0
  385. package/dist/src/components/conquistaCarrossel/index.d.ts.map +1 -0
  386. package/dist/src/components/demo/stepController/StepControllerStyle.d.ts +3 -0
  387. package/dist/src/components/demo/stepController/StepControllerStyle.d.ts.map +1 -0
  388. package/dist/src/components/demo/stepController/index.d.ts +13 -0
  389. package/dist/src/components/demo/stepController/index.d.ts.map +1 -0
  390. package/dist/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.d.ts +20 -0
  391. package/dist/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.d.ts.map +1 -0
  392. package/dist/src/components/dropdown-profile-menu/index.d.ts +4 -0
  393. package/dist/src/components/dropdown-profile-menu/index.d.ts.map +1 -0
  394. package/dist/src/components/emoji-picker/index.d.ts +3 -0
  395. package/dist/src/components/emoji-picker/index.d.ts.map +1 -0
  396. package/dist/src/components/exclusive-class/exclusiveClassStyles.d.ts +5 -0
  397. package/dist/src/components/exclusive-class/exclusiveClassStyles.d.ts.map +1 -0
  398. package/dist/src/components/exclusive-class/index.d.ts +5 -0
  399. package/dist/src/components/exclusive-class/index.d.ts.map +1 -0
  400. package/dist/src/components/field-search-dropdown/fieldSearchStyle.d.ts +20 -0
  401. package/dist/src/components/field-search-dropdown/fieldSearchStyle.d.ts.map +1 -0
  402. package/dist/src/components/field-search-dropdown/index.d.ts +5 -0
  403. package/dist/src/components/field-search-dropdown/index.d.ts.map +1 -0
  404. package/dist/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.d.ts +2 -0
  405. package/dist/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.d.ts.map +1 -0
  406. package/dist/src/components/filter-accordion-checkbox/index.d.ts +5 -0
  407. package/dist/src/components/filter-accordion-checkbox/index.d.ts.map +1 -0
  408. package/dist/src/components/form-elements/checkbox/checkboxStyle.d.ts +6 -0
  409. package/dist/src/components/form-elements/checkbox/checkboxStyle.d.ts.map +1 -0
  410. package/dist/src/components/form-elements/checkbox/index.d.ts +8 -0
  411. package/dist/src/components/form-elements/checkbox/index.d.ts.map +1 -0
  412. package/dist/src/components/form-elements/textarea/index.d.ts +4 -0
  413. package/dist/src/components/form-elements/textarea/index.d.ts.map +1 -0
  414. package/dist/src/components/form-elements/textfield/index.d.ts +30 -0
  415. package/dist/src/components/form-elements/textfield/index.d.ts.map +1 -0
  416. package/dist/src/components/form-elements/textfield/textFieldStyle.d.ts +13 -0
  417. package/dist/src/components/form-elements/textfield/textFieldStyle.d.ts.map +1 -0
  418. package/dist/src/components/global-menu/components/customMenu/index.d.ts +2 -0
  419. package/dist/src/components/global-menu/components/customMenu/index.d.ts.map +1 -0
  420. package/dist/src/components/global-menu/globalMenuStyles.d.ts +27 -0
  421. package/dist/src/components/global-menu/globalMenuStyles.d.ts.map +1 -0
  422. package/dist/src/components/global-menu/index.d.ts +52 -0
  423. package/dist/src/components/global-menu/index.d.ts.map +1 -0
  424. package/dist/src/components/headerChallenge/headerChallengeStyle.d.ts +2 -0
  425. package/dist/src/components/headerChallenge/headerChallengeStyle.d.ts.map +1 -0
  426. package/dist/src/components/headerChallenge/index.d.ts +11 -0
  427. package/dist/src/components/headerChallenge/index.d.ts.map +1 -0
  428. package/dist/src/components/index.d.ts +7 -0
  429. package/dist/src/components/index.d.ts.map +1 -0
  430. package/dist/src/components/input-comment/index.d.ts +5 -0
  431. package/dist/src/components/input-comment/index.d.ts.map +1 -0
  432. package/dist/src/components/input-comment/inputComment.utils.d.ts +2 -0
  433. package/dist/src/components/input-comment/inputComment.utils.d.ts.map +1 -0
  434. package/dist/src/components/input-comment/inputCommentStyles.d.ts +18 -0
  435. package/dist/src/components/input-comment/inputCommentStyles.d.ts.map +1 -0
  436. package/dist/src/components/item-lateral-menu/index.d.ts +5 -0
  437. package/dist/src/components/item-lateral-menu/index.d.ts.map +1 -0
  438. package/dist/src/components/item-lateral-menu/itemLateralMenuStyles.d.ts +23 -0
  439. package/dist/src/components/item-lateral-menu/itemLateralMenuStyles.d.ts.map +1 -0
  440. package/dist/src/components/item-menu-global/index.d.ts +5 -0
  441. package/dist/src/components/item-menu-global/index.d.ts.map +1 -0
  442. package/dist/src/components/item-menu-global/itemMenuGlobalStyles.d.ts +12 -0
  443. package/dist/src/components/item-menu-global/itemMenuGlobalStyles.d.ts.map +1 -0
  444. package/dist/src/components/languages-dropdown/index.d.ts +5 -0
  445. package/dist/src/components/languages-dropdown/index.d.ts.map +1 -0
  446. package/dist/src/components/languages-dropdown/languagesDropdownStyles.d.ts +13 -0
  447. package/dist/src/components/languages-dropdown/languagesDropdownStyles.d.ts.map +1 -0
  448. package/dist/src/components/lateral-menu/index.d.ts +5 -0
  449. package/dist/src/components/lateral-menu/index.d.ts.map +1 -0
  450. package/dist/src/components/lateral-menu/lateralMenuStyles.d.ts +7 -0
  451. package/dist/src/components/lateral-menu/lateralMenuStyles.d.ts.map +1 -0
  452. package/dist/src/components/learning-steps/index.d.ts +5 -0
  453. package/dist/src/components/learning-steps/index.d.ts.map +1 -0
  454. package/dist/src/components/learning-steps/learningStepsStyles.d.ts +8 -0
  455. package/dist/src/components/learning-steps/learningStepsStyles.d.ts.map +1 -0
  456. package/dist/src/components/menu-more/index.d.ts +5 -0
  457. package/dist/src/components/menu-more/index.d.ts.map +1 -0
  458. package/dist/src/components/menu-more/menuMoreStyles.d.ts +9 -0
  459. package/dist/src/components/menu-more/menuMoreStyles.d.ts.map +1 -0
  460. package/dist/src/components/modal/modalLearningTech/index.d.ts +20 -0
  461. package/dist/src/components/modal/modalLearningTech/index.d.ts.map +1 -0
  462. package/dist/src/components/modal/modalVideo/index.d.ts +19 -0
  463. package/dist/src/components/modal/modalVideo/index.d.ts.map +1 -0
  464. package/dist/src/components/modal/statusProblema/index.d.ts +13 -0
  465. package/dist/src/components/modal/statusProblema/index.d.ts.map +1 -0
  466. package/dist/src/components/quantidadeDesafios/index.d.ts +20 -0
  467. package/dist/src/components/quantidadeDesafios/index.d.ts.map +1 -0
  468. package/dist/src/components/quantidadeDesafios/quantidadeDesafios.d.ts +8 -0
  469. package/dist/src/components/quantidadeDesafios/quantidadeDesafios.d.ts.map +1 -0
  470. package/dist/src/components/scroll-container/index.d.ts +5 -0
  471. package/dist/src/components/scroll-container/index.d.ts.map +1 -0
  472. package/dist/src/components/scroll-container/scrollContainer.utils.d.ts +2 -0
  473. package/dist/src/components/scroll-container/scrollContainer.utils.d.ts.map +1 -0
  474. package/dist/src/components/scroll-container/scrollContainerStyles.d.ts +15 -0
  475. package/dist/src/components/scroll-container/scrollContainerStyles.d.ts.map +1 -0
  476. package/dist/src/components/search-field/index.d.ts +5 -0
  477. package/dist/src/components/search-field/index.d.ts.map +1 -0
  478. package/dist/src/components/search-field/searchFieldStyles.d.ts +12 -0
  479. package/dist/src/components/search-field/searchFieldStyles.d.ts.map +1 -0
  480. package/dist/src/components/select/index.d.ts +8 -0
  481. package/dist/src/components/select/index.d.ts.map +1 -0
  482. package/dist/src/components/speech-bubble/index.d.ts +5 -0
  483. package/dist/src/components/speech-bubble/index.d.ts.map +1 -0
  484. package/dist/src/components/speech-bubble/speechBubbleStyles.d.ts +11 -0
  485. package/dist/src/components/speech-bubble/speechBubbleStyles.d.ts.map +1 -0
  486. package/dist/src/components/step-card/index.d.ts +5 -0
  487. package/dist/src/components/step-card/index.d.ts.map +1 -0
  488. package/dist/src/components/step-card/stepCardStyles.d.ts +20 -0
  489. package/dist/src/components/step-card/stepCardStyles.d.ts.map +1 -0
  490. package/dist/src/components/tag/index.d.ts +19 -0
  491. package/dist/src/components/tag/index.d.ts.map +1 -0
  492. package/dist/src/components/totalizer-card/index.d.ts +5 -0
  493. package/dist/src/components/totalizer-card/index.d.ts.map +1 -0
  494. package/dist/src/components/totalizer-card/totalizerCardStyles.d.ts +18 -0
  495. package/dist/src/components/totalizer-card/totalizerCardStyles.d.ts.map +1 -0
  496. package/dist/src/shared/globalComponentsStyle.d.ts +10 -0
  497. package/dist/src/shared/globalComponentsStyle.d.ts.map +1 -0
  498. package/dist/src/shared/icons.d.ts +156 -0
  499. package/dist/src/shared/icons.d.ts.map +1 -0
  500. package/dist/src/theme/index.d.ts +3 -0
  501. package/dist/src/theme/index.d.ts.map +1 -0
  502. package/dist/src/theme/tokens.d.ts +195 -0
  503. package/dist/src/theme/tokens.d.ts.map +1 -0
  504. package/images.d.ts +4 -0
  505. package/index.tsx +178 -0
  506. package/package.json +92 -0
  507. package/public/bg1.png +0 -0
  508. package/public/bg2.png +0 -0
  509. package/public/favicon.ico +0 -0
  510. package/public/img/NoUploaded.png +0 -0
  511. package/public/img/Picture.png +0 -0
  512. package/public/img/thumbFoto.png +0 -0
  513. package/public/index.html +43 -0
  514. package/public/locales/en-US.json +30 -0
  515. package/public/locales/es.json +31 -0
  516. package/public/locales/pt-BR.json +38 -0
  517. package/public/manifest.json +15 -0
  518. package/public/robots.txt +3 -0
  519. package/publish.sh +19 -0
  520. package/rollup.config.js +15 -0
  521. package/src/components/DS/loading/index.tsx +70 -0
  522. package/src/components/DS/loading/loading.stories.tsx +31 -0
  523. package/src/components/DS/loading/loadingStyle.ts +40 -0
  524. package/src/components/DS/modal/index.stories.tsx +25 -0
  525. package/src/components/DS/modal/index.tsx +100 -0
  526. package/src/components/DS/modal/styles.ts +101 -0
  527. package/src/components/DS/select/Select.tsx +101 -0
  528. package/src/components/DS/select/SelectContext.tsx +9 -0
  529. package/src/components/DS/select/SelectItem.tsx +69 -0
  530. package/src/components/DS/select/index.tsx +18 -0
  531. package/src/components/DS/select/select.stories.tsx +20 -0
  532. package/src/components/DS/select/styles/StylesSelect.tsx +100 -0
  533. package/src/components/DS/tooltip/index.stories.tsx +24 -0
  534. package/src/components/DS/tooltip/index.tsx +81 -0
  535. package/src/components/DS/tooltip/styles.ts +155 -0
  536. package/src/components/DS/tooltip/types.d.ts +21 -0
  537. package/src/components/EBR/buttons-group/index.d.ts +4 -0
  538. package/src/components/EBR/buttons-group/index.stories.tsx +23 -0
  539. package/src/components/EBR/buttons-group/index.tsx +31 -0
  540. package/src/components/EBR/buttons-group/styles.ts +7 -0
  541. package/src/components/EBR/group-statistics/groupStatistics.d.ts +6 -0
  542. package/src/components/EBR/group-statistics/groupStatistics.stories.tsx +89 -0
  543. package/src/components/EBR/group-statistics/groupStatisticsStyles.ts +63 -0
  544. package/src/components/EBR/group-statistics/index.tsx +85 -0
  545. package/src/components/EBR/objective-step/index.tsx +18 -0
  546. package/src/components/EBR/objective-step/objectiveStep.d.ts +5 -0
  547. package/src/components/EBR/objective-step/objectiveStep.stories.tsx +24 -0
  548. package/src/components/EBR/objective-step/objectiveStepStyles.ts +42 -0
  549. package/src/components/EBR/rating/index.tsx +97 -0
  550. package/src/components/EBR/rating/rating.d.ts +42 -0
  551. package/src/components/EBR/rating/rating.stories.tsx +24 -0
  552. package/src/components/EBR/rating/ratingStyles.ts +25 -0
  553. package/src/components/EBR/specialist-contact/index.tsx +40 -0
  554. package/src/components/EBR/specialist-contact/specialistContact.d.ts +13 -0
  555. package/src/components/EBR/specialist-contact/specialistContact.stories.tsx +26 -0
  556. package/src/components/EBR/specialist-contact/specialistContactStyles.ts +93 -0
  557. package/src/components/EBR/stepper/index.d.ts +29 -0
  558. package/src/components/EBR/stepper/index.stories.tsx +43 -0
  559. package/src/components/EBR/stepper/index.tsx +7 -0
  560. package/src/components/EBR/stepper/stepper.tsx +23 -0
  561. package/src/components/EBR/stepper/stepperItem.tsx +38 -0
  562. package/src/components/EBR/stepper/styles.ts +140 -0
  563. package/src/components/EBR/trail-list/index.tsx +82 -0
  564. package/src/components/EBR/trail-list/trailList.d.ts +6 -0
  565. package/src/components/EBR/trail-list/trailList.stories.tsx +59 -0
  566. package/src/components/EBR/trail-list/trailListStyles.ts +54 -0
  567. package/src/components/FI/bannerProblemFeed/bannerProblemFeed.stories.tsx +355 -0
  568. package/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.ts +128 -0
  569. package/src/components/FI/bannerProblemFeed/index.tsx +388 -0
  570. package/src/components/FI/bannerSRG/bannerSRG.d.ts +33 -0
  571. package/src/components/FI/bannerSRG/bannerSRG.stories.tsx +106 -0
  572. package/src/components/FI/bannerSRG/bannerSRGStyle.ts +226 -0
  573. package/src/components/FI/bannerSRG/index.tsx +93 -0
  574. package/src/components/FI/feedInteraction/feedInteraction.stories.tsx +219 -0
  575. package/src/components/FI/feedInteraction/feedInteractionStyles.ts +142 -0
  576. package/src/components/FI/feedInteraction/index.tsx +343 -0
  577. package/src/components/FI/follow/follow.stories.tsx +59 -0
  578. package/src/components/FI/follow/followStyles.ts +42 -0
  579. package/src/components/FI/follow/index.tsx +144 -0
  580. package/src/components/FI/interactionsModal/InteractionsModal.stories.tsx +123 -0
  581. package/src/components/FI/interactionsModal/InteractionsModalStyles.ts +164 -0
  582. package/src/components/FI/interactionsModal/index.tsx +106 -0
  583. package/src/components/FI/interactionsModal/interactionsModal.d.ts +23 -0
  584. package/src/components/FI/notificationCard/index.tsx +66 -0
  585. package/src/components/FI/notificationCard/notificationCard.stories.tsx +34 -0
  586. package/src/components/FI/notificationCard/notificationCardStyles.ts +41 -0
  587. package/src/components/FI/notificationPopOver/index.tsx +190 -0
  588. package/src/components/FI/notificationPopOver/notificationPopOver.stories.tsx +117 -0
  589. package/src/components/FI/notificationPopOver/notificationPopOverStyles.ts +109 -0
  590. package/src/components/FI/postFeed/index.tsx +188 -0
  591. package/src/components/FI/postFeed/postFeed.stories.tsx +313 -0
  592. package/src/components/FI/postFeed/postFeedStyles.ts +188 -0
  593. package/src/components/FI/searchBox/SearchBox.stories.tsx +34 -0
  594. package/src/components/FI/searchBox/SearchBoxStyles.ts +21 -0
  595. package/src/components/FI/searchBox/index.tsx +25 -0
  596. package/src/components/FI/searchBox/searchBox.d.ts +11 -0
  597. package/src/components/FI/sessionFilters/index.tsx +160 -0
  598. package/src/components/FI/sessionFilters/sessionFilters.d.ts +35 -0
  599. package/src/components/FI/sessionFilters/sessionFilters.stories.tsx +74 -0
  600. package/src/components/FI/sessionFilters/sessionFiltersStyle.ts +86 -0
  601. package/src/components/FI/smallSRGBanner/index.tsx +24 -0
  602. package/src/components/FI/smallSRGBanner/smallSRGBanner.stories.tsx +19 -0
  603. package/src/components/FI/smallSRGBanner/smallSRGBannerStyles.ts +34 -0
  604. package/src/components/IJ/ContentCycle/ContentCycle.d.ts +56 -0
  605. package/src/components/IJ/ContentCycle/ContentCycle.stories.tsx +30 -0
  606. package/src/components/IJ/ContentCycle/ContentCycleStyles.ts +152 -0
  607. package/src/components/IJ/ContentCycle/index.tsx +85 -0
  608. package/src/components/IJ/ListContentCycle/ListContentCycle.d.ts +33 -0
  609. package/src/components/IJ/ListContentCycle/ListContentCycle.stories.tsx +77 -0
  610. package/src/components/IJ/ListContentCycle/ListContentCycleStyles.ts +10 -0
  611. package/src/components/IJ/ListContentCycle/index.tsx +35 -0
  612. package/src/components/IJ/StepLearningCycle/StepLearningCycle.d.ts +39 -0
  613. package/src/components/IJ/StepLearningCycle/StepLearningCycle.stories.tsx +24 -0
  614. package/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.ts +93 -0
  615. package/src/components/IJ/StepLearningCycle/index.tsx +153 -0
  616. package/src/components/IJ/favorite/favorite.stories.tsx +19 -0
  617. package/src/components/IJ/favorite/favoriteStyles.ts +15 -0
  618. package/src/components/IJ/favorite/index.tsx +44 -0
  619. package/src/components/IJ/learningCycleCard/components/menu/index.tsx +92 -0
  620. package/src/components/IJ/learningCycleCard/components/menu/menuStyle.ts +27 -0
  621. package/src/components/IJ/learningCycleCard/index.tsx +93 -0
  622. package/src/components/IJ/learningCycleCard/learningCycleCard.d.ts +28 -0
  623. package/src/components/IJ/learningCycleCard/learningCycleCard.stories.tsx +229 -0
  624. package/src/components/IJ/learningCycleCard/learningCycleCardStyle.ts +173 -0
  625. package/src/components/IJ/listSelector/index.tsx +85 -0
  626. package/src/components/IJ/listSelector/listSelector.stories.tsx +64 -0
  627. package/src/components/IJ/listSelector/listSelectorStyles.ts +49 -0
  628. package/src/components/IJ/pagination/index.tsx +155 -0
  629. package/src/components/IJ/pagination/pagination.stories.tsx +112 -0
  630. package/src/components/IJ/pagination/paginationStyles.ts +61 -0
  631. package/src/components/IJ/participantCard/index.tsx +111 -0
  632. package/src/components/IJ/participantCard/participantCard.d.ts +24 -0
  633. package/src/components/IJ/participantCard/participantCard.stories.tsx +82 -0
  634. package/src/components/IJ/participantCard/participantCardStyle.ts +304 -0
  635. package/src/components/IJ/participantCardOld/index.tsx +108 -0
  636. package/src/components/IJ/participantCardOld/participantCard.d.ts +23 -0
  637. package/src/components/IJ/participantCardOld/participantCard.stories.tsx +34 -0
  638. package/src/components/IJ/participantCardOld/participantCardStyle.ts +218 -0
  639. package/src/components/IJ/thumbListContent/index.tsx +127 -0
  640. package/src/components/IJ/thumbListContent/thumbListContent.stories.tsx +130 -0
  641. package/src/components/IJ/thumbListContent/thumbListContentStyles.ts +196 -0
  642. package/src/components/LXP/DropdownSelectMultiple/dropdownSelectMultiple.stories.tsx +43 -0
  643. package/src/components/LXP/DropdownSelectMultiple/index.tsx +77 -0
  644. package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectDemo.ts +79 -0
  645. package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectItems.css +118 -0
  646. package/src/components/LXP/DropdownSelectMultiple/styles/icons/DropdownChevron.png +0 -0
  647. package/src/components/LXP/DropdownSelectMultiple/styles/icons/close.png +0 -0
  648. package/src/components/LXP/DropdownSelectMultiple/styles/icons/vector.png +0 -0
  649. package/src/components/LXP/DropdownSelectMultiple/styles/primeflex.css +20970 -0
  650. package/src/components/LXP/DropdownSelectMultiple/styles/primereact.css +6326 -0
  651. package/src/components/LXP/DropdownSelectMultiple/styles/theme.css +6515 -0
  652. package/src/components/LXP/accordionTrack/IAccordionTrack.d.ts +81 -0
  653. package/src/components/LXP/accordionTrack/accordionTrack.stories.tsx +305 -0
  654. package/src/components/LXP/accordionTrack/accordionTrack.tsx +402 -0
  655. package/src/components/LXP/accordionTrack/accordionTrackList.tsx +263 -0
  656. package/src/components/LXP/accordionTrack/accordionTrackStyle.ts +196 -0
  657. package/src/components/LXP/accordionTrack/contentCourses.tsx +9 -0
  658. package/src/components/LXP/accordionTrack/contentCoursesTrails.tsx +304 -0
  659. package/src/components/LXP/accordionTrack/vectorDown.tsx +26 -0
  660. package/src/components/LXP/accordionTrack/vectorUp.tsx +26 -0
  661. package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.d.ts +10 -0
  662. package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.stories.tsx +29 -0
  663. package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.ts +92 -0
  664. package/src/components/LXP/avatarAssociatedChannel/index.tsx +47 -0
  665. package/src/components/LXP/avatarChannel/avatarChannel.d.ts +13 -0
  666. package/src/components/LXP/avatarChannel/avatarChannel.stories.tsx +38 -0
  667. package/src/components/LXP/avatarChannel/avatarChannelStyles.ts +145 -0
  668. package/src/components/LXP/avatarChannel/index.tsx +112 -0
  669. package/src/components/LXP/bannerLxp/bannerLxp.stories.tsx +37 -0
  670. package/src/components/LXP/bannerLxp/bannerLxp.tsx +141 -0
  671. package/src/components/LXP/bannerLxp/index.tsx +270 -0
  672. package/src/components/LXP/buttonContent/buttonContent.d.ts +12 -0
  673. package/src/components/LXP/buttonContent/buttonContent.stories.tsx +23 -0
  674. package/src/components/LXP/buttonContent/buttonContentStyle.ts +63 -0
  675. package/src/components/LXP/buttonContent/index.tsx +16 -0
  676. package/src/components/LXP/calendarLxp/calendar.css +375 -0
  677. package/src/components/LXP/calendarLxp/calendarLxp.module.css +39 -0
  678. package/src/components/LXP/calendarLxp/calendarLxp.stories.tsx +19 -0
  679. package/src/components/LXP/calendarLxp/defaultRanges.tsx +99 -0
  680. package/src/components/LXP/calendarLxp/index.tsx +72 -0
  681. package/src/components/LXP/cardLearningCicle/cardLearningCicle.d.ts +16 -0
  682. package/src/components/LXP/cardLearningCicle/cardLearningCicle.stories.tsx +31 -0
  683. package/src/components/LXP/cardLearningCicle/cardLearningCicleStyle.ts +118 -0
  684. package/src/components/LXP/cardLearningCicle/index.tsx +129 -0
  685. package/src/components/LXP/colorpicker/colorpicker.d.ts +6 -0
  686. package/src/components/LXP/colorpicker/colorpicker.stories.tsx +18 -0
  687. package/src/components/LXP/colorpicker/colorpickerStyles.ts +46 -0
  688. package/src/components/LXP/colorpicker/index.tsx +30 -0
  689. package/src/components/LXP/contentSwitcher/contentSwitcher.d.ts +12 -0
  690. package/src/components/LXP/contentSwitcher/contentSwitcher.stories.tsx +26 -0
  691. package/src/components/LXP/contentSwitcher/contentSwitcherStyle.ts +92 -0
  692. package/src/components/LXP/contentSwitcher/index.tsx +33 -0
  693. package/src/components/LXP/contentThumbnails/contentThumbnails.d.ts +21 -0
  694. package/src/components/LXP/contentThumbnails/contentThumbnails.stories.tsx +106 -0
  695. package/src/components/LXP/contentThumbnails/contentThumbnailsStyle.ts +170 -0
  696. package/src/components/LXP/contentThumbnails/index.tsx +208 -0
  697. package/src/components/LXP/contentThumbnails/vectorDown.tsx +26 -0
  698. package/src/components/LXP/contentThumbnails/vectorEllipse.tsx +38 -0
  699. package/src/components/LXP/contentThumbnails/vectorUp.tsx +26 -0
  700. package/src/components/LXP/extraContent/adminExtraContent.tsx +127 -0
  701. package/src/components/LXP/extraContent/extraContent.d.ts +42 -0
  702. package/src/components/LXP/extraContent/extraContent.module.css +24 -0
  703. package/src/components/LXP/extraContent/extraContent.stories.tsx +96 -0
  704. package/src/components/LXP/extraContent/index.tsx +27 -0
  705. package/src/components/LXP/extraContent/richTextEditor/components.tsx +194 -0
  706. package/src/components/LXP/extraContent/richTextEditor/index.tsx +262 -0
  707. package/src/components/LXP/extraContent/studentExtraContent.tsx +160 -0
  708. package/src/components/LXP/fileUpload/FileUpload.d.ts +14 -0
  709. package/src/components/LXP/fileUpload/FileUpload.stories.tsx +29 -0
  710. package/src/components/LXP/fileUpload/fileUploadStyles.ts +86 -0
  711. package/src/components/LXP/fileUpload/index.tsx +51 -0
  712. package/src/components/LXP/headerContent/headerContent.stories.tsx +94 -0
  713. package/src/components/LXP/headerContent/headerContent.ts +216 -0
  714. package/src/components/LXP/headerContent/index.tsx +121 -0
  715. package/src/components/LXP/headerContent/selectedCountCircle.tsx +14 -0
  716. package/src/components/LXP/login/index.tsx +410 -0
  717. package/src/components/LXP/login/login.d.ts +50 -0
  718. package/src/components/LXP/login/login.stories.tsx +98 -0
  719. package/src/components/LXP/login/loginStyle.ts +290 -0
  720. package/src/components/LXP/manageLerningCicles/index.tsx +70 -0
  721. package/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.ts +88 -0
  722. package/src/components/LXP/manageLerningCicles/manageLearningCicles.d.ts +12 -0
  723. package/src/components/LXP/manageLerningCicles/manageLearningCicles.stories.tsx +23 -0
  724. package/src/components/LXP/participantThumbnails/index.tsx +85 -0
  725. package/src/components/LXP/participantThumbnails/participantThumbnails.stories.tsx +19 -0
  726. package/src/components/LXP/participantThumbnails/participantThumbnails.ts +114 -0
  727. package/src/components/LXP/participantThumbnailsList/index.tsx +64 -0
  728. package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.stories.tsx +93 -0
  729. package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.ts +114 -0
  730. package/src/components/LXP/permission/index.tsx +223 -0
  731. package/src/components/LXP/permission/permission.d.ts +16 -0
  732. package/src/components/LXP/permission/permission.stories.tsx +28 -0
  733. package/src/components/LXP/permission/permissionStyle.ts +52 -0
  734. package/src/components/LXP/popOver/index.tsx +111 -0
  735. package/src/components/LXP/popOver/popOver.d.ts +30 -0
  736. package/src/components/LXP/popOver/popOver.stories.tsx +128 -0
  737. package/src/components/LXP/popOver/popOverStyle.ts +130 -0
  738. package/src/components/LXP/popOverLXP-antigo/index.tsx +48 -0
  739. package/src/components/LXP/popOverLXP-antigo/popOverLXP.d.ts +9 -0
  740. package/src/components/LXP/popOverLXP-antigo/popOverLXP.stories.tsx +103 -0
  741. package/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.ts +121 -0
  742. package/src/components/LXP/progressBar/index.tsx +18 -0
  743. package/src/components/LXP/progressBar/progressBar.d.ts +8 -0
  744. package/src/components/LXP/progressBar/progressBar.stories.tsx +18 -0
  745. package/src/components/LXP/progressBar/progressStyle.ts +28 -0
  746. package/src/components/LXP/searchResults/index.tsx +36 -0
  747. package/src/components/LXP/searchResults/searchResults.d.ts +11 -0
  748. package/src/components/LXP/searchResults/searchResults.stories.tsx +23 -0
  749. package/src/components/LXP/searchResults/searchResultsStyles.ts +63 -0
  750. package/src/components/LXP/selectLXP/SelectLXP.tsx +170 -0
  751. package/src/components/LXP/selectLXP/SelectLXPContext.tsx +9 -0
  752. package/src/components/LXP/selectLXP/SelectLXPItem.tsx +63 -0
  753. package/src/components/LXP/selectLXP/index.tsx +16 -0
  754. package/src/components/LXP/selectLXP/selectLXP.stories.tsx +20 -0
  755. package/src/components/LXP/star-metric/index.tsx +28 -0
  756. package/src/components/LXP/star-metric/starMetric.d.ts +6 -0
  757. package/src/components/LXP/star-metric/starMetric.stories.tsx +18 -0
  758. package/src/components/LXP/star-metric/starMetricStyles.ts +17 -0
  759. package/src/components/LXP/thumbnails/thumbnails.d.ts +36 -0
  760. package/src/components/LXP/thumbnails/thumbnails.stories.tsx +48 -0
  761. package/src/components/LXP/thumbnails/thumbnails.tsx +217 -0
  762. package/src/components/LXP/thumbnails/thumbnailsDraggable.tsx +73 -0
  763. package/src/components/LXP/thumbnails/thumbnailsStyle.ts +183 -0
  764. package/src/components/LXP/thumbnails/vectorCross.tsx +25 -0
  765. package/src/components/LXP/thumbnails/vectorEllipse.tsx +38 -0
  766. package/src/components/LXP/tooltip/index.tsx +15 -0
  767. package/src/components/LXP/tooltip/tooltip.stories.tsx +19 -0
  768. package/src/components/LXP/tooltip/tooltipStyle.ts +114 -0
  769. package/src/components/LXP/urlAddress/index.tsx +30 -0
  770. package/src/components/LXP/urlAddress/urlAddress.d.ts +10 -0
  771. package/src/components/LXP/urlAddress/urlAddress.stories.tsx +21 -0
  772. package/src/components/LXP/urlAddress/urlAddressStyle.ts +61 -0
  773. package/src/components/LXP/video/Video.d.ts +19 -0
  774. package/src/components/LXP/video/Video.stories.tsx +95 -0
  775. package/src/components/LXP/video/index.tsx +22 -0
  776. package/src/components/LogoFRST/index.tsx +34 -0
  777. package/src/components/LogoFRST/logoFRST.module.css +27 -0
  778. package/src/components/LogoFRST/logoFRST.stories.tsx +38 -0
  779. package/src/components/accordion-tabs/accordionTabs.d.ts +19 -0
  780. package/src/components/accordion-tabs/accordionTabs.stories.tsx +34 -0
  781. package/src/components/accordion-tabs/accordionTabsStyles.ts +114 -0
  782. package/src/components/accordion-tabs/index.tsx +77 -0
  783. package/src/components/audio-player/Royalty.mp3 +0 -0
  784. package/src/components/audio-player/audioPlayer.stories.tsx +39 -0
  785. package/src/components/audio-player/audioPlayerStyles.ts +314 -0
  786. package/src/components/audio-player/index.tsx +209 -0
  787. package/src/components/avatar/avatar.d.ts +8 -0
  788. package/src/components/avatar/avatar.stories.tsx +21 -0
  789. package/src/components/avatar/avatarStyles.ts +23 -0
  790. package/src/components/avatar/index.tsx +21 -0
  791. package/src/components/buttons/buttonStyle.ts +339 -0
  792. package/src/components/buttons/buttons.stories.tsx +52 -0
  793. package/src/components/buttons/buttonsWithIcons.stories.tsx +57 -0
  794. package/src/components/buttons/index.tsx +90 -0
  795. package/src/components/calendar/calendar.stories.tsx +156 -0
  796. package/src/components/calendar/calendarStyle.ts +209 -0
  797. package/src/components/calendar/index.tsx +157 -0
  798. package/src/components/card-trail/cardTrail.stories.tsx +167 -0
  799. package/src/components/card-trail/cardTrailStyle.ts +31 -0
  800. package/src/components/card-trail/index.tsx +160 -0
  801. package/src/components/card-trail/moduleStyle.ts +98 -0
  802. package/src/components/card-trail-carousel/cardsTrailsCarousel.d.ts +13 -0
  803. package/src/components/card-trail-carousel/cardsTrailsCarousel.stories.tsx +152 -0
  804. package/src/components/card-trail-carousel/index.tsx +47 -0
  805. package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css +20 -0
  806. package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.stories.tsx +18 -0
  807. package/src/components/cardLT/AvatarWithInfo/index.tsx +55 -0
  808. package/src/components/cardLT/AvatarWithInfo/vector.tsx +25 -0
  809. package/src/components/cardLT/BannerProblem/BannerProblem.d.ts +98 -0
  810. package/src/components/cardLT/BannerProblem/BannerProblem.module.css +113 -0
  811. package/src/components/cardLT/BannerProblem/BannerProblem.stories.tsx +191 -0
  812. package/src/components/cardLT/BannerProblem/index.tsx +433 -0
  813. package/src/components/cardLT/BannerProblem/styles.ts +16 -0
  814. package/src/components/cardLT/MessageBox/MessageBox.module.css +142 -0
  815. package/src/components/cardLT/MessageBox/icons/errorIcon.tsx +19 -0
  816. package/src/components/cardLT/MessageBox/icons/successIcon.tsx +18 -0
  817. package/src/components/cardLT/MessageBox/icons/warningIcon.tsx +20 -0
  818. package/src/components/cardLT/MessageBox/index.tsx +124 -0
  819. package/src/components/cardLT/MessageBox/messageBox.stories.tsx +53 -0
  820. package/src/components/cardLT/Rating/Rating.module.css +50 -0
  821. package/src/components/cardLT/Rating/index.tsx +92 -0
  822. package/src/components/cardLT/Rating/rating.stories.tsx +34 -0
  823. package/src/components/cardLT/Rating/starIcon.tsx +24 -0
  824. package/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css +16 -0
  825. package/src/components/cardLT/RatingCurtidas/index.tsx +80 -0
  826. package/src/components/cardLT/RatingCurtidas/ratingCurtidas.stories.tsx +21 -0
  827. package/src/components/cardLT/RocketButton/RocketButton.stories.tsx +28 -0
  828. package/src/components/cardLT/RocketButton/RocketButtonIcon.tsx +36 -0
  829. package/src/components/cardLT/RocketButton/index.tsx +57 -0
  830. package/src/components/cardLT/StepsMission/Planet.module.css +137 -0
  831. package/src/components/cardLT/StepsMission/StepMission.tsx +220 -0
  832. package/src/components/cardLT/StepsMission/Steps.tsx +116 -0
  833. package/src/components/cardLT/StepsMission/planet.stories.tsx +73 -0
  834. package/src/components/cardLT/StepsMission/planetSteps.d.ts +40 -0
  835. package/src/components/cardLT/StepsMission/planets/jupter.png +0 -0
  836. package/src/components/cardLT/StepsMission/planets/lock.png +0 -0
  837. package/src/components/cardLT/StepsMission/planets/marte.png +0 -0
  838. package/src/components/cardLT/StepsMission/planets/netuno.png +0 -0
  839. package/src/components/cardLT/StepsMission/planets/saturno.png +0 -0
  840. package/src/components/cardLT/StepsMission/planets/urano.png +0 -0
  841. package/src/components/cardLT/TextIcon/TextIcon.module.css +8 -0
  842. package/src/components/cardLT/TextIcon/index.tsx +64 -0
  843. package/src/components/cardLT/TextIcon/starIcon.tsx +27 -0
  844. package/src/components/cardLT/TextIcon/textIcon.stories.tsx +21 -0
  845. package/src/components/cardLT/selectCard/avatarWithInfo.module.css +20 -0
  846. package/src/components/cardLT/selectCard/avatarWithInfo.stories.tsx +19 -0
  847. package/src/components/cardLT/selectCard/index.tsx +55 -0
  848. package/src/components/cardLT/selectCard/vector.tsx +25 -0
  849. package/src/components/cards/base/base.stories.tsx +23 -0
  850. package/src/components/cards/base/index.tsx +10 -0
  851. package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.module.css +88 -0
  852. package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.stories.tsx +95 -0
  853. package/src/components/cards/cardDefinicaoProblema/index.tsx +98 -0
  854. package/src/components/cards/cardProblem/cardProblem.module.css +114 -0
  855. package/src/components/cards/cardProblem/cardProblem.stories.tsx +164 -0
  856. package/src/components/cards/cardProblem/index.tsx +251 -0
  857. package/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css +99 -0
  858. package/src/components/cards/cardProblemGestor/cardProblemaGestor.stories.tsx +78 -0
  859. package/src/components/cards/cardProblemGestor/index.tsx +105 -0
  860. package/src/components/cards/cardResultConquista/Icons/Aprendizado.png +0 -0
  861. package/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png +0 -0
  862. package/src/components/cards/cardResultConquista/Icons/Conquista.png +0 -0
  863. package/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png +0 -0
  864. package/src/components/cards/cardResultConquista/cardResultConquista.module.css +52 -0
  865. package/src/components/cards/cardResultConquista/cardResultConquista.stories.tsx +35 -0
  866. package/src/components/cards/cardResultConquista/index.tsx +76 -0
  867. package/src/components/cards/user/index.tsx +204 -0
  868. package/src/components/cards/user/user.stories.tsx +172 -0
  869. package/src/components/challenge-cards/challengeCard.d.ts +17 -0
  870. package/src/components/challenge-cards/challengeCard.stories.tsx +43 -0
  871. package/src/components/challenge-cards/challengeCardStyles.ts +266 -0
  872. package/src/components/challenge-cards/dropdownMenuStyle.ts +87 -0
  873. package/src/components/challenge-cards/index.tsx +308 -0
  874. package/src/components/checkmark/checkmark.d.ts +11 -0
  875. package/src/components/checkmark/checkmark.stories.tsx +23 -0
  876. package/src/components/checkmark/checkmarkStyles.ts +27 -0
  877. package/src/components/checkmark/index.tsx +61 -0
  878. package/src/components/commentary-box/commentaryBox.d.ts +41 -0
  879. package/src/components/commentary-box/commentaryBox.stories.tsx +57 -0
  880. package/src/components/commentary-box/commentaryBox.utils.ts +31 -0
  881. package/src/components/commentary-box/commentaryBoxStyles.ts +271 -0
  882. package/src/components/commentary-box/index.tsx +260 -0
  883. package/src/components/conquistaCarrossel/conquistaCarrossel.d.ts +13 -0
  884. package/src/components/conquistaCarrossel/conquistaCarrossel.stories.tsx +163 -0
  885. package/src/components/conquistaCarrossel/index.tsx +56 -0
  886. package/src/components/demo/stepController/StepControllerStyle.ts +46 -0
  887. package/src/components/demo/stepController/index.tsx +54 -0
  888. package/src/components/demo/stepController/stepController.stories.tsx +22 -0
  889. package/src/components/dropdown-profile-menu/dropdownProfileMenu.d.ts +28 -0
  890. package/src/components/dropdown-profile-menu/dropdownProfileMenu.stories.tsx +91 -0
  891. package/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.ts +171 -0
  892. package/src/components/dropdown-profile-menu/index.tsx +203 -0
  893. package/src/components/emoji-picker/emojiPicker.stories.tsx +20 -0
  894. package/src/components/emoji-picker/index.tsx +60 -0
  895. package/src/components/exclusive-class/exclusiveClass.d.ts +8 -0
  896. package/src/components/exclusive-class/exclusiveClass.stories.tsx +19 -0
  897. package/src/components/exclusive-class/exclusiveClassStyles.ts +39 -0
  898. package/src/components/exclusive-class/index.tsx +33 -0
  899. package/src/components/field-search-dropdown/fieldSearch.d.ts +36 -0
  900. package/src/components/field-search-dropdown/fieldSearch.stories.tsx +92 -0
  901. package/src/components/field-search-dropdown/fieldSearchStyle.ts +150 -0
  902. package/src/components/field-search-dropdown/index.tsx +233 -0
  903. package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.d.ts +7 -0
  904. package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.stories.tsx +101 -0
  905. package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.ts +7 -0
  906. package/src/components/filter-accordion-checkbox/filterAccordionCheckboxStyles.ts +2 -0
  907. package/src/components/filter-accordion-checkbox/index.tsx +188 -0
  908. package/src/components/form-elements/checkbox/checkbox.d.ts +9 -0
  909. package/src/components/form-elements/checkbox/checkbox.stories.tsx +20 -0
  910. package/src/components/form-elements/checkbox/checkboxStyle.ts +40 -0
  911. package/src/components/form-elements/checkbox/index.tsx +33 -0
  912. package/src/components/form-elements/textarea/index.tsx +6 -0
  913. package/src/components/form-elements/textarea/textArea.stories.tsx +27 -0
  914. package/src/components/form-elements/textfield/index.tsx +104 -0
  915. package/src/components/form-elements/textfield/textField.stories.tsx +124 -0
  916. package/src/components/form-elements/textfield/textFieldStyle.ts +213 -0
  917. package/src/components/global-menu/components/customMenu/index.tsx +1 -0
  918. package/src/components/global-menu/globalMenu.d.ts +66 -0
  919. package/src/components/global-menu/globalMenu.stories.tsx +959 -0
  920. package/src/components/global-menu/globalMenuStyles.ts +197 -0
  921. package/src/components/global-menu/index.tsx +1336 -0
  922. package/src/components/headerChallenge/headerChallenge.stories.tsx +20 -0
  923. package/src/components/headerChallenge/headerChallengeStyle.ts +102 -0
  924. package/src/components/headerChallenge/index.tsx +17 -0
  925. package/src/components/index.tsx +46 -0
  926. package/src/components/input-comment/index.tsx +178 -0
  927. package/src/components/input-comment/inputComment.d.ts +16 -0
  928. package/src/components/input-comment/inputComment.stories.tsx +26 -0
  929. package/src/components/input-comment/inputComment.utils.ts +7 -0
  930. package/src/components/input-comment/inputCommentStyles.ts +116 -0
  931. package/src/components/item-lateral-menu/index.tsx +87 -0
  932. package/src/components/item-lateral-menu/itemLateralMenu.d.ts +30 -0
  933. package/src/components/item-lateral-menu/itemLateralMenu.stories.tsx +159 -0
  934. package/src/components/item-lateral-menu/itemLateralMenuStyles.ts +131 -0
  935. package/src/components/item-menu-global/index.tsx +36 -0
  936. package/src/components/item-menu-global/itemMenuGlobal.d.ts +16 -0
  937. package/src/components/item-menu-global/itemMenuGlobal.stories.tsx +40 -0
  938. package/src/components/item-menu-global/itemMenuGlobalStyles.ts +73 -0
  939. package/src/components/languages-dropdown/index.tsx +102 -0
  940. package/src/components/languages-dropdown/languagesDropdown.d.ts +13 -0
  941. package/src/components/languages-dropdown/languagesDropdown.stories.tsx +38 -0
  942. package/src/components/languages-dropdown/languagesDropdownStyles.ts +66 -0
  943. package/src/components/lateral-menu/index.tsx +68 -0
  944. package/src/components/lateral-menu/lateralMenu.d.ts +17 -0
  945. package/src/components/lateral-menu/lateralMenu.stories.tsx +429 -0
  946. package/src/components/lateral-menu/lateralMenuStyles.ts +68 -0
  947. package/src/components/learning-steps/index.tsx +67 -0
  948. package/src/components/learning-steps/learningSteps.d.ts +16 -0
  949. package/src/components/learning-steps/learningSteps.stories.tsx +123 -0
  950. package/src/components/learning-steps/learningStepsStyles.ts +46 -0
  951. package/src/components/menu-more/index.tsx +79 -0
  952. package/src/components/menu-more/menuMore.d.ts +15 -0
  953. package/src/components/menu-more/menuMore.stories.tsx +76 -0
  954. package/src/components/menu-more/menuMoreStyles.ts +123 -0
  955. package/src/components/modal/modalLearningTech/index.tsx +67 -0
  956. package/src/components/modal/modalLearningTech/modalLearningTech.module.css +79 -0
  957. package/src/components/modal/modalLearningTech/modalLearningTech.stories.tsx +60 -0
  958. package/src/components/modal/modalVideo/index.tsx +129 -0
  959. package/src/components/modal/modalVideo/modalVideo.module.css +27 -0
  960. package/src/components/modal/modalVideo/modalVideo.stories.tsx +41 -0
  961. package/src/components/modal/statusProblema/fecharIcon.tsx +18 -0
  962. package/src/components/modal/statusProblema/index.tsx +124 -0
  963. package/src/components/modal/statusProblema/problemaFRST.png +0 -0
  964. package/src/components/modal/statusProblema/statusProblema.module.css +154 -0
  965. package/src/components/modal/statusProblema/statusProblema.stories.tsx +27 -0
  966. package/src/components/quantidadeDesafios/imgSetas/setasDesafios.svg +60 -0
  967. package/src/components/quantidadeDesafios/index.tsx +152 -0
  968. package/src/components/quantidadeDesafios/quantidadeDesafios.stories.tsx +49 -0
  969. package/src/components/quantidadeDesafios/quantidadeDesafios.ts +121 -0
  970. package/src/components/sandbox.stories.tsx +18 -0
  971. package/src/components/scroll-container/index.tsx +189 -0
  972. package/src/components/scroll-container/scrollContainer.d.ts +17 -0
  973. package/src/components/scroll-container/scrollContainer.stories.tsx +45 -0
  974. package/src/components/scroll-container/scrollContainer.utils.ts +11 -0
  975. package/src/components/scroll-container/scrollContainerStyles.ts +93 -0
  976. package/src/components/search-field/index.tsx +48 -0
  977. package/src/components/search-field/searchField.d.ts +13 -0
  978. package/src/components/search-field/searchField.stories.tsx +40 -0
  979. package/src/components/search-field/searchFieldStyles.ts +100 -0
  980. package/src/components/select/Select.tsx +170 -0
  981. package/src/components/select/SelectContext.tsx +9 -0
  982. package/src/components/select/SelectItem.tsx +63 -0
  983. package/src/components/select/index.tsx +16 -0
  984. package/src/components/select/select.stories.tsx +20 -0
  985. package/src/components/speech-bubble/index.tsx +29 -0
  986. package/src/components/speech-bubble/speechBubble.d.ts +10 -0
  987. package/src/components/speech-bubble/speechBubble.stories.tsx +20 -0
  988. package/src/components/speech-bubble/speechBubbleStyles.ts +121 -0
  989. package/src/components/step-card/index.tsx +48 -0
  990. package/src/components/step-card/stepCard.d.ts +12 -0
  991. package/src/components/step-card/stepCard.stories.tsx +26 -0
  992. package/src/components/step-card/stepCardStyles.ts +109 -0
  993. package/src/components/tag/base.stories.tsx +52 -0
  994. package/src/components/tag/index.tsx +59 -0
  995. package/src/components/totalizer-card/index.tsx +29 -0
  996. package/src/components/totalizer-card/totalizerCard.d.ts +10 -0
  997. package/src/components/totalizer-card/totalizerCard.stories.tsx +34 -0
  998. package/src/components/totalizer-card/totalizerCardStyles.ts +97 -0
  999. package/src/icons.stories.tsx +321 -0
  1000. package/src/shared/global.css +146 -0
  1001. package/src/shared/globalComponentsStyle.ts +88 -0
  1002. package/src/shared/icons.tsx +3544 -0
  1003. package/src/shared/stories/AlertCicle.stories.tsx +17 -0
  1004. package/src/shared/stories/CheckInCicleIcon.stories.tsx +19 -0
  1005. package/src/shared/stories/CloseInCicleIcon.stories.tsx +19 -0
  1006. package/src/shared/stories/DotIcon.stories.tsx +17 -0
  1007. package/src/shared/stories/MoreDotsHorizontal.stories.tsx +17 -0
  1008. package/src/theme/index.ts +6 -0
  1009. package/src/theme/tokens.ts +196 -0
  1010. package/tsconfig.json +39 -0
@@ -0,0 +1,1336 @@
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
+ }