frst-components 0.20.1 → 0.20.2
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/package.json +1 -4
- package/src/components/DS/loading/index.tsx +0 -70
- package/src/components/DS/loading/loading.stories.tsx +0 -31
- package/src/components/DS/loading/loadingStyle.ts +0 -40
- package/src/components/DS/modal/index.stories.tsx +0 -25
- package/src/components/DS/modal/index.tsx +0 -100
- package/src/components/DS/modal/styles.ts +0 -101
- package/src/components/DS/select/Select.tsx +0 -101
- package/src/components/DS/select/SelectContext.tsx +0 -9
- package/src/components/DS/select/SelectItem.tsx +0 -69
- package/src/components/DS/select/index.tsx +0 -18
- package/src/components/DS/select/select.stories.tsx +0 -20
- package/src/components/DS/select/styles/StylesSelect.tsx +0 -100
- package/src/components/DS/tooltip/index.stories.tsx +0 -24
- package/src/components/DS/tooltip/index.tsx +0 -81
- package/src/components/DS/tooltip/styles.ts +0 -155
- package/src/components/DS/tooltip/types.d.ts +0 -21
- package/src/components/EBR/buttons-group/index.d.ts +0 -4
- package/src/components/EBR/buttons-group/index.stories.tsx +0 -23
- package/src/components/EBR/buttons-group/index.tsx +0 -31
- package/src/components/EBR/buttons-group/styles.ts +0 -7
- package/src/components/EBR/group-statistics/groupStatistics.d.ts +0 -6
- package/src/components/EBR/group-statistics/groupStatistics.stories.tsx +0 -89
- package/src/components/EBR/group-statistics/groupStatisticsStyles.ts +0 -63
- package/src/components/EBR/group-statistics/index.tsx +0 -85
- package/src/components/EBR/objective-step/index.tsx +0 -18
- package/src/components/EBR/objective-step/objectiveStep.d.ts +0 -5
- package/src/components/EBR/objective-step/objectiveStep.stories.tsx +0 -24
- package/src/components/EBR/objective-step/objectiveStepStyles.ts +0 -42
- package/src/components/EBR/rating/index.tsx +0 -97
- package/src/components/EBR/rating/rating.d.ts +0 -42
- package/src/components/EBR/rating/rating.stories.tsx +0 -24
- package/src/components/EBR/rating/ratingStyles.ts +0 -25
- package/src/components/EBR/specialist-contact/index.tsx +0 -40
- package/src/components/EBR/specialist-contact/specialistContact.d.ts +0 -13
- package/src/components/EBR/specialist-contact/specialistContact.stories.tsx +0 -26
- package/src/components/EBR/specialist-contact/specialistContactStyles.ts +0 -93
- package/src/components/EBR/stepper/index.d.ts +0 -29
- package/src/components/EBR/stepper/index.stories.tsx +0 -43
- package/src/components/EBR/stepper/index.tsx +0 -7
- package/src/components/EBR/stepper/stepper.tsx +0 -23
- package/src/components/EBR/stepper/stepperItem.tsx +0 -38
- package/src/components/EBR/stepper/styles.ts +0 -140
- package/src/components/EBR/trail-list/index.tsx +0 -82
- package/src/components/EBR/trail-list/trailList.d.ts +0 -6
- package/src/components/EBR/trail-list/trailList.stories.tsx +0 -59
- package/src/components/EBR/trail-list/trailListStyles.ts +0 -54
- package/src/components/FI/bannerProblemFeed/bannerProblemFeed.stories.tsx +0 -355
- package/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.ts +0 -128
- package/src/components/FI/bannerProblemFeed/index.tsx +0 -388
- package/src/components/FI/bannerSRG/bannerSRG.d.ts +0 -33
- package/src/components/FI/bannerSRG/bannerSRG.stories.tsx +0 -106
- package/src/components/FI/bannerSRG/bannerSRGStyle.ts +0 -226
- package/src/components/FI/bannerSRG/index.tsx +0 -93
- package/src/components/FI/feedInteraction/feedInteraction.stories.tsx +0 -219
- package/src/components/FI/feedInteraction/feedInteractionStyles.ts +0 -142
- package/src/components/FI/feedInteraction/index.tsx +0 -343
- package/src/components/FI/follow/follow.stories.tsx +0 -59
- package/src/components/FI/follow/followStyles.ts +0 -42
- package/src/components/FI/follow/index.tsx +0 -144
- package/src/components/FI/interactionsModal/InteractionsModal.stories.tsx +0 -123
- package/src/components/FI/interactionsModal/InteractionsModalStyles.ts +0 -164
- package/src/components/FI/interactionsModal/index.tsx +0 -106
- package/src/components/FI/interactionsModal/interactionsModal.d.ts +0 -23
- package/src/components/FI/notificationCard/index.tsx +0 -66
- package/src/components/FI/notificationCard/notificationCard.stories.tsx +0 -34
- package/src/components/FI/notificationCard/notificationCardStyles.ts +0 -41
- package/src/components/FI/notificationPopOver/index.tsx +0 -190
- package/src/components/FI/notificationPopOver/notificationPopOver.stories.tsx +0 -117
- package/src/components/FI/notificationPopOver/notificationPopOverStyles.ts +0 -109
- package/src/components/FI/postFeed/index.tsx +0 -188
- package/src/components/FI/postFeed/postFeed.stories.tsx +0 -313
- package/src/components/FI/postFeed/postFeedStyles.ts +0 -188
- package/src/components/FI/searchBox/SearchBox.stories.tsx +0 -34
- package/src/components/FI/searchBox/SearchBoxStyles.ts +0 -21
- package/src/components/FI/searchBox/index.tsx +0 -25
- package/src/components/FI/searchBox/searchBox.d.ts +0 -11
- package/src/components/FI/sessionFilters/index.tsx +0 -160
- package/src/components/FI/sessionFilters/sessionFilters.d.ts +0 -35
- package/src/components/FI/sessionFilters/sessionFilters.stories.tsx +0 -74
- package/src/components/FI/sessionFilters/sessionFiltersStyle.ts +0 -86
- package/src/components/FI/smallSRGBanner/index.tsx +0 -24
- package/src/components/FI/smallSRGBanner/smallSRGBanner.stories.tsx +0 -19
- package/src/components/FI/smallSRGBanner/smallSRGBannerStyles.ts +0 -34
- package/src/components/IJ/ContentCycle/ContentCycle.d.ts +0 -56
- package/src/components/IJ/ContentCycle/ContentCycle.stories.tsx +0 -30
- package/src/components/IJ/ContentCycle/ContentCycleStyles.ts +0 -152
- package/src/components/IJ/ContentCycle/index.tsx +0 -85
- package/src/components/IJ/ListContentCycle/ListContentCycle.d.ts +0 -33
- package/src/components/IJ/ListContentCycle/ListContentCycle.stories.tsx +0 -77
- package/src/components/IJ/ListContentCycle/ListContentCycleStyles.ts +0 -10
- package/src/components/IJ/ListContentCycle/index.tsx +0 -35
- package/src/components/IJ/StepLearningCycle/StepLearningCycle.d.ts +0 -39
- package/src/components/IJ/StepLearningCycle/StepLearningCycle.stories.tsx +0 -24
- package/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.ts +0 -93
- package/src/components/IJ/StepLearningCycle/index.tsx +0 -153
- package/src/components/IJ/favorite/favorite.stories.tsx +0 -19
- package/src/components/IJ/favorite/favoriteStyles.ts +0 -15
- package/src/components/IJ/favorite/index.tsx +0 -44
- package/src/components/IJ/learningCycleCard/components/menu/index.tsx +0 -92
- package/src/components/IJ/learningCycleCard/components/menu/menuStyle.ts +0 -27
- package/src/components/IJ/learningCycleCard/index.tsx +0 -93
- package/src/components/IJ/learningCycleCard/learningCycleCard.d.ts +0 -28
- package/src/components/IJ/learningCycleCard/learningCycleCard.stories.tsx +0 -229
- package/src/components/IJ/learningCycleCard/learningCycleCardStyle.ts +0 -173
- package/src/components/IJ/listSelector/index.tsx +0 -85
- package/src/components/IJ/listSelector/listSelector.stories.tsx +0 -64
- package/src/components/IJ/listSelector/listSelectorStyles.ts +0 -49
- package/src/components/IJ/pagination/index.tsx +0 -155
- package/src/components/IJ/pagination/pagination.stories.tsx +0 -112
- package/src/components/IJ/pagination/paginationStyles.ts +0 -61
- package/src/components/IJ/participantCard/index.tsx +0 -111
- package/src/components/IJ/participantCard/participantCard.d.ts +0 -24
- package/src/components/IJ/participantCard/participantCard.stories.tsx +0 -82
- package/src/components/IJ/participantCard/participantCardStyle.ts +0 -304
- package/src/components/IJ/participantCardOld/index.tsx +0 -108
- package/src/components/IJ/participantCardOld/participantCard.d.ts +0 -23
- package/src/components/IJ/participantCardOld/participantCard.stories.tsx +0 -34
- package/src/components/IJ/participantCardOld/participantCardStyle.ts +0 -218
- package/src/components/IJ/thumbListContent/index.tsx +0 -127
- package/src/components/IJ/thumbListContent/thumbListContent.stories.tsx +0 -130
- package/src/components/IJ/thumbListContent/thumbListContentStyles.ts +0 -196
- package/src/components/LXP/DropdownSelectMultiple/dropdownSelectMultiple.stories.tsx +0 -43
- package/src/components/LXP/DropdownSelectMultiple/index.tsx +0 -77
- package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectDemo.ts +0 -79
- package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectItems.css +0 -118
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/DropdownChevron.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/close.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/vector.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/primeflex.css +0 -20970
- package/src/components/LXP/DropdownSelectMultiple/styles/primereact.css +0 -6326
- package/src/components/LXP/DropdownSelectMultiple/styles/theme.css +0 -6515
- package/src/components/LXP/accordionTrack/IAccordionTrack.d.ts +0 -81
- package/src/components/LXP/accordionTrack/accordionTrack.stories.tsx +0 -305
- package/src/components/LXP/accordionTrack/accordionTrack.tsx +0 -402
- package/src/components/LXP/accordionTrack/accordionTrackList.tsx +0 -263
- package/src/components/LXP/accordionTrack/accordionTrackStyle.ts +0 -196
- package/src/components/LXP/accordionTrack/contentCourses.tsx +0 -9
- package/src/components/LXP/accordionTrack/contentCoursesTrails.tsx +0 -304
- package/src/components/LXP/accordionTrack/vectorDown.tsx +0 -26
- package/src/components/LXP/accordionTrack/vectorUp.tsx +0 -26
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.d.ts +0 -10
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.stories.tsx +0 -29
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.ts +0 -92
- package/src/components/LXP/avatarAssociatedChannel/index.tsx +0 -47
- package/src/components/LXP/avatarChannel/avatarChannel.d.ts +0 -13
- package/src/components/LXP/avatarChannel/avatarChannel.stories.tsx +0 -38
- package/src/components/LXP/avatarChannel/avatarChannelStyles.ts +0 -145
- package/src/components/LXP/avatarChannel/index.tsx +0 -112
- package/src/components/LXP/bannerLxp/bannerLxp.stories.tsx +0 -37
- package/src/components/LXP/bannerLxp/bannerLxp.tsx +0 -141
- package/src/components/LXP/bannerLxp/index.tsx +0 -270
- package/src/components/LXP/buttonContent/buttonContent.d.ts +0 -12
- package/src/components/LXP/buttonContent/buttonContent.stories.tsx +0 -23
- package/src/components/LXP/buttonContent/buttonContentStyle.ts +0 -63
- package/src/components/LXP/buttonContent/index.tsx +0 -16
- package/src/components/LXP/calendarLxp/calendar.css +0 -375
- package/src/components/LXP/calendarLxp/calendarLxp.module.css +0 -39
- package/src/components/LXP/calendarLxp/calendarLxp.stories.tsx +0 -19
- package/src/components/LXP/calendarLxp/defaultRanges.tsx +0 -99
- package/src/components/LXP/calendarLxp/index.tsx +0 -72
- package/src/components/LXP/cardLearningCicle/cardLearningCicle.d.ts +0 -16
- package/src/components/LXP/cardLearningCicle/cardLearningCicle.stories.tsx +0 -31
- package/src/components/LXP/cardLearningCicle/cardLearningCicleStyle.ts +0 -118
- package/src/components/LXP/cardLearningCicle/index.tsx +0 -129
- package/src/components/LXP/colorpicker/colorpicker.d.ts +0 -6
- package/src/components/LXP/colorpicker/colorpicker.stories.tsx +0 -18
- package/src/components/LXP/colorpicker/colorpickerStyles.ts +0 -46
- package/src/components/LXP/colorpicker/index.tsx +0 -30
- package/src/components/LXP/contentSwitcher/contentSwitcher.d.ts +0 -12
- package/src/components/LXP/contentSwitcher/contentSwitcher.stories.tsx +0 -26
- package/src/components/LXP/contentSwitcher/contentSwitcherStyle.ts +0 -92
- package/src/components/LXP/contentSwitcher/index.tsx +0 -33
- package/src/components/LXP/contentThumbnails/contentThumbnails.d.ts +0 -21
- package/src/components/LXP/contentThumbnails/contentThumbnails.stories.tsx +0 -106
- package/src/components/LXP/contentThumbnails/contentThumbnailsStyle.ts +0 -170
- package/src/components/LXP/contentThumbnails/index.tsx +0 -208
- package/src/components/LXP/contentThumbnails/vectorDown.tsx +0 -26
- package/src/components/LXP/contentThumbnails/vectorEllipse.tsx +0 -38
- package/src/components/LXP/contentThumbnails/vectorUp.tsx +0 -26
- package/src/components/LXP/extraContent/adminExtraContent.tsx +0 -127
- package/src/components/LXP/extraContent/extraContent.d.ts +0 -42
- package/src/components/LXP/extraContent/extraContent.module.css +0 -24
- package/src/components/LXP/extraContent/extraContent.stories.tsx +0 -96
- package/src/components/LXP/extraContent/index.tsx +0 -27
- package/src/components/LXP/extraContent/richTextEditor/components.tsx +0 -194
- package/src/components/LXP/extraContent/richTextEditor/index.tsx +0 -262
- package/src/components/LXP/extraContent/studentExtraContent.tsx +0 -160
- package/src/components/LXP/fileUpload/FileUpload.d.ts +0 -14
- package/src/components/LXP/fileUpload/FileUpload.stories.tsx +0 -29
- package/src/components/LXP/fileUpload/fileUploadStyles.ts +0 -86
- package/src/components/LXP/fileUpload/index.tsx +0 -51
- package/src/components/LXP/headerContent/headerContent.stories.tsx +0 -94
- package/src/components/LXP/headerContent/headerContent.ts +0 -216
- package/src/components/LXP/headerContent/index.tsx +0 -121
- package/src/components/LXP/headerContent/selectedCountCircle.tsx +0 -14
- package/src/components/LXP/login/index.tsx +0 -410
- package/src/components/LXP/login/login.d.ts +0 -50
- package/src/components/LXP/login/login.stories.tsx +0 -98
- package/src/components/LXP/login/loginStyle.ts +0 -290
- package/src/components/LXP/manageLerningCicles/index.tsx +0 -70
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.ts +0 -88
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.d.ts +0 -12
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.stories.tsx +0 -23
- package/src/components/LXP/participantThumbnails/index.tsx +0 -85
- package/src/components/LXP/participantThumbnails/participantThumbnails.stories.tsx +0 -19
- package/src/components/LXP/participantThumbnails/participantThumbnails.ts +0 -114
- package/src/components/LXP/participantThumbnailsList/index.tsx +0 -64
- package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.stories.tsx +0 -93
- package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.ts +0 -114
- package/src/components/LXP/permission/index.tsx +0 -223
- package/src/components/LXP/permission/permission.d.ts +0 -16
- package/src/components/LXP/permission/permission.stories.tsx +0 -28
- package/src/components/LXP/permission/permissionStyle.ts +0 -52
- package/src/components/LXP/popOver/index.tsx +0 -111
- package/src/components/LXP/popOver/popOver.d.ts +0 -30
- package/src/components/LXP/popOver/popOver.stories.tsx +0 -128
- package/src/components/LXP/popOver/popOverStyle.ts +0 -130
- package/src/components/LXP/popOverLXP-antigo/index.tsx +0 -48
- package/src/components/LXP/popOverLXP-antigo/popOverLXP.d.ts +0 -9
- package/src/components/LXP/popOverLXP-antigo/popOverLXP.stories.tsx +0 -103
- package/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.ts +0 -121
- package/src/components/LXP/progressBar/index.tsx +0 -18
- package/src/components/LXP/progressBar/progressBar.d.ts +0 -8
- package/src/components/LXP/progressBar/progressBar.stories.tsx +0 -18
- package/src/components/LXP/progressBar/progressStyle.ts +0 -28
- package/src/components/LXP/searchResults/index.tsx +0 -36
- package/src/components/LXP/searchResults/searchResults.d.ts +0 -11
- package/src/components/LXP/searchResults/searchResults.stories.tsx +0 -23
- package/src/components/LXP/searchResults/searchResultsStyles.ts +0 -63
- package/src/components/LXP/selectLXP/SelectLXP.tsx +0 -170
- package/src/components/LXP/selectLXP/SelectLXPContext.tsx +0 -9
- package/src/components/LXP/selectLXP/SelectLXPItem.tsx +0 -63
- package/src/components/LXP/selectLXP/index.tsx +0 -16
- package/src/components/LXP/selectLXP/selectLXP.stories.tsx +0 -20
- package/src/components/LXP/star-metric/index.tsx +0 -28
- package/src/components/LXP/star-metric/starMetric.d.ts +0 -6
- package/src/components/LXP/star-metric/starMetric.stories.tsx +0 -18
- package/src/components/LXP/star-metric/starMetricStyles.ts +0 -17
- package/src/components/LXP/thumbnails/thumbnails.d.ts +0 -36
- package/src/components/LXP/thumbnails/thumbnails.stories.tsx +0 -48
- package/src/components/LXP/thumbnails/thumbnails.tsx +0 -217
- package/src/components/LXP/thumbnails/thumbnailsDraggable.tsx +0 -73
- package/src/components/LXP/thumbnails/thumbnailsStyle.ts +0 -183
- package/src/components/LXP/thumbnails/vectorCross.tsx +0 -25
- package/src/components/LXP/thumbnails/vectorEllipse.tsx +0 -38
- package/src/components/LXP/tooltip/index.tsx +0 -15
- package/src/components/LXP/tooltip/tooltip.stories.tsx +0 -19
- package/src/components/LXP/tooltip/tooltipStyle.ts +0 -114
- package/src/components/LXP/urlAddress/index.tsx +0 -30
- package/src/components/LXP/urlAddress/urlAddress.d.ts +0 -10
- package/src/components/LXP/urlAddress/urlAddress.stories.tsx +0 -21
- package/src/components/LXP/urlAddress/urlAddressStyle.ts +0 -61
- package/src/components/LXP/video/Video.d.ts +0 -19
- package/src/components/LXP/video/Video.stories.tsx +0 -95
- package/src/components/LXP/video/index.tsx +0 -22
- package/src/components/LogoFRST/index.tsx +0 -34
- package/src/components/LogoFRST/logoFRST.module.css +0 -27
- package/src/components/LogoFRST/logoFRST.stories.tsx +0 -38
- package/src/components/accordion-tabs/accordionTabs.d.ts +0 -19
- package/src/components/accordion-tabs/accordionTabs.stories.tsx +0 -34
- package/src/components/accordion-tabs/accordionTabsStyles.ts +0 -114
- package/src/components/accordion-tabs/index.tsx +0 -77
- package/src/components/audio-player/Royalty.mp3 +0 -0
- package/src/components/audio-player/audioPlayer.stories.tsx +0 -39
- package/src/components/audio-player/audioPlayerStyles.ts +0 -314
- package/src/components/audio-player/index.tsx +0 -209
- package/src/components/avatar/avatar.d.ts +0 -8
- package/src/components/avatar/avatar.stories.tsx +0 -21
- package/src/components/avatar/avatarStyles.ts +0 -23
- package/src/components/avatar/index.tsx +0 -21
- package/src/components/buttons/buttonStyle.ts +0 -339
- package/src/components/buttons/buttons.stories.tsx +0 -52
- package/src/components/buttons/buttonsWithIcons.stories.tsx +0 -57
- package/src/components/buttons/index.tsx +0 -90
- package/src/components/calendar/calendar.stories.tsx +0 -156
- package/src/components/calendar/calendarStyle.ts +0 -209
- package/src/components/calendar/index.tsx +0 -157
- package/src/components/card-trail/cardTrail.stories.tsx +0 -167
- package/src/components/card-trail/cardTrailStyle.ts +0 -31
- package/src/components/card-trail/index.tsx +0 -160
- package/src/components/card-trail/moduleStyle.ts +0 -98
- package/src/components/card-trail-carousel/cardsTrailsCarousel.d.ts +0 -13
- package/src/components/card-trail-carousel/cardsTrailsCarousel.stories.tsx +0 -152
- package/src/components/card-trail-carousel/index.tsx +0 -47
- package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css +0 -20
- package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.stories.tsx +0 -18
- package/src/components/cardLT/AvatarWithInfo/index.tsx +0 -55
- package/src/components/cardLT/AvatarWithInfo/vector.tsx +0 -25
- package/src/components/cardLT/BannerProblem/BannerProblem.d.ts +0 -98
- package/src/components/cardLT/BannerProblem/BannerProblem.module.css +0 -113
- package/src/components/cardLT/BannerProblem/BannerProblem.stories.tsx +0 -191
- package/src/components/cardLT/BannerProblem/index.tsx +0 -433
- package/src/components/cardLT/BannerProblem/styles.ts +0 -16
- package/src/components/cardLT/MessageBox/MessageBox.module.css +0 -142
- package/src/components/cardLT/MessageBox/icons/errorIcon.tsx +0 -19
- package/src/components/cardLT/MessageBox/icons/successIcon.tsx +0 -18
- package/src/components/cardLT/MessageBox/icons/warningIcon.tsx +0 -20
- package/src/components/cardLT/MessageBox/index.tsx +0 -124
- package/src/components/cardLT/MessageBox/messageBox.stories.tsx +0 -53
- package/src/components/cardLT/Rating/Rating.module.css +0 -50
- package/src/components/cardLT/Rating/index.tsx +0 -92
- package/src/components/cardLT/Rating/rating.stories.tsx +0 -34
- package/src/components/cardLT/Rating/starIcon.tsx +0 -24
- package/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css +0 -16
- package/src/components/cardLT/RatingCurtidas/index.tsx +0 -80
- package/src/components/cardLT/RatingCurtidas/ratingCurtidas.stories.tsx +0 -21
- package/src/components/cardLT/RocketButton/RocketButton.stories.tsx +0 -28
- package/src/components/cardLT/RocketButton/RocketButtonIcon.tsx +0 -36
- package/src/components/cardLT/RocketButton/index.tsx +0 -57
- package/src/components/cardLT/StepsMission/Planet.module.css +0 -137
- package/src/components/cardLT/StepsMission/StepMission.tsx +0 -220
- package/src/components/cardLT/StepsMission/Steps.tsx +0 -116
- package/src/components/cardLT/StepsMission/planet.stories.tsx +0 -73
- package/src/components/cardLT/StepsMission/planetSteps.d.ts +0 -40
- package/src/components/cardLT/StepsMission/planets/jupter.png +0 -0
- package/src/components/cardLT/StepsMission/planets/lock.png +0 -0
- package/src/components/cardLT/StepsMission/planets/marte.png +0 -0
- package/src/components/cardLT/StepsMission/planets/netuno.png +0 -0
- package/src/components/cardLT/StepsMission/planets/saturno.png +0 -0
- package/src/components/cardLT/StepsMission/planets/urano.png +0 -0
- package/src/components/cardLT/TextIcon/TextIcon.module.css +0 -8
- package/src/components/cardLT/TextIcon/index.tsx +0 -64
- package/src/components/cardLT/TextIcon/starIcon.tsx +0 -27
- package/src/components/cardLT/TextIcon/textIcon.stories.tsx +0 -21
- package/src/components/cardLT/selectCard/avatarWithInfo.module.css +0 -20
- package/src/components/cardLT/selectCard/avatarWithInfo.stories.tsx +0 -19
- package/src/components/cardLT/selectCard/index.tsx +0 -55
- package/src/components/cardLT/selectCard/vector.tsx +0 -25
- package/src/components/cards/base/base.stories.tsx +0 -23
- package/src/components/cards/base/index.tsx +0 -10
- package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.module.css +0 -88
- package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.stories.tsx +0 -95
- package/src/components/cards/cardDefinicaoProblema/index.tsx +0 -98
- package/src/components/cards/cardProblem/cardProblem.module.css +0 -114
- package/src/components/cards/cardProblem/cardProblem.stories.tsx +0 -164
- package/src/components/cards/cardProblem/index.tsx +0 -251
- package/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css +0 -99
- package/src/components/cards/cardProblemGestor/cardProblemaGestor.stories.tsx +0 -78
- package/src/components/cards/cardProblemGestor/index.tsx +0 -105
- package/src/components/cards/cardResultConquista/Icons/Aprendizado.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/Conquista.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png +0 -0
- package/src/components/cards/cardResultConquista/cardResultConquista.module.css +0 -52
- package/src/components/cards/cardResultConquista/cardResultConquista.stories.tsx +0 -35
- package/src/components/cards/cardResultConquista/index.tsx +0 -76
- package/src/components/cards/user/index.tsx +0 -204
- package/src/components/cards/user/user.stories.tsx +0 -172
- package/src/components/challenge-cards/challengeCard.d.ts +0 -17
- package/src/components/challenge-cards/challengeCard.stories.tsx +0 -43
- package/src/components/challenge-cards/challengeCardStyles.ts +0 -266
- package/src/components/challenge-cards/dropdownMenuStyle.ts +0 -87
- package/src/components/challenge-cards/index.tsx +0 -308
- package/src/components/checkmark/checkmark.d.ts +0 -11
- package/src/components/checkmark/checkmark.stories.tsx +0 -23
- package/src/components/checkmark/checkmarkStyles.ts +0 -27
- package/src/components/checkmark/index.tsx +0 -61
- package/src/components/commentary-box/commentaryBox.d.ts +0 -41
- package/src/components/commentary-box/commentaryBox.stories.tsx +0 -57
- package/src/components/commentary-box/commentaryBox.utils.ts +0 -31
- package/src/components/commentary-box/commentaryBoxStyles.ts +0 -271
- package/src/components/commentary-box/index.tsx +0 -260
- package/src/components/conquistaCarrossel/conquistaCarrossel.d.ts +0 -13
- package/src/components/conquistaCarrossel/conquistaCarrossel.stories.tsx +0 -163
- package/src/components/conquistaCarrossel/index.tsx +0 -56
- package/src/components/demo/stepController/StepControllerStyle.ts +0 -46
- package/src/components/demo/stepController/index.tsx +0 -54
- package/src/components/demo/stepController/stepController.stories.tsx +0 -22
- package/src/components/dropdown-profile-menu/dropdownProfileMenu.d.ts +0 -28
- package/src/components/dropdown-profile-menu/dropdownProfileMenu.stories.tsx +0 -91
- package/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.ts +0 -171
- package/src/components/dropdown-profile-menu/index.tsx +0 -203
- package/src/components/emoji-picker/emojiPicker.stories.tsx +0 -20
- package/src/components/emoji-picker/index.tsx +0 -60
- package/src/components/exclusive-class/exclusiveClass.d.ts +0 -8
- package/src/components/exclusive-class/exclusiveClass.stories.tsx +0 -19
- package/src/components/exclusive-class/exclusiveClassStyles.ts +0 -39
- package/src/components/exclusive-class/index.tsx +0 -33
- package/src/components/field-search-dropdown/fieldSearch.d.ts +0 -36
- package/src/components/field-search-dropdown/fieldSearch.stories.tsx +0 -92
- package/src/components/field-search-dropdown/fieldSearchStyle.ts +0 -150
- package/src/components/field-search-dropdown/index.tsx +0 -233
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.d.ts +0 -7
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.stories.tsx +0 -101
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.ts +0 -7
- package/src/components/filter-accordion-checkbox/filterAccordionCheckboxStyles.ts +0 -2
- package/src/components/filter-accordion-checkbox/index.tsx +0 -188
- package/src/components/form-elements/checkbox/checkbox.d.ts +0 -9
- package/src/components/form-elements/checkbox/checkbox.stories.tsx +0 -20
- package/src/components/form-elements/checkbox/checkboxStyle.ts +0 -40
- package/src/components/form-elements/checkbox/index.tsx +0 -33
- package/src/components/form-elements/textarea/index.tsx +0 -6
- package/src/components/form-elements/textarea/textArea.stories.tsx +0 -27
- package/src/components/form-elements/textfield/index.tsx +0 -104
- package/src/components/form-elements/textfield/textField.stories.tsx +0 -124
- package/src/components/form-elements/textfield/textFieldStyle.ts +0 -213
- package/src/components/global-menu/components/customMenu/index.tsx +0 -1
- package/src/components/global-menu/globalMenu.d.ts +0 -66
- package/src/components/global-menu/globalMenu.stories.tsx +0 -959
- package/src/components/global-menu/globalMenuStyles.ts +0 -197
- package/src/components/global-menu/index.tsx +0 -1336
- package/src/components/headerChallenge/headerChallenge.stories.tsx +0 -20
- package/src/components/headerChallenge/headerChallengeStyle.ts +0 -102
- package/src/components/headerChallenge/index.tsx +0 -17
- package/src/components/index.tsx +0 -46
- package/src/components/input-comment/index.tsx +0 -178
- package/src/components/input-comment/inputComment.d.ts +0 -16
- package/src/components/input-comment/inputComment.stories.tsx +0 -26
- package/src/components/input-comment/inputComment.utils.ts +0 -7
- package/src/components/input-comment/inputCommentStyles.ts +0 -116
- package/src/components/item-lateral-menu/index.tsx +0 -87
- package/src/components/item-lateral-menu/itemLateralMenu.d.ts +0 -30
- package/src/components/item-lateral-menu/itemLateralMenu.stories.tsx +0 -159
- package/src/components/item-lateral-menu/itemLateralMenuStyles.ts +0 -131
- package/src/components/item-menu-global/index.tsx +0 -36
- package/src/components/item-menu-global/itemMenuGlobal.d.ts +0 -16
- package/src/components/item-menu-global/itemMenuGlobal.stories.tsx +0 -40
- package/src/components/item-menu-global/itemMenuGlobalStyles.ts +0 -73
- package/src/components/languages-dropdown/index.tsx +0 -102
- package/src/components/languages-dropdown/languagesDropdown.d.ts +0 -13
- package/src/components/languages-dropdown/languagesDropdown.stories.tsx +0 -38
- package/src/components/languages-dropdown/languagesDropdownStyles.ts +0 -66
- package/src/components/lateral-menu/index.tsx +0 -68
- package/src/components/lateral-menu/lateralMenu.d.ts +0 -17
- package/src/components/lateral-menu/lateralMenu.stories.tsx +0 -429
- package/src/components/lateral-menu/lateralMenuStyles.ts +0 -68
- package/src/components/learning-steps/index.tsx +0 -67
- package/src/components/learning-steps/learningSteps.d.ts +0 -16
- package/src/components/learning-steps/learningSteps.stories.tsx +0 -123
- package/src/components/learning-steps/learningStepsStyles.ts +0 -46
- package/src/components/menu-more/index.tsx +0 -79
- package/src/components/menu-more/menuMore.d.ts +0 -15
- package/src/components/menu-more/menuMore.stories.tsx +0 -76
- package/src/components/menu-more/menuMoreStyles.ts +0 -123
- package/src/components/modal/modalLearningTech/index.tsx +0 -67
- package/src/components/modal/modalLearningTech/modalLearningTech.module.css +0 -79
- package/src/components/modal/modalLearningTech/modalLearningTech.stories.tsx +0 -60
- package/src/components/modal/modalVideo/index.tsx +0 -129
- package/src/components/modal/modalVideo/modalVideo.module.css +0 -27
- package/src/components/modal/modalVideo/modalVideo.stories.tsx +0 -41
- package/src/components/modal/statusProblema/fecharIcon.tsx +0 -18
- package/src/components/modal/statusProblema/index.tsx +0 -124
- package/src/components/modal/statusProblema/problemaFRST.png +0 -0
- package/src/components/modal/statusProblema/statusProblema.module.css +0 -154
- package/src/components/modal/statusProblema/statusProblema.stories.tsx +0 -27
- package/src/components/quantidadeDesafios/imgSetas/setasDesafios.svg +0 -60
- package/src/components/quantidadeDesafios/index.tsx +0 -152
- package/src/components/quantidadeDesafios/quantidadeDesafios.stories.tsx +0 -49
- package/src/components/quantidadeDesafios/quantidadeDesafios.ts +0 -121
- package/src/components/sandbox.stories.tsx +0 -18
- package/src/components/scroll-container/index.tsx +0 -189
- package/src/components/scroll-container/scrollContainer.d.ts +0 -17
- package/src/components/scroll-container/scrollContainer.stories.tsx +0 -45
- package/src/components/scroll-container/scrollContainer.utils.ts +0 -11
- package/src/components/scroll-container/scrollContainerStyles.ts +0 -93
- package/src/components/search-field/index.tsx +0 -48
- package/src/components/search-field/searchField.d.ts +0 -13
- package/src/components/search-field/searchField.stories.tsx +0 -40
- package/src/components/search-field/searchFieldStyles.ts +0 -100
- package/src/components/select/Select.tsx +0 -170
- package/src/components/select/SelectContext.tsx +0 -9
- package/src/components/select/SelectItem.tsx +0 -63
- package/src/components/select/index.tsx +0 -16
- package/src/components/select/select.stories.tsx +0 -20
- package/src/components/speech-bubble/index.tsx +0 -29
- package/src/components/speech-bubble/speechBubble.d.ts +0 -10
- package/src/components/speech-bubble/speechBubble.stories.tsx +0 -20
- package/src/components/speech-bubble/speechBubbleStyles.ts +0 -121
- package/src/components/step-card/index.tsx +0 -48
- package/src/components/step-card/stepCard.d.ts +0 -12
- package/src/components/step-card/stepCard.stories.tsx +0 -26
- package/src/components/step-card/stepCardStyles.ts +0 -109
- package/src/components/tag/base.stories.tsx +0 -52
- package/src/components/tag/index.tsx +0 -59
- package/src/components/totalizer-card/index.tsx +0 -29
- package/src/components/totalizer-card/totalizerCard.d.ts +0 -10
- package/src/components/totalizer-card/totalizerCard.stories.tsx +0 -34
- package/src/components/totalizer-card/totalizerCardStyles.ts +0 -97
- package/src/icons.stories.tsx +0 -321
- package/src/shared/global.css +0 -146
- package/src/shared/globalComponentsStyle.ts +0 -88
- package/src/shared/icons.tsx +0 -3544
- package/src/shared/stories/AlertCicle.stories.tsx +0 -17
- package/src/shared/stories/CheckInCicleIcon.stories.tsx +0 -19
- package/src/shared/stories/CloseInCicleIcon.stories.tsx +0 -19
- package/src/shared/stories/DotIcon.stories.tsx +0 -17
- package/src/shared/stories/MoreDotsHorizontal.stories.tsx +0 -17
- package/src/theme/index.ts +0 -6
- package/src/theme/tokens.ts +0 -196
- package/storybook-static/142.1620db0e.iframe.bundle.js +0 -76
- package/storybook-static/142.1620db0e.iframe.bundle.js.LICENSE.txt +0 -114
- package/storybook-static/142.1620db0e.iframe.bundle.js.map +0 -1
- package/storybook-static/142.f4b5719978bc029def49.manager.bundle.js +0 -2
- package/storybook-static/142.f4b5719978bc029def49.manager.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/173.50bd68b8.iframe.bundle.js +0 -2
- package/storybook-static/173.50bd68b8.iframe.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/273.50cd4e43.iframe.bundle.js +0 -2
- package/storybook-static/273.50cd4e43.iframe.bundle.js.LICENSE.txt +0 -14
- package/storybook-static/295.74984d4265017a824622.manager.bundle.js +0 -1
- package/storybook-static/32.88a3ce9bab069a6db245.manager.bundle.js +0 -1
- package/storybook-static/32.a25e8351.iframe.bundle.js +0 -1
- package/storybook-static/551.45e246a02b3a76ac609c.manager.bundle.js +0 -1
- package/storybook-static/551.d1245db5.iframe.bundle.js +0 -1
- package/storybook-static/566.37aa6701b2519194db63.manager.bundle.js +0 -2
- package/storybook-static/566.37aa6701b2519194db63.manager.bundle.js.LICENSE.txt +0 -31
- package/storybook-static/566.dfa86444.iframe.bundle.js +0 -2
- package/storybook-static/566.dfa86444.iframe.bundle.js.LICENSE.txt +0 -31
- package/storybook-static/647.c51c26783dc4fb68973d.manager.bundle.js +0 -2
- package/storybook-static/647.c51c26783dc4fb68973d.manager.bundle.js.LICENSE.txt +0 -94
- package/storybook-static/691.6957468453be390249fa.manager.bundle.js +0 -2
- package/storybook-static/691.6957468453be390249fa.manager.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/701.b21e23ee.iframe.bundle.js +0 -1
- package/storybook-static/725.2a7b46857211ebaa0eb5.manager.bundle.js +0 -1
- package/storybook-static/725.354e06ba.iframe.bundle.js +0 -1
- package/storybook-static/855.ea614875.iframe.bundle.js +0 -2
- package/storybook-static/855.ea614875.iframe.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/bg1.png +0 -0
- package/storybook-static/bg2.png +0 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +0 -364
- package/storybook-static/index.html +0 -59
- package/storybook-static/locales/en-US.json +0 -30
- package/storybook-static/locales/es.json +0 -31
- package/storybook-static/locales/pt-BR.json +0 -38
- package/storybook-static/main.1327abd8.iframe.bundle.js +0 -1
- package/storybook-static/main.dbf1bc8b8d32336860c1.manager.bundle.js +0 -1
- package/storybook-static/manifest.json +0 -15
- package/storybook-static/project.json +0 -1
- package/storybook-static/robots.txt +0 -3
- package/storybook-static/runtime~main.046dc868.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.d23e7d11d5fe197adf05.manager.bundle.js +0 -1
- package/storybook-static/static/media/Aprendizado.cdcb9636.png +0 -0
- package/storybook-static/static/media/AprendizadoPressed.a511c1be.png +0 -0
- package/storybook-static/static/media/Conquista.aea42b3a.png +0 -0
- package/storybook-static/static/media/ConquistaPressed.8ece7181.png +0 -0
- package/storybook-static/static/media/problemaFRST.a7bdf295.png +0 -0
- package/tsconfig.json +0 -39
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import InteractionModal from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'FI/InteractionModal',
|
|
8
|
-
component: InteractionModal,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <InteractionModal {...args} />
|
|
13
|
-
|
|
14
|
-
export const Default = Template.bind({})
|
|
15
|
-
Default.args = {
|
|
16
|
-
textTitle: 'Este desafio foi visualizado por 12 pessoas.',
|
|
17
|
-
textSubtitle: 'Veja quem são elas:',
|
|
18
|
-
listUsers: [
|
|
19
|
-
{
|
|
20
|
-
id: '1',
|
|
21
|
-
name: 'Carol Rodrigues',
|
|
22
|
-
position: 'Tecnologia da Informação',
|
|
23
|
-
organization: 'FRST Falconi',
|
|
24
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: '2',
|
|
28
|
-
name: 'Luciana Souza',
|
|
29
|
-
position: 'Tecnologia da Informação',
|
|
30
|
-
organization: 'FRST Falconi',
|
|
31
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
id: '3',
|
|
35
|
-
name: 'Ricardo Barbosa',
|
|
36
|
-
position: 'Tecnologia da Informação',
|
|
37
|
-
organization: 'FRST Falconi',
|
|
38
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: '4',
|
|
42
|
-
name: 'Pamela Tavares',
|
|
43
|
-
position: 'Tecnologia da Informação',
|
|
44
|
-
organization: 'FRST Falconi',
|
|
45
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: '5',
|
|
49
|
-
name: 'Marcos Pereira',
|
|
50
|
-
position: 'Tecnologia da Informação',
|
|
51
|
-
organization: 'FRST Falconi',
|
|
52
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
isOpen: false,
|
|
56
|
-
handleClickClose: () => alert('click')
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export const DefaultInfiniteScroll = Template.bind({})
|
|
60
|
-
DefaultInfiniteScroll.args = {
|
|
61
|
-
textTitle: 'Este desafio foi visualizado por 12 pessoas.',
|
|
62
|
-
textSubtitle: 'Veja quem são elas:',
|
|
63
|
-
listUsers: [
|
|
64
|
-
{
|
|
65
|
-
id: '1',
|
|
66
|
-
name: 'Carol Rodrigues',
|
|
67
|
-
position: 'Tecnologia da Informação',
|
|
68
|
-
organization: 'FRST Falconi',
|
|
69
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
id: '2',
|
|
73
|
-
name: 'Luciana Souza',
|
|
74
|
-
position: 'Tecnologia da Informação',
|
|
75
|
-
organization: 'FRST Falconi',
|
|
76
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
id: '3',
|
|
80
|
-
name: 'Ricardo Barbosa',
|
|
81
|
-
position: 'Tecnologia da Informação',
|
|
82
|
-
organization: 'FRST Falconi',
|
|
83
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: '4',
|
|
87
|
-
name: 'Pamela Tavares',
|
|
88
|
-
position: 'Tecnologia da Informação',
|
|
89
|
-
organization: 'FRST Falconi',
|
|
90
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
id: '5',
|
|
94
|
-
name: 'Marcos Pereira',
|
|
95
|
-
position: 'Tecnologia da Informação',
|
|
96
|
-
organization: 'FRST Falconi',
|
|
97
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
isOpen: false,
|
|
101
|
-
handleClickClose: () => alert('click'),
|
|
102
|
-
checkScrollEnd: () => alert('Final do scroll'),
|
|
103
|
-
newListUsers: [
|
|
104
|
-
{
|
|
105
|
-
id: '5',
|
|
106
|
-
name: 'Carol Rodrigues',
|
|
107
|
-
position: 'Tecnologia da Informação',
|
|
108
|
-
organization: 'FRST Falconi',
|
|
109
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
id: '6',
|
|
113
|
-
name: 'Luciana Souza',
|
|
114
|
-
position: 'Tecnologia da Informação',
|
|
115
|
-
organization: 'FRST Falconi',
|
|
116
|
-
avatar: 'https://i.gyazo.com/3a59a7139631b386a8043095b207949c.png'
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
trackClick: () => alert('Track click mix painel'),
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
import { Grid, Box, Modal } from '@mui/material'
|
|
3
|
-
|
|
4
|
-
// <{image, notstarted}>
|
|
5
|
-
export const Container = styled(Box)`
|
|
6
|
-
background-color: #FFF;
|
|
7
|
-
width: 488px !important;
|
|
8
|
-
max-width: 80%;
|
|
9
|
-
height: 488px !important;
|
|
10
|
-
max-height: 80%;
|
|
11
|
-
|
|
12
|
-
display: flex;
|
|
13
|
-
justify-content: flex-start;
|
|
14
|
-
align-items: flex-start;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
position: relative;
|
|
17
|
-
|
|
18
|
-
border-radius: 16px;
|
|
19
|
-
|
|
20
|
-
font-family: 'Work Sans';
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
`
|
|
23
|
-
export const Typography = styled.div`
|
|
24
|
-
font-family: 'Work Sans';
|
|
25
|
-
font-style: normal;
|
|
26
|
-
font-weight: 700;
|
|
27
|
-
font-size: 18px;
|
|
28
|
-
line-height: 21px;
|
|
29
|
-
|
|
30
|
-
/* neutrals/neutral_1 */
|
|
31
|
-
|
|
32
|
-
color: ${({ theme }) => theme.colors.neutral_1};
|
|
33
|
-
margin-left: 25px;
|
|
34
|
-
`
|
|
35
|
-
export const CloseButton = styled.div`
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
align-self: flex-end;
|
|
38
|
-
width: 20px;
|
|
39
|
-
margin-top: 20px;
|
|
40
|
-
margin-right: 15px;
|
|
41
|
-
`
|
|
42
|
-
|
|
43
|
-
export const HeaderDiv = styled.div`
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: flex-start;
|
|
46
|
-
align-items: flex-start;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
width: 100%;
|
|
49
|
-
border-bottom: 1px solid #BDBDBD;
|
|
50
|
-
padding-bottom: 24px;
|
|
51
|
-
`
|
|
52
|
-
|
|
53
|
-
export const ContentDiv = styled.div`
|
|
54
|
-
width: 100%;
|
|
55
|
-
heigth: 100%;
|
|
56
|
-
display: flex;
|
|
57
|
-
justify-content: flex-start;
|
|
58
|
-
align-items: flex-start;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
overflow-y: scroll;
|
|
61
|
-
overflow-x: hidden;
|
|
62
|
-
|
|
63
|
-
::-webkit-scrollbar {
|
|
64
|
-
width: 7px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Track */
|
|
68
|
-
::-webkit-scrollbar-track {
|
|
69
|
-
background: #0000;
|
|
70
|
-
border-radius: 10px;
|
|
71
|
-
margin: 16px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* Handle */
|
|
75
|
-
::-webkit-scrollbar-thumb {
|
|
76
|
-
background: #BDBDBD;
|
|
77
|
-
border-radius: 10px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* Handle on hover */
|
|
81
|
-
::-webkit-scrollbar-thumb:hover {
|
|
82
|
-
background: #888;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
`
|
|
86
|
-
|
|
87
|
-
export const ScrollContentContainer = styled.div`
|
|
88
|
-
position: relative;
|
|
89
|
-
`
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export const ContentScroll = styled.div`
|
|
93
|
-
width: 100%;
|
|
94
|
-
heigth: fit-content;
|
|
95
|
-
`
|
|
96
|
-
|
|
97
|
-
export const CardItemUser = styled.div`
|
|
98
|
-
width: calc(100% + 10px);
|
|
99
|
-
height: 86px;
|
|
100
|
-
border-bottom: 1px solid #BDBDBD;
|
|
101
|
-
padding: 16px;
|
|
102
|
-
padding-left: 24px;
|
|
103
|
-
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: row;
|
|
106
|
-
`
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
export const UserInfoContainer = styled.div`
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: column;
|
|
112
|
-
justify-content: center;
|
|
113
|
-
align-items: flex-start;
|
|
114
|
-
margin-left: 16px;
|
|
115
|
-
`
|
|
116
|
-
|
|
117
|
-
export const NameUser = styled.div`
|
|
118
|
-
font-family: 'PT Sans';
|
|
119
|
-
font-style: normal;
|
|
120
|
-
font-weight: 700;
|
|
121
|
-
font-size: 16px;
|
|
122
|
-
line-height: 110%;
|
|
123
|
-
/* or 18px */
|
|
124
|
-
|
|
125
|
-
display: flex;
|
|
126
|
-
align-items: center;
|
|
127
|
-
|
|
128
|
-
/* neutrals/neutral_1 */
|
|
129
|
-
|
|
130
|
-
color: #222222;
|
|
131
|
-
`
|
|
132
|
-
|
|
133
|
-
export const PositionUser = styled.div`
|
|
134
|
-
font-family: 'PT Sans';
|
|
135
|
-
font-style: normal;
|
|
136
|
-
font-weight: 500;
|
|
137
|
-
font-size: 16px;
|
|
138
|
-
line-height: 110%;
|
|
139
|
-
/* or 18px */
|
|
140
|
-
|
|
141
|
-
display: flex;
|
|
142
|
-
align-items: center;
|
|
143
|
-
|
|
144
|
-
/* neutrals/neutral_1 */
|
|
145
|
-
|
|
146
|
-
color: #222222;
|
|
147
|
-
|
|
148
|
-
`
|
|
149
|
-
|
|
150
|
-
export const OrgUser = styled.div`
|
|
151
|
-
font-family: 'PT Sans';
|
|
152
|
-
font-style: normal;
|
|
153
|
-
font-weight: 500;
|
|
154
|
-
font-size: 16px;
|
|
155
|
-
line-height: 110%;
|
|
156
|
-
/* or 18px */
|
|
157
|
-
|
|
158
|
-
display: flex;
|
|
159
|
-
align-items: center;
|
|
160
|
-
|
|
161
|
-
/* neutrals/neutral_1 */
|
|
162
|
-
|
|
163
|
-
color: #222222;
|
|
164
|
-
`
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { useEffect, useRef, useState } from 'react'
|
|
2
|
-
import { ThemeProvider } from 'styled-components'
|
|
3
|
-
import { FRSTTheme } from '../../../theme'
|
|
4
|
-
import { Grid, Box, Modal } from '@mui/material'
|
|
5
|
-
import { IInteractionsModal, IUser } from './interactionsModal'
|
|
6
|
-
import {
|
|
7
|
-
Container,
|
|
8
|
-
Typography,
|
|
9
|
-
CloseButton,
|
|
10
|
-
HeaderDiv,
|
|
11
|
-
ContentDiv,
|
|
12
|
-
CardItemUser,
|
|
13
|
-
ContentScroll,
|
|
14
|
-
ScrollContentContainer,
|
|
15
|
-
UserInfoContainer,
|
|
16
|
-
NameUser,
|
|
17
|
-
PositionUser,
|
|
18
|
-
OrgUser } from './InteractionsModalStyles'
|
|
19
|
-
import { CloseIcon } from '@shared/icons'
|
|
20
|
-
import Avatar from '@components/avatar'
|
|
21
|
-
|
|
22
|
-
export default function InteractionsModal({
|
|
23
|
-
textTitle,
|
|
24
|
-
textSubtitle,
|
|
25
|
-
listUsers,
|
|
26
|
-
isOpen,
|
|
27
|
-
handleClickClose,
|
|
28
|
-
newListUsers,
|
|
29
|
-
checkScrollEnd,
|
|
30
|
-
trackClick,
|
|
31
|
-
style }: IInteractionsModal) {
|
|
32
|
-
|
|
33
|
-
const scrollContainerRef = useRef(null);
|
|
34
|
-
const handleScroll = (e) => {
|
|
35
|
-
const { scrollTop, scrollHeight, clientHeight } = e.target;
|
|
36
|
-
|
|
37
|
-
if (scrollTop + clientHeight >= scrollHeight) {
|
|
38
|
-
if(checkScrollEnd) checkScrollEnd()
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
const scrollContainer = scrollContainerRef.current;
|
|
43
|
-
if (scrollContainer) {
|
|
44
|
-
scrollContainer.addEventListener('scroll', handleScroll);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return () => {
|
|
48
|
-
if (scrollContainer) {
|
|
49
|
-
scrollContainer.removeEventListener('scroll', handleScroll);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}, []);
|
|
53
|
-
|
|
54
|
-
const [listUsersState, setListUsersState] = useState(listUsers)
|
|
55
|
-
useEffect(() => {
|
|
56
|
-
if(newListUsers) {
|
|
57
|
-
setListUsersState((listUsersState) => [...listUsersState, ...newListUsers])
|
|
58
|
-
}
|
|
59
|
-
}, [newListUsers])
|
|
60
|
-
|
|
61
|
-
return (
|
|
62
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
63
|
-
<Modal open={isOpen} onClose={() => handleClickClose()} >
|
|
64
|
-
<Container
|
|
65
|
-
style={{
|
|
66
|
-
top: '50%',
|
|
67
|
-
left: '50%',
|
|
68
|
-
transform: 'translate(-50%, -50%)',
|
|
69
|
-
...style
|
|
70
|
-
}
|
|
71
|
-
}>
|
|
72
|
-
<HeaderDiv>
|
|
73
|
-
<div style={{width:'100%', display:'flex', justifyContent: 'flex-end'}}>
|
|
74
|
-
<CloseButton onClick={() => handleClickClose()}>
|
|
75
|
-
<CloseIcon width='11'/>
|
|
76
|
-
</CloseButton>
|
|
77
|
-
</div>
|
|
78
|
-
<Typography>{textTitle}</Typography>
|
|
79
|
-
<Typography>{textSubtitle}</Typography>
|
|
80
|
-
</HeaderDiv>
|
|
81
|
-
<ContentDiv
|
|
82
|
-
ref={scrollContainerRef}
|
|
83
|
-
onScroll={handleScroll}
|
|
84
|
-
onClick={trackClick ? () => trackClick() : () => {}}
|
|
85
|
-
>
|
|
86
|
-
<ContentScroll>
|
|
87
|
-
{ listUsersState && listUsersState.map((item: IUser) => {
|
|
88
|
-
return (<>
|
|
89
|
-
<CardItemUser key={item?.id}>
|
|
90
|
-
<Avatar size='50px' src={item?.avatar}/>
|
|
91
|
-
<UserInfoContainer>
|
|
92
|
-
<NameUser> {item?.name} </NameUser>
|
|
93
|
-
<PositionUser> {item?.position} </PositionUser>
|
|
94
|
-
<OrgUser> {item?.organization} </OrgUser>
|
|
95
|
-
</UserInfoContainer>
|
|
96
|
-
</CardItemUser>
|
|
97
|
-
</>)
|
|
98
|
-
})
|
|
99
|
-
}
|
|
100
|
-
</ContentScroll>
|
|
101
|
-
</ContentDiv>
|
|
102
|
-
</Container>
|
|
103
|
-
</Modal>
|
|
104
|
-
</ThemeProvider>
|
|
105
|
-
)
|
|
106
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
|
|
3
|
-
export interface IUser {
|
|
4
|
-
id: string
|
|
5
|
-
name: string
|
|
6
|
-
position: string
|
|
7
|
-
organization: string
|
|
8
|
-
avatar: string
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface IInteractionsModal {
|
|
12
|
-
textTitle?: string
|
|
13
|
-
textSubtitle?: string
|
|
14
|
-
listUsers: Array<IUser>
|
|
15
|
-
isOpen: boolean
|
|
16
|
-
handleClickClose?: () => void
|
|
17
|
-
style?: React.CSSProperties
|
|
18
|
-
|
|
19
|
-
newListUsers?: Array<IUser>
|
|
20
|
-
checkScrollEnd: () => void
|
|
21
|
-
trackClick?: () => void
|
|
22
|
-
}
|
|
23
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import Avatar from '@components/avatar'
|
|
2
|
-
import Markdown from 'markdown-to-jsx'
|
|
3
|
-
import { useEffect, useState } from 'react'
|
|
4
|
-
import { ThemeProvider } from 'styled-components'
|
|
5
|
-
import { FRSTTheme } from '../../../theme'
|
|
6
|
-
import * as Styles from './notificationCardStyles'
|
|
7
|
-
|
|
8
|
-
interface INotificationCard {
|
|
9
|
-
notificationAvatar: string
|
|
10
|
-
notificationDescription: string
|
|
11
|
-
isNewNotification: boolean
|
|
12
|
-
notificationDate: string
|
|
13
|
-
|
|
14
|
-
textNew: string
|
|
15
|
-
style?: React.CSSProperties
|
|
16
|
-
|
|
17
|
-
handleClick: () => void
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const Divider = () => {
|
|
21
|
-
return(
|
|
22
|
-
<svg width="5" height="5" viewBox="0 0 5 5" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
23
|
-
<circle cx="2.5" cy="2.5" r="2.5" fill="#757575"/>
|
|
24
|
-
</svg>
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export default function NotificationCard ( props : INotificationCard ) {
|
|
29
|
-
const [descriptionNotification, setDescriptionNotification] = useState(props.notificationDescription);
|
|
30
|
-
|
|
31
|
-
useEffect(() => {
|
|
32
|
-
setDescriptionNotification(props.notificationDescription)
|
|
33
|
-
}, [props.notificationDescription])
|
|
34
|
-
|
|
35
|
-
return (
|
|
36
|
-
<ThemeProvider theme={FRSTTheme} >
|
|
37
|
-
|
|
38
|
-
<Styles.notificationContainer
|
|
39
|
-
onClick={props.handleClick}
|
|
40
|
-
style={{...props.style, backgroundColor: props.isNewNotification ? '#FEF0D0' : FRSTTheme['colors'].shadeWhite}}
|
|
41
|
-
>
|
|
42
|
-
|
|
43
|
-
<Avatar src={props.notificationAvatar} size='40px' />
|
|
44
|
-
<Styles.notificationInfo>
|
|
45
|
-
<Styles.notificationDescription>
|
|
46
|
-
<Markdown>
|
|
47
|
-
{descriptionNotification}
|
|
48
|
-
</Markdown>
|
|
49
|
-
</Styles.notificationDescription>
|
|
50
|
-
{props.isNewNotification ?
|
|
51
|
-
<Styles.notificationDate>
|
|
52
|
-
<span style={{fontWeight: 700, color: FRSTTheme['colors'].primary1}} >{props.textNew}</span>
|
|
53
|
-
<Divider />
|
|
54
|
-
{props.notificationDate}
|
|
55
|
-
</Styles.notificationDate>
|
|
56
|
-
:
|
|
57
|
-
<Styles.notificationDate>
|
|
58
|
-
{props.notificationDate}
|
|
59
|
-
</Styles.notificationDate>
|
|
60
|
-
}
|
|
61
|
-
</Styles.notificationInfo>
|
|
62
|
-
|
|
63
|
-
</Styles.notificationContainer>
|
|
64
|
-
</ThemeProvider>
|
|
65
|
-
)
|
|
66
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import NotificationCard from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'FI/Notification Card',
|
|
8
|
-
component: NotificationCard,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <NotificationCard {...args} />
|
|
13
|
-
|
|
14
|
-
export const newNotification = Template.bind({})
|
|
15
|
-
newNotification.args = {
|
|
16
|
-
notificationAvatar: 'https://media.istockphoto.com/photos/rocking-astronaut-3d-render-picture-id621597534?k=20&m=621597534&s=612x612&w=0&h=feOiFpDr7yah5o8dY1yrhkUh-grNKJNCevZn_fV-qz4=',
|
|
17
|
-
notificationDescription : `Edson Corbari comentou no seu desafio “Aumentar o engajamento dos alunos na plataforma D2L”.`,
|
|
18
|
-
isNewNotification : true,
|
|
19
|
-
textNew: 'Nova',
|
|
20
|
-
notificationDate: 'Hoje',
|
|
21
|
-
|
|
22
|
-
handleClick: () => alert('Notificação clicada!')
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const oldNotification = Template.bind({})
|
|
26
|
-
oldNotification.args = {
|
|
27
|
-
notificationAvatar: 'https://media.istockphoto.com/photos/rocking-astronaut-3d-render-picture-id621597534?k=20&m=621597534&s=612x612&w=0&h=feOiFpDr7yah5o8dY1yrhkUh-grNKJNCevZn_fV-qz4=',
|
|
28
|
-
notificationDescription : `Edson Corbari comentou no seu desafio “Aumentar o engajamento dos alunos na plataforma D2L”.`,
|
|
29
|
-
isNewNotification : false,
|
|
30
|
-
textNew: 'Nova',
|
|
31
|
-
notificationDate: 'Hoje',
|
|
32
|
-
|
|
33
|
-
handleClick: () => alert('Notificação clicada!')
|
|
34
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
|
|
3
|
-
export const notificationContainer = styled.div`
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: flex-start;
|
|
6
|
-
align-items: flex-start;
|
|
7
|
-
|
|
8
|
-
width: 375px;
|
|
9
|
-
height: 120px;
|
|
10
|
-
padding: 16px;
|
|
11
|
-
gap: 16px;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
`
|
|
14
|
-
|
|
15
|
-
export const notificationInfo = styled.div`
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: flex-start;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
justify-content: space-between;
|
|
20
|
-
height: 100%;
|
|
21
|
-
`
|
|
22
|
-
|
|
23
|
-
export const notificationDescription = styled.div`
|
|
24
|
-
font-family: 'PT Sans';
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
color: ${({theme}) => theme.colors.neutralsGrey1};
|
|
28
|
-
`
|
|
29
|
-
|
|
30
|
-
export const notificationDate = styled.div`
|
|
31
|
-
display: flex;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
align-items: center;
|
|
34
|
-
gap: 8px;
|
|
35
|
-
margin-top: 8px;
|
|
36
|
-
|
|
37
|
-
font-family: 'PT Sans';
|
|
38
|
-
font-size: 14px;
|
|
39
|
-
font-weight: 400;
|
|
40
|
-
color: ${({theme}) => theme.colors.neutralsGrey3};
|
|
41
|
-
`
|