frst-components 0.37.0 → 0.38.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 (474) hide show
  1. package/README.md +52 -52
  2. package/dist/esm/index.js +154 -0
  3. package/dist/esm/node_modules/style-inject/dist/style-inject.es.js +28 -0
  4. package/dist/esm/public/customIcons/CircledAlert.js +7 -0
  5. package/dist/esm/public/customIcons/CircledCheck.js +7 -0
  6. package/dist/esm/public/customIcons/DefaultProfile.js +7 -0
  7. package/dist/esm/public/customIcons/ExcludeVoteIcon.js +7 -0
  8. package/dist/esm/public/customIcons/LanguageIcon.js +7 -0
  9. package/dist/esm/public/customIcons/SmallTrash.js +7 -0
  10. package/dist/esm/public/customIcons/SwitchVoteIcon.js +7 -0
  11. package/dist/esm/public/customIcons/TagAlert.js +7 -0
  12. package/dist/esm/public/customIcons/VoteCurrentIcon.js +7 -0
  13. package/dist/esm/public/customIcons/VoteIcon.js +7 -0
  14. package/dist/esm/public/customIcons/WarningIcon.js +7 -0
  15. package/dist/esm/public/customIcons/newVoteIcon.js +7 -0
  16. package/dist/esm/public/img/Nonotification.png.js +3 -0
  17. package/dist/esm/public/img/TargetIcon.png.js +3 -0
  18. package/dist/esm/src/components/DS/CardJourney/index.js +12 -0
  19. package/dist/esm/src/components/DS/CardJourney/style.js +123 -0
  20. package/dist/esm/src/components/DS/ConfirmationModal/ComfirmModalDownload/ComfirmModalDownload.js +20 -0
  21. package/dist/esm/src/components/DS/ConfirmationModal/ConfirmationModal.js +10 -0
  22. package/dist/esm/src/components/DS/ConfirmationModal/styles.js +56 -0
  23. package/dist/esm/src/components/DS/LightTooltip/index.js +24 -0
  24. package/dist/esm/src/components/DS/admButton/admButton.styles.js +52 -0
  25. package/dist/esm/src/components/DS/admButton/index.js +17 -0
  26. package/dist/esm/src/components/DS/cardPeople/cardPeople.styles.js +71 -0
  27. package/dist/esm/src/components/DS/cardPeople/index.js +63 -0
  28. package/dist/esm/src/components/DS/cardUser/cardUser.styles.js +70 -0
  29. package/dist/esm/src/components/DS/cardUser/index.js +14 -0
  30. package/dist/esm/src/components/DS/dropdown-Multiselect/index.js +186 -0
  31. package/dist/esm/src/components/DS/dropdown-Multiselect/styles/multiselectStyles.js +214 -0
  32. package/dist/esm/src/components/DS/dropdown-Multiselect/styles/primereact.css.js +6 -0
  33. package/dist/esm/src/components/DS/dropdown-Multiselect/styles/stylesMulti.css.js +6 -0
  34. package/dist/esm/src/components/DS/groups-table/groupTableStyles.js +95 -0
  35. package/dist/esm/src/components/DS/groups-table/index.js +113 -0
  36. package/dist/esm/src/components/DS/hypotesisAndImpediment/UpDownButtons/index.js +8 -0
  37. package/dist/esm/src/components/DS/hypotesisAndImpediment/UpDownButtons/upDownButtons.styles.js +43 -0
  38. package/dist/esm/src/components/DS/hypotesisAndImpediment/Voting/index.js +40 -0
  39. package/dist/esm/src/components/DS/hypotesisAndImpediment/Voting/voting.styles.js +126 -0
  40. package/dist/esm/src/components/DS/hypotesisAndImpediment/hypothesisAndImpediment.style.js +115 -0
  41. package/dist/esm/src/components/DS/hypotesisAndImpediment/index.js +161 -0
  42. package/dist/esm/src/components/DS/impedimentosTab/addImpedimentoModal/index.js +35 -0
  43. package/dist/esm/src/components/DS/impedimentosTab/addImpedimentoModal/styles.js +14 -0
  44. package/dist/esm/src/components/DS/impedimentosTab/dropDown/index.js +20 -0
  45. package/dist/esm/src/components/DS/impedimentosTab/dropDown/styles.js +38 -0
  46. package/dist/esm/src/components/DS/impedimentosTab/index.js +180 -0
  47. package/dist/esm/src/components/DS/impedimentosTab/styles.js +178 -0
  48. package/dist/esm/src/components/DS/loading/index.js +45 -0
  49. package/dist/esm/src/components/DS/loading/loadingStyle.js +39 -0
  50. package/dist/esm/src/components/DS/modal/index.js +55 -0
  51. package/dist/esm/src/components/DS/modal/styles.js +86 -0
  52. package/dist/esm/src/components/DS/newCards/articles/index.js +12 -0
  53. package/dist/esm/src/components/DS/newCards/articles/styles.js +92 -0
  54. package/dist/esm/src/components/DS/newCards/challenge/index.js +82 -0
  55. package/dist/esm/src/components/DS/newCards/challenge/styles.js +198 -0
  56. package/dist/esm/src/components/DS/newCards/channels/index.js +10 -0
  57. package/dist/esm/src/components/DS/newCards/channels/styles.js +46 -0
  58. package/dist/esm/src/components/DS/newCards/content/index.js +16 -0
  59. package/dist/esm/src/components/DS/newCards/content/styles.js +103 -0
  60. package/dist/esm/src/components/DS/newCards/mentoring/index.js +38 -0
  61. package/dist/esm/src/components/DS/newCards/mentoring/styles.js +37 -0
  62. package/dist/esm/src/components/DS/newCards/people/index.js +120 -0
  63. package/dist/esm/src/components/DS/newCards/people/styles.js +75 -0
  64. package/dist/esm/src/components/DS/newCards/trail/index.js +10 -0
  65. package/dist/esm/src/components/DS/newCards/trail/styles.js +60 -0
  66. package/dist/esm/src/components/DS/onboarding-progress-menu/index.js +56 -0
  67. package/dist/esm/src/components/DS/onboarding-progress-menu/onboardingProgressMenuStyles.js +98 -0
  68. package/dist/esm/src/components/DS/progressGoalBar/index.js +29 -0
  69. package/dist/esm/src/components/DS/progressGoalBar/progressGoalBarStyles.js +183 -0
  70. package/dist/esm/src/components/DS/progressGoalBar/progressTexts.js +17 -0
  71. package/dist/esm/src/components/DS/progressGoalBar/useProgressGoalBar.js +232 -0
  72. package/dist/esm/src/components/DS/resourceInfoDrop/index.js +53 -0
  73. package/dist/esm/src/components/DS/resourceInfoDrop/styles.js +142 -0
  74. package/dist/esm/src/components/DS/resultFilterTabs/dropDownResult/index.js +20 -0
  75. package/dist/esm/src/components/DS/resultFilterTabs/dropDownResult/styles.js +38 -0
  76. package/dist/esm/src/components/DS/resultFilterTabs/index.js +162 -0
  77. package/dist/esm/src/components/DS/resultFilterTabs/resultFilterTabsStyles.js +167 -0
  78. package/dist/esm/src/components/DS/resultFilterTabs/rsuite.min.css.js +6 -0
  79. package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.js +65 -0
  80. package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/index.js +19 -0
  81. package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/useLongPress.js +26 -0
  82. package/dist/esm/src/components/DS/scroll-container-v2/index.js +29 -0
  83. package/dist/esm/src/components/DS/scroll-container-v2/scrollContainerStyles.js +51 -0
  84. package/dist/esm/src/components/DS/scroll-container-v2/useScroll.js +85 -0
  85. package/dist/esm/src/components/DS/select/Select.js +50 -0
  86. package/dist/esm/src/components/DS/select/SelectContext.js +6 -0
  87. package/dist/esm/src/components/DS/select/SelectItem.js +46 -0
  88. package/dist/esm/src/components/DS/select/index.js +9 -0
  89. package/dist/esm/src/components/DS/select/styles/StylesSelect.js +107 -0
  90. package/dist/esm/src/components/DS/steps-progress/index.js +27 -0
  91. package/dist/esm/src/components/DS/steps-progress/stepsProgressStyles.js +85 -0
  92. package/dist/esm/src/components/DS/toast/index.js +35 -0
  93. package/dist/esm/src/components/DS/toast/toast.styles.js +68 -0
  94. package/dist/esm/src/components/DS/toast-v2/index.js +76 -0
  95. package/dist/esm/src/components/DS/toast-v2/toast-v2.styles.js +18 -0
  96. package/dist/esm/src/components/DS/tooltip/index.js +98 -0
  97. package/dist/esm/src/components/DS/tooltip/styles.js +146 -0
  98. package/dist/esm/src/components/EBR/buttons-group/index.js +17 -0
  99. package/dist/esm/src/components/EBR/buttons-group/styles.js +9 -0
  100. package/dist/esm/src/components/EBR/group-statistics/groupStatisticsStyles.js +56 -0
  101. package/dist/esm/src/components/EBR/group-statistics/index.js +61 -0
  102. package/dist/esm/src/components/EBR/objective-step/index.js +8 -0
  103. package/dist/esm/src/components/EBR/objective-step/objectiveStepStyles.js +36 -0
  104. package/dist/esm/src/components/EBR/rating/index.js +78 -0
  105. package/dist/esm/src/components/EBR/rating/ratingStyles.js +25 -0
  106. package/dist/esm/src/components/EBR/specialist-contact/index.js +11 -0
  107. package/dist/esm/src/components/EBR/specialist-contact/specialistContactStyles.js +91 -0
  108. package/dist/esm/src/components/EBR/stepper/stepper.js +8 -0
  109. package/dist/esm/src/components/EBR/stepper/stepperItem.js +13 -0
  110. package/dist/esm/src/components/EBR/stepper/styles.js +137 -0
  111. package/dist/esm/src/components/EBR/trail-list/index.js +57 -0
  112. package/dist/esm/src/components/EBR/trail-list/trailListStyles.js +51 -0
  113. package/dist/esm/src/components/FI/ThreadComments/index.js +45 -0
  114. package/dist/esm/src/components/FI/ThreadComments/threadComments.styles.js +51 -0
  115. package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.js +20 -0
  116. package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.js +67 -0
  117. package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.js +39 -0
  118. package/dist/esm/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.js +156 -0
  119. package/dist/esm/src/components/FI/bannerProblemFeed/index.js +161 -0
  120. package/dist/esm/src/components/FI/bannerSRG/bannerSRGStyle.js +217 -0
  121. package/dist/esm/src/components/FI/bannerSRG/index.js +15 -0
  122. package/dist/esm/src/components/FI/feedInteraction/feedInteractionStyles.js +137 -0
  123. package/dist/esm/src/components/FI/feedInteraction/index.js +88 -0
  124. package/dist/esm/src/components/FI/feedInteractionV2/feedInteractionStyles.js +52 -0
  125. package/dist/esm/src/components/FI/feedInteractionV2/index.js +22 -0
  126. package/dist/esm/src/components/FI/feedInteractionV3/feedInteractionV3Styles.js +49 -0
  127. package/dist/esm/src/components/FI/feedInteractionV3/index.js +29 -0
  128. package/dist/esm/src/components/FI/inputCommentPost-it/index.js +118 -0
  129. package/dist/esm/src/components/FI/inputCommentPost-it/inputCommentPost-It.utils.js +20 -0
  130. package/dist/esm/src/components/FI/inputCommentPost-it/inputCommentPost-ItStyles.js +190 -0
  131. package/dist/esm/src/components/FI/interactionsModal/InteractionsModalStyles.js +152 -0
  132. package/dist/esm/src/components/FI/interactionsModal/index.js +43 -0
  133. package/dist/esm/src/components/FI/modal-invite/index.js +146 -0
  134. package/dist/esm/src/components/FI/modal-invite/modalInviteStyles.js +115 -0
  135. package/dist/esm/src/components/FI/notificationCard/index.js +41 -0
  136. package/dist/esm/src/components/FI/notificationCard/notificationCardStyles.js +84 -0
  137. package/dist/esm/src/components/FI/notificationPopOver/index.js +59 -0
  138. package/dist/esm/src/components/FI/notificationPopOver/notificationPopOverStyles.js +112 -0
  139. package/dist/esm/src/components/FI/postFeed/index.js +53 -0
  140. package/dist/esm/src/components/FI/postFeed/postFeedStyles.js +181 -0
  141. package/dist/esm/src/components/FI/searchBox/SearchBoxStyles.js +23 -0
  142. package/dist/esm/src/components/FI/searchBox/index.js +11 -0
  143. package/dist/esm/src/components/FI/sessionFilters/index.js +72 -0
  144. package/dist/esm/src/components/FI/sessionFilters/sessionFiltersStyle.js +80 -0
  145. package/dist/esm/src/components/FI/smallSRGBanner/frstFundo.png.js +3 -0
  146. package/dist/esm/src/components/FI/smallSRGBanner/g12.png.js +3 -0
  147. package/dist/esm/src/components/FI/smallSRGBanner/index.js +12 -0
  148. package/dist/esm/src/components/FI/smallSRGBanner/smallSRGBannerStyles.js +61 -0
  149. package/dist/esm/src/components/IJ/ContentCycle/ContentCycleStyles.js +146 -0
  150. package/dist/esm/src/components/IJ/ContentCycle/index.js +21 -0
  151. package/dist/esm/src/components/IJ/ListContentCycle/ListContentCycleStyles.js +12 -0
  152. package/dist/esm/src/components/IJ/ListContentCycle/index.js +11 -0
  153. package/dist/esm/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.js +94 -0
  154. package/dist/esm/src/components/IJ/StepLearningCycle/index.js +117 -0
  155. package/dist/esm/src/components/IJ/favorite/favoriteStyles.js +17 -0
  156. package/dist/esm/src/components/IJ/favorite/index.js +36 -0
  157. package/dist/esm/src/components/IJ/learningCycleCard/components/menu/index.js +49 -0
  158. package/dist/esm/src/components/IJ/learningCycleCard/components/menu/menuStyle.js +28 -0
  159. package/dist/esm/src/components/IJ/learningCycleCard/index.js +36 -0
  160. package/dist/esm/src/components/IJ/learningCycleCard/learningCycleCardStyle.js +153 -0
  161. package/dist/esm/src/components/IJ/listSelector/index.js +39 -0
  162. package/dist/esm/src/components/IJ/listSelector/listSelectorStyles.js +46 -0
  163. package/dist/esm/src/components/IJ/pagination/index.js +82 -0
  164. package/dist/esm/src/components/IJ/pagination/paginationStyles.js +59 -0
  165. package/dist/esm/src/components/IJ/participantCard/index.js +37 -0
  166. package/dist/esm/src/components/IJ/participantCard/participantCardStyle.js +273 -0
  167. package/dist/esm/src/components/IJ/participantCardOld/index.js +58 -0
  168. package/dist/esm/src/components/IJ/participantCardOld/participantCardStyle.js +293 -0
  169. package/dist/esm/src/components/IJ/thumbListContent/index.js +28 -0
  170. package/dist/esm/src/components/IJ/thumbListContent/thumbListContentStyles.js +250 -0
  171. package/dist/esm/src/components/IncrementarIdeia/icrementarIdeiaStyles.js +115 -0
  172. package/dist/esm/src/components/IncrementarIdeia/index.js +98 -0
  173. package/dist/esm/src/components/IncrementarIdeia/useAutosizeTextArea.js +13 -0
  174. package/dist/esm/src/components/LXP/AccordionList/AccordionList.styles.js +101 -0
  175. package/dist/esm/src/components/LXP/AccordionList/index.js +26 -0
  176. package/dist/esm/src/components/LXP/accordionTrack/accordionTrack.js +179 -0
  177. package/dist/esm/src/components/LXP/accordionTrack/accordionTrackList.js +187 -0
  178. package/dist/esm/src/components/LXP/accordionTrack/accordionTrackStyle.js +194 -0
  179. package/dist/esm/src/components/LXP/accordionTrack/contentCourses.js +8 -0
  180. package/dist/esm/src/components/LXP/accordionTrack/contentCoursesTrails.js +189 -0
  181. package/dist/esm/src/components/LXP/accordionTrack/vectorDown.js +13 -0
  182. package/dist/esm/src/components/LXP/accordionTrack/vectorUp.js +13 -0
  183. package/dist/esm/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.js +83 -0
  184. package/dist/esm/src/components/LXP/avatarAssociatedChannel/index.js +11 -0
  185. package/dist/esm/src/components/LXP/avatarChannel/avatarChannelStyles.js +106 -0
  186. package/dist/esm/src/components/LXP/avatarChannel/index.js +32 -0
  187. package/dist/esm/src/components/LXP/bannerLxp/bannerLxp.js +150 -0
  188. package/dist/esm/src/components/LXP/bannerLxp/index.js +124 -0
  189. package/dist/esm/src/components/LXP/buttonContent/buttonContentStyle.js +63 -0
  190. package/dist/esm/src/components/LXP/buttonContent/index.js +11 -0
  191. package/dist/esm/src/components/LXP/calendarLxp/calendar.css.js +6 -0
  192. package/dist/esm/src/components/LXP/calendarLxp/calendarLxp.module.css.js +7 -0
  193. package/dist/esm/src/components/LXP/calendarLxp/defaultRanges.js +79 -0
  194. package/dist/esm/src/components/LXP/calendarLxp/index.js +26 -0
  195. package/dist/esm/src/components/LXP/colorpicker/colorpickerStyles.js +43 -0
  196. package/dist/esm/src/components/LXP/colorpicker/index.js +20 -0
  197. package/dist/esm/src/components/LXP/contentSwitcher/contentSwitcherStyle.js +94 -0
  198. package/dist/esm/src/components/LXP/contentSwitcher/index.js +10 -0
  199. package/dist/esm/src/components/LXP/contentThumbnails/contentThumbnailsStyle.js +184 -0
  200. package/dist/esm/src/components/LXP/contentThumbnails/index.js +77 -0
  201. package/dist/esm/src/components/LXP/contentThumbnails/vectorDown.js +13 -0
  202. package/dist/esm/src/components/LXP/contentThumbnails/vectorUp.js +13 -0
  203. package/dist/esm/src/components/LXP/fileUpload/fileUploadStyles.js +88 -0
  204. package/dist/esm/src/components/LXP/fileUpload/index.js +21 -0
  205. package/dist/esm/src/components/LXP/headerContent/headerContent.js +218 -0
  206. package/dist/esm/src/components/LXP/headerContent/index.js +45 -0
  207. package/dist/esm/src/components/LXP/login/index.js +157 -0
  208. package/dist/esm/src/components/LXP/login/loginStyle.js +271 -0
  209. package/dist/esm/src/components/LXP/manageLerningCicles/index.js +40 -0
  210. package/dist/esm/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.js +84 -0
  211. package/dist/esm/src/components/LXP/modalNewFeatures/ModalNewFeatures.style.js +204 -0
  212. package/dist/esm/src/components/LXP/modalNewFeatures/index.js +41 -0
  213. package/dist/esm/src/components/LXP/participantThumbnails/index.js +20 -0
  214. package/dist/esm/src/components/LXP/participantThumbnails/participantThumbnails.js +94 -0
  215. package/dist/esm/src/components/LXP/participantThumbnailsList/index.js +35 -0
  216. package/dist/esm/src/components/LXP/popOver/index.js +68 -0
  217. package/dist/esm/src/components/LXP/popOver/popOverStyle.js +130 -0
  218. package/dist/esm/src/components/LXP/popOverLXP-antigo/index.js +23 -0
  219. package/dist/esm/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.js +123 -0
  220. package/dist/esm/src/components/LXP/progressBar/index.js +11 -0
  221. package/dist/esm/src/components/LXP/progressBar/progressStyle.js +32 -0
  222. package/dist/esm/src/components/LXP/searchResults/index.js +15 -0
  223. package/dist/esm/src/components/LXP/searchResults/searchResultsStyles.js +63 -0
  224. package/dist/esm/src/components/LXP/selectLXP/SelectLXP.js +128 -0
  225. package/dist/esm/src/components/LXP/selectLXP/SelectLXPContext.js +6 -0
  226. package/dist/esm/src/components/LXP/selectLXP/SelectLXPItem.js +40 -0
  227. package/dist/esm/src/components/LXP/selectLXP/index.js +9 -0
  228. package/dist/esm/src/components/LXP/star-metric/index.js +13 -0
  229. package/dist/esm/src/components/LXP/star-metric/starMetricStyles.js +13 -0
  230. package/dist/esm/src/components/LXP/thumbnails/headerVectorElipses.js +13 -0
  231. package/dist/esm/src/components/LXP/thumbnails/loadingThumbnails.js +9 -0
  232. package/dist/esm/src/components/LXP/thumbnails/thumbnails.js +119 -0
  233. package/dist/esm/src/components/LXP/thumbnails/thumbnailsDraggable.js +13 -0
  234. package/dist/esm/src/components/LXP/thumbnails/thumbnailsStyle.js +188 -0
  235. package/dist/esm/src/components/LXP/thumbnails/vectorCross.js +13 -0
  236. package/dist/esm/src/components/LXP/thumbnails/vectorEllipse.js +13 -0
  237. package/dist/esm/src/components/LXP/tooltip/index.js +11 -0
  238. package/dist/esm/src/components/LXP/tooltip/tooltipStyle.js +131 -0
  239. package/dist/esm/src/components/LXP/video/index.js +10 -0
  240. package/dist/esm/src/components/LogoFRST/index.js +13 -0
  241. package/dist/esm/src/components/LogoFRST/logoFRST.module.css.js +7 -0
  242. package/dist/esm/src/components/ModalConfirme/index.js +10 -0
  243. package/dist/esm/src/components/ModalConfirme/styles.js +51 -0
  244. package/dist/esm/src/components/accordion-tabs/accordionTabsStyles.js +100 -0
  245. package/dist/esm/src/components/accordion-tabs/index.js +34 -0
  246. package/dist/esm/src/components/actioExperience/actioExperience.styles.js +163 -0
  247. package/dist/esm/src/components/actioExperience/icons.js +19 -0
  248. package/dist/esm/src/components/actioExperience/index.js +20 -0
  249. package/dist/esm/src/components/audio-player/audioPlayerStyles.js +329 -0
  250. package/dist/esm/src/components/audio-player/index.js +110 -0
  251. package/dist/esm/src/components/avatar/avatarStyles.js +24 -0
  252. package/dist/esm/src/components/avatar/index.js +17 -0
  253. package/dist/esm/src/components/brainstorming-votar/index.js +10 -0
  254. package/dist/esm/src/components/brainstorming-votar/votarStyles.js +85 -0
  255. package/dist/esm/src/components/buttons/buttonStyle.js +389 -0
  256. package/dist/esm/src/components/buttons/index.js +31 -0
  257. package/dist/esm/src/components/calendar/calendarStyle.js +185 -0
  258. package/dist/esm/src/components/calendar/index.js +60 -0
  259. package/dist/esm/src/components/card-trail/cardTrailStyle.js +29 -0
  260. package/dist/esm/src/components/card-trail/index.js +50 -0
  261. package/dist/esm/src/components/card-trail/moduleStyle.js +92 -0
  262. package/dist/esm/src/components/card-trail-carousel/index.js +15 -0
  263. package/dist/esm/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css.js +7 -0
  264. package/dist/esm/src/components/cardLT/AvatarWithInfo/index.js +16 -0
  265. package/dist/esm/src/components/cardLT/AvatarWithInfo/vector.js +13 -0
  266. package/dist/esm/src/components/cardLT/BannerProblem/BannerProblem.module.css.js +7 -0
  267. package/dist/esm/src/components/cardLT/BannerProblem/index.js +312 -0
  268. package/dist/esm/src/components/cardLT/BannerProblem/styles.js +30 -0
  269. package/dist/esm/src/components/cardLT/MessageBox/MessageBox.module.css.js +7 -0
  270. package/dist/esm/src/components/cardLT/MessageBox/icons/errorIcon.js +13 -0
  271. package/dist/esm/src/components/cardLT/MessageBox/icons/successIcon.js +13 -0
  272. package/dist/esm/src/components/cardLT/MessageBox/icons/warningIcon.js +13 -0
  273. package/dist/esm/src/components/cardLT/MessageBox/index.js +59 -0
  274. package/dist/esm/src/components/cardLT/Rating/Rating.module.css.js +7 -0
  275. package/dist/esm/src/components/cardLT/Rating/index.js +26 -0
  276. package/dist/esm/src/components/cardLT/Rating/starIcon.js +13 -0
  277. package/dist/esm/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css.js +7 -0
  278. package/dist/esm/src/components/cardLT/RatingCurtidas/index.js +15 -0
  279. package/dist/esm/src/components/cardLT/RocketButton/RocketButtonIcon.js +13 -0
  280. package/dist/esm/src/components/cardLT/RocketButton/index.js +26 -0
  281. package/dist/esm/src/components/cardLT/StepsMission/Planet.module.css.js +7 -0
  282. package/dist/esm/src/components/cardLT/StepsMission/StepMission.js +108 -0
  283. package/dist/esm/src/components/cardLT/StepsMission/Steps.js +68 -0
  284. package/dist/esm/src/components/cardLT/TextIcon/TextIcon.module.css.js +7 -0
  285. package/dist/esm/src/components/cardLT/TextIcon/index.js +14 -0
  286. package/dist/esm/src/components/cards/base/index.js +8 -0
  287. package/dist/esm/src/components/cards/cardDefinicaoFase/cardDefinicaoFase.module.css.js +7 -0
  288. package/dist/esm/src/components/cards/cardDefinicaoFase/index.js +30 -0
  289. package/dist/esm/src/components/cards/cardFaseDesafios/index.js +30 -0
  290. package/dist/esm/src/components/cards/cardFaseDesafios/styles.js +160 -0
  291. package/dist/esm/src/components/cards/cardProblem/cardProblem.module.css.js +7 -0
  292. package/dist/esm/src/components/cards/cardProblem/index.js +144 -0
  293. package/dist/esm/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css.js +7 -0
  294. package/dist/esm/src/components/cards/cardProblemGestor/index.js +26 -0
  295. package/dist/esm/src/components/cards/cardResultConquista/Icons/Aprendizado.png.js +3 -0
  296. package/dist/esm/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png.js +3 -0
  297. package/dist/esm/src/components/cards/cardResultConquista/Icons/Conquista.png.js +3 -0
  298. package/dist/esm/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png.js +3 -0
  299. package/dist/esm/src/components/cards/cardResultConquista/cardResultConquista.module.css.js +7 -0
  300. package/dist/esm/src/components/cards/cardResultConquista/index.js +40 -0
  301. package/dist/esm/src/components/cards/user/index.js +85 -0
  302. package/dist/esm/src/components/challenge-cards/challengeCardStyles.js +246 -0
  303. package/dist/esm/src/components/challenge-cards/dropdownMenuStyle.js +85 -0
  304. package/dist/esm/src/components/challenge-cards/index.js +174 -0
  305. package/dist/esm/src/components/checkmark/checkmarkStyles.js +24 -0
  306. package/dist/esm/src/components/checkmark/index.js +32 -0
  307. package/dist/esm/src/components/comment-post/commentPostStyles.js +23 -0
  308. package/dist/esm/src/components/comment-post/index.js +16 -0
  309. package/dist/esm/src/components/commentary-box/commentaryBox.utils.js +24 -0
  310. package/dist/esm/src/components/commentary-box/commentaryBoxStyles.js +240 -0
  311. package/dist/esm/src/components/commentary-box/index.js +104 -0
  312. package/dist/esm/src/components/commentaryBoxV2/CommentaryBoxV2.styles.js +282 -0
  313. package/dist/esm/src/components/commentaryBoxV2/index.js +157 -0
  314. package/dist/esm/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.js +45 -0
  315. package/dist/esm/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.js +54 -0
  316. package/dist/esm/src/components/conquistaCarrossel/index.js +26 -0
  317. package/dist/esm/src/components/counter-like/counterLikeStyles.js +26 -0
  318. package/dist/esm/src/components/counter-like/index.js +28 -0
  319. package/dist/esm/src/components/criar-ideia/criarIdeiaStyles.js +144 -0
  320. package/dist/esm/src/components/criar-ideia/index.js +58 -0
  321. package/dist/esm/src/components/criar-ideia/useAutosizeTextArea.js +13 -0
  322. package/dist/esm/src/components/demo/stepController/StepControllerStyle.js +47 -0
  323. package/dist/esm/src/components/demo/stepController/index.js +12 -0
  324. package/dist/esm/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.js +162 -0
  325. package/dist/esm/src/components/dropdown-profile-menu/index.js +84 -0
  326. package/dist/esm/src/components/emoji-picker/emojiPickerStyles.js +61 -0
  327. package/dist/esm/src/components/emoji-picker/index.js +87 -0
  328. package/dist/esm/src/components/exclusive-class/exclusiveClassStyles.js +32 -0
  329. package/dist/esm/src/components/exclusive-class/index.js +13 -0
  330. package/dist/esm/src/components/expand-button/expandButtonStyle.js +47 -0
  331. package/dist/esm/src/components/expand-button/index.js +23 -0
  332. package/dist/esm/src/components/field-search-dropdown/fieldSearchStyle.js +139 -0
  333. package/dist/esm/src/components/field-search-dropdown/index.js +105 -0
  334. package/dist/esm/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.js +7 -0
  335. package/dist/esm/src/components/filter-accordion-checkbox/index.js +135 -0
  336. package/dist/esm/src/components/filtro-galeria-desafio/index.js +59 -0
  337. package/dist/esm/src/components/filtro-galeria-desafio/styles/MultiSelectDemo.js +245 -0
  338. package/dist/esm/src/components/filtro-galeria-desafio/styles/icons/arrowCarrosselDown.png.js +3 -0
  339. package/dist/esm/src/components/filtro-galeria-desafio/styles/icons/arrow_carrossel_down.png.js +3 -0
  340. package/dist/esm/src/components/filtro-galeria-desafio/styles/primeflex.css.js +6 -0
  341. package/dist/esm/src/components/filtro-galeria-desafio/styles/primereact.css.js +6 -0
  342. package/dist/esm/src/components/filtro-galeria-desafio/styles/theme.css.js +6 -0
  343. package/dist/esm/src/components/form-elements/checkbox/checkboxStyle.js +36 -0
  344. package/dist/esm/src/components/form-elements/checkbox/index.js +16 -0
  345. package/dist/esm/src/components/form-elements/helperTextBox/helperTextBox.js +9 -0
  346. package/dist/esm/src/components/form-elements/helperTextBox/styles.js +20 -0
  347. package/dist/esm/src/components/form-elements/table/index.js +37 -0
  348. package/dist/esm/src/components/form-elements/table/parts/TableBody/index.js +22 -0
  349. package/dist/esm/src/components/form-elements/table/parts/TableBody/tableStyle.js +50 -0
  350. package/dist/esm/src/components/form-elements/table/parts/TableHead/index.js +11 -0
  351. package/dist/esm/src/components/form-elements/table/parts/TableHead/tableStyle.js +24 -0
  352. package/dist/esm/src/components/form-elements/table/tableStyle.js +49 -0
  353. package/dist/esm/src/components/form-elements/table-actions/index.js +82 -0
  354. package/dist/esm/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.js +12 -0
  355. package/dist/esm/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.js +23 -0
  356. package/dist/esm/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.js +28 -0
  357. package/dist/esm/src/components/form-elements/table-actions/parts/DateLimit/index.js +8 -0
  358. package/dist/esm/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.js +57 -0
  359. package/dist/esm/src/components/form-elements/table-actions/parts/EmptyState/index.js +22 -0
  360. package/dist/esm/src/components/form-elements/table-actions/parts/TagStatus/index.js +8 -0
  361. package/dist/esm/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.js +58 -0
  362. package/dist/esm/src/components/form-elements/table-actions/tableActionsStyle.js +110 -0
  363. package/dist/esm/src/components/form-elements/textarea/index.js +8 -0
  364. package/dist/esm/src/components/form-elements/textfield/index.js +42 -0
  365. package/dist/esm/src/components/form-elements/textfield/textFieldStyle.js +169 -0
  366. package/dist/esm/src/components/global-menu/globalMenuStyles.js +385 -0
  367. package/dist/esm/src/components/global-menu/index.js +181 -0
  368. package/dist/esm/src/components/header-improvement-idea/headerImprovementIdeaStyles.js +18 -0
  369. package/dist/esm/src/components/header-improvement-idea/index.js +24 -0
  370. package/dist/esm/src/components/header-user/headerUserStyles.js +50 -0
  371. package/dist/esm/src/components/header-user/index.js +13 -0
  372. package/dist/esm/src/components/headerChallenge/headerChallengeStyle.js +104 -0
  373. package/dist/esm/src/components/headerChallenge/index.js +9 -0
  374. package/dist/esm/src/components/hypothesisComponent/hypothesisComponent.style.js +220 -0
  375. package/dist/esm/src/components/hypothesisComponent/index.js +145 -0
  376. package/dist/esm/src/components/hypothesisComponent/types.js +8 -0
  377. package/dist/esm/src/components/input-comment/index.js +69 -0
  378. package/dist/esm/src/components/input-comment/inputCommentStyles.js +142 -0
  379. package/dist/esm/src/components/input-comment/mentions.js +18 -0
  380. package/dist/esm/src/components/input-comment/mentionsStyle.js +126 -0
  381. package/dist/esm/src/components/input-comment/useInputHook.js +375 -0
  382. package/dist/esm/src/components/input-comment/useMentions.js +39 -0
  383. package/dist/esm/src/components/input-comment-v2/index.js +81 -0
  384. package/dist/esm/src/components/input-comment-v2/inputCommentStyles.js +101 -0
  385. package/dist/esm/src/components/item-lateral-menu/index.js +34 -0
  386. package/dist/esm/src/components/item-lateral-menu/itemLateralMenuStyles.js +110 -0
  387. package/dist/esm/src/components/item-menu-global/index.js +11 -0
  388. package/dist/esm/src/components/item-menu-global/itemMenuGlobalStyles.js +74 -0
  389. package/dist/esm/src/components/lateral-menu/index.js +21 -0
  390. package/dist/esm/src/components/lateral-menu/lateralMenuStyles.js +65 -0
  391. package/dist/esm/src/components/learning-steps/index.js +23 -0
  392. package/dist/esm/src/components/learning-steps/learningStepsStyles.js +39 -0
  393. package/dist/esm/src/components/menu-more/index.js +31 -0
  394. package/dist/esm/src/components/menu-more/menuMoreStyles.js +136 -0
  395. package/dist/esm/src/components/mini-button/index.js +15 -0
  396. package/dist/esm/src/components/mini-button/miniButtonStyle.js +108 -0
  397. package/dist/esm/src/components/modal/modalBase/index.js +31 -0
  398. package/dist/esm/src/components/modal/modalBase/modalBase.module.css.js +7 -0
  399. package/dist/esm/src/components/modal/modalLXP/Modal.js +24 -0
  400. package/dist/esm/src/components/modal/modalLXP/modal.module.css.js +7 -0
  401. package/dist/esm/src/components/modal/modalLearningTech/index.js +17 -0
  402. package/dist/esm/src/components/modal/modalLearningTech/modalLearningTech.module.css.js +7 -0
  403. package/dist/esm/src/components/modal/modalShowUsers/index.js +11 -0
  404. package/dist/esm/src/components/modal/modalShowUsers/styles.js +122 -0
  405. package/dist/esm/src/components/modal/modalVideo/index.js +56 -0
  406. package/dist/esm/src/components/modal/modalVideo/modalVideo.module.css.js +7 -0
  407. package/dist/esm/src/components/modal/modalWelcome/index.js +43 -0
  408. package/dist/esm/src/components/modal/modalWelcome/styles.js +38 -0
  409. package/dist/esm/src/components/modal/statusProblema/index.js +33 -0
  410. package/dist/esm/src/components/modal/statusProblema/problemaFRST.png.js +3 -0
  411. package/dist/esm/src/components/modal/statusProblema/statusProblema.module.css.js +7 -0
  412. package/dist/esm/src/components/quantidadeDesafios/index.js +73 -0
  413. package/dist/esm/src/components/quantidadeDesafios/quantidadeDesafios.js +95 -0
  414. package/dist/esm/src/components/quantidadeDesafios/stats.js +8 -0
  415. package/dist/esm/src/components/quantidadeDesafios/statsWithResult.js +8 -0
  416. package/dist/esm/src/components/scroll-container/index.js +90 -0
  417. package/dist/esm/src/components/scroll-container/scrollContainer.utils.js +7 -0
  418. package/dist/esm/src/components/scroll-container/scrollContainerStyles.js +85 -0
  419. package/dist/esm/src/components/search-field/index.js +19 -0
  420. package/dist/esm/src/components/search-field/searchFieldStyles.js +87 -0
  421. package/dist/esm/src/components/show-more/index.js +20 -0
  422. package/dist/esm/src/components/show-more/showMoreStyles.js +26 -0
  423. package/dist/esm/src/components/speech-bubble/index.js +11 -0
  424. package/dist/esm/src/components/speech-bubble/speechBubbleStyles.js +100 -0
  425. package/dist/esm/src/components/step-card/index.js +13 -0
  426. package/dist/esm/src/components/step-card/stepCardStyles.js +90 -0
  427. package/dist/esm/src/components/tag/index.js +22 -0
  428. package/dist/esm/src/components/totalizer-card/index.js +16 -0
  429. package/dist/esm/src/components/totalizer-card/totalizerCardStyles.js +84 -0
  430. package/dist/esm/src/components/users-challenge/index.js +13 -0
  431. package/dist/esm/src/components/users-challenge/styles.js +125 -0
  432. package/dist/esm/src/components/users-challenge/variant-feed/index.js +34 -0
  433. package/dist/esm/src/components/users-challenge/variant-feed/styles.js +125 -0
  434. package/dist/esm/src/components/users-challenge/variant-form/index.js +23 -0
  435. package/dist/esm/src/components/users-challenge/variant-form/styles.js +125 -0
  436. package/dist/esm/src/components/users-challenge/variant-lxp/index.js +21 -0
  437. package/dist/esm/src/components/users-challenge/variant-lxp/styles.js +122 -0
  438. package/dist/esm/src/components/users-challenge/variant-vitrine/index.js +34 -0
  439. package/dist/esm/src/components/users-challenge/variant-vitrine/styles.js +123 -0
  440. package/dist/esm/src/shared/global.css.js +6 -0
  441. package/dist/esm/src/shared/globalComponentsStyle.js +83 -0
  442. package/dist/esm/src/shared/icons.js +531 -0
  443. package/dist/esm/src/theme/index.js +7 -0
  444. package/dist/esm/src/theme/tokens.js +235 -0
  445. package/dist/esm/src/utilityFunctions/abbreviateMiddleSurnames.js +23 -0
  446. package/dist/esm/src/utilityFunctions/buildStringWithHTML.js +10 -0
  447. package/dist/esm/src/utilityFunctions/createUUID.js +11 -0
  448. package/dist/index.js +15175 -15175
  449. package/dist/src/components/mini-button/index.d.ts +1 -1
  450. package/dist/src/components/mini-button/index.d.ts.map +1 -1
  451. package/package.json +120 -116
  452. package/public/customIcons/CheckIcon.tsx +16 -16
  453. package/public/customIcons/CircledAlert.tsx +21 -21
  454. package/public/customIcons/CircledCheck.tsx +20 -20
  455. package/public/customIcons/CloseIcon.tsx +23 -23
  456. package/public/customIcons/DefaultProfile.tsx +15 -15
  457. package/public/customIcons/ExcludeVoteIcon.tsx +40 -40
  458. package/public/customIcons/FrstLogoChallengeIcon.tsx +20 -20
  459. package/public/customIcons/FrstLogoIcon.tsx +8 -8
  460. package/public/customIcons/LanguageIcon.tsx +24 -24
  461. package/public/customIcons/SmallTrash.tsx +20 -20
  462. package/public/customIcons/SwitchVoteIcon.tsx +22 -22
  463. package/public/customIcons/TagAlert.tsx +10 -10
  464. package/public/customIcons/VoteCurrentIcon.tsx +22 -22
  465. package/public/customIcons/VoteIcon.tsx +41 -41
  466. package/public/customIcons/WarningIcon.tsx +21 -21
  467. package/public/customIcons/index.ts +15 -15
  468. package/public/customIcons/newVoteIcon.tsx +36 -36
  469. package/public/index.html +43 -43
  470. package/public/locales/en-US.json +33 -33
  471. package/public/locales/es.json +34 -34
  472. package/public/locales/pt-BR.json +41 -41
  473. package/public/manifest.json +15 -15
  474. package/public/robots.txt +3 -3
