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,293 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const WrapperCard = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
width: 282px;
|
|
7
|
+
height: fit-content;
|
|
8
|
+
min-height: ${({ variant }) => variant == 'secondary' ? '169px' : ''};
|
|
9
|
+
justify-content: space-around;
|
|
10
|
+
padding: 17px;
|
|
11
|
+
padding-top: 14px;
|
|
12
|
+
|
|
13
|
+
background: ${({ theme }) => theme.colors.shadeWhite};
|
|
14
|
+
border: 1px solid ${({ theme, variant }) => variant != 'secondary' ? theme.colors.borderPrimary : 'none'};
|
|
15
|
+
border-radius: 8px;
|
|
16
|
+
|
|
17
|
+
box-shadow: 0px 0px 5px ${({ variant }) => variant == 'secondary' ? 'rgba(0, 0, 0, 0.2)' : '#0000000'};
|
|
18
|
+
`;
|
|
19
|
+
styled.div `
|
|
20
|
+
width: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
`;
|
|
24
|
+
const UserInfo = styled.div `
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
cursor: pointer !important;
|
|
28
|
+
`;
|
|
29
|
+
const DescriptionUser = styled.div `
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
margin-left: 13px;
|
|
33
|
+
`;
|
|
34
|
+
const NameUser = styled.div `
|
|
35
|
+
font-family: 'PT Sans';
|
|
36
|
+
font-style: normal;
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
line-height: 110%;
|
|
40
|
+
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
|
|
44
|
+
color: #222222;
|
|
45
|
+
word-break: normal;
|
|
46
|
+
|
|
47
|
+
width: 200px;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
display: -webkit-box;
|
|
51
|
+
-webkit-line-clamp: 1;
|
|
52
|
+
-webkit-box-orient: vertical;
|
|
53
|
+
word-wrap: break-word;
|
|
54
|
+
|
|
55
|
+
`;
|
|
56
|
+
const EmailUser = styled.div `
|
|
57
|
+
font-family: 'PT Sans';
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
font-size: 14px;
|
|
61
|
+
line-height: 16px;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
|
|
65
|
+
color: #9C9C9C;
|
|
66
|
+
margin-top: 5px;
|
|
67
|
+
word-break: normal;
|
|
68
|
+
|
|
69
|
+
width: 200px;
|
|
70
|
+
|
|
71
|
+
text-overflow: ellipsis;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
display: -webkit-box;
|
|
74
|
+
-webkit-line-clamp: 1;
|
|
75
|
+
-webkit-box-orient: vertical;
|
|
76
|
+
word-wrap: break-word;
|
|
77
|
+
`;
|
|
78
|
+
const UserAdditionalInfo = styled.div `
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
margin-top: 15px;
|
|
82
|
+
`;
|
|
83
|
+
const Area = styled.div `
|
|
84
|
+
font-family: 'PT Sans';
|
|
85
|
+
font-style: normal;
|
|
86
|
+
font-weight: ${({ variant }) => variant == 'secondary' ? '400' : '700'};
|
|
87
|
+
font-size: 16px;
|
|
88
|
+
line-height: 110%;
|
|
89
|
+
/* or 18px */
|
|
90
|
+
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
|
|
94
|
+
/* neutrals/grey_1 */
|
|
95
|
+
|
|
96
|
+
color: #222222;
|
|
97
|
+
max-width: 100%;
|
|
98
|
+
|
|
99
|
+
max-width: 100%;
|
|
100
|
+
text-overflow: ellipsis;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
display: -webkit-box;
|
|
103
|
+
-webkit-line-clamp: 1;
|
|
104
|
+
-webkit-box-orient: vertical;
|
|
105
|
+
word-wrap: break-word;
|
|
106
|
+
`;
|
|
107
|
+
const Position = styled.div `
|
|
108
|
+
font-family: 'PT Sans';
|
|
109
|
+
font-style: normal;
|
|
110
|
+
font-weight: 400;
|
|
111
|
+
font-size: 16px;
|
|
112
|
+
line-height: 110%;
|
|
113
|
+
/* or 18px */
|
|
114
|
+
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
|
|
118
|
+
/* neutrals/grey_1 */
|
|
119
|
+
|
|
120
|
+
color: #222222;
|
|
121
|
+
|
|
122
|
+
max-width: 100%;
|
|
123
|
+
text-overflow: ellipsis;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
display: -webkit-box;
|
|
126
|
+
-webkit-line-clamp: 1;
|
|
127
|
+
-webkit-box-orient: vertical;
|
|
128
|
+
word-wrap: break-word;
|
|
129
|
+
`;
|
|
130
|
+
const FooterButton = styled.div `
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: row;
|
|
133
|
+
margin-top: 15px;
|
|
134
|
+
justify-content: space-around;
|
|
135
|
+
align-items: center;
|
|
136
|
+
white-space: nowrap;
|
|
137
|
+
`;
|
|
138
|
+
const ButtonSend = styled.div `
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: row;
|
|
141
|
+
align-items: center;
|
|
142
|
+
padding-left: 0px;
|
|
143
|
+
padding: 4px 16px;
|
|
144
|
+
gap: 8px;
|
|
145
|
+
|
|
146
|
+
width: 149px;
|
|
147
|
+
height: 32px;
|
|
148
|
+
|
|
149
|
+
/* primary_1 */
|
|
150
|
+
|
|
151
|
+
background: ${({ theme }) => theme.colors.primary1};
|
|
152
|
+
border-radius: 8px;
|
|
153
|
+
|
|
154
|
+
font-family: 'Work Sans';
|
|
155
|
+
font-style: normal;
|
|
156
|
+
font-weight: 700;
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
line-height: 14px;
|
|
159
|
+
color: ${({ theme }) => theme.colors.shadeWhite};
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
margin-left: -13px;
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
`;
|
|
165
|
+
const ButtonRemove = styled.div `
|
|
166
|
+
font-family: 'Work Sans';
|
|
167
|
+
font-style: normal;
|
|
168
|
+
font-weight: 700;
|
|
169
|
+
font-size: 14px;
|
|
170
|
+
line-height: 14px;
|
|
171
|
+
color: #0645AD;
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
`;
|
|
174
|
+
const ButtonSendV2 = styled.div `
|
|
175
|
+
width: fit-content;
|
|
176
|
+
height: 14px;
|
|
177
|
+
|
|
178
|
+
font-family: 'PT Sans';
|
|
179
|
+
font-style: normal;
|
|
180
|
+
font-weight: 700;
|
|
181
|
+
font-size: 14px;
|
|
182
|
+
line-height: 14px;
|
|
183
|
+
|
|
184
|
+
display: flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
|
|
187
|
+
color: #0645AD;
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
|
|
190
|
+
`;
|
|
191
|
+
const WrapperButtons = styled.div `
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: row;
|
|
194
|
+
gap: 6px;
|
|
195
|
+
justify-content: flex-start;
|
|
196
|
+
align-items: center;
|
|
197
|
+
opacity: ${({ status }) => status == 'success' ? '0' : '1'};
|
|
198
|
+
|
|
199
|
+
transition: all 1s ease-in-out;
|
|
200
|
+
`;
|
|
201
|
+
const ButtonRemoveV2 = styled.div `
|
|
202
|
+
font-family: 'PT Sans';
|
|
203
|
+
font-style: normal;
|
|
204
|
+
font-weight: 700;
|
|
205
|
+
font-size: 14px;
|
|
206
|
+
line-height: 110%;
|
|
207
|
+
|
|
208
|
+
text-align: right;
|
|
209
|
+
|
|
210
|
+
/* neutrals/neutral_2 */
|
|
211
|
+
|
|
212
|
+
color: #444444;
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
|
|
215
|
+
&:hover {
|
|
216
|
+
color: ${({ theme }) => theme.colors.neutralsGrey1};
|
|
217
|
+
}
|
|
218
|
+
&:active {
|
|
219
|
+
color: ${({ theme }) => theme.colors.neutralsGrey3};
|
|
220
|
+
}
|
|
221
|
+
`;
|
|
222
|
+
const ButtonOrV2 = styled.div `
|
|
223
|
+
font-family: 'PT Sans';
|
|
224
|
+
font-style: normal;
|
|
225
|
+
font-weight: 400;
|
|
226
|
+
font-size: 14px;
|
|
227
|
+
line-height: 110%;
|
|
228
|
+
/* or 13px */
|
|
229
|
+
|
|
230
|
+
display: flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
|
|
233
|
+
color: #000000;
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
`;
|
|
236
|
+
const ButtonSuccess = styled.div `
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: row;
|
|
239
|
+
align-items: center;
|
|
240
|
+
padding: 4px 16px;
|
|
241
|
+
gap: 8px;
|
|
242
|
+
|
|
243
|
+
width: 159px;
|
|
244
|
+
height: 32px;
|
|
245
|
+
|
|
246
|
+
/* message/success_2 */
|
|
247
|
+
|
|
248
|
+
background: #D1F6D1;
|
|
249
|
+
/* message/success_1 */
|
|
250
|
+
|
|
251
|
+
border: 1px solid #1BA853;
|
|
252
|
+
border-radius: 8px;
|
|
253
|
+
|
|
254
|
+
width: 163px;
|
|
255
|
+
height: 32px;
|
|
256
|
+
cursor: default;
|
|
257
|
+
white-space: nowrap;
|
|
258
|
+
|
|
259
|
+
font-family: 'Work Sans';
|
|
260
|
+
font-style: normal;
|
|
261
|
+
font-weight: 700;
|
|
262
|
+
font-size: 14px;
|
|
263
|
+
line-height: 14px;
|
|
264
|
+
/* identical to box height */
|
|
265
|
+
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
|
|
269
|
+
/* neutrals/grey_1 */
|
|
270
|
+
|
|
271
|
+
color: #222222;
|
|
272
|
+
`;
|
|
273
|
+
const ButtonSuccessV2 = styled.div `
|
|
274
|
+
display: flex;
|
|
275
|
+
flex-direction: row;
|
|
276
|
+
align-items: center;
|
|
277
|
+
font-family: 'PT Sans';
|
|
278
|
+
font-style: normal;
|
|
279
|
+
font-weight: 400;
|
|
280
|
+
font-size: 14px;
|
|
281
|
+
line-height: 18px;
|
|
282
|
+
|
|
283
|
+
color: #000000;
|
|
284
|
+
gap: 8px;
|
|
285
|
+
margin-left: 8px;
|
|
286
|
+
margin-bottom: 7px;
|
|
287
|
+
|
|
288
|
+
opacity: ${({ status }) => status == 'success' ? '1' : '0'};
|
|
289
|
+
|
|
290
|
+
transition: all 1s ease-in-out;
|
|
291
|
+
`;
|
|
292
|
+
|
|
293
|
+
export { Area, ButtonOrV2, ButtonRemove, ButtonRemoveV2, ButtonSend, ButtonSendV2, ButtonSuccess, ButtonSuccessV2, DescriptionUser, EmailUser, FooterButton, NameUser, Position, UserAdditionalInfo, UserInfo, WrapperButtons, WrapperCard };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import { FRSTTheme } from '../../../theme/index.js';
|
|
3
|
+
import { ThemeProvider } from 'styled-components';
|
|
4
|
+
import { containerThumbContent, loadingImageThumb, loadingThumbContent, loadingContent, shadedThumb, imageThumbContent, ProgressAndImg, IconPlayVideo, InfCanal, ImgCanal, NameCanal, iconsThumbAndProgress, IconAndProgress, ProgressIcon, iconsThumb, infoThumbContent, tagThumbContentContainer, tagThumbContent, descriptionThumbContent, viewMoreContent } from './thumbListContentStyles.js';
|
|
5
|
+
import { useState, useEffect, useMemo } from 'react';
|
|
6
|
+
import { ThumbVideo, ThumbPodcast, ThumbTexto } from '../../../shared/icons.js';
|
|
7
|
+
import Button from '../../buttons/index.js';
|
|
8
|
+
import ProgressBar from '../../LXP/progressBar/index.js';
|
|
9
|
+
|
|
10
|
+
function ThumbListContent(props) {
|
|
11
|
+
const [showMore, setShowMore] = useState(false);
|
|
12
|
+
const [tagVisualized, setTagVisualized] = useState(props.valueProgress);
|
|
13
|
+
const [isSelected, setIsSelected] = useState(props?.isSelected);
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
setTagVisualized(props.valueProgress);
|
|
16
|
+
}, [props.valueProgress]);
|
|
17
|
+
useMemo(() => {
|
|
18
|
+
if (props.isSelected)
|
|
19
|
+
setIsSelected(props?.isSelected);
|
|
20
|
+
}, [props.isSelected]);
|
|
21
|
+
const MAX_CHARACTERS = 150;
|
|
22
|
+
return (jsx(ThemeProvider, { theme: FRSTTheme, children: props.isLoading ? (jsxs(containerThumbContent, { style: { ...props.style }, children: [jsx(loadingImageThumb, {}), jsxs(loadingThumbContent, { children: [props.title && jsx(loadingContent, { children: "a" }), jsx(loadingContent, { children: "a" }), jsx(loadingContent, { children: "a" }), jsx(loadingContent, { children: "a" }), jsx(loadingContent, { children: "a" })] })] })) : (jsxs(containerThumbContent, { style: { ...props.style }, children: [props.imageSrc ? (tagVisualized > 0 ? (jsx(shadedThumb, { children: jsx(imageThumbContent, { style: { backgroundImage: `url(${props.imageSrc})` }, onClick: props.onClickThumb, children: jsx(ProgressAndImg, { children: jsx(ProgressBar, { label: "", value: props.valueProgress }) }) }) })) : (jsxs(Fragment, { children: [jsx(imageThumbContent, { style: { backgroundImage: `url(${props.imageSrc})` }, onClick: props.onClickThumb, children: jsxs(IconPlayVideo, { children: [' ', jsx(IconPlay, {}), ' '] }) }), jsxs(InfCanal, { id: 'DadosCanal', href: props.urlCanal, children: [jsx(ImgCanal, { src: props.imageSrcCanal }), jsx(NameCanal, { children: props.nameCanal })] })] }))) : tagVisualized > 0 ? (jsx(shadedThumb, { onClick: props.onClickThumb, children: jsxs(iconsThumbAndProgress, { children: [props.typeThumbContent === 'video' ? jsx(ThumbVideo, { width: "74", height: "74" }) : null, props.typeThumbContent === 'podcast' ? (jsx(IconAndProgress, { children: jsx(ThumbPodcast, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'question' ? jsx(ThumbTexto, { width: "74", height: "74" }) : null, props.typeThumbContent === 'textual' ? jsx(ThumbTexto, { width: "74", height: "74" }) : null, jsx(ProgressIcon, { children: jsx(ProgressBar, { label: "", value: props.valueProgress }) })] }) })) : (jsxs(iconsThumb, { onClick: props.onClickThumb, children: [props.typeThumbContent === 'video' ? (jsx("div", { children: jsx(ThumbVideo, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'podcast' ? (jsx("div", { children: jsx(ThumbPodcast, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'question' ? (jsx("div", { children: jsx(ThumbTexto, { width: "74", height: "74" }) })) : null, props.typeThumbContent === 'textual' ? (jsx("div", { children: jsx(ThumbTexto, { width: "74", height: "74" }) })) : null] })), jsxs(infoThumbContent, { onClick: props.onClickThumb, tagVisualized: props.tagValue, isSelected: props?.isSelected, children: [props.tagValue !== 'notVisualized' ? (jsxs(Fragment, { children: [props.tagValue === 'vizualized' ? (jsx(tagThumbContentContainer, { children: jsx(tagThumbContent, { tagVisualized: props.tagValue, children: props.textProgressVisualized }) })) : null, props.tagValue === 'inProgress' ? (jsx(tagThumbContentContainer, { children: jsx(tagThumbContent, { tagVisualized: props.tagValue, children: props.textProgressInProgress }) })) : null] })) : null, props.title ? jsx("span", { children: props.title }) : null, jsx(descriptionThumbContent, { showText: showMore, isSelected: props?.isSelected, children: props.description.length > MAX_CHARACTERS ? (jsx(Fragment, { children: showMore ? props.description : `${props.description.slice(0, MAX_CHARACTERS)}...` })) : (props.description) })] }), jsx(viewMoreContent, { children: jsx(Button, { variant: "link", label: showMore ? props.textViewLessButton : props.textViewMoreButton, handleClick: () => setShowMore(!showMore), style: { fontSize: 12, color: props?.isSelected ? '#E5E7EB' : '#444444' } }) })] })) }));
|
|
23
|
+
function IconPlay() {
|
|
24
|
+
return (jsx(Fragment, { children: jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "33", height: "33", viewBox: "0 0 33 33", fill: "none", children: [jsx("g", { filter: "url(#filter0_d_1_13248)", children: jsx("path", { d: "M22.7851 17.6767C23.3898 17.273 23.3898 16.3841 22.7851 15.9803L14.8446 10.6786C14.1668 10.2261 13.2583 10.7119 13.2583 11.5269V22.1302C13.2583 22.9451 14.1668 23.4309 14.8446 22.9784L22.7851 17.6767Z", fill: "white" }) }), jsx("defs", { children: jsxs("filter", { id: "filter0_d_1_13248", x: "0", y: "0", width: "32.6364", height: "32.6364", filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), jsx("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), jsx("feMorphology", { radius: "20.3983", operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_1_13248" }), jsx("feOffset", { dy: "3.05975" }), jsx("feGaussianBlur", { stdDeviation: "2.54979" }), jsx("feColorMatrix", { type: "matrix", values: "0 0 0 0 1 0 0 0 0 0.301961 0 0 0 0 0.0509804 0 0 0 0.4 0" }), jsx("feBlend", { mode: "multiply", in2: "BackgroundImageFix", result: "effect1_dropShadow_1_13248" }), jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_1_13248", result: "shape" })] }) })] }) }));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { ThumbListContent as default };
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const containerThumbContent = styled.div `
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 0.75fr 1fr;
|
|
6
|
+
position: relative;
|
|
7
|
+
min-width: 250px;
|
|
8
|
+
height: auto;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
11
|
+
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2) !important;
|
|
12
|
+
|
|
13
|
+
`;
|
|
14
|
+
const loadingImageThumb = styled.div `
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
background: linear-gradient(90deg, rgba(123, 129, 136, 0) 6.43%, rgba(123, 129, 136, 0.2) 22.38%), #d9d9d9;
|
|
19
|
+
-webkit-animation-duration: 4s;
|
|
20
|
+
-webkit-animation-fill-mode: forwards;
|
|
21
|
+
-webkit-animation-iteration-count: infinite;
|
|
22
|
+
-webkit-animation-name: placeholderShimmer;
|
|
23
|
+
-webkit-animation-timing-function: linear;
|
|
24
|
+
`;
|
|
25
|
+
const iconsThumbAndProgress = styled.div `
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
height: 100%;
|
|
30
|
+
background-color: #ee8736;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
`;
|
|
33
|
+
const iconsThumb = styled.div `
|
|
34
|
+
display: flex;
|
|
35
|
+
height: 100%;
|
|
36
|
+
min-height: 144px;
|
|
37
|
+
background-color: #ee8736;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
`;
|
|
42
|
+
const imageThumbContent = styled.div `
|
|
43
|
+
height: 100%;
|
|
44
|
+
background-repeat: no-repeat;
|
|
45
|
+
background-size:cover !important;
|
|
46
|
+
background-position: center;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
justify-content: flex-end;
|
|
50
|
+
border-radius: 6.733px;
|
|
51
|
+
align-items: center;
|
|
52
|
+
margin-left: -1px;
|
|
53
|
+
background: rgba(0, 0, 0, 0.30);
|
|
54
|
+
|
|
55
|
+
`;
|
|
56
|
+
const loadingThumbContent = styled.div `
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: flex-start;
|
|
59
|
+
align-items: flex-start;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
padding: 16px 16px 16px 16px;
|
|
62
|
+
gap: 4px;
|
|
63
|
+
`;
|
|
64
|
+
const loadingContent = styled.div `
|
|
65
|
+
background: linear-gradient(90deg, rgba(123, 129, 136, 0) 6.43%, rgba(123, 129, 136, 0.2) 22.38%), #d9d9d9;
|
|
66
|
+
color: transparent;
|
|
67
|
+
border-radius: 16px;
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 0.45em;
|
|
70
|
+
|
|
71
|
+
-webkit-animation-duration: 4s;
|
|
72
|
+
-webkit-animation-fill-mode: forwards;
|
|
73
|
+
-webkit-animation-iteration-count: infinite;
|
|
74
|
+
-webkit-animation-name: placeholderShimmer;
|
|
75
|
+
-webkit-animation-timing-function: linear;
|
|
76
|
+
|
|
77
|
+
&:first-child {
|
|
78
|
+
width: 50%;
|
|
79
|
+
margin-bottom: 8px;
|
|
80
|
+
}
|
|
81
|
+
&:last-child {
|
|
82
|
+
width: 30%;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
`;
|
|
86
|
+
const IconPlayVideo = styled.div `
|
|
87
|
+
width: 133px;
|
|
88
|
+
height: 119px;
|
|
89
|
+
border-radius: 8px;
|
|
90
|
+
flex-shrink: 0;
|
|
91
|
+
background-color: rgba(0, 0, 0, 0.30);
|
|
92
|
+
/* background-color: red; */
|
|
93
|
+
position: relative;
|
|
94
|
+
left: 0px;
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
`;
|
|
101
|
+
const infoThumbContent = styled.div `
|
|
102
|
+
display: flex;
|
|
103
|
+
justify-content: flex-start;
|
|
104
|
+
align-items: flex-start;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
font-size: 16px;
|
|
107
|
+
padding: 0px 0px 32px 0px;
|
|
108
|
+
gap: 4px;
|
|
109
|
+
font-family: 'PT Sans';
|
|
110
|
+
word-wrap: break-word;
|
|
111
|
+
background: ${(props) => props?.isSelected && '#F26818'};
|
|
112
|
+
span {
|
|
113
|
+
color: ${(props) => (props?.isSelected ? '#F8FAFC' : '#F26818')};
|
|
114
|
+
font-size: 16px;
|
|
115
|
+
font-weight: 700;
|
|
116
|
+
padding-top: ${(props) => (props.tagVisualized === 'notVisualized' ? '16px' : '0px')};
|
|
117
|
+
padding-right: 16px;
|
|
118
|
+
padding-bottom: 0px;
|
|
119
|
+
padding-left: 16px;
|
|
120
|
+
}
|
|
121
|
+
`;
|
|
122
|
+
const tagThumbContentContainer = styled.div `
|
|
123
|
+
height: 30px;
|
|
124
|
+
width: 100%;
|
|
125
|
+
display: flex;
|
|
126
|
+
justify-content: end;
|
|
127
|
+
`;
|
|
128
|
+
const tagThumbContent = styled.div `
|
|
129
|
+
height: 24px;
|
|
130
|
+
background: ${(props) => (props.tagVisualized === 'vizualized' ? '#2ca92a' : '#851F41')};
|
|
131
|
+
width: 91px;
|
|
132
|
+
border-radius: 0px 0px 0px 8px;
|
|
133
|
+
color: #ffff;
|
|
134
|
+
text-align: center;
|
|
135
|
+
font-weight: 400;
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
line-height: 16px;
|
|
138
|
+
display: flex;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
align-items: center;
|
|
141
|
+
display: ${(props) => props?.isSelected && 'none'};
|
|
142
|
+
`;
|
|
143
|
+
const descriptionThumbContent = styled.div `
|
|
144
|
+
font-size: 13px;
|
|
145
|
+
font-weight: 700;
|
|
146
|
+
font-style: normal;
|
|
147
|
+
line-height: normal;
|
|
148
|
+
font-family: PT Sans;
|
|
149
|
+
color: ${(props) => (props?.isSelected ? '#F9FAFB' : '#222222')};
|
|
150
|
+
padding: 10px 0px 0px 0px;
|
|
151
|
+
width: 135px;
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
text-overflow: ${(props) => (props.showText ? 'none' : 'ellipsis')};
|
|
154
|
+
display: ${(props) => (props.showText ? 'flex' : '-webkit-box')};
|
|
155
|
+
-webkit-line-clamp: ${(props) => (props.showText ? 'none' : 3)};
|
|
156
|
+
-webkit-box-orient: ${(props) => (props.showText ? 'none' : 'vertical')};
|
|
157
|
+
position: relative;
|
|
158
|
+
left: 8.83px;
|
|
159
|
+
`;
|
|
160
|
+
const viewMoreContent = styled.div `
|
|
161
|
+
position: absolute;
|
|
162
|
+
right: 0;
|
|
163
|
+
bottom: 0;
|
|
164
|
+
margin: 0px 16px 12px 0px;
|
|
165
|
+
user-select: none;
|
|
166
|
+
`;
|
|
167
|
+
const NameCanal = styled.p `
|
|
168
|
+
|
|
169
|
+
color: var(--neutrals-neutral_2, #444);
|
|
170
|
+
font-family: PT Sans;
|
|
171
|
+
font-size: 10px;
|
|
172
|
+
font-style: normal;
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
line-height: normal;
|
|
175
|
+
position: relative;
|
|
176
|
+
right: 10px;
|
|
177
|
+
pointer-events: none;
|
|
178
|
+
|
|
179
|
+
`;
|
|
180
|
+
const ImgCanal = styled.img `
|
|
181
|
+
|
|
182
|
+
width: 24px;
|
|
183
|
+
height: 24px;
|
|
184
|
+
flex-shrink: 0;
|
|
185
|
+
border-radius: 40px;
|
|
186
|
+
background-size:cover !important;
|
|
187
|
+
pointer-events: none;
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
`;
|
|
192
|
+
const InfCanal = styled.a `
|
|
193
|
+
|
|
194
|
+
width: 130px;
|
|
195
|
+
height: 30px;
|
|
196
|
+
position:absolute;
|
|
197
|
+
display: inline-flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
gap: 16px;
|
|
200
|
+
right: 10px;
|
|
201
|
+
top:82px;
|
|
202
|
+
border-top: 0.5px solid #E2E8F0;
|
|
203
|
+
text-decoration: none;
|
|
204
|
+
display: none;
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
`;
|
|
208
|
+
const shadedThumb = styled.div `
|
|
209
|
+
position: relative;
|
|
210
|
+
height: 100%;
|
|
211
|
+
:after {
|
|
212
|
+
position: absolute;
|
|
213
|
+
display: flex;
|
|
214
|
+
justify-content: center;
|
|
215
|
+
align-items: center;
|
|
216
|
+
top: 0;
|
|
217
|
+
right: 0;
|
|
218
|
+
bottom: 0;
|
|
219
|
+
left: 0;
|
|
220
|
+
content: '';
|
|
221
|
+
background: linear-gradient(360deg, #2d2c2c 7.86%, rgba(117, 117, 117, 0) 61.43%);
|
|
222
|
+
z-index: 1;
|
|
223
|
+
}
|
|
224
|
+
`;
|
|
225
|
+
const ProgressAndImg = styled.div `
|
|
226
|
+
padding: 0.3rem 0.5rem;
|
|
227
|
+
z-index: 99;
|
|
228
|
+
position: absolute;
|
|
229
|
+
width: 100%;
|
|
230
|
+
`;
|
|
231
|
+
const ProgressIcon = styled.div `
|
|
232
|
+
position: absolute;
|
|
233
|
+
bottom: 2px;
|
|
234
|
+
display: flex;
|
|
235
|
+
width: 100%;
|
|
236
|
+
flex-direction: column;
|
|
237
|
+
z-index: 10;
|
|
238
|
+
padding-bottom: 0.3rem;
|
|
239
|
+
padding-left: 0.5rem;
|
|
240
|
+
padding-right: 0.5rem;
|
|
241
|
+
`;
|
|
242
|
+
const IconAndProgress = styled.div `
|
|
243
|
+
display: flex;
|
|
244
|
+
width: 100%;
|
|
245
|
+
align-items: center;
|
|
246
|
+
justify-content: center;
|
|
247
|
+
flex: 1;
|
|
248
|
+
`;
|
|
249
|
+
|
|
250
|
+
export { IconAndProgress, IconPlayVideo, ImgCanal, InfCanal, NameCanal, ProgressAndImg, ProgressIcon, containerThumbContent, descriptionThumbContent, iconsThumb, iconsThumbAndProgress, imageThumbContent, infoThumbContent, loadingContent, loadingImageThumb, loadingThumbContent, shadedThumb, tagThumbContent, tagThumbContentContainer, viewMoreContent };
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
|
+
|
|
3
|
+
const ContainerComentario = styled.div `
|
|
4
|
+
width: 100%;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
justify-content: flex-start;
|
|
9
|
+
align-items: ${(props) => (props.activeComentario ? 'flex-start' : 'center')};
|
|
10
|
+
padding: 4px 16px 4px 4px;
|
|
11
|
+
background: #f2f2f2;
|
|
12
|
+
border: ${(props) => (props.activeComentario ? '2px solid #757575' : '1px solid #bdbdbd')};
|
|
13
|
+
border-radius: ${(props) => (props.activeComentario ? '16px' : '100px')};
|
|
14
|
+
padding: 0.5rem;
|
|
15
|
+
font-family: 'Work Sans';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
line-height: 19px;
|
|
20
|
+
color: #222222;
|
|
21
|
+
|
|
22
|
+
${(props) => props.error &&
|
|
23
|
+
css `
|
|
24
|
+
background: #ffe0e0;
|
|
25
|
+
border: 2px solid #c00f00;
|
|
26
|
+
`}
|
|
27
|
+
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
:hover {
|
|
30
|
+
border: 1px solid #f26818;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
const imagemComentario = styled.div `
|
|
34
|
+
${(props) => props.activeComentario &&
|
|
35
|
+
css `
|
|
36
|
+
padding-top: 0.5rem;
|
|
37
|
+
`}
|
|
38
|
+
`;
|
|
39
|
+
const IpuntComentario = styled.textarea `
|
|
40
|
+
width: 100%;
|
|
41
|
+
background: #f2f2f2;
|
|
42
|
+
height: ${(props) => (props.activeComentario ? '100' : '17px')};
|
|
43
|
+
border: none;
|
|
44
|
+
padding: 0rem 0.5rem 0rem 0.5rem;
|
|
45
|
+
font-family: 'Work Sans';
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
line-height: 19px;
|
|
50
|
+
color: #222222;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
resize: none;
|
|
53
|
+
|
|
54
|
+
${(props) => props.activeComentario &&
|
|
55
|
+
css `
|
|
56
|
+
margin-bottom: 1rem;
|
|
57
|
+
padding-top: 1rem;
|
|
58
|
+
`}
|
|
59
|
+
|
|
60
|
+
${(props) => props.error &&
|
|
61
|
+
css `
|
|
62
|
+
background: #ffe0e0;
|
|
63
|
+
`}
|
|
64
|
+
`;
|
|
65
|
+
const imagemAndIput = styled.div `
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: row;
|
|
68
|
+
${(props) => !props.activeComentario &&
|
|
69
|
+
css `
|
|
70
|
+
align-items: center;
|
|
71
|
+
`}
|
|
72
|
+
`;
|
|
73
|
+
const containerCountAndEmojis = styled.div `
|
|
74
|
+
width: 100%;
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: row;
|
|
77
|
+
justify-content: space-between;
|
|
78
|
+
`;
|
|
79
|
+
const valueCount = styled.div `
|
|
80
|
+
width: 3rem;
|
|
81
|
+
font-family: 'Work Sans';
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
line-height: 16px;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
color: #757575;
|
|
89
|
+
padding-bottom: 0.5rem;
|
|
90
|
+
padding-left: 0.5rem;
|
|
91
|
+
`;
|
|
92
|
+
const valueEmoji = styled.div `
|
|
93
|
+
padding-bottom: 0.5rem;
|
|
94
|
+
padding-right: 0.5rem;
|
|
95
|
+
`;
|
|
96
|
+
const containerError = styled.div `
|
|
97
|
+
margin-top: 1rem;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: row;
|
|
100
|
+
width: 300px;
|
|
101
|
+
align-items: center;
|
|
102
|
+
svg {
|
|
103
|
+
margin-right: 0.5rem;
|
|
104
|
+
}
|
|
105
|
+
p {
|
|
106
|
+
font-family: 'Work Sans';
|
|
107
|
+
font-style: normal;
|
|
108
|
+
font-weight: 400;
|
|
109
|
+
font-size: 12px;
|
|
110
|
+
line-height: 14px;
|
|
111
|
+
color: #923534;
|
|
112
|
+
}
|
|
113
|
+
`;
|
|
114
|
+
|
|
115
|
+
export { ContainerComentario, IpuntComentario, containerCountAndEmojis, containerError, imagemAndIput, imagemComentario, valueCount, valueEmoji };
|