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,21 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import StarIcon from './starIcon'
|
|
3
|
-
import RocketButton from '../RocketButton/index'
|
|
4
|
-
|
|
5
|
-
import TextIcon from './index'
|
|
6
|
-
|
|
7
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
8
|
-
export default {
|
|
9
|
-
title: 'Card LT/TextIcon',
|
|
10
|
-
component: TextIcon,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
14
|
-
const Template = (args) => <TextIcon {...args} />
|
|
15
|
-
|
|
16
|
-
export const PrimaryButton = Template.bind({})
|
|
17
|
-
PrimaryButton.args = {
|
|
18
|
-
description: "Tecnologia da Informação",
|
|
19
|
-
svg: <RocketButton tipoBotao={2}/>
|
|
20
|
-
}
|
|
21
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=VT323&display=swap');
|
|
2
|
-
|
|
3
|
-
.container {
|
|
4
|
-
height: 48px;
|
|
5
|
-
padding: 4px 16px 4px 4px;
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
|
-
|
|
10
|
-
border: 1px solid #BDBDBD;
|
|
11
|
-
border-radius: 25px;
|
|
12
|
-
background-color: #FFF;
|
|
13
|
-
font-size: 16px;
|
|
14
|
-
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
flex-wrap: nowrap;
|
|
17
|
-
font-family: 'Work Sans';
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import AvatarWithInfo from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Card LT/Avatar With Info',
|
|
8
|
-
component: AvatarWithInfo,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <AvatarWithInfo {...args} />
|
|
13
|
-
|
|
14
|
-
export const Teste1 = Template.bind({})
|
|
15
|
-
Teste1.args = {
|
|
16
|
-
nomeCompleto: 'Roberto Lima',
|
|
17
|
-
cargo: 'Estudante/Universitário(a)'
|
|
18
|
-
}
|
|
19
|
-
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import React, { useEffect, useState } from 'react'
|
|
3
|
-
import style from './avatarWithInfo.module.css'
|
|
4
|
-
import Avatar from '../../avatar'
|
|
5
|
-
import Vector from './vector'
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
///-----------------------------------------
|
|
9
|
-
/// Interface do Componente
|
|
10
|
-
interface AvatarWithInfoParams {
|
|
11
|
-
/**
|
|
12
|
-
* @prop {string} fotoAvatar: Foto do perfil do usuario
|
|
13
|
-
*/
|
|
14
|
-
fotoAvatar ?: string;
|
|
15
|
-
/**
|
|
16
|
-
* @prop {string} nomeCompleto: nome completo do usuario
|
|
17
|
-
*/
|
|
18
|
-
nomeCompleto : string;
|
|
19
|
-
/**
|
|
20
|
-
* @prop {string} cargo: Cargo do usuario
|
|
21
|
-
*/
|
|
22
|
-
cargo : string;
|
|
23
|
-
/**
|
|
24
|
-
* @prop {React.CSSProperties} style: Styles de CSS adicional
|
|
25
|
-
*/
|
|
26
|
-
style?: React.CSSProperties;
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
///-----------------------------------------
|
|
31
|
-
/// Componente
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @componente Planet: Componente responsável por gerenciar os controles dos steps das missões
|
|
38
|
-
*/
|
|
39
|
-
export default function AvatarWithInfo(props: AvatarWithInfoParams) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return (
|
|
43
|
-
|
|
44
|
-
<>
|
|
45
|
-
<div className={style.container} style={{...props.style }}>
|
|
46
|
-
|
|
47
|
-
<Avatar size='40px' src={props.fotoAvatar}/>
|
|
48
|
-
<span style={{fontWeight:600, marginRight: 8, marginLeft: 12}}>{props.nomeCompleto}</span> <Vector /> <span style={{fontWeight:400, marginRight: 8, marginLeft: 8}}>{props.cargo}</span>
|
|
49
|
-
|
|
50
|
-
</div>
|
|
51
|
-
</>
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
///-----------------------------------------
|
|
3
|
-
/// Interface do Componente
|
|
4
|
-
interface VectorIconParam {
|
|
5
|
-
color?: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
///-----------------------------------------
|
|
9
|
-
/// Componente
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @componente
|
|
14
|
-
*/
|
|
15
|
-
export default function Vector(props: VectorIconParam) {
|
|
16
|
-
|
|
17
|
-
return (
|
|
18
|
-
<>
|
|
19
|
-
<svg width="4" height="4" viewBox="0 0 4 4" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
20
|
-
<path d="M2 4C1.46957 4 0.960859 3.78929 0.585786 3.41421C0.210713 3.03914 0 2.53043 0 2C0 1.46957 0.210713 0.960859 0.585786 0.585786C0.960859 0.210713 1.46957 0 2 0C2.53043 0 3.03914 0.210713 3.41421 0.585786C3.78929 0.960859 4 1.46957 4 2C4 2.53043 3.78929 3.03914 3.41421 3.41421C3.03914 3.78929 2.53043 4 2 4Z" fill={props.color ? props.color : "#757575"}/>
|
|
21
|
-
</svg>
|
|
22
|
-
|
|
23
|
-
</>
|
|
24
|
-
)
|
|
25
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import BaseCard from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Base/Card',
|
|
8
|
-
component: BaseCard,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <BaseCard {...args} />
|
|
13
|
-
|
|
14
|
-
export const empty = Template.bind({})
|
|
15
|
-
// empty.args = {
|
|
16
|
-
// loading: true,
|
|
17
|
-
// }
|
|
18
|
-
|
|
19
|
-
export const text = (args) => (
|
|
20
|
-
<BaseCard>
|
|
21
|
-
<p>Some text just to display</p>
|
|
22
|
-
</BaseCard>
|
|
23
|
-
)
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
width: 282px;
|
|
3
|
-
height: 445px;
|
|
4
|
-
|
|
5
|
-
color: #222222;
|
|
6
|
-
background-color: #FFF;
|
|
7
|
-
border-radius: 10px;
|
|
8
|
-
|
|
9
|
-
justify-content: center;
|
|
10
|
-
align-items: center;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.tagStatusProblem {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 0;
|
|
18
|
-
right: 0;
|
|
19
|
-
|
|
20
|
-
font-size: 12px;
|
|
21
|
-
font-weight: 500;
|
|
22
|
-
padding: 8px;
|
|
23
|
-
|
|
24
|
-
border-bottom-left-radius: 10px;
|
|
25
|
-
border-top-right-radius: 10px;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
.headerContainer {
|
|
32
|
-
|
|
33
|
-
display: flex;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
align-items: center;
|
|
36
|
-
|
|
37
|
-
height: 200px;
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.headerContainer img {
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: 100%;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.descriptionContainer {
|
|
47
|
-
|
|
48
|
-
padding: 20px;
|
|
49
|
-
height: 197px;
|
|
50
|
-
|
|
51
|
-
display: flex;
|
|
52
|
-
justify-content: flex-start;
|
|
53
|
-
align-items: flex-start;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
flex-wrap: wrap;
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.footerContainer {
|
|
60
|
-
height: 48px;
|
|
61
|
-
|
|
62
|
-
display: flex;
|
|
63
|
-
justify-content: center;
|
|
64
|
-
align-items: center;
|
|
65
|
-
|
|
66
|
-
border-top: 1px solid #E8E8E8;
|
|
67
|
-
border-top-left-radius: 5px;
|
|
68
|
-
border-top-right-radius: 5px;
|
|
69
|
-
padding: 15px;
|
|
70
|
-
gap: 32px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.footerContainerType2 {
|
|
74
|
-
position: relative;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.footerContainerType2::after {
|
|
78
|
-
content: "";
|
|
79
|
-
position: absolute;
|
|
80
|
-
background-color: #E8E8E8;
|
|
81
|
-
width: 1px;
|
|
82
|
-
height: 100%;
|
|
83
|
-
left: 50%;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.footerContainer svg {
|
|
87
|
-
max-height: 100% !important;
|
|
88
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import CardDefinicaoProblema from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Cards/CardDefinicaoProblema',
|
|
8
|
-
component: CardDefinicaoProblema,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <CardDefinicaoProblema {...args} />
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export const NovoProblema = Template.bind({})
|
|
17
|
-
NovoProblema.args = {
|
|
18
|
-
|
|
19
|
-
problemStatus: "naoIniciou",
|
|
20
|
-
|
|
21
|
-
cardTitle: "Space Race Game",
|
|
22
|
-
cardDescription: "Nossa ferramenta guia de resolução de problemas em ciclos ágeis de aprendizado, colaboração e experimentação.",
|
|
23
|
-
typeButton: 1,
|
|
24
|
-
problemId: '123',
|
|
25
|
-
handleClick: (problemId) => { alert(problemId)}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export const NovoProblemaTranslate = Template.bind({})
|
|
29
|
-
NovoProblemaTranslate.args = {
|
|
30
|
-
|
|
31
|
-
statusTextNaoIniciou: 'Not started',
|
|
32
|
-
textStatusFinalizado: 'Finished',
|
|
33
|
-
textStatusProximosPassos: 'Next steps',
|
|
34
|
-
textStatusResultadosAprendizados: 'Tests performed',
|
|
35
|
-
textStatusTestesRealizados: 'Tests Performed',
|
|
36
|
-
textStatusHipotesesLevantadas: 'Hypotheses raised',
|
|
37
|
-
textsStatusProblemaDefinido: 'Problem Defined',
|
|
38
|
-
textStatusProblemaCriado: 'Problem created',
|
|
39
|
-
textButtomDefinirProblema: 'Define Problem',
|
|
40
|
-
textButtomHipotesesLevantadas: 'Hypotheses raised',
|
|
41
|
-
textButtonVisualizar: 'To view',
|
|
42
|
-
textButtonContinue:'Continue',
|
|
43
|
-
|
|
44
|
-
problemStatus: "naoIniciou",
|
|
45
|
-
|
|
46
|
-
cardTitle: "Space Race Game",
|
|
47
|
-
cardDescription: "Nossa ferramenta guia de resolução de problemas em ciclos ágeis de aprendizado, colaboração e experimentação.",
|
|
48
|
-
typeButton: 1,
|
|
49
|
-
problemId: '123',
|
|
50
|
-
handleClick: (problemId) => { alert(problemId)}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export const EditarProblema = Template.bind({})
|
|
55
|
-
EditarProblema.args = {
|
|
56
|
-
|
|
57
|
-
problemStatus: "problemaDefinido",
|
|
58
|
-
|
|
59
|
-
cardTitle: "Problema",
|
|
60
|
-
cardDescription: "Aumentar o engajamento dos alunos na plataforma",
|
|
61
|
-
typeButton: 2,
|
|
62
|
-
problemId: '123',
|
|
63
|
-
handleClick: (problemId) => { alert(problemId)},
|
|
64
|
-
handleToView: () => { alert('View')}
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export const EditarProblemaTranslate = Template.bind({})
|
|
69
|
-
EditarProblemaTranslate.args = {
|
|
70
|
-
|
|
71
|
-
statusTextNaoIniciou: 'Not started',
|
|
72
|
-
textStatusFinalizado: 'Finished',
|
|
73
|
-
textStatusProximosPassos: 'Next steps',
|
|
74
|
-
textStatusResultadosAprendizados: 'Tests performed',
|
|
75
|
-
textStatusTestesRealizados: 'Tests Performed',
|
|
76
|
-
textStatusHipotesesLevantadas: 'Hypotheses raised',
|
|
77
|
-
textsStatusProblemaDefinido: 'Problem Defined',
|
|
78
|
-
textStatusProblemaCriado: 'Problem created',
|
|
79
|
-
textButtomDefinirProblema: 'Define Problem',
|
|
80
|
-
textButtomHipotesesLevantadas: 'Hypotheses raised',
|
|
81
|
-
textButtonVisualizar: 'To view',
|
|
82
|
-
textButtonContinue:'Continue',
|
|
83
|
-
|
|
84
|
-
problemStatus: "problemaDefinido",
|
|
85
|
-
|
|
86
|
-
cardTitle: "Problema",
|
|
87
|
-
cardDescription: "Aumentar o engajamento dos alunos na plataforma",
|
|
88
|
-
typeButton: 2,
|
|
89
|
-
problemId: '123',
|
|
90
|
-
handleClick: (problemId) => { alert(problemId)},
|
|
91
|
-
handleToView: () => { alert('View')}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import '../../../shared/global.css'
|
|
2
|
-
import { useState, useEffect } from 'react'
|
|
3
|
-
import { AddIcon, EditIcon, OpenedEye } from '@shared/icons'
|
|
4
|
-
import style from './cardDefinicaoProblema.module.css'
|
|
5
|
-
import Button from '@components/buttons'
|
|
6
|
-
|
|
7
|
-
interface CardDefinicaoProblemaProps {
|
|
8
|
-
|
|
9
|
-
problemId: string
|
|
10
|
-
problemStatus: string
|
|
11
|
-
backgroundImage?: string
|
|
12
|
-
|
|
13
|
-
cardTitle?: string
|
|
14
|
-
cardDescription?: string
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @prop {number} typeButton: Tipos de botão (1 - novo problema, 2 - editar problema)
|
|
18
|
-
*/
|
|
19
|
-
typeButton: number
|
|
20
|
-
|
|
21
|
-
handleClick: (problemId: string) => void
|
|
22
|
-
/**
|
|
23
|
-
* @prop {event} event: Evento de click do visualizar problema
|
|
24
|
-
*/
|
|
25
|
-
handleToView: () => void
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface CardDefinicaoProblemaTranslateProps extends CardDefinicaoProblemaProps{
|
|
30
|
-
statusTextNaoIniciou?: string
|
|
31
|
-
textStatusFinalizado?: string
|
|
32
|
-
textStatusProximosPassos?: string
|
|
33
|
-
textStatusResultadosAprendizados?: string
|
|
34
|
-
textStatusTestesRealizados?: string
|
|
35
|
-
textStatusHipotesesLevantadas?: string
|
|
36
|
-
textsStatusProblemaDefinido?: string
|
|
37
|
-
textStatusProblemaCriado?: string
|
|
38
|
-
textButtonDefinirProblema?: string
|
|
39
|
-
textHipotesesLevantadas?: string
|
|
40
|
-
textButtonVisualizar?: string
|
|
41
|
-
textButtonContinue?: string
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @param {CardDefinicaoProblemaTranslateProps} props
|
|
47
|
-
*/
|
|
48
|
-
export default function CardDefinicaoProblema(props: CardDefinicaoProblemaTranslateProps) {
|
|
49
|
-
|
|
50
|
-
const [statusName, setStatusName] = useState((props.statusTextNaoIniciou ? props.statusTextNaoIniciou :'Não iniciou'))
|
|
51
|
-
|
|
52
|
-
const [statusColor, setStatusColor] = useState('#757575')
|
|
53
|
-
|
|
54
|
-
useEffect(() => {
|
|
55
|
-
switch (props.problemStatus) {
|
|
56
|
-
case 'finalizado': setStatusColor("#158214"), setStatusName(props.textStatusFinalizado? props.textStatusFinalizado : "Finalizado"); break
|
|
57
|
-
case 'proxPassos': setStatusColor("#222222"), setStatusName(props.textStatusProximosPassos? props.textStatusProximosPassos : "Próximos passos"); break
|
|
58
|
-
case 'resultadosAprendizados': setStatusColor("#AD005C"), setStatusName(props.textStatusResultadosAprendizados? props.textStatusResultadosAprendizados : "Resultados e aprendizados"); break
|
|
59
|
-
case 'testesRealizados': setStatusColor("#663366"), setStatusName(props.textStatusTestesRealizados? props.textStatusTestesRealizados : "Testes realizados"); break
|
|
60
|
-
case 'hipoteseLevantada': setStatusColor("#F8B911"), setStatusName(props.textStatusHipotesesLevantadas? props.textStatusHipotesesLevantadas : "Hipóteses levantadas"); break
|
|
61
|
-
case 'problemaDefinido': setStatusColor("#252BB1"), setStatusName(props.textsStatusProblemaDefinido? props.textsStatusProblemaDefinido : "Problema definido"); break
|
|
62
|
-
case 'problemaCriado':
|
|
63
|
-
default: setStatusColor("#757575"), setStatusName(props.textStatusProblemaCriado? props.textStatusProblemaCriado : "Problema criado"); break
|
|
64
|
-
}
|
|
65
|
-
}, [props.problemStatus])
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
return (
|
|
69
|
-
|
|
70
|
-
<div className={style.container} >
|
|
71
|
-
{
|
|
72
|
-
props.typeButton !== 1 &&
|
|
73
|
-
<div className={style.tagStatusProblem} style={{background: statusColor, color: statusName=== (props.textHipotesesLevantadas ? props.textHipotesesLevantadas : "Hipóteses Levantadas") ? '#222222' : '#FFF'}}>
|
|
74
|
-
{statusName}
|
|
75
|
-
</div>
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
<div className={style.headerContainer}>
|
|
79
|
-
<img src={'https://api-motor.s3.amazonaws.com/background-prezi.png'} />
|
|
80
|
-
</div>
|
|
81
|
-
<div className={style.descriptionContainer}>
|
|
82
|
-
<span style={{fontSize: 16, fontWeight: 500}}> {props.cardTitle}</span>
|
|
83
|
-
<span style={{fontSize: 16, fontWeight: 400, marginTop: 16}}> {props.cardDescription}</span>
|
|
84
|
-
|
|
85
|
-
</div>
|
|
86
|
-
<div className={`${style.footerContainer} ${props.typeButton === 2 && style.footerContainerType2}`}>
|
|
87
|
-
{props.typeButton === 2 && <Button variant='link' label= {props.textButtonVisualizar ? props.textButtonVisualizar : "Visualizar"} startIcon={<OpenedEye />} handleClick={() => props.handleToView()} /> }
|
|
88
|
-
<Button
|
|
89
|
-
variant='link'
|
|
90
|
-
label={props.typeButton === 1 ? (props.textButtonDefinirProblema ? props.textButtonDefinirProblema : 'Definir novo problema') : (props.textButtonContinue ? props.textButtonContinue: 'Continuar')}
|
|
91
|
-
startIcon={props.typeButton === 1 ? <AddIcon /> : <EditIcon/>}
|
|
92
|
-
handleClick={() => props.handleClick(props.problemId)}
|
|
93
|
-
/>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
</div>
|
|
97
|
-
)
|
|
98
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
border-radius: 10px;
|
|
4
|
-
padding-right: 24px;
|
|
5
|
-
padding-left: 48px;
|
|
6
|
-
padding-top: 40px;
|
|
7
|
-
padding-bottom: 24px;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
justify-content: flex-start;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
position: relative;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.container:hover {
|
|
17
|
-
box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.2);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.contentCard:hover {
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.tagStatusProblem {
|
|
25
|
-
position: absolute;
|
|
26
|
-
top: 0;
|
|
27
|
-
right: 0;
|
|
28
|
-
|
|
29
|
-
font-size: 12px;
|
|
30
|
-
font-weight: 500;
|
|
31
|
-
padding: 8px;
|
|
32
|
-
|
|
33
|
-
border-bottom-left-radius: 8px;
|
|
34
|
-
border-top-right-radius: 5px;
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.checkBox {
|
|
39
|
-
|
|
40
|
-
display: flex;
|
|
41
|
-
justify-content: flex-start;
|
|
42
|
-
align-items: flex-start;
|
|
43
|
-
height: 100%;
|
|
44
|
-
padding-top: 17px;
|
|
45
|
-
padding-left: 16px;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
position: absolute;
|
|
49
|
-
left: 0;
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.contentCard {
|
|
54
|
-
|
|
55
|
-
margin-left: 8px;
|
|
56
|
-
display: flex;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
align-items: flex-start;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.avatarInfoUser {
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
align-items: center;
|
|
66
|
-
flex-direction: row;
|
|
67
|
-
margin-bottom: 24px;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.infoUser {
|
|
73
|
-
display: flex;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
align-items: flex-start;
|
|
76
|
-
flex-direction: column;
|
|
77
|
-
margin-left: 16px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.tituloCard {
|
|
81
|
-
|
|
82
|
-
margin-top: 4px;
|
|
83
|
-
margin-bottom: 8px;
|
|
84
|
-
display: flex;
|
|
85
|
-
justify-content: flex-start;
|
|
86
|
-
align-items: center;
|
|
87
|
-
|
|
88
|
-
font-weight: 600;
|
|
89
|
-
font-size: 18px;
|
|
90
|
-
word-break: break-all;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.tagsContainer {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
display: flex;
|
|
97
|
-
justify-content: flex-start;
|
|
98
|
-
align-items: center;
|
|
99
|
-
flex-wrap: wrap;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.buttonVerMais {
|
|
103
|
-
display: flex;
|
|
104
|
-
justify-content: flex-start;
|
|
105
|
-
align-items: center;
|
|
106
|
-
|
|
107
|
-
position: absolute;
|
|
108
|
-
bottom: 0;
|
|
109
|
-
right: 0;
|
|
110
|
-
font-weight: 600;
|
|
111
|
-
|
|
112
|
-
margin-bottom: 26px;
|
|
113
|
-
margin-right: 30px;
|
|
114
|
-
}
|