@@ -0,0 +1,156 @@
1
+ import styled from 'styled-components';
2
+
3
+ const achievementHeader = styled.div `
4
+ display: flex;
5
+ justify-content: flex-start;
6
+ align-items: center;
7
+ flex-direction: row;
8
+
9
+ height: 96px;
10
+ padding: 20px 32px;
11
+ border-top-left-radius: 8px;
12
+ border-top-right-radius: 8px;
13
+ word-wrap: break-word;
14
+
15
+ ${({ theme }) => theme.fonts.textMessageComponentsBodyBold};
16
+ color: ${({ theme }) => theme.colors.shadeWhite};
17
+ `;
18
+ const bannerContainer = styled.div `
19
+ display: flex;
20
+ justify-content: flex-start;
21
+ align-items: center;
22
+ flex-direction: column;
23
+ border: 1px solid ${({ theme }) => theme.colors.borderPrimary};
24
+ background-color: ${({ theme }) => theme.colors.shadeWhite};
25
+ padding: 24px;
26
+ position: relative;
27
+ `;
28
+ const headerContent = styled.div `
29
+ display: flex;
30
+ justify-content: center;
31
+ align-items: center;
32
+ flex-direction: row;
33
+ `;
34
+ const userInfo = styled.div `
35
+ display: flex;
36
+ justify-content: center;
37
+ align-items: flex-start;
38
+ flex-direction: column;
39
+
40
+ font-family: 'Work Sans';
41
+ color: ${({ theme }) => theme.colors.neutralsGrey1};
42
+ margin-left: 16px;
43
+ `;
44
+ const problemTitle = styled.div `
45
+ font-family: 'Work Sans';
46
+ color: ${({ theme }) => theme.colors.primary1};
47
+ font-size: 24px;
48
+ font-weight: 600;
49
+ text-align: center;
50
+ margin-top: 24px;
51
+ word-wrap: break-word;
52
+ `;
53
+ const tagContent = styled.div `
54
+ display: flex;
55
+ justify-content: center;
56
+ align-items: center;
57
+ flex-wrap: wrap;
58
+ margin-top: 24px;
59
+ gap: 8px;
60
+ `;
61
+ const lastUpdatedText = styled.div `
62
+ display: flex;
63
+ justify-content: flex-start;
64
+ align-items: center;
65
+ flex-direction: row;
66
+ ${({ theme }) => theme.fonts.textMessageComponentsBodySmall};
67
+ margin-top: 16px;
68
+ `;
69
+ const stepsContainer = styled.div `
70
+ display: flex;
71
+ justify-content: flex-start;
72
+ align-items: flex-start;
73
+ flex-direction: column;
74
+ width: 100%;
75
+ border: 1px solid ${({ theme }) => theme.colors.borderPrimary};
76
+ border-radius: 8px;
77
+ background-color: ${({ theme }) => theme.colors.shadeWhite};
78
+ padding: 24px;
79
+ margin-bottom: 24px;
80
+ `;
81
+ const stepsTitle = styled.span `
82
+ ${({ theme }) => theme.fonts.header2};
83
+ font-size: 24px !important;
84
+ `;
85
+ const stepsLabel = styled.span `
86
+ font-family: 'Work Sans';
87
+ font-size: 16px;
88
+ font-weight: 700;
89
+ color: ${({ theme }) => theme.colors.neutralsGrey1};
90
+ margin-top: 16px;
91
+ word-wrap: break-word;
92
+ `;
93
+ const stepsValueText = styled.span `
94
+ font-family: 'Work Sans';
95
+ font-size: 16px;
96
+ font-weight: 400;
97
+ color: ${({ theme }) => theme.colors.neutralsGrey1};
98
+ margin-top: 8px;
99
+ word-wrap: break-word;
100
+ `;
101
+ const topHeaderTag = styled.span `
102
+ display: flex;
103
+ flex-direction: row;
104
+ justify-content: center;
105
+ align-items: center;
106
+ padding: 4px 16px;
107
+ gap: 10px;
108
+
109
+ position: absolute;
110
+ right: -1px;
111
+ top: -1px;
112
+
113
+ background: ${({ background }) => background || '#940059'};
114
+ color: ${({ color }) => color || '#FFFFFF'};
115
+ border-radius: 0px 8px;
116
+
117
+ `;
118
+ styled.div `
119
+ position: absolute;
120
+ top: 0;
121
+ left: 0;
122
+ width: 100%;
123
+ height: 100%;
124
+ background-color: rgba(0, 0, 0, 0.2);
125
+ color: white;
126
+ display: flex;
127
+ justify-content: center;
128
+ align-items: center;
129
+ z-index: 9999;
130
+ opacity: ${props => props?.show ? '1' : '0'};
131
+ transition: opacity 0.2s ease-in-out;
132
+ border-radius: 8px;
133
+ user-select: none;
134
+ `;
135
+ styled.img `
136
+ transform: rotate(180deg);
137
+ transform: scaleY(-1);
138
+ width: 30%;
139
+ background-color: rgba(255, 255, 255, 0.8);
140
+
141
+ border-radius: 50%;
142
+ user-select: none;
143
+ padding: 1%;
144
+
145
+ // border: 0.5vw solid #0645ad;
146
+ `;
147
+ const WorkInfo = styled.span `
148
+ font-weight: 400;
149
+ font-size: 16;
150
+ max-width: 21ch;
151
+ overflow: hidden;
152
+ white-space: nowrap;
153
+ text-overflow: ellipsis;
154
+ `;
155
+
156
+ export { WorkInfo, achievementHeader, bannerContainer, headerContent, lastUpdatedText, problemTitle, stepsContainer, stepsLabel, stepsTitle, stepsValueText, tagContent, topHeaderTag, userInfo };
@@ -0,0 +1,161 @@
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
+ import { FRSTTheme } from '../../../theme/index.js';
3
+ import { ThemeProvider } from 'styled-components';
4
+ import { achievementHeader, bannerContainer, topHeaderTag, headerContent, userInfo, WorkInfo, problemTitle, tagContent, lastUpdatedText, stepsContainer, stepsTitle, stepsLabel, stepsValueText } from './bannerProblemFeedStyles.js';
5
+ import Avatar from '../../avatar/index.js';
6
+ import Tag from '../../tag/index.js';
7
+ import StepsProgress from '../../DS/steps-progress/index.js';
8
+ import { useState, useEffect } from 'react';
9
+ import Slider from '@mui/material/Slider';
10
+ import { withStyles } from '@material-ui/styles';
11
+ import Button from '../../buttons/index.js';
12
+ import FeedInteraction from '../feedInteraction/index.js';
13
+ import Tooltip from '../../DS/tooltip/index.js';
14
+
15
+ function BannerProblemFeed(props) {
16
+ const [selectedStep, setSelectedStep] = useState(props.stepActive);
17
+ const learningIcon = 'https://i.gyazo.com/4e0807b581bf9780f07a27516a809a21.png';
18
+ const achievementIcon = 'https://i.gyazo.com/9b192733f4947946a3f47080ae12727f.png';
19
+ // const [stateLatestComment, setStateLatestComment] = useState(props.latestComment)
20
+ // useEffect(() => {
21
+ // setStateLatestComment(props.latestComment)
22
+ // }, [props.latestComment]);
23
+ const [stateTotalComments, setStateTotalComments] = useState(props.qtdComments);
24
+ useEffect(() => {
25
+ setStateTotalComments(props.qtdComments);
26
+ }, [props.qtdComments]);
27
+ const [definedSteps, setDefinedSteps] = useState(getStepsChallenge(props.language, props.stepProblem, setSelectedStep, props.onSelectedStep) || []);
28
+ useEffect(() => {
29
+ setDefinedSteps(getStepsChallenge(props.language, props.stepProblem, setSelectedStep, props.onSelectedStep));
30
+ }, [props.language, props.stepProblem, props.onSelectedStep]);
31
+ useEffect(() => {
32
+ setSelectedStep(props.stepActive);
33
+ }, [props.stepActive]);
34
+ const CustomSlider = withStyles({
35
+ root: {
36
+ color: "#FF4D0D",
37
+ height: 3,
38
+ padding: "13px 0",
39
+ },
40
+ track: {
41
+ color: "#FF4D0D",
42
+ },
43
+ disabled: {
44
+ color: '#FF4D0D',
45
+ }
46
+ })(Slider);
47
+ const marks = [
48
+ {
49
+ value: 1,
50
+ label: '1'
51
+ },
52
+ {
53
+ value: 2,
54
+ label: '2'
55
+ },
56
+ {
57
+ value: 3,
58
+ label: '3'
59
+ },
60
+ {
61
+ value: 4,
62
+ label: '4'
63
+ },
64
+ {
65
+ value: 5,
66
+ label: '5'
67
+ }
68
+ ];
69
+ const RenderSteps = () => {
70
+ return (jsx(Fragment, { children: selectedStep === 1 ?
71
+ jsxs(stepsContainer, { children: [jsx(stepsTitle, { children: props.step1Title }), jsxs(stepsLabel, { children: [props.textIndicator, ":"] }), jsx(stepsValueText, { children: props.indicatorValue }), jsxs(stepsLabel, { children: [props.textIndicatorSituation, ":"] }), jsx(stepsValueText, { children: props.indicatorSituationValue }), jsxs(stepsLabel, { children: [props.textIndicatorObjective, ":"] }), jsx(stepsValueText, { children: props.indicatorObjectiveValue }), jsxs(stepsLabel, { children: [props.textResultsFuture, ":"] }), jsx(stepsValueText, { children: props.resultsFutureValue })] })
72
+ : selectedStep === 2 ?
73
+ jsxs(stepsContainer, { children: [jsx(stepsTitle, { children: props.step2Title }), jsxs(stepsLabel, { style: { color: FRSTTheme['colors'].primary1 }, children: [props.textHypotheses, ":"] }), jsx(stepsValueText, { children: props.hypothesesValue }), jsxs(stepsLabel, { style: { color: FRSTTheme['colors'].primary1 }, children: [" ", props.language === 'en-US' ? 'Action 1' : 'Ação 1', " "] }), jsxs(stepsLabel, { children: [props.textResponsableAction, ":"] }), jsx(stepsValueText, { children: props.ResponsableActionValue }), jsxs(stepsLabel, { children: [props.textDate, ":"] }), jsx(stepsValueText, { children: props.dateValue }), jsxs(stepsLabel, { children: [props.textWhatToDo, ":"] }), jsx(stepsValueText, { children: props.whatToDoValue }), jsxs(stepsLabel, { children: [props.textSuccessAction, ":"] }), jsx(stepsValueText, { children: props.successActionValue })] })
74
+ : selectedStep === 3 ?
75
+ jsxs(stepsContainer, { children: [jsx(stepsTitle, { children: props.step3Title }), jsxs(stepsLabel, { style: { color: FRSTTheme['colors'].primary1 }, children: [props.textTestMade, ":"] }), jsx(stepsValueText, { children: props.testMadeValue }), jsxs(stepsLabel, { children: [props.textSuccessTest, ":"] }), jsx("div", { style: { width: '100%', marginBottom: 32, marginTop: 12 }, children: jsx(CustomSlider, { value: props.successTestValue, min: 1, max: 5, marks: marks, disabled: true }) })] })
76
+ : selectedStep === 4 ?
77
+ jsxs(stepsContainer, { children: [jsx(stepsTitle, { children: props.step4Title }), props.textMainAchievement ?
78
+ jsxs(Fragment, { children: [jsxs(stepsLabel, { style: { color: FRSTTheme['colors'].primary1 }, children: [props.textMainAchievement, ":"] }), jsx(stepsValueText, { children: props.mainAchievementValue })] })
79
+ : props.textMainLearning ?
80
+ jsxs(Fragment, { children: [jsxs(stepsLabel, { style: { color: FRSTTheme['colors'].primary1 }, children: [props.textMainLearning, ":"] }), jsx(stepsValueText, { children: props.mainLearningValue })] })
81
+ : null] })
82
+ : selectedStep === 5 ?
83
+ jsxs(stepsContainer, { children: [jsx(stepsTitle, { children: props.step5Title }), jsxs(stepsLabel, { style: { color: FRSTTheme['colors'].primary1 }, children: [props.textNextSteps, ":"] }), jsx(stepsValueText, { children: props.nextStepsValue })] })
84
+ : null }));
85
+ };
86
+ return (jsxs(ThemeProvider, { theme: FRSTTheme, children: [props.mainAchievementValue || props.mainLearningValue ?
87
+ jsxs(achievementHeader, { style: { backgroundColor: props.isSuccessCase ? '#444' : '#4B2961' }, children: [jsx("img", { src: props.mainAchievementValue ? achievementIcon : learningIcon, width: '56', height: '56' }), jsx("span", { style: { marginLeft: 16, wordBreak: 'break-word', overflow: 'hidden', display: '-webkit-box', WebkitLineClamp: 3, WebkitBoxOrient: 'vertical' }, children: props.mainAchievementValue ? props.mainAchievementValue : props.mainLearningValue })] })
88
+ : null, jsxs(bannerContainer, { style: { borderTopLeftRadius: props.mainAchievementValue || props.mainLearningValue ? 0 : 8, borderTopRightRadius: props.mainAchievementValue || props.mainLearningValue ? 0 : 8 }, children: [props.topHeaderTagText &&
89
+ jsx(topHeaderTag, { background: props.topHeaderTagBgColor, color: props.topHeaderTagColor, children: props.topHeaderTagText }), jsx(headerContent, { children: props.onClickUserInfo ?
90
+ jsxs(Tooltip, { direction: "bottom", content: props.textVisitProfile ? props.textVisitProfile : 'Visitar perfil', trigger: 'hover', width: '101px', height: '32px', style: { top: '10px', textAlign: 'center' }, children: [jsx(Avatar, { isActiveClick: true, onClick: () => props.onClickUserInfo ? props.onClickUserInfo() : {}, size: "54px", src: props.isSuccessCase ? 'https://i.gyazo.com/e9608cb76d36242de07661bee9da60dd.png' : props.userAvatar }), jsxs(userInfo, { onClick: () => props.onClickUserInfo ? props.onClickUserInfo() : {}, style: { cursor: 'pointer' }, children: [jsx("span", { style: { fontWeight: 600, fontSize: 20 }, children: props.isSuccessCase ?
91
+ (props.language === 'pt-BR' ? 'Case de sucesso'
92
+ : props.language === 'en-US' ? 'Success case'
93
+ : props.language === 'es' ? 'Caso de exito'
94
+ : props.language === 'pt-PT' ? 'Case de sucesso'
95
+ : null)
96
+ : props.userName }), jsx("span", { style: { fontWeight: 400, fontSize: 16 }, children: props.userPosition }), jsx(WorkInfo, { children: props.userCompany })] })] })
97
+ :
98
+ jsxs(Fragment, { children: [jsx(Avatar, { size: "54px", src: props.isSuccessCase ? 'https://i.gyazo.com/e9608cb76d36242de07661bee9da60dd.png' : props.userAvatar }), jsxs(userInfo, { children: [jsx("span", { style: { fontWeight: 600, fontSize: 20 }, children: props.isSuccessCase ?
99
+ (props.language === 'pt-BR' ? 'Case de sucesso'
100
+ : props.language === 'en-US' ? 'Success case'
101
+ : props.language === 'es' ? 'Caso de exito'
102
+ : props.language === 'pt-PT' ? 'Case de sucesso'
103
+ : null)
104
+ : props.userName }), jsx("span", { style: { fontWeight: 400, fontSize: 16 }, children: props.userPosition }), jsx(WorkInfo, { style: { fontWeight: 400, fontSize: 16 }, children: props.userCompany })] })] }) }), jsxs(problemTitle, { children: [" ", props.problemTitle, " "] }), jsx(tagContent, { children: props.problemTags?.map((item, index) => (item &&
105
+ jsx(Tag, { style: { color: '#000 !important' }, title: item, color: "#E4E1FF", selected: false, inverted: false }, index))) }), jsxs(lastUpdatedText, { children: [jsxs("span", { style: { fontWeight: 700 }, children: [props.lastUpdated, ":"] }), jsxs("span", { children: ["\u00A0", props.lastUpdatedStep] })] }), jsx("div", { style: {
106
+ width: '100%',
107
+ paddingTop: 30,
108
+ paddingBottom: 16,
109
+ marginTop: 16,
110
+ marginBottom: 4,
111
+ borderTop: `1px solid ${FRSTTheme['colors'].borderPrimary}`,
112
+ display: 'flex', justifyContent: 'center'
113
+ }, children: jsx("div", { style: { width: '95%' }, children: jsx(StepsProgress, { definedSteps: definedSteps, stepSelected: selectedStep }) }) }), jsx(RenderSteps, {}), jsx(Button, { label: props.textButton, variant: 'expandedPrimary', handleClick: () => props.onClickButton() })] }), !props.hideInteraction &&
114
+ jsx(FeedInteraction, { isChallengeReview: true, id: props.id, isLiked: props.isLiked, qtdComments: stateTotalComments, qtdLikes: props.qtdLikes, textAvaluation: props.textAvaluation, textAvaluationTitle: props.textAvaluationTitle, isDisabledAvaluation: props.isDisabledAvaluation, textComments: props.textComments, textDeslike: props.textDeslike, textLikes: props.textLikes,
115
+ // latestComment={stateLatestComment}
116
+ // textLatestComment={props.textLatestComment}
117
+ textImpacto: props.textImpacto, ratingImpacto: props.ratingImpacto, textRelevancia: props.textRelevancia, ratingRelevancia: props.ratingRelevancia,
118
+ // userCommentPlaceholder={props.userCommentPlaceholder}
119
+ // onCommentChange={props.onCommentChange}
120
+ handleLikeClick: props.handleLikeClick, handleImpactoChange: props.handleImpactoChange, handleRelevanciaChange: props.handleRelevanciaChange,
121
+ // textSaveCommentBtn={props.textSaveCommentBtn}
122
+ // handleSaveCommentBtn={props.handleSaveCommentBtn}
123
+ userAvatar: props.avatar, textTotalView: props.textTotalView, handleClickTextTotalViews: props.handleClickTextTotalViews, isCommentV2: props?.isCommentV2, childrenCommentV2: props?.childrenCommentV2 })] }));
124
+ }
125
+ function getStepsChallenge(language, stepProblem, setSelectedStep, onSelectedStep) {
126
+ let translate = {
127
+ "pt-BR": ["Definição", "Hipóteses", "Testes", "Resultados", "Próximos Passos"],
128
+ "es": ["Definición", "Hipótesis", "Pruebas", "Resultados", "Próximos pasos"],
129
+ "en-US": ["Definition", "Hypotheses", "Tests", "Results", "Next Steps"],
130
+ "pt-PT": ["Definição", "Hipóteses", "Testes", "Resultados", "Próximos Passos"],
131
+ };
132
+ let steps = [
133
+ { step: 1, active: false, name: translate[language][0], action: () => {
134
+ onSelectedStep(1);
135
+ setSelectedStep(1);
136
+ } },
137
+ { step: 2, active: false, name: translate[language][1], action: () => {
138
+ onSelectedStep(2);
139
+ setSelectedStep(2);
140
+ } },
141
+ { step: 3, active: false, name: translate[language][2], action: () => {
142
+ onSelectedStep(3);
143
+ setSelectedStep(3);
144
+ } },
145
+ { step: 4, active: false, name: translate[language][3], action: () => {
146
+ onSelectedStep(4);
147
+ setSelectedStep(4);
148
+ } },
149
+ { step: 5, active: false, name: translate[language][4], action: () => {
150
+ onSelectedStep(5);
151
+ setSelectedStep(5);
152
+ } },
153
+ ];
154
+ let maxStep = Math.min(stepProblem, steps.length);
155
+ for (let i = 0; i < maxStep; i++) {
156
+ steps[i].active = true;
157
+ }
158
+ return steps;
159
+ }
160
+
161
+ export { BannerProblemFeed as default };
@@ -0,0 +1,217 @@
1
+ import styled from 'styled-components';
2
+
3
+ const ContainerTotal = styled.div `
4
+ width: 100%;
5
+ min-height: 508px;
6
+ background-image: url("${({ bannerNormal, bannerLarge, isExtendedVersion }) => isExtendedVersion ? bannerLarge : bannerNormal}");
7
+ background-repeat: no-repeat;
8
+ background-position: top;
9
+ background-size: cover;
10
+
11
+ display: flex;
12
+ flex-direction: column;
13
+
14
+ @media (max-width: 870px) {
15
+ background-image: url("${({ bannerResponsive }) => bannerResponsive}");
16
+ height: 745px;
17
+ }
18
+ `;
19
+ const VersionExtended = styled.div `
20
+ height: ${({ isExtendedVersion, heightExtended }) => isExtendedVersion ? heightExtended ? heightExtended : '508px' : '0px'};
21
+ @media (max-width: 870px) {
22
+ display: none;
23
+ }
24
+ `;
25
+ const ContainerBanner = styled.div `
26
+ width: 100%;
27
+ height: 508px;
28
+
29
+ display: flex;
30
+ flex-direction: row;
31
+ align-items: center;
32
+ justify-content: center;
33
+ flex-wrap: wrap;
34
+
35
+ & > div:nth-child(5) {
36
+ display: none;
37
+ }
38
+ @media (max-width: 1500px) {
39
+ padding: 20px !important;
40
+ }
41
+
42
+ @media (max-width: 1200px) {
43
+ & > div:nth-child(1) {
44
+ display: none !important;
45
+ }
46
+ }
47
+
48
+ @media (max-width: 870px) {
49
+ height: 745px;
50
+
51
+ & > div:nth-child(2) {
52
+ min-width: 100%;
53
+ }
54
+ & > div:nth-child(3) {
55
+ min-width: 360px;
56
+ max-width: 360px;
57
+
58
+ & > div:nth-child(2) {
59
+ margin-bottom: 0px;
60
+ }
61
+ & > button {
62
+ display: none;
63
+ }
64
+ }
65
+ & > div:nth-child(4) {
66
+ min-width: 100%;
67
+ max-width: 100%;
68
+ display: flex;
69
+ justify-content: center;
70
+
71
+ & > div:nth-child(1) {
72
+ width: 270px;
73
+ margin-left: 0px;
74
+
75
+ & > div:nth-child(1) {
76
+
77
+ }
78
+ }
79
+ }
80
+ & > div:nth-child(5) {
81
+ min-width: 100%;
82
+ min-width: 360px;
83
+ display: flex;
84
+ align-self: flex-end;
85
+ margin-bottom: 40px;
86
+ & > button {
87
+ width: 360px;
88
+ max-width: 100%;
89
+ }
90
+ }
91
+ }
92
+ `;
93
+ const WrapperContent = styled.div `
94
+ flex: 1;
95
+ display: flex;
96
+ justify-content: center;
97
+ align-items: center;
98
+ `;
99
+ const WrapperContentMain = styled.div `
100
+ flex: 1;
101
+ display: flex;
102
+ justify-content: center;
103
+ align-items: flex-start;
104
+ flex-direction: column;
105
+ & button {
106
+ width: fit-content;
107
+ white-space: nowrap;
108
+ }
109
+ `;
110
+ const WrapperContentHelper = styled.div `
111
+ flex: 1;
112
+ display: flex;
113
+ justify-content: flex-start;
114
+ align-items: flex-end;
115
+ flex-direction: row;
116
+ `;
117
+ const TitleSRG = styled.div `
118
+ font-family: 'Work Sans';
119
+ font-style: normal;
120
+ font-weight: 700;
121
+ font-size: 24px;
122
+ line-height: 130%;
123
+ white-space: nowrap;
124
+
125
+ display: flex;
126
+ align-items: center;
127
+ letter-spacing: 0.01em;
128
+
129
+ color: ${({ theme }) => theme.colors.shadeWhite};
130
+ margin-bottom: 24px;
131
+
132
+ `;
133
+ const DescriptionSRG = styled.div `
134
+ font-family: 'PT Sans';
135
+ font-style: normal;
136
+ font-weight: 400;
137
+ font-size: 18px;
138
+ line-height: 23px;
139
+ display: flex;
140
+ align-items: center;
141
+
142
+ color: ${({ theme }) => theme.colors.shadeWhite};
143
+ margin-bottom: 24px;
144
+ `;
145
+ const SpeechBubble = styled.div `
146
+ flex-direction: column;
147
+ display: flex;
148
+ justify-content: flex-end;
149
+ align-items: flex-end;
150
+
151
+ background: ${({ theme }) => theme.colors.messageAlert2};
152
+ border: 1.5px solid ${({ theme }) => theme.colors.borderSecondary2};
153
+ border-radius: 8px;
154
+ padding: 16px;
155
+
156
+ width: 160px;
157
+ margin-right: 22px;
158
+ margin-left: 50px;
159
+
160
+ &:before {
161
+ content: "";
162
+ position: absolute;
163
+ border-top: 10px solid transparent;
164
+ border-bottom: 10px solid transparent;
165
+ border-left: 20px solid ${({ theme }) => theme.colors.borderSecondary2};
166
+ border-right: 10px solid transparent;
167
+ margin-right: -46px;
168
+ margin-bottom: 0px;
169
+ }
170
+
171
+ &:after {
172
+ content: "";
173
+ position: absolute;
174
+ border-top: 10px solid transparent;
175
+ border-bottom: 10px solid transparent;
176
+ border-left: 20px solid ${({ theme }) => theme.colors.messageAlert2};
177
+ border-right: 10px solid transparent;
178
+ margin-right: -44px;
179
+ margin-bottom: 0px;
180
+ }
181
+
182
+ & a {
183
+ align-self: flex-start;
184
+ }
185
+ `;
186
+ const HelperText = styled.div `
187
+ font-family: 'PT Sans';
188
+ font-style: normal;
189
+ font-weight: 400;
190
+ font-size: 16px;
191
+ line-height: 21px;
192
+
193
+ color: ${({ theme }) => theme.colors.neutralsGrey1};
194
+ margin-bottom: 8px;
195
+ `;
196
+ const FrstSocials = styled.div `
197
+ display:flex;
198
+ justify-content: center;
199
+ align-center: center;
200
+ flex-direction: row;
201
+ margin-top: 24px;
202
+ margin-bottom: 32px;
203
+ position: absolute;
204
+ right: 120px;
205
+ top: 60px;
206
+ @media (max-width: 1500px) {
207
+ right: 40px;
208
+ }
209
+ `;
210
+ const ItemFrstSocials = styled.button `
211
+ border: none;
212
+ background: none;
213
+ cursor: pointer;
214
+ margin-left: 11px;
215
+ `;
216
+
217
+ export { ContainerBanner, ContainerTotal, DescriptionSRG, FrstSocials, HelperText, ItemFrstSocials, SpeechBubble, TitleSRG, VersionExtended, WrapperContent, WrapperContentHelper, WrapperContentMain };
@@ -0,0 +1,15 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import '../../../shared/global.css.js';
3
+ import { ThemeProvider } from 'styled-components';
4
+ import { FRSTTheme } from '../../../theme/index.js';
5
+ import Button from '../../buttons/index.js';
6
+ import LateralMenu from '../../lateral-menu/index.js';
7
+ import { SiteIcon, LinkedinIcon, InstagramIcon, YoutubeIcon, SpotifyIcon, PodCastIcon, AddIcon } from '../../../shared/icons.js';
8
+ import { ContainerTotal, ContainerBanner, WrapperContent, FrstSocials, ItemFrstSocials, WrapperContentMain, TitleSRG, DescriptionSRG, WrapperContentHelper, SpeechBubble, HelperText, VersionExtended } from './bannerSRGStyle.js';
9
+
10
+ function BannerSRG(props) {
11
+ return (jsx(ThemeProvider, { theme: FRSTTheme, children: jsxs(ContainerTotal, { isExtendedVersion: props?.isExtendedVersion, bannerLarge: props?.bannerSRG?.large, bannerNormal: props?.bannerSRG?.normal, bannerResponsive: props?.bannerSRG?.responsive, style: { ...props.style }, children: [jsxs(ContainerBanner, { children: [jsxs(WrapperContent, { style: { maxHeight: '240px', height: '240px', display: 'flex', alignItems: 'flex-start', marginTop: '-100px' }, children: [props && props.social &&
12
+ jsxs(FrstSocials, { children: [props.social.onClickSite && jsxs(ItemFrstSocials, { onClick: () => props.social.onClickSite(), children: [" ", jsx(SiteIcon, {}), " "] }), props.social.onClickLinkedin && jsxs(ItemFrstSocials, { onClick: () => props.social.onClickLinkedin(), children: [" ", jsx(LinkedinIcon, {}), " "] }), props.social.onClickInstagram && jsxs(ItemFrstSocials, { onClick: () => props.social.onClickInstagram(), children: [" ", jsx(InstagramIcon, {}), " "] }), props.social.onClickYoutube && jsxs(ItemFrstSocials, { onClick: () => props.social.onClickYoutube(), children: [" ", jsx(YoutubeIcon, {}), " "] }), props.social.onClickSpotify && jsxs(ItemFrstSocials, { onClick: () => props.social.onClickSpotify(), children: [" ", jsx(SpotifyIcon, {}), " "] }), props.social.onClickPodCast && jsxs(ItemFrstSocials, { onClick: () => props.social.onClickPodCast(), children: [" ", jsx(PodCastIcon, {}), " "] })] }), jsx(LateralMenu, { variant: 'primary', channel: '', name: props.lateralMenu.name, hiddenButtonHeader: true, avatar: props.lateralMenu.avatar, button: props.lateralMenu.button, listOptions: props.lateralMenu.listOptions })] }), jsx(WrapperContent, { children: jsx("img", { src: props.logoSRG }) }), jsxs(WrapperContentMain, { children: [jsx(TitleSRG, { children: props?.labels?.textTitle ? props?.labels?.textTitle : 'Space Race Game' }), jsx(DescriptionSRG, { children: props?.labels?.textDescription }), jsx(Button, { variant: 'primary', label: props?.newProject?.label ? props.newProject?.label : 'Criar novo projeto', handleClick: () => props.newProject.action(), startIcon: jsx(AddIcon, { fill: '#FFFFFF' }) })] }), jsxs(WrapperContentHelper, { children: [jsxs(SpeechBubble, { children: [jsx(HelperText, { children: props.labels.textHelperDescription }), jsx(Button, { variant: 'link', label: props?.acessHere?.label ? props.acessHere.label : 'Acesse aqui', handleClick: () => props.acessHere.action(), style: { color: '#21bffc' } })] }), jsx("img", { src: props.avatarSRG })] }), jsx(WrapperContent, { children: jsx(Button, { variant: 'primary', label: props?.newProject?.label ? props.newProject?.label : 'Criar novo projeto', handleClick: () => props.newProject.action(), startIcon: jsx(AddIcon, { fill: '#FFFFFF' }) }) })] }), jsx(VersionExtended, { isExtendedVersion: props.isExtendedVersion, heightExtended: props.heightExtended })] }) }));
13
+ }
14
+
15
+ export { BannerSRG as default };