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.
- package/README.md +52 -52
- package/dist/esm/index.js +154 -0
- package/dist/esm/node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/dist/esm/public/customIcons/CircledAlert.js +7 -0
- package/dist/esm/public/customIcons/CircledCheck.js +7 -0
- package/dist/esm/public/customIcons/DefaultProfile.js +7 -0
- package/dist/esm/public/customIcons/ExcludeVoteIcon.js +7 -0
- package/dist/esm/public/customIcons/LanguageIcon.js +7 -0
- package/dist/esm/public/customIcons/SmallTrash.js +7 -0
- package/dist/esm/public/customIcons/SwitchVoteIcon.js +7 -0
- package/dist/esm/public/customIcons/TagAlert.js +7 -0
- package/dist/esm/public/customIcons/VoteCurrentIcon.js +7 -0
- package/dist/esm/public/customIcons/VoteIcon.js +7 -0
- package/dist/esm/public/customIcons/WarningIcon.js +7 -0
- package/dist/esm/public/customIcons/newVoteIcon.js +7 -0
- package/dist/esm/public/img/Nonotification.png.js +3 -0
- package/dist/esm/public/img/TargetIcon.png.js +3 -0
- package/dist/esm/src/components/DS/CardJourney/index.js +12 -0
- package/dist/esm/src/components/DS/CardJourney/style.js +123 -0
- package/dist/esm/src/components/DS/ConfirmationModal/ComfirmModalDownload/ComfirmModalDownload.js +20 -0
- package/dist/esm/src/components/DS/ConfirmationModal/ConfirmationModal.js +10 -0
- package/dist/esm/src/components/DS/ConfirmationModal/styles.js +56 -0
- package/dist/esm/src/components/DS/LightTooltip/index.js +24 -0
- package/dist/esm/src/components/DS/admButton/admButton.styles.js +52 -0
- package/dist/esm/src/components/DS/admButton/index.js +17 -0
- package/dist/esm/src/components/DS/cardPeople/cardPeople.styles.js +71 -0
- package/dist/esm/src/components/DS/cardPeople/index.js +63 -0
- package/dist/esm/src/components/DS/cardUser/cardUser.styles.js +70 -0
- package/dist/esm/src/components/DS/cardUser/index.js +14 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/index.js +186 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/styles/multiselectStyles.js +214 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/styles/primereact.css.js +6 -0
- package/dist/esm/src/components/DS/dropdown-Multiselect/styles/stylesMulti.css.js +6 -0
- package/dist/esm/src/components/DS/groups-table/groupTableStyles.js +95 -0
- package/dist/esm/src/components/DS/groups-table/index.js +113 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/UpDownButtons/index.js +8 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/UpDownButtons/upDownButtons.styles.js +43 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/Voting/index.js +40 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/Voting/voting.styles.js +126 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/hypothesisAndImpediment.style.js +115 -0
- package/dist/esm/src/components/DS/hypotesisAndImpediment/index.js +161 -0
- package/dist/esm/src/components/DS/impedimentosTab/addImpedimentoModal/index.js +35 -0
- package/dist/esm/src/components/DS/impedimentosTab/addImpedimentoModal/styles.js +14 -0
- package/dist/esm/src/components/DS/impedimentosTab/dropDown/index.js +20 -0
- package/dist/esm/src/components/DS/impedimentosTab/dropDown/styles.js +38 -0
- package/dist/esm/src/components/DS/impedimentosTab/index.js +180 -0
- package/dist/esm/src/components/DS/impedimentosTab/styles.js +178 -0
- package/dist/esm/src/components/DS/loading/index.js +45 -0
- package/dist/esm/src/components/DS/loading/loadingStyle.js +39 -0
- package/dist/esm/src/components/DS/modal/index.js +55 -0
- package/dist/esm/src/components/DS/modal/styles.js +86 -0
- package/dist/esm/src/components/DS/newCards/articles/index.js +12 -0
- package/dist/esm/src/components/DS/newCards/articles/styles.js +92 -0
- package/dist/esm/src/components/DS/newCards/challenge/index.js +82 -0
- package/dist/esm/src/components/DS/newCards/challenge/styles.js +198 -0
- package/dist/esm/src/components/DS/newCards/channels/index.js +10 -0
- package/dist/esm/src/components/DS/newCards/channels/styles.js +46 -0
- package/dist/esm/src/components/DS/newCards/content/index.js +16 -0
- package/dist/esm/src/components/DS/newCards/content/styles.js +103 -0
- package/dist/esm/src/components/DS/newCards/mentoring/index.js +38 -0
- package/dist/esm/src/components/DS/newCards/mentoring/styles.js +37 -0
- package/dist/esm/src/components/DS/newCards/people/index.js +120 -0
- package/dist/esm/src/components/DS/newCards/people/styles.js +75 -0
- package/dist/esm/src/components/DS/newCards/trail/index.js +10 -0
- package/dist/esm/src/components/DS/newCards/trail/styles.js +60 -0
- package/dist/esm/src/components/DS/onboarding-progress-menu/index.js +56 -0
- package/dist/esm/src/components/DS/onboarding-progress-menu/onboardingProgressMenuStyles.js +98 -0
- package/dist/esm/src/components/DS/progressGoalBar/index.js +29 -0
- package/dist/esm/src/components/DS/progressGoalBar/progressGoalBarStyles.js +183 -0
- package/dist/esm/src/components/DS/progressGoalBar/progressTexts.js +17 -0
- package/dist/esm/src/components/DS/progressGoalBar/useProgressGoalBar.js +232 -0
- package/dist/esm/src/components/DS/resourceInfoDrop/index.js +53 -0
- package/dist/esm/src/components/DS/resourceInfoDrop/styles.js +142 -0
- package/dist/esm/src/components/DS/resultFilterTabs/dropDownResult/index.js +20 -0
- package/dist/esm/src/components/DS/resultFilterTabs/dropDownResult/styles.js +38 -0
- package/dist/esm/src/components/DS/resultFilterTabs/index.js +162 -0
- package/dist/esm/src/components/DS/resultFilterTabs/resultFilterTabsStyles.js +167 -0
- package/dist/esm/src/components/DS/resultFilterTabs/rsuite.min.css.js +6 -0
- package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/buttonControlStyles.js +65 -0
- package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/index.js +19 -0
- package/dist/esm/src/components/DS/scroll-container-v2/ButtonControl/useLongPress.js +26 -0
- package/dist/esm/src/components/DS/scroll-container-v2/index.js +29 -0
- package/dist/esm/src/components/DS/scroll-container-v2/scrollContainerStyles.js +51 -0
- package/dist/esm/src/components/DS/scroll-container-v2/useScroll.js +85 -0
- package/dist/esm/src/components/DS/select/Select.js +50 -0
- package/dist/esm/src/components/DS/select/SelectContext.js +6 -0
- package/dist/esm/src/components/DS/select/SelectItem.js +46 -0
- package/dist/esm/src/components/DS/select/index.js +9 -0
- package/dist/esm/src/components/DS/select/styles/StylesSelect.js +107 -0
- package/dist/esm/src/components/DS/steps-progress/index.js +27 -0
- package/dist/esm/src/components/DS/steps-progress/stepsProgressStyles.js +85 -0
- package/dist/esm/src/components/DS/toast/index.js +35 -0
- package/dist/esm/src/components/DS/toast/toast.styles.js +68 -0
- package/dist/esm/src/components/DS/toast-v2/index.js +76 -0
- package/dist/esm/src/components/DS/toast-v2/toast-v2.styles.js +18 -0
- package/dist/esm/src/components/DS/tooltip/index.js +98 -0
- package/dist/esm/src/components/DS/tooltip/styles.js +146 -0
- package/dist/esm/src/components/EBR/buttons-group/index.js +17 -0
- package/dist/esm/src/components/EBR/buttons-group/styles.js +9 -0
- package/dist/esm/src/components/EBR/group-statistics/groupStatisticsStyles.js +56 -0
- package/dist/esm/src/components/EBR/group-statistics/index.js +61 -0
- package/dist/esm/src/components/EBR/objective-step/index.js +8 -0
- package/dist/esm/src/components/EBR/objective-step/objectiveStepStyles.js +36 -0
- package/dist/esm/src/components/EBR/rating/index.js +78 -0
- package/dist/esm/src/components/EBR/rating/ratingStyles.js +25 -0
- package/dist/esm/src/components/EBR/specialist-contact/index.js +11 -0
- package/dist/esm/src/components/EBR/specialist-contact/specialistContactStyles.js +91 -0
- package/dist/esm/src/components/EBR/stepper/stepper.js +8 -0
- package/dist/esm/src/components/EBR/stepper/stepperItem.js +13 -0
- package/dist/esm/src/components/EBR/stepper/styles.js +137 -0
- package/dist/esm/src/components/EBR/trail-list/index.js +57 -0
- package/dist/esm/src/components/EBR/trail-list/trailListStyles.js +51 -0
- package/dist/esm/src/components/FI/ThreadComments/index.js +45 -0
- package/dist/esm/src/components/FI/ThreadComments/threadComments.styles.js +51 -0
- package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.js +20 -0
- package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.js +67 -0
- package/dist/esm/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.js +39 -0
- package/dist/esm/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.js +156 -0
- package/dist/esm/src/components/FI/bannerProblemFeed/index.js +161 -0
- package/dist/esm/src/components/FI/bannerSRG/bannerSRGStyle.js +217 -0
- package/dist/esm/src/components/FI/bannerSRG/index.js +15 -0
- package/dist/esm/src/components/FI/feedInteraction/feedInteractionStyles.js +137 -0
- package/dist/esm/src/components/FI/feedInteraction/index.js +88 -0
- package/dist/esm/src/components/FI/feedInteractionV2/feedInteractionStyles.js +52 -0
- package/dist/esm/src/components/FI/feedInteractionV2/index.js +22 -0
- package/dist/esm/src/components/FI/feedInteractionV3/feedInteractionV3Styles.js +49 -0
- package/dist/esm/src/components/FI/feedInteractionV3/index.js +29 -0
- package/dist/esm/src/components/FI/inputCommentPost-it/index.js +118 -0
- package/dist/esm/src/components/FI/inputCommentPost-it/inputCommentPost-It.utils.js +20 -0
- package/dist/esm/src/components/FI/inputCommentPost-it/inputCommentPost-ItStyles.js +190 -0
- package/dist/esm/src/components/FI/interactionsModal/InteractionsModalStyles.js +152 -0
- package/dist/esm/src/components/FI/interactionsModal/index.js +43 -0
- package/dist/esm/src/components/FI/modal-invite/index.js +146 -0
- package/dist/esm/src/components/FI/modal-invite/modalInviteStyles.js +115 -0
- package/dist/esm/src/components/FI/notificationCard/index.js +41 -0
- package/dist/esm/src/components/FI/notificationCard/notificationCardStyles.js +84 -0
- package/dist/esm/src/components/FI/notificationPopOver/index.js +59 -0
- package/dist/esm/src/components/FI/notificationPopOver/notificationPopOverStyles.js +112 -0
- package/dist/esm/src/components/FI/postFeed/index.js +53 -0
- package/dist/esm/src/components/FI/postFeed/postFeedStyles.js +181 -0
- package/dist/esm/src/components/FI/searchBox/SearchBoxStyles.js +23 -0
- package/dist/esm/src/components/FI/searchBox/index.js +11 -0
- package/dist/esm/src/components/FI/sessionFilters/index.js +72 -0
- package/dist/esm/src/components/FI/sessionFilters/sessionFiltersStyle.js +80 -0
- package/dist/esm/src/components/FI/smallSRGBanner/frstFundo.png.js +3 -0
- package/dist/esm/src/components/FI/smallSRGBanner/g12.png.js +3 -0
- package/dist/esm/src/components/FI/smallSRGBanner/index.js +12 -0
- package/dist/esm/src/components/FI/smallSRGBanner/smallSRGBannerStyles.js +61 -0
- package/dist/esm/src/components/IJ/ContentCycle/ContentCycleStyles.js +146 -0
- package/dist/esm/src/components/IJ/ContentCycle/index.js +21 -0
- package/dist/esm/src/components/IJ/ListContentCycle/ListContentCycleStyles.js +12 -0
- package/dist/esm/src/components/IJ/ListContentCycle/index.js +11 -0
- package/dist/esm/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.js +94 -0
- package/dist/esm/src/components/IJ/StepLearningCycle/index.js +117 -0
- package/dist/esm/src/components/IJ/favorite/favoriteStyles.js +17 -0
- package/dist/esm/src/components/IJ/favorite/index.js +36 -0
- package/dist/esm/src/components/IJ/learningCycleCard/components/menu/index.js +49 -0
- package/dist/esm/src/components/IJ/learningCycleCard/components/menu/menuStyle.js +28 -0
- package/dist/esm/src/components/IJ/learningCycleCard/index.js +36 -0
- package/dist/esm/src/components/IJ/learningCycleCard/learningCycleCardStyle.js +153 -0
- package/dist/esm/src/components/IJ/listSelector/index.js +39 -0
- package/dist/esm/src/components/IJ/listSelector/listSelectorStyles.js +46 -0
- package/dist/esm/src/components/IJ/pagination/index.js +82 -0
- package/dist/esm/src/components/IJ/pagination/paginationStyles.js +59 -0
- package/dist/esm/src/components/IJ/participantCard/index.js +37 -0
- package/dist/esm/src/components/IJ/participantCard/participantCardStyle.js +273 -0
- package/dist/esm/src/components/IJ/participantCardOld/index.js +58 -0
- package/dist/esm/src/components/IJ/participantCardOld/participantCardStyle.js +293 -0
- package/dist/esm/src/components/IJ/thumbListContent/index.js +28 -0
- package/dist/esm/src/components/IJ/thumbListContent/thumbListContentStyles.js +250 -0
- package/dist/esm/src/components/IncrementarIdeia/icrementarIdeiaStyles.js +115 -0
- package/dist/esm/src/components/IncrementarIdeia/index.js +98 -0
- package/dist/esm/src/components/IncrementarIdeia/useAutosizeTextArea.js +13 -0
- package/dist/esm/src/components/LXP/AccordionList/AccordionList.styles.js +101 -0
- package/dist/esm/src/components/LXP/AccordionList/index.js +26 -0
- package/dist/esm/src/components/LXP/accordionTrack/accordionTrack.js +179 -0
- package/dist/esm/src/components/LXP/accordionTrack/accordionTrackList.js +187 -0
- package/dist/esm/src/components/LXP/accordionTrack/accordionTrackStyle.js +194 -0
- package/dist/esm/src/components/LXP/accordionTrack/contentCourses.js +8 -0
- package/dist/esm/src/components/LXP/accordionTrack/contentCoursesTrails.js +189 -0
- package/dist/esm/src/components/LXP/accordionTrack/vectorDown.js +13 -0
- package/dist/esm/src/components/LXP/accordionTrack/vectorUp.js +13 -0
- package/dist/esm/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.js +83 -0
- package/dist/esm/src/components/LXP/avatarAssociatedChannel/index.js +11 -0
- package/dist/esm/src/components/LXP/avatarChannel/avatarChannelStyles.js +106 -0
- package/dist/esm/src/components/LXP/avatarChannel/index.js +32 -0
- package/dist/esm/src/components/LXP/bannerLxp/bannerLxp.js +150 -0
- package/dist/esm/src/components/LXP/bannerLxp/index.js +124 -0
- package/dist/esm/src/components/LXP/buttonContent/buttonContentStyle.js +63 -0
- package/dist/esm/src/components/LXP/buttonContent/index.js +11 -0
- package/dist/esm/src/components/LXP/calendarLxp/calendar.css.js +6 -0
- package/dist/esm/src/components/LXP/calendarLxp/calendarLxp.module.css.js +7 -0
- package/dist/esm/src/components/LXP/calendarLxp/defaultRanges.js +79 -0
- package/dist/esm/src/components/LXP/calendarLxp/index.js +26 -0
- package/dist/esm/src/components/LXP/colorpicker/colorpickerStyles.js +43 -0
- package/dist/esm/src/components/LXP/colorpicker/index.js +20 -0
- package/dist/esm/src/components/LXP/contentSwitcher/contentSwitcherStyle.js +94 -0
- package/dist/esm/src/components/LXP/contentSwitcher/index.js +10 -0
- package/dist/esm/src/components/LXP/contentThumbnails/contentThumbnailsStyle.js +184 -0
- package/dist/esm/src/components/LXP/contentThumbnails/index.js +77 -0
- package/dist/esm/src/components/LXP/contentThumbnails/vectorDown.js +13 -0
- package/dist/esm/src/components/LXP/contentThumbnails/vectorUp.js +13 -0
- package/dist/esm/src/components/LXP/fileUpload/fileUploadStyles.js +88 -0
- package/dist/esm/src/components/LXP/fileUpload/index.js +21 -0
- package/dist/esm/src/components/LXP/headerContent/headerContent.js +218 -0
- package/dist/esm/src/components/LXP/headerContent/index.js +45 -0
- package/dist/esm/src/components/LXP/login/index.js +157 -0
- package/dist/esm/src/components/LXP/login/loginStyle.js +271 -0
- package/dist/esm/src/components/LXP/manageLerningCicles/index.js +40 -0
- package/dist/esm/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.js +84 -0
- package/dist/esm/src/components/LXP/modalNewFeatures/ModalNewFeatures.style.js +204 -0
- package/dist/esm/src/components/LXP/modalNewFeatures/index.js +41 -0
- package/dist/esm/src/components/LXP/participantThumbnails/index.js +20 -0
- package/dist/esm/src/components/LXP/participantThumbnails/participantThumbnails.js +94 -0
- package/dist/esm/src/components/LXP/participantThumbnailsList/index.js +35 -0
- package/dist/esm/src/components/LXP/popOver/index.js +68 -0
- package/dist/esm/src/components/LXP/popOver/popOverStyle.js +130 -0
- package/dist/esm/src/components/LXP/popOverLXP-antigo/index.js +23 -0
- package/dist/esm/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.js +123 -0
- package/dist/esm/src/components/LXP/progressBar/index.js +11 -0
- package/dist/esm/src/components/LXP/progressBar/progressStyle.js +32 -0
- package/dist/esm/src/components/LXP/searchResults/index.js +15 -0
- package/dist/esm/src/components/LXP/searchResults/searchResultsStyles.js +63 -0
- package/dist/esm/src/components/LXP/selectLXP/SelectLXP.js +128 -0
- package/dist/esm/src/components/LXP/selectLXP/SelectLXPContext.js +6 -0
- package/dist/esm/src/components/LXP/selectLXP/SelectLXPItem.js +40 -0
- package/dist/esm/src/components/LXP/selectLXP/index.js +9 -0
- package/dist/esm/src/components/LXP/star-metric/index.js +13 -0
- package/dist/esm/src/components/LXP/star-metric/starMetricStyles.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/headerVectorElipses.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/loadingThumbnails.js +9 -0
- package/dist/esm/src/components/LXP/thumbnails/thumbnails.js +119 -0
- package/dist/esm/src/components/LXP/thumbnails/thumbnailsDraggable.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/thumbnailsStyle.js +188 -0
- package/dist/esm/src/components/LXP/thumbnails/vectorCross.js +13 -0
- package/dist/esm/src/components/LXP/thumbnails/vectorEllipse.js +13 -0
- package/dist/esm/src/components/LXP/tooltip/index.js +11 -0
- package/dist/esm/src/components/LXP/tooltip/tooltipStyle.js +131 -0
- package/dist/esm/src/components/LXP/video/index.js +10 -0
- package/dist/esm/src/components/LogoFRST/index.js +13 -0
- package/dist/esm/src/components/LogoFRST/logoFRST.module.css.js +7 -0
- package/dist/esm/src/components/ModalConfirme/index.js +10 -0
- package/dist/esm/src/components/ModalConfirme/styles.js +51 -0
- package/dist/esm/src/components/accordion-tabs/accordionTabsStyles.js +100 -0
- package/dist/esm/src/components/accordion-tabs/index.js +34 -0
- package/dist/esm/src/components/actioExperience/actioExperience.styles.js +163 -0
- package/dist/esm/src/components/actioExperience/icons.js +19 -0
- package/dist/esm/src/components/actioExperience/index.js +20 -0
- package/dist/esm/src/components/audio-player/audioPlayerStyles.js +329 -0
- package/dist/esm/src/components/audio-player/index.js +110 -0
- package/dist/esm/src/components/avatar/avatarStyles.js +24 -0
- package/dist/esm/src/components/avatar/index.js +17 -0
- package/dist/esm/src/components/brainstorming-votar/index.js +10 -0
- package/dist/esm/src/components/brainstorming-votar/votarStyles.js +85 -0
- package/dist/esm/src/components/buttons/buttonStyle.js +389 -0
- package/dist/esm/src/components/buttons/index.js +31 -0
- package/dist/esm/src/components/calendar/calendarStyle.js +185 -0
- package/dist/esm/src/components/calendar/index.js +60 -0
- package/dist/esm/src/components/card-trail/cardTrailStyle.js +29 -0
- package/dist/esm/src/components/card-trail/index.js +50 -0
- package/dist/esm/src/components/card-trail/moduleStyle.js +92 -0
- package/dist/esm/src/components/card-trail-carousel/index.js +15 -0
- package/dist/esm/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/AvatarWithInfo/index.js +16 -0
- package/dist/esm/src/components/cardLT/AvatarWithInfo/vector.js +13 -0
- package/dist/esm/src/components/cardLT/BannerProblem/BannerProblem.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/BannerProblem/index.js +312 -0
- package/dist/esm/src/components/cardLT/BannerProblem/styles.js +30 -0
- package/dist/esm/src/components/cardLT/MessageBox/MessageBox.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/MessageBox/icons/errorIcon.js +13 -0
- package/dist/esm/src/components/cardLT/MessageBox/icons/successIcon.js +13 -0
- package/dist/esm/src/components/cardLT/MessageBox/icons/warningIcon.js +13 -0
- package/dist/esm/src/components/cardLT/MessageBox/index.js +59 -0
- package/dist/esm/src/components/cardLT/Rating/Rating.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/Rating/index.js +26 -0
- package/dist/esm/src/components/cardLT/Rating/starIcon.js +13 -0
- package/dist/esm/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/RatingCurtidas/index.js +15 -0
- package/dist/esm/src/components/cardLT/RocketButton/RocketButtonIcon.js +13 -0
- package/dist/esm/src/components/cardLT/RocketButton/index.js +26 -0
- package/dist/esm/src/components/cardLT/StepsMission/Planet.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/StepsMission/StepMission.js +108 -0
- package/dist/esm/src/components/cardLT/StepsMission/Steps.js +68 -0
- package/dist/esm/src/components/cardLT/TextIcon/TextIcon.module.css.js +7 -0
- package/dist/esm/src/components/cardLT/TextIcon/index.js +14 -0
- package/dist/esm/src/components/cards/base/index.js +8 -0
- package/dist/esm/src/components/cards/cardDefinicaoFase/cardDefinicaoFase.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardDefinicaoFase/index.js +30 -0
- package/dist/esm/src/components/cards/cardFaseDesafios/index.js +30 -0
- package/dist/esm/src/components/cards/cardFaseDesafios/styles.js +160 -0
- package/dist/esm/src/components/cards/cardProblem/cardProblem.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardProblem/index.js +144 -0
- package/dist/esm/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardProblemGestor/index.js +26 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/Aprendizado.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/Conquista.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png.js +3 -0
- package/dist/esm/src/components/cards/cardResultConquista/cardResultConquista.module.css.js +7 -0
- package/dist/esm/src/components/cards/cardResultConquista/index.js +40 -0
- package/dist/esm/src/components/cards/user/index.js +85 -0
- package/dist/esm/src/components/challenge-cards/challengeCardStyles.js +246 -0
- package/dist/esm/src/components/challenge-cards/dropdownMenuStyle.js +85 -0
- package/dist/esm/src/components/challenge-cards/index.js +174 -0
- package/dist/esm/src/components/checkmark/checkmarkStyles.js +24 -0
- package/dist/esm/src/components/checkmark/index.js +32 -0
- package/dist/esm/src/components/comment-post/commentPostStyles.js +23 -0
- package/dist/esm/src/components/comment-post/index.js +16 -0
- package/dist/esm/src/components/commentary-box/commentaryBox.utils.js +24 -0
- package/dist/esm/src/components/commentary-box/commentaryBoxStyles.js +240 -0
- package/dist/esm/src/components/commentary-box/index.js +104 -0
- package/dist/esm/src/components/commentaryBoxV2/CommentaryBoxV2.styles.js +282 -0
- package/dist/esm/src/components/commentaryBoxV2/index.js +157 -0
- package/dist/esm/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.js +45 -0
- package/dist/esm/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.js +54 -0
- package/dist/esm/src/components/conquistaCarrossel/index.js +26 -0
- package/dist/esm/src/components/counter-like/counterLikeStyles.js +26 -0
- package/dist/esm/src/components/counter-like/index.js +28 -0
- package/dist/esm/src/components/criar-ideia/criarIdeiaStyles.js +144 -0
- package/dist/esm/src/components/criar-ideia/index.js +58 -0
- package/dist/esm/src/components/criar-ideia/useAutosizeTextArea.js +13 -0
- package/dist/esm/src/components/demo/stepController/StepControllerStyle.js +47 -0
- package/dist/esm/src/components/demo/stepController/index.js +12 -0
- package/dist/esm/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.js +162 -0
- package/dist/esm/src/components/dropdown-profile-menu/index.js +84 -0
- package/dist/esm/src/components/emoji-picker/emojiPickerStyles.js +61 -0
- package/dist/esm/src/components/emoji-picker/index.js +87 -0
- package/dist/esm/src/components/exclusive-class/exclusiveClassStyles.js +32 -0
- package/dist/esm/src/components/exclusive-class/index.js +13 -0
- package/dist/esm/src/components/expand-button/expandButtonStyle.js +47 -0
- package/dist/esm/src/components/expand-button/index.js +23 -0
- package/dist/esm/src/components/field-search-dropdown/fieldSearchStyle.js +139 -0
- package/dist/esm/src/components/field-search-dropdown/index.js +105 -0
- package/dist/esm/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.js +7 -0
- package/dist/esm/src/components/filter-accordion-checkbox/index.js +135 -0
- package/dist/esm/src/components/filtro-galeria-desafio/index.js +59 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/MultiSelectDemo.js +245 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/icons/arrowCarrosselDown.png.js +3 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/icons/arrow_carrossel_down.png.js +3 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/primeflex.css.js +6 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/primereact.css.js +6 -0
- package/dist/esm/src/components/filtro-galeria-desafio/styles/theme.css.js +6 -0
- package/dist/esm/src/components/form-elements/checkbox/checkboxStyle.js +36 -0
- package/dist/esm/src/components/form-elements/checkbox/index.js +16 -0
- package/dist/esm/src/components/form-elements/helperTextBox/helperTextBox.js +9 -0
- package/dist/esm/src/components/form-elements/helperTextBox/styles.js +20 -0
- package/dist/esm/src/components/form-elements/table/index.js +37 -0
- package/dist/esm/src/components/form-elements/table/parts/TableBody/index.js +22 -0
- package/dist/esm/src/components/form-elements/table/parts/TableBody/tableStyle.js +50 -0
- package/dist/esm/src/components/form-elements/table/parts/TableHead/index.js +11 -0
- package/dist/esm/src/components/form-elements/table/parts/TableHead/tableStyle.js +24 -0
- package/dist/esm/src/components/form-elements/table/tableStyle.js +49 -0
- package/dist/esm/src/components/form-elements/table-actions/index.js +82 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.js +12 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.js +23 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.js +28 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/DateLimit/index.js +8 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.js +57 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/EmptyState/index.js +22 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/TagStatus/index.js +8 -0
- package/dist/esm/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.js +58 -0
- package/dist/esm/src/components/form-elements/table-actions/tableActionsStyle.js +110 -0
- package/dist/esm/src/components/form-elements/textarea/index.js +8 -0
- package/dist/esm/src/components/form-elements/textfield/index.js +42 -0
- package/dist/esm/src/components/form-elements/textfield/textFieldStyle.js +169 -0
- package/dist/esm/src/components/global-menu/globalMenuStyles.js +385 -0
- package/dist/esm/src/components/global-menu/index.js +181 -0
- package/dist/esm/src/components/header-improvement-idea/headerImprovementIdeaStyles.js +18 -0
- package/dist/esm/src/components/header-improvement-idea/index.js +24 -0
- package/dist/esm/src/components/header-user/headerUserStyles.js +50 -0
- package/dist/esm/src/components/header-user/index.js +13 -0
- package/dist/esm/src/components/headerChallenge/headerChallengeStyle.js +104 -0
- package/dist/esm/src/components/headerChallenge/index.js +9 -0
- package/dist/esm/src/components/hypothesisComponent/hypothesisComponent.style.js +220 -0
- package/dist/esm/src/components/hypothesisComponent/index.js +145 -0
- package/dist/esm/src/components/hypothesisComponent/types.js +8 -0
- package/dist/esm/src/components/input-comment/index.js +69 -0
- package/dist/esm/src/components/input-comment/inputCommentStyles.js +142 -0
- package/dist/esm/src/components/input-comment/mentions.js +18 -0
- package/dist/esm/src/components/input-comment/mentionsStyle.js +126 -0
- package/dist/esm/src/components/input-comment/useInputHook.js +375 -0
- package/dist/esm/src/components/input-comment/useMentions.js +39 -0
- package/dist/esm/src/components/input-comment-v2/index.js +81 -0
- package/dist/esm/src/components/input-comment-v2/inputCommentStyles.js +101 -0
- package/dist/esm/src/components/item-lateral-menu/index.js +34 -0
- package/dist/esm/src/components/item-lateral-menu/itemLateralMenuStyles.js +110 -0
- package/dist/esm/src/components/item-menu-global/index.js +11 -0
- package/dist/esm/src/components/item-menu-global/itemMenuGlobalStyles.js +74 -0
- package/dist/esm/src/components/lateral-menu/index.js +21 -0
- package/dist/esm/src/components/lateral-menu/lateralMenuStyles.js +65 -0
- package/dist/esm/src/components/learning-steps/index.js +23 -0
- package/dist/esm/src/components/learning-steps/learningStepsStyles.js +39 -0
- package/dist/esm/src/components/menu-more/index.js +31 -0
- package/dist/esm/src/components/menu-more/menuMoreStyles.js +136 -0
- package/dist/esm/src/components/mini-button/index.js +15 -0
- package/dist/esm/src/components/mini-button/miniButtonStyle.js +108 -0
- package/dist/esm/src/components/modal/modalBase/index.js +31 -0
- package/dist/esm/src/components/modal/modalBase/modalBase.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalLXP/Modal.js +24 -0
- package/dist/esm/src/components/modal/modalLXP/modal.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalLearningTech/index.js +17 -0
- package/dist/esm/src/components/modal/modalLearningTech/modalLearningTech.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalShowUsers/index.js +11 -0
- package/dist/esm/src/components/modal/modalShowUsers/styles.js +122 -0
- package/dist/esm/src/components/modal/modalVideo/index.js +56 -0
- package/dist/esm/src/components/modal/modalVideo/modalVideo.module.css.js +7 -0
- package/dist/esm/src/components/modal/modalWelcome/index.js +43 -0
- package/dist/esm/src/components/modal/modalWelcome/styles.js +38 -0
- package/dist/esm/src/components/modal/statusProblema/index.js +33 -0
- package/dist/esm/src/components/modal/statusProblema/problemaFRST.png.js +3 -0
- package/dist/esm/src/components/modal/statusProblema/statusProblema.module.css.js +7 -0
- package/dist/esm/src/components/quantidadeDesafios/index.js +73 -0
- package/dist/esm/src/components/quantidadeDesafios/quantidadeDesafios.js +95 -0
- package/dist/esm/src/components/quantidadeDesafios/stats.js +8 -0
- package/dist/esm/src/components/quantidadeDesafios/statsWithResult.js +8 -0
- package/dist/esm/src/components/scroll-container/index.js +90 -0
- package/dist/esm/src/components/scroll-container/scrollContainer.utils.js +7 -0
- package/dist/esm/src/components/scroll-container/scrollContainerStyles.js +85 -0
- package/dist/esm/src/components/search-field/index.js +19 -0
- package/dist/esm/src/components/search-field/searchFieldStyles.js +87 -0
- package/dist/esm/src/components/show-more/index.js +20 -0
- package/dist/esm/src/components/show-more/showMoreStyles.js +26 -0
- package/dist/esm/src/components/speech-bubble/index.js +11 -0
- package/dist/esm/src/components/speech-bubble/speechBubbleStyles.js +100 -0
- package/dist/esm/src/components/step-card/index.js +13 -0
- package/dist/esm/src/components/step-card/stepCardStyles.js +90 -0
- package/dist/esm/src/components/tag/index.js +22 -0
- package/dist/esm/src/components/totalizer-card/index.js +16 -0
- package/dist/esm/src/components/totalizer-card/totalizerCardStyles.js +84 -0
- package/dist/esm/src/components/users-challenge/index.js +13 -0
- package/dist/esm/src/components/users-challenge/styles.js +125 -0
- package/dist/esm/src/components/users-challenge/variant-feed/index.js +34 -0
- package/dist/esm/src/components/users-challenge/variant-feed/styles.js +125 -0
- package/dist/esm/src/components/users-challenge/variant-form/index.js +23 -0
- package/dist/esm/src/components/users-challenge/variant-form/styles.js +125 -0
- package/dist/esm/src/components/users-challenge/variant-lxp/index.js +21 -0
- package/dist/esm/src/components/users-challenge/variant-lxp/styles.js +122 -0
- package/dist/esm/src/components/users-challenge/variant-vitrine/index.js +34 -0
- package/dist/esm/src/components/users-challenge/variant-vitrine/styles.js +123 -0
- package/dist/esm/src/shared/global.css.js +6 -0
- package/dist/esm/src/shared/globalComponentsStyle.js +83 -0
- package/dist/esm/src/shared/icons.js +531 -0
- package/dist/esm/src/theme/index.js +7 -0
- package/dist/esm/src/theme/tokens.js +235 -0
- package/dist/esm/src/utilityFunctions/abbreviateMiddleSurnames.js +23 -0
- package/dist/esm/src/utilityFunctions/buildStringWithHTML.js +10 -0
- package/dist/esm/src/utilityFunctions/createUUID.js +11 -0
- package/dist/index.js +15175 -15175
- package/dist/src/components/mini-button/index.d.ts +1 -1
- package/dist/src/components/mini-button/index.d.ts.map +1 -1
- package/package.json +120 -116
- package/public/customIcons/CheckIcon.tsx +16 -16
- package/public/customIcons/CircledAlert.tsx +21 -21
- package/public/customIcons/CircledCheck.tsx +20 -20
- package/public/customIcons/CloseIcon.tsx +23 -23
- package/public/customIcons/DefaultProfile.tsx +15 -15
- package/public/customIcons/ExcludeVoteIcon.tsx +40 -40
- package/public/customIcons/FrstLogoChallengeIcon.tsx +20 -20
- package/public/customIcons/FrstLogoIcon.tsx +8 -8
- package/public/customIcons/LanguageIcon.tsx +24 -24
- package/public/customIcons/SmallTrash.tsx +20 -20
- package/public/customIcons/SwitchVoteIcon.tsx +22 -22
- package/public/customIcons/TagAlert.tsx +10 -10
- package/public/customIcons/VoteCurrentIcon.tsx +22 -22
- package/public/customIcons/VoteIcon.tsx +41 -41
- package/public/customIcons/WarningIcon.tsx +21 -21
- package/public/customIcons/index.ts +15 -15
- package/public/customIcons/newVoteIcon.tsx +36 -36
- package/public/index.html +43 -43
- package/public/locales/en-US.json +33 -33
- package/public/locales/es.json +34 -34
- package/public/locales/pt-BR.json +41 -41
- package/public/manifest.json +15 -15
- package/public/robots.txt +3 -3
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { ExcludeVoteIcon } from '../../../../../public/customIcons/ExcludeVoteIcon.js';
|
|
3
|
+
import { NewVoteIcon } from '../../../../../public/customIcons/newVoteIcon.js';
|
|
4
|
+
import { SwitchVoteIcon } from '../../../../../public/customIcons/SwitchVoteIcon.js';
|
|
5
|
+
import { ContainerVoting, VotingList, IconContainer, ContainerListUsers, ContainerScroll, VoterItem, VoterName, VotesCount, ContainerTitleVoting, TitleVoting } from './voting.styles.js';
|
|
6
|
+
import { useState, useMemo } from 'react';
|
|
7
|
+
import Avatar from '../../../avatar/index.js';
|
|
8
|
+
import { Popper } from '@mui/material';
|
|
9
|
+
|
|
10
|
+
const Voting = ({ type, voteText, onDeleteVote, onChangeVote, votersList, onVote, voteHasAlreadyBeenRegistered, isVotedByUserLogged, popperStyle }) => {
|
|
11
|
+
const [isVotingListHover, setIsVotingListHover] = useState(false);
|
|
12
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
13
|
+
const handleDeleteVote = () => {
|
|
14
|
+
onDeleteVote();
|
|
15
|
+
};
|
|
16
|
+
const handleChangeVote = () => {
|
|
17
|
+
onChangeVote();
|
|
18
|
+
};
|
|
19
|
+
const handleHoverVoteList = () => {
|
|
20
|
+
setAnchorEl(null);
|
|
21
|
+
setIsVotingListHover(true);
|
|
22
|
+
};
|
|
23
|
+
const handleLeaveVoteList = () => {
|
|
24
|
+
setIsVotingListHover(false);
|
|
25
|
+
};
|
|
26
|
+
const handleClickVotingList = (event) => {
|
|
27
|
+
setAnchorEl(anchorEl ? null : event.currentTarget);
|
|
28
|
+
};
|
|
29
|
+
const open = Boolean(anchorEl);
|
|
30
|
+
const id = open ? 'simple-popper' : undefined;
|
|
31
|
+
const votersToDisplay = useMemo(() => {
|
|
32
|
+
return votersList?.slice(0, 2);
|
|
33
|
+
}, [votersList]);
|
|
34
|
+
return (jsx(Fragment, { children: (isVotedByUserLogged || voteHasAlreadyBeenRegistered) ? (jsxs(ContainerVoting, { type: type, children: [(isVotedByUserLogged || voteHasAlreadyBeenRegistered) && (jsx(VotingList, { onClick: handleClickVotingList, children: jsxs(Fragment, { children: [votersToDisplay?.map((i, index) => (jsx("div", { children: jsx(Avatar, { src: i.avatar, size: "24px", border: "1px solid #fff", style: { cursor: 'pointer', zIndex: index === 1 ? 4 : 6 } }) }, index))), votersList?.length > 2 && (jsx("div", { style: { position: 'relative', display: 'inline-block' }, children: jsx(IconContainer, { children: "+" }) }))] }) })), jsx(Popper, { id: id, open: open, anchorEl: anchorEl, sx: { paddingTop: 1.5, paddingRight: 6.5, ...popperStyle }, children: jsx(ContainerListUsers, { children: jsx(ContainerScroll, { children: votersList?.map((voter, index) => (jsxs(VoterItem, { children: [jsx(Avatar, { src: voter.avatar, size: "24px" }), jsx(VoterName, { children: voter.name })] }, index))) }) }) }), jsx(VotesCount, { onMouseEnter: handleHoverVoteList, onMouseLeave: handleLeaveVoteList, children: isVotingListHover ? (jsxs(Fragment, { children: [" ", isVotedByUserLogged ?
|
|
35
|
+
jsxs("div", { onClick: handleDeleteVote, children: [jsx(ExcludeVoteIcon, {}), "Excluir voto"] })
|
|
36
|
+
:
|
|
37
|
+
jsxs("div", { onClick: handleChangeVote, children: [jsx(SwitchVoteIcon, {}), "Trocar voto"] })] })) : (jsxs("span", { children: [votersList?.length, " ", votersList?.length > 1 ? 'votos' : 'voto'] })) })] })) : (jsx(ContainerVoting, { type: type, children: jsxs(ContainerTitleVoting, { onClick: onVote, children: [jsx(NewVoteIcon, {}), jsx(TitleVoting, { children: voteText })] }) })) }));
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export { Voting };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const backgroundColors = {
|
|
4
|
+
prioritize: '#EE9F08',
|
|
5
|
+
owner: '#F1C24A',
|
|
6
|
+
suggested: '#F9DF9F',
|
|
7
|
+
};
|
|
8
|
+
const ContainerVoting = styled.div `
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
/* min-width: 68px; */
|
|
13
|
+
width: fit-content;
|
|
14
|
+
height: 36px;
|
|
15
|
+
padding: 4px;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
${({ type }) => {
|
|
20
|
+
const backgroundColor = backgroundColors[type];
|
|
21
|
+
return css `
|
|
22
|
+
background-color: ${backgroundColor};
|
|
23
|
+
`;
|
|
24
|
+
}}
|
|
25
|
+
`;
|
|
26
|
+
const VotingList = styled.div `
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
|
|
31
|
+
div {
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
display: flex;
|
|
34
|
+
:nth-child(n+2){
|
|
35
|
+
margin-left: -8px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
const ContainerListUsers = styled.div `
|
|
40
|
+
min-width: 225px;
|
|
41
|
+
height: 192px;
|
|
42
|
+
background: #FFFFFF;
|
|
43
|
+
padding-top: 12px;
|
|
44
|
+
border-radius: 8px;
|
|
45
|
+
box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 8px 0px;
|
|
46
|
+
padding-right: 8px;
|
|
47
|
+
padding-bottom: 12px;
|
|
48
|
+
|
|
49
|
+
`;
|
|
50
|
+
const ContainerScroll = styled.div `
|
|
51
|
+
overflow-y: auto;
|
|
52
|
+
overflow-x: hidden;
|
|
53
|
+
height: 100%;
|
|
54
|
+
width: 100%;
|
|
55
|
+
|
|
56
|
+
::-webkit-scrollbar {
|
|
57
|
+
width: 3px; /* Largura da barra de rolagem */
|
|
58
|
+
height: 25px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
::-webkit-scrollbar-thumb {
|
|
62
|
+
background: #757575; /* Cor da parte deslizante da barra de rolagem */
|
|
63
|
+
border-radius: 15px;
|
|
64
|
+
}
|
|
65
|
+
`;
|
|
66
|
+
const VotesCount = styled.div `
|
|
67
|
+
margin-left: 4px;
|
|
68
|
+
margin-right: 4px;
|
|
69
|
+
div {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
gap: 4px;
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
76
|
+
const ContainerTitleVoting = styled.div `
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content:center;
|
|
80
|
+
gap: 4px;
|
|
81
|
+
`;
|
|
82
|
+
const TitleVoting = styled.p `
|
|
83
|
+
font-family: PT Sans;
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
font-weight: 700;
|
|
86
|
+
color: #222222;
|
|
87
|
+
`;
|
|
88
|
+
const VoterItem = styled.div `
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
padding: 8px;
|
|
92
|
+
gap: 8px;
|
|
93
|
+
|
|
94
|
+
width: calc(100% + 8px);
|
|
95
|
+
|
|
96
|
+
border-bottom: 1px solid #EBEBEB;
|
|
97
|
+
&:last-child {
|
|
98
|
+
border-bottom: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
`;
|
|
102
|
+
const VoterName = styled.span `
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
color: #333;
|
|
105
|
+
`;
|
|
106
|
+
const IconContainer = styled.div `
|
|
107
|
+
position: relative;
|
|
108
|
+
display: flex;
|
|
109
|
+
font-family: PT Sans;
|
|
110
|
+
justify-content: end;
|
|
111
|
+
align-items: center;
|
|
112
|
+
align-content:center;
|
|
113
|
+
width: 24px;
|
|
114
|
+
height: 24px;
|
|
115
|
+
border-radius: 50%;
|
|
116
|
+
background-color: #444444;
|
|
117
|
+
border: 1.5px solid #F2F2F2;
|
|
118
|
+
color: #F2F2F2;
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
font-size: 13px;
|
|
121
|
+
font-weight: bold;
|
|
122
|
+
line-height: 16.82px;
|
|
123
|
+
padding-right: 6px;
|
|
124
|
+
`;
|
|
125
|
+
|
|
126
|
+
export { ContainerListUsers, ContainerScroll, ContainerTitleVoting, ContainerVoting, IconContainer, TitleVoting, VoterItem, VoterName, VotesCount, VotingList };
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const backgroundColors = {
|
|
4
|
+
hypothesis: {
|
|
5
|
+
prioritize: '#FAB637',
|
|
6
|
+
owner: '#f8d784',
|
|
7
|
+
suggested: '#FBEECF'
|
|
8
|
+
},
|
|
9
|
+
impediment: {
|
|
10
|
+
prioritize: '#D2ADE3',
|
|
11
|
+
owner: '#E5CBF1',
|
|
12
|
+
suggested: '#EFE1F6'
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
const separatorColors = {
|
|
16
|
+
hypothesis: {
|
|
17
|
+
prioritize: '#CF8E11',
|
|
18
|
+
owner: '#C8A561',
|
|
19
|
+
suggested: '#E1CCA5'
|
|
20
|
+
},
|
|
21
|
+
impediment: {
|
|
22
|
+
prioritize: '#AA83C3',
|
|
23
|
+
owner: '#BF9AD6',
|
|
24
|
+
suggested: '#DAB4EC'
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
const borderAvatar = {
|
|
28
|
+
hypothesis: {
|
|
29
|
+
prioritize: '#C48000',
|
|
30
|
+
owner: '#EE9F08',
|
|
31
|
+
suggested: '#EE9F08'
|
|
32
|
+
},
|
|
33
|
+
impediment: {
|
|
34
|
+
prioritize: '#AD46FF',
|
|
35
|
+
owner: '#AD46FF',
|
|
36
|
+
suggested: '#AD46FF'
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const MainContainer = styled.div `
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
width: 100%;
|
|
44
|
+
min-height: 56px;
|
|
45
|
+
color: #222222;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
`;
|
|
48
|
+
const ContainerHypotheis = styled.div `
|
|
49
|
+
width: 100%;
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: space-between;
|
|
52
|
+
font-family: PT Sans;
|
|
53
|
+
font-size: 14px;
|
|
54
|
+
border-radius: 8px;
|
|
55
|
+
|
|
56
|
+
${({ type, variant }) => {
|
|
57
|
+
const backgroundColor = backgroundColors[variant][type];
|
|
58
|
+
return css `
|
|
59
|
+
background: ${backgroundColor};
|
|
60
|
+
`;
|
|
61
|
+
}}
|
|
62
|
+
`;
|
|
63
|
+
const SplitContainerDescription = styled.div `
|
|
64
|
+
display: flex;
|
|
65
|
+
justify-content: flex-start;
|
|
66
|
+
align-items: center;
|
|
67
|
+
padding: 10px 16px 10px 0px;
|
|
68
|
+
gap: 16px;
|
|
69
|
+
height: 100%;
|
|
70
|
+
width: 100%;
|
|
71
|
+
`;
|
|
72
|
+
styled.div `
|
|
73
|
+
height: 24px;
|
|
74
|
+
width: 1px;
|
|
75
|
+
margin-left: 14px;
|
|
76
|
+
margin-right: 14px;
|
|
77
|
+
${({ type, variant }) => {
|
|
78
|
+
const border = separatorColors[variant][type];
|
|
79
|
+
return css `
|
|
80
|
+
border: 1px solid ${border};
|
|
81
|
+
`;
|
|
82
|
+
}}
|
|
83
|
+
`;
|
|
84
|
+
const Title = styled.span `
|
|
85
|
+
font-weight: 700;
|
|
86
|
+
white-space: nowrap;
|
|
87
|
+
`;
|
|
88
|
+
const Description = styled.span `
|
|
89
|
+
font-weight: 400;
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-grow: 1;
|
|
92
|
+
flex-wrap: wrap;
|
|
93
|
+
align-items: center;
|
|
94
|
+
padding: 6px 16px 6px 16px;
|
|
95
|
+
|
|
96
|
+
${({ type, variant }) => {
|
|
97
|
+
const border = separatorColors[variant][type];
|
|
98
|
+
return css `
|
|
99
|
+
border-left: 1px solid ${border};
|
|
100
|
+
`;
|
|
101
|
+
}}
|
|
102
|
+
`;
|
|
103
|
+
const LimitCharsContainer = styled.div `
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: flex-start;
|
|
106
|
+
align-items: center;
|
|
107
|
+
margin-top: 4px;
|
|
108
|
+
`;
|
|
109
|
+
const LimitCharsExceededMessage = styled.span `
|
|
110
|
+
color: #a50000;
|
|
111
|
+
font-size: 12px;
|
|
112
|
+
margin-left: 5px;
|
|
113
|
+
`;
|
|
114
|
+
|
|
115
|
+
export { ContainerHypotheis, Description, LimitCharsContainer, LimitCharsExceededMessage, MainContainer, SplitContainerDescription, Title, borderAvatar };
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { useState, useEffect, useMemo, useRef } from 'react';
|
|
3
|
+
import { borderAvatar, MainContainer, ContainerHypotheis, SplitContainerDescription, Title, Description, LimitCharsContainer, LimitCharsExceededMessage } from './hypothesisAndImpediment.style.js';
|
|
4
|
+
import Avatar from '../../avatar/index.js';
|
|
5
|
+
import MenuMore from '../../menu-more/index.js';
|
|
6
|
+
import { StarPrioritize, EditHipoteses, AddAction, TrashHipoteses } from '../../../shared/icons.js';
|
|
7
|
+
import Tooltip from '../tooltip/index.js';
|
|
8
|
+
import UpDownButtons from './UpDownButtons/index.js';
|
|
9
|
+
import { Voting } from './Voting/index.js';
|
|
10
|
+
import { TextField } from '@mui/material';
|
|
11
|
+
import { TagAlert } from '../../../../public/customIcons/TagAlert.js';
|
|
12
|
+
|
|
13
|
+
const HypothesisAndImpediment = ({ description, variant, type, avatar, id, index, authorGoalId, userLoggedId, authorName, handleViewProfile, authorId, hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDeleteVote, onChangeVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions, popperStyle }) => {
|
|
14
|
+
const [editDescription, setEditDescription] = useState(description);
|
|
15
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
16
|
+
const isOwnerGoal = authorGoalId === authorId;
|
|
17
|
+
const limitCaraterers = variant === 'impediment' ? 365 : 200;
|
|
18
|
+
const [isLimitExceeded, setIsLimitExceeded] = useState(false);
|
|
19
|
+
let options = [
|
|
20
|
+
hasUpdownButtons &&
|
|
21
|
+
userLoggedId === authorGoalId && {
|
|
22
|
+
startIcon: jsx(StarPrioritize, { stroke: type === 'prioritize' ? '#9C9C9C' : '#222222' }),
|
|
23
|
+
description: 'Priorizar',
|
|
24
|
+
onClick: () => onPrioritize(id),
|
|
25
|
+
disabled: type === 'prioritize',
|
|
26
|
+
color: type === 'prioritize' ? '#9C9C9C' : '#222222'
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
startIcon: jsx(EditHipoteses, {}),
|
|
30
|
+
description: 'Editar',
|
|
31
|
+
onClick: (e) => setIsEditing(true)
|
|
32
|
+
},
|
|
33
|
+
hasAddActions && {
|
|
34
|
+
startIcon: jsx(AddAction, {}),
|
|
35
|
+
description: 'Adicionar ações',
|
|
36
|
+
onClick: () => onAddActions(id),
|
|
37
|
+
color: '#222222'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
startIcon: jsx(TrashHipoteses, {}),
|
|
41
|
+
description: 'Excluir',
|
|
42
|
+
onClick: () => onDeleteHipotesisOrImpediment(id),
|
|
43
|
+
color: '#C00F00'
|
|
44
|
+
}
|
|
45
|
+
].filter((item) => item);
|
|
46
|
+
//if the type is prioritize, the option to delete is not available, just edit
|
|
47
|
+
// options = type === 'prioritize' ? options.filter((item) => item.description !== 'Excluir') : options
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
setEditDescription(description);
|
|
50
|
+
}, [description]);
|
|
51
|
+
useEffect(() => {
|
|
52
|
+
editDescription?.length >= limitCaraterers ? setIsLimitExceeded(true) : setIsLimitExceeded(false);
|
|
53
|
+
}, [editDescription]);
|
|
54
|
+
const title = useMemo(() => {
|
|
55
|
+
if (type === 'prioritize' && variant === 'hypothesis')
|
|
56
|
+
return 'HIPÓTESE PRIORIZADA';
|
|
57
|
+
if (type === 'prioritize' && variant === 'impediment')
|
|
58
|
+
return 'CAUSA PRIORIZADA';
|
|
59
|
+
if (variant == 'hypothesis')
|
|
60
|
+
return `HIPÓTESE ${index}`;
|
|
61
|
+
return `CAUSA ${index}`;
|
|
62
|
+
}, [type, variant, index]);
|
|
63
|
+
const avatarBorder = isOwnerGoal ? `2px solid ${borderAvatar[variant][type]}` : 'none';
|
|
64
|
+
const handleSaveDescription = () => {
|
|
65
|
+
if (isEditing) {
|
|
66
|
+
onSaveEditHipotesisOrImpediment(editDescription);
|
|
67
|
+
setIsEditing(false);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
const handleCancel = () => {
|
|
71
|
+
setEditDescription(description);
|
|
72
|
+
setIsEditing(false);
|
|
73
|
+
};
|
|
74
|
+
const validHasEditHipotesisOrImpediment = useMemo(() => {
|
|
75
|
+
if (!hasEditHipotesisOrImpediment)
|
|
76
|
+
return false;
|
|
77
|
+
//author of the goal can edit but also owner of the hipotesis or impediment if it's priorized
|
|
78
|
+
if (authorGoalId === userLoggedId || (type === 'prioritize' && hasEditHipotesisOrImpediment))
|
|
79
|
+
return true;
|
|
80
|
+
if (type !== 'prioritize') {
|
|
81
|
+
return authorId === userLoggedId;
|
|
82
|
+
}
|
|
83
|
+
return false;
|
|
84
|
+
}, [type, hasEditHipotesisOrImpediment, authorGoalId, authorId, userLoggedId]);
|
|
85
|
+
const clickTimeoutRef = useRef(null);
|
|
86
|
+
const handleClickAction = (event) => {
|
|
87
|
+
if (clickTimeoutRef.current) {
|
|
88
|
+
clearTimeout(clickTimeoutRef.current);
|
|
89
|
+
}
|
|
90
|
+
clickTimeoutRef.current = setTimeout(() => {
|
|
91
|
+
if (!isEditing) {
|
|
92
|
+
event.stopPropagation();
|
|
93
|
+
onClickAction();
|
|
94
|
+
}
|
|
95
|
+
}, 300);
|
|
96
|
+
};
|
|
97
|
+
const inputRef = useRef(null);
|
|
98
|
+
const handleChange = (event) => {
|
|
99
|
+
if (limitCaraterers > editDescription?.length || event.target.value?.length < editDescription?.length) {
|
|
100
|
+
let newValue = event.target.value;
|
|
101
|
+
if (newValue.length > limitCaraterers) {
|
|
102
|
+
newValue = newValue.substring(0, limitCaraterers);
|
|
103
|
+
}
|
|
104
|
+
setEditDescription(newValue);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
const handleKeyDown = (event) => {
|
|
108
|
+
if (event.key === 'Enter') {
|
|
109
|
+
handleSaveDescription();
|
|
110
|
+
}
|
|
111
|
+
else if (event.key === 'Escape') {
|
|
112
|
+
handleCancel();
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
if (isEditing && inputRef.current) {
|
|
117
|
+
setTimeout(() => {
|
|
118
|
+
inputRef.current.focus();
|
|
119
|
+
}, 200);
|
|
120
|
+
}
|
|
121
|
+
}, [isEditing]);
|
|
122
|
+
return (jsxs(Fragment, { children: [jsx(MainContainer, { children: jsxs(ContainerHypotheis, { type: type, variant: variant, children: [hasUpdownButtons && (jsx(UpDownButtons, { type: type, variant: variant, onDownClick: () => onDown(id, index), onUpClick: () => onUp(id, index) })), jsxs(SplitContainerDescription, { children: [jsx(Tooltip, { content: authorName, direction: 'bottom', style: {
|
|
123
|
+
fontFamily: 'PT Sans',
|
|
124
|
+
fontWeight: 400,
|
|
125
|
+
fontSize: '14px',
|
|
126
|
+
color: 'rgba(117, 117, 117, 1)',
|
|
127
|
+
width: 'fit-content',
|
|
128
|
+
height: '31px',
|
|
129
|
+
top: '8px',
|
|
130
|
+
left: '4px',
|
|
131
|
+
whiteSpace: 'nowrap',
|
|
132
|
+
boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
|
|
133
|
+
}, children: jsx(Avatar, { src: avatar, size: isOwnerGoal ? '24px' : '24px', border: avatarBorder, style: { cursor: 'pointer', marginLeft: '16px' }, onClick: () => handleViewProfile(authorId) }) }), jsx(Title, { children: title }), jsx(Description, { type: type, variant: variant, onClick: handleClickAction, onDoubleClick: () => {
|
|
134
|
+
if (clickTimeoutRef.current) {
|
|
135
|
+
clearTimeout(clickTimeoutRef.current);
|
|
136
|
+
}
|
|
137
|
+
if (hasEditHipotesisOrImpediment)
|
|
138
|
+
setIsEditing(true);
|
|
139
|
+
}, style: { height: isEditing ? 'auto' : 'fit-content' }, children: isEditing ? (jsx(TextField, { inputRef: inputRef, value: editDescription, onBlur: handleSaveDescription, onChange: handleChange, onKeyDown: handleKeyDown, multiline: true, fullWidth: true, variant: "standard", InputProps: {
|
|
140
|
+
disableUnderline: true,
|
|
141
|
+
style: {
|
|
142
|
+
fontFamily: 'PT Sans',
|
|
143
|
+
fontSize: '14px',
|
|
144
|
+
lineHeight: 1.3
|
|
145
|
+
}
|
|
146
|
+
}, onFocus: (e) => e.currentTarget.setSelectionRange(e.currentTarget.value.length, e.currentTarget.value.length) })) : (jsx(Tooltip, { content: 'Clique na hipótese para ver as ações vinculadas', direction: 'bottom', wrapperWidth: "100%", style: {
|
|
147
|
+
fontFamily: 'PT Sans',
|
|
148
|
+
fontWeight: 400,
|
|
149
|
+
fontSize: '14px',
|
|
150
|
+
color: '#757575',
|
|
151
|
+
width: '171px',
|
|
152
|
+
height: '52px',
|
|
153
|
+
top: '8px',
|
|
154
|
+
left: '4px',
|
|
155
|
+
whiteSpace: 'wrap',
|
|
156
|
+
boxShadow: ' 0px 25px 18px -20px #22222233;',
|
|
157
|
+
display: variant === 'impediment' || isEditing ? 'none' : 'block'
|
|
158
|
+
}, children: jsx("div", { style: { width: '100%', overflow: 'hidden' }, children: editDescription }) })) }), !isEditing && hasVoting && (jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id), onChangeVote: () => onChangeVote(id), isVotedByUserLogged: isVotedByUserLogged, voteHasAlreadyBeenRegistered: voteHasAlreadyBeenRegistered, popperStyle: popperStyle })), !isEditing && validHasEditHipotesisOrImpediment && (jsx(MenuMore, { options: options, isContainerOptions: true, closeAfterClick: true }))] })] }) }), isEditing && isLimitExceeded && (jsxs(LimitCharsContainer, { children: [jsx(TagAlert, { color: "#A50000" }), jsx(LimitCharsExceededMessage, { children: 'Você atingiu a quantidade máxima de caracteres' })] }))] }));
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
export { HypothesisAndImpediment };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import Button from '../../../buttons/index.js';
|
|
3
|
+
import { ContainerModal } from './styles.js';
|
|
4
|
+
import { Popover } from '@mui/material';
|
|
5
|
+
import { useState } from 'react';
|
|
6
|
+
import TextField from '../../../form-elements/textfield/index.js';
|
|
7
|
+
import { LimitCharsExceededMessage } from '../../hypotesisAndImpediment/hypothesisAndImpediment.style.js';
|
|
8
|
+
import { TagAlert } from '../../../../../public/customIcons/TagAlert.js';
|
|
9
|
+
|
|
10
|
+
function AddImpedimentoModal({ isOpen, onClose, onSaveBtn, anchor }) {
|
|
11
|
+
const [text, setText] = useState('');
|
|
12
|
+
const limitCaraterersImpediments = 365;
|
|
13
|
+
const handleClose = () => {
|
|
14
|
+
setText('');
|
|
15
|
+
onClose();
|
|
16
|
+
};
|
|
17
|
+
const handleSave = () => {
|
|
18
|
+
onSaveBtn(text);
|
|
19
|
+
handleClose();
|
|
20
|
+
};
|
|
21
|
+
return (jsx(Popover, { open: isOpen, onClose: handleClose, anchorEl: anchor, anchorOrigin: {
|
|
22
|
+
horizontal: 'right',
|
|
23
|
+
vertical: 'bottom'
|
|
24
|
+
}, transformOrigin: {
|
|
25
|
+
horizontal: 'right',
|
|
26
|
+
vertical: 'top'
|
|
27
|
+
}, children: jsxs(ContainerModal, { children: [jsxs("div", { style: { width: '100%' }, children: [jsx(TextField, { value: text, onChange: (e) => setText(e.target.value), placeholder: "Sugira a causa aqui", maxLength: limitCaraterersImpediments }), text?.length >= limitCaraterersImpediments && (jsxs("div", { style: {
|
|
28
|
+
display: 'flex',
|
|
29
|
+
alignItems: 'flex-start',
|
|
30
|
+
marginTop: '4px',
|
|
31
|
+
justifyContent: 'flex-start'
|
|
32
|
+
}, children: [jsx(TagAlert, { color: "#A50000" }), jsx(LimitCharsExceededMessage, { children: 'Você atingiu a quantidade máxima de caracteres' })] }))] }), jsx(Button, { label: "Salvar", variant: "expandedPrimary", disabled: text === '', handleClick: handleSave })] }) }));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { AddImpedimentoModal as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const ContainerModal = styled('div') `
|
|
4
|
+
width: 280px;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
gap: 16px;
|
|
8
|
+
padding: 16px;
|
|
9
|
+
border-radius: 8px;
|
|
10
|
+
background-color: #FFFFFF;
|
|
11
|
+
box-shadow: 0px 5px 15px 0px #00000040;
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
export { ContainerModal };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { Popover } from '@mui/material';
|
|
3
|
+
import { ContainerDropdown, DropdownRow } from './styles.js';
|
|
4
|
+
|
|
5
|
+
function Dropdown({ isOpen, anchor, onClose, impedimentoList, onClickImpedimento }) {
|
|
6
|
+
const render = () => {
|
|
7
|
+
return (impedimentoList.map((item, index) => {
|
|
8
|
+
return (jsx(DropdownRow, { onClick: () => onClickImpedimento(item), children: jsxs("p", { children: [item.title, ": ", item.description] }) }, index));
|
|
9
|
+
}));
|
|
10
|
+
};
|
|
11
|
+
return (jsx(Popover, { open: isOpen, onClose: onClose, anchorEl: anchor, anchorOrigin: {
|
|
12
|
+
horizontal: 'right',
|
|
13
|
+
vertical: 'bottom'
|
|
14
|
+
}, transformOrigin: {
|
|
15
|
+
horizontal: 'right',
|
|
16
|
+
vertical: 'top'
|
|
17
|
+
}, children: jsx(ContainerDropdown, { children: render() }) }));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { Dropdown as default };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const ContainerDropdown = styled('div') `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
padding: 4px 8px;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
box-shadow: 0px 5px 15px 0px #00000040;
|
|
9
|
+
background-color: #FFFFFF;
|
|
10
|
+
width: 300px;
|
|
11
|
+
`;
|
|
12
|
+
const DropdownRow = styled('div') `
|
|
13
|
+
padding: 10px 4px;
|
|
14
|
+
border-top: 1px solid #E0E0E0;
|
|
15
|
+
cursor: default;
|
|
16
|
+
|
|
17
|
+
p {
|
|
18
|
+
font-family: 'PT Sans';
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
line-height: 1.1;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
overflow: hidden
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:first-child {
|
|
29
|
+
border: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:hover {
|
|
33
|
+
background-color: ${({ theme }) => theme.colors.neutralsGrey8};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
`;
|
|
37
|
+
|
|
38
|
+
export { ContainerDropdown, DropdownRow };
|