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,118 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components'
|
|
2
|
-
|
|
3
|
-
interface PropsStyleCardLearningCicle {
|
|
4
|
-
active: boolean
|
|
5
|
-
activeTwo: boolean
|
|
6
|
-
activeThree: boolean
|
|
7
|
-
activeFour: boolean
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const Container = styled.div`
|
|
11
|
-
width: 18.5rem;
|
|
12
|
-
height: 27.063rem;
|
|
13
|
-
border-right: 1px solid ${({ theme }) => theme.colors.borderPrimary};
|
|
14
|
-
background-color: #f7f9fc;
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
justify-content: space-between;
|
|
18
|
-
padding: 24px;
|
|
19
|
-
`
|
|
20
|
-
export const ContainerStepNumbers1 = styled.div<PropsStyleCardLearningCicle>`
|
|
21
|
-
widht: 12.5rem;
|
|
22
|
-
height: 3.875rem;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direcitono: row;
|
|
25
|
-
aling-items: center;
|
|
26
|
-
gap: 0.9rem;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
|
|
29
|
-
.step1 {
|
|
30
|
-
font-family: Work Sans;
|
|
31
|
-
font-size: 24px;
|
|
32
|
-
font-weight: 700;
|
|
33
|
-
line-height: 31px;
|
|
34
|
-
letter-spacing: 0.01em;
|
|
35
|
-
${(props) =>
|
|
36
|
-
props.active &&
|
|
37
|
-
css`
|
|
38
|
-
color: ${({ theme }) => theme.colors.neutralsGrey2};
|
|
39
|
-
`}
|
|
40
|
-
}
|
|
41
|
-
`
|
|
42
|
-
export const ContainerStepNumbers2 = styled.div<PropsStyleCardLearningCicle>`
|
|
43
|
-
widht: 12.5rem;
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direcitono: row;
|
|
46
|
-
aling-items: center;
|
|
47
|
-
gap: 0.9rem;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
|
|
50
|
-
.step2 {
|
|
51
|
-
font-family: Work Sans;
|
|
52
|
-
font-size: 24px;
|
|
53
|
-
font-weight: 700;
|
|
54
|
-
line-height: 31px;
|
|
55
|
-
letter-spacing: 0.01em;
|
|
56
|
-
color: ${({ theme }) => theme.colors.neutralsGrey4};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.txt2 {
|
|
60
|
-
font-family: PT Sans;
|
|
61
|
-
font-size: 16px;
|
|
62
|
-
font-weight: 400;
|
|
63
|
-
line-height: 18px;
|
|
64
|
-
color: ${({ theme }) => theme.colors.neutralsGrey2};
|
|
65
|
-
display: none;
|
|
66
|
-
}
|
|
67
|
-
`
|
|
68
|
-
export const ContainerStepNumbers3 = styled.div<PropsStyleCardLearningCicle>`
|
|
69
|
-
widht: 12.5rem;
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direcitono: row;
|
|
72
|
-
aling-items: center;
|
|
73
|
-
gap: 0.9rem;
|
|
74
|
-
cursor: pointer;
|
|
75
|
-
|
|
76
|
-
.step3 {
|
|
77
|
-
font-family: Work Sans;
|
|
78
|
-
font-size: 24px;
|
|
79
|
-
font-weight: 700;
|
|
80
|
-
line-height: 31px;
|
|
81
|
-
letter-spacing: 0.01em;
|
|
82
|
-
color: ${({ theme }) => theme.colors.neutralsGrey4};
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.txt3 {
|
|
86
|
-
font-family: PT Sans;
|
|
87
|
-
font-size: 16px;
|
|
88
|
-
font-weight: 400;
|
|
89
|
-
line-height: 18px;
|
|
90
|
-
color: ${({ theme }) => theme.colors.neutralsGrey2};
|
|
91
|
-
display: none;
|
|
92
|
-
}
|
|
93
|
-
`
|
|
94
|
-
export const ContainerStepNumbers4 = styled.div<PropsStyleCardLearningCicle>`
|
|
95
|
-
widht: 12.5rem;
|
|
96
|
-
display: flex;
|
|
97
|
-
flex-direcitono: row;
|
|
98
|
-
aling-items: center;
|
|
99
|
-
gap: 0.9rem;
|
|
100
|
-
cursor: pointer;
|
|
101
|
-
|
|
102
|
-
.step4 {
|
|
103
|
-
font-family: Work Sans;
|
|
104
|
-
font-size: 24px;
|
|
105
|
-
font-weight: 700;
|
|
106
|
-
line-height: 31px;
|
|
107
|
-
letter-spacing: 0.01em;
|
|
108
|
-
color: ${({ theme }) => theme.colors.neutralsGrey4};
|
|
109
|
-
}
|
|
110
|
-
.txt4 {
|
|
111
|
-
font-family: PT Sans;
|
|
112
|
-
font-size: 16px;
|
|
113
|
-
font-weight: 400;
|
|
114
|
-
line-height: 18px;
|
|
115
|
-
color: ${({ theme }) => theme.colors.neutralsGrey2};
|
|
116
|
-
display: none;
|
|
117
|
-
}
|
|
118
|
-
`
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import '../../../shared/global.css'
|
|
2
|
-
import { ThemeProvider } from 'styled-components'
|
|
3
|
-
import { FRSTTheme } from '../../../theme'
|
|
4
|
-
import * as Styles from './cardLearningCicleStyle'
|
|
5
|
-
import { ITranlateCardLearningCicle } from './cardLearningCicle'
|
|
6
|
-
import * as Icons from '../../../shared/icons'
|
|
7
|
-
import { useState } from 'react'
|
|
8
|
-
|
|
9
|
-
export default function CardLearningCicle(props: ITranlateCardLearningCicle) {
|
|
10
|
-
|
|
11
|
-
const [active, setActive] = useState(false)
|
|
12
|
-
const [activeTwo, setActiveTwo] = useState(false)
|
|
13
|
-
const [activeThree, setActiveThree] = useState(false)
|
|
14
|
-
const [activeFour, setActiveFour] = useState(false)
|
|
15
|
-
const [counterRender, setCounterRender] = useState(0)
|
|
16
|
-
|
|
17
|
-
function handleClickCheckStep1() {
|
|
18
|
-
!active ? setActive(true) : setActive(false)
|
|
19
|
-
setActiveTwo(false)
|
|
20
|
-
setActiveThree(false)
|
|
21
|
-
setActiveFour(false)
|
|
22
|
-
props.handleClick()
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function handleClickCheckStep2() {
|
|
26
|
-
!activeTwo ? setActiveTwo(true) : setActiveTwo(false)
|
|
27
|
-
setActive(true)
|
|
28
|
-
props.handleClick()
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function handleClickCheckStep3() {
|
|
32
|
-
!activeThree ? setActiveThree(true) : setActiveThree(false)
|
|
33
|
-
setActive(true)
|
|
34
|
-
setActiveTwo(true)
|
|
35
|
-
props.handleClick()
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function handleClickCheckStep4() {
|
|
39
|
-
!activeFour ? setActiveFour(true) : setActiveFour(false)
|
|
40
|
-
setActive(true)
|
|
41
|
-
setActiveTwo(true)
|
|
42
|
-
setActiveThree(true)
|
|
43
|
-
props.handleClick()
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return (
|
|
47
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
48
|
-
<Styles.Container>
|
|
49
|
-
<>
|
|
50
|
-
<Styles.ContainerStepNumbers1 active={active} activeTwo activeThree activeFour onClick={handleClickCheckStep1}>
|
|
51
|
-
{!active ?
|
|
52
|
-
<div>
|
|
53
|
-
<Icons.StepCicleOne />
|
|
54
|
-
</div>
|
|
55
|
-
:
|
|
56
|
-
<div>
|
|
57
|
-
<Icons.StepCheckInCicle />
|
|
58
|
-
</div>
|
|
59
|
-
}
|
|
60
|
-
<p className='step1'>{props.titleStep1 ? props.titleStep1 : 'Criar ciclo de Aprendizagem'}</p>
|
|
61
|
-
</Styles.ContainerStepNumbers1>
|
|
62
|
-
</>
|
|
63
|
-
<>
|
|
64
|
-
<Styles.ContainerStepNumbers2 activeTwo={activeTwo} active={active} activeThree activeFour onClick={handleClickCheckStep2}>
|
|
65
|
-
{!activeTwo ?
|
|
66
|
-
<div>
|
|
67
|
-
<Icons.StepCicleTwo fill={!active ? '#9C9C9C' : "#0645AD"} />
|
|
68
|
-
</div>
|
|
69
|
-
:
|
|
70
|
-
<div>
|
|
71
|
-
<Icons.StepCheckInCicle />
|
|
72
|
-
</div>
|
|
73
|
-
}
|
|
74
|
-
{!activeTwo ?
|
|
75
|
-
<div>
|
|
76
|
-
<p className='step2' style={{ color: !active ? '#9c9c9c' : '#000000' }}>{props.titleStep2 ? props.titleStep2 : 'Grupo de participantes'}</p>
|
|
77
|
-
<p className='txt2'style={{display: !active ? 'none' : 'block'}}>{props.txtStep2 ? props.txtStep2 : 'Crie ou selecione um grupo de participantes para relacioná-lo a um ou mais conteúdos.'}</p>
|
|
78
|
-
</div>
|
|
79
|
-
:
|
|
80
|
-
<p className='step2' style={{ color: !activeTwo ? '#000000' : '#444444' }}>{props.titleStep2 ? props.titleStep2 : 'Grupo de participantes'}</p>
|
|
81
|
-
}
|
|
82
|
-
</Styles.ContainerStepNumbers2>
|
|
83
|
-
</>
|
|
84
|
-
<>
|
|
85
|
-
<Styles.ContainerStepNumbers3 activeTwo={activeTwo} active activeThree={activeThree} activeFour onClick={handleClickCheckStep3}>
|
|
86
|
-
{!activeThree ?
|
|
87
|
-
<div>
|
|
88
|
-
<Icons.StepCicleThree fill={!activeTwo ? '#9C9C9C' : "#0645AD"} />
|
|
89
|
-
</div>
|
|
90
|
-
:
|
|
91
|
-
<div>
|
|
92
|
-
<Icons.StepCheckInCicle />
|
|
93
|
-
</div>
|
|
94
|
-
}
|
|
95
|
-
{!activeThree ?
|
|
96
|
-
<div>
|
|
97
|
-
<p className='step3' style={{ color: !activeTwo ? '#9c9c9c' : '#000000' }}>{props.titleStep3 ? props.titleStep3 : 'Conteúdos criados'}</p>
|
|
98
|
-
<p className='txt3' style={{ display: !activeTwo ? 'none' : 'block' }}>{props.txtStep3 ? props.txtStep3 : 'Selecione um ou mais conteúdos para o grupo selecionado ver.'}</p>
|
|
99
|
-
</div>
|
|
100
|
-
:
|
|
101
|
-
<p className='step3' style={{ color: !activeThree ? '#000000' : '#444444' }}>{props.titleStep3 ? props.titleStep3 : 'Conteúdos criados'}</p>
|
|
102
|
-
}
|
|
103
|
-
</Styles.ContainerStepNumbers3>
|
|
104
|
-
</>
|
|
105
|
-
<>
|
|
106
|
-
<Styles.ContainerStepNumbers4 activeTwo active activeThree={activeThree} activeFour={activeFour} onClick={handleClickCheckStep4}>
|
|
107
|
-
{!activeFour ?
|
|
108
|
-
<div>
|
|
109
|
-
<Icons.StepCicleFour fill={!activeThree ? '#9C9C9C' : "#0645AD"} />
|
|
110
|
-
</div>
|
|
111
|
-
:
|
|
112
|
-
<div>
|
|
113
|
-
<Icons.StepCheckInCicle />
|
|
114
|
-
</div>
|
|
115
|
-
}
|
|
116
|
-
{!activeFour ?
|
|
117
|
-
<div>
|
|
118
|
-
<p className='step4' style={{ color: !activeThree ? '#9c9c9c' : '#000000' }}>{props.titleStep4 ? props.titleStep4 : 'Calendário'}</p>
|
|
119
|
-
<p className='txt4' style={{ display: !activeThree ? 'none' : 'block' }}>{props.txtStep4 ? props.txtStep4 : 'Selecione a data de início destes conteúdos para este grupo.'}</p>
|
|
120
|
-
</div>
|
|
121
|
-
:
|
|
122
|
-
<p className='step4' style={{ color: !activeThree ? '#000000' : '#444444' }}>{props.titleStep4 ? props.titleStep4 : 'Calendário'}</p>
|
|
123
|
-
}
|
|
124
|
-
</Styles.ContainerStepNumbers4>
|
|
125
|
-
</>
|
|
126
|
-
</Styles.Container>
|
|
127
|
-
</ThemeProvider>
|
|
128
|
-
);
|
|
129
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import Colorpicker from './index'
|
|
3
|
-
|
|
4
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
5
|
-
export default {
|
|
6
|
-
title: 'LXP/Colorpicker',
|
|
7
|
-
component: Colorpicker,
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
11
|
-
const Template = (args) => <Colorpicker {...args} />
|
|
12
|
-
|
|
13
|
-
export const normal = Template.bind({})
|
|
14
|
-
normal.args = {
|
|
15
|
-
width: 256,
|
|
16
|
-
height: 165,
|
|
17
|
-
color: '#FFFFFF',
|
|
18
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
|
|
3
|
-
interface Colorpicker{
|
|
4
|
-
width?: string,
|
|
5
|
-
height?: string,
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export const Container = styled.span<Colorpicker>`
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
width: ${props => props.width || '147px'};
|
|
13
|
-
height: ${props => props.height || '48px'};
|
|
14
|
-
padding: 12px 16px;
|
|
15
|
-
border: 1px solid #E0E0E0;
|
|
16
|
-
border-radius: 8px;
|
|
17
|
-
background: #EBEBEB;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
input[type="color"] {
|
|
21
|
-
-webkit-appearance: none;
|
|
22
|
-
border: none;
|
|
23
|
-
width: auto;
|
|
24
|
-
height: auto;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
background: none;
|
|
27
|
-
&::-webkit-color-swatch-wrapper {
|
|
28
|
-
padding: 0;
|
|
29
|
-
width: 23px;
|
|
30
|
-
height: 23px;
|
|
31
|
-
}
|
|
32
|
-
&::-webkit-color-swatch {
|
|
33
|
-
border: 1px solid #E0E0E0;
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
padding: 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
input[type="text"] {
|
|
40
|
-
border: none;
|
|
41
|
-
width: 60px;
|
|
42
|
-
height: 18px;
|
|
43
|
-
font-size: 14px;
|
|
44
|
-
background: #EBEBEB;
|
|
45
|
-
}
|
|
46
|
-
`;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import '../../../shared/global.css'
|
|
2
|
-
import { ThemeProvider } from 'styled-components'
|
|
3
|
-
import { FRSTTheme } from '../../../theme'
|
|
4
|
-
import * as Styles from './colorpickerStyles'
|
|
5
|
-
import { IColorpicker } from './colorpicker'
|
|
6
|
-
import React, { useState } from 'react'
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const ColorPicker = props => {
|
|
11
|
-
return (
|
|
12
|
-
<Styles.Container>
|
|
13
|
-
<input type="text" {...props} />
|
|
14
|
-
<input type="color" {...props} />
|
|
15
|
-
</Styles.Container>
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
export default function Colorpicker({ width, height, color, }: IColorpicker) {
|
|
19
|
-
const [state, updateState] = useState(color);
|
|
20
|
-
|
|
21
|
-
const handleInput = e => {
|
|
22
|
-
updateState(e.target.value);
|
|
23
|
-
color= state
|
|
24
|
-
};
|
|
25
|
-
return(
|
|
26
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
27
|
-
<ColorPicker onChange={handleInput} value={state} width={width} height={height}/>
|
|
28
|
-
</ThemeProvider>
|
|
29
|
-
)
|
|
30
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
export interface IcontentSwitcher {
|
|
4
|
-
label?: string
|
|
5
|
-
handleClick: () => void
|
|
6
|
-
style?: React.CSSProperties
|
|
7
|
-
startIcon?: any
|
|
8
|
-
sizeIcon?: string
|
|
9
|
-
startIconSelected?: any
|
|
10
|
-
isActive?: boolean
|
|
11
|
-
idButtonSwitcher: string
|
|
12
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import ContentSwitcher from './index'
|
|
3
|
-
import * as Icons from '../../../shared/icons'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'LXP/ContentSwitcher',
|
|
8
|
-
component: ContentSwitcher
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <ContentSwitcher {...args} />
|
|
13
|
-
let isActive = false
|
|
14
|
-
export const primary = Template.bind({})
|
|
15
|
-
primary.args = {
|
|
16
|
-
label: 'Criar conteúdo',
|
|
17
|
-
startIcon: <Icons.Course />,
|
|
18
|
-
startIconSelected: <Icons.Course fill={'#FFFFFF'} />,
|
|
19
|
-
handleClick: () => {
|
|
20
|
-
isActive = true
|
|
21
|
-
console.log(isActive)
|
|
22
|
-
alert(isActive)
|
|
23
|
-
},
|
|
24
|
-
isActive: isActive,
|
|
25
|
-
idButtonSwitcher: 'idBotao'
|
|
26
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components'
|
|
2
|
-
|
|
3
|
-
export const Container= styled.div<{sizeIcon}>`
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
text-align: center;
|
|
9
|
-
width: 180px;
|
|
10
|
-
height: 176px;
|
|
11
|
-
border: 1px solid ${({ theme }) => theme.colors.neutralsGrey5};
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
border-radius: 8px;
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
font-family: 'Work Sans';
|
|
16
|
-
font-style: normal;
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
font-size: 20px;
|
|
19
|
-
line-height: 23px;
|
|
20
|
-
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
21
|
-
|
|
22
|
-
& > svg {
|
|
23
|
-
max-height: ${({sizeIcon}) => sizeIcon ? sizeIcon:'64px'};
|
|
24
|
-
height: 100%;
|
|
25
|
-
width: auto;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:hover{
|
|
29
|
-
box-shadow: 0px 15px 5px -15px;
|
|
30
|
-
}
|
|
31
|
-
`
|
|
32
|
-
export const ContentSwitcher= styled.button<{}>`
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
text-align: center;
|
|
38
|
-
padding: 0 20px 0 20px!important;
|
|
39
|
-
width: 180px;
|
|
40
|
-
height: 176px;
|
|
41
|
-
border: 1px solid ${({ theme }) => theme.colors.neutralsGrey5};
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
border-radius: 8px;
|
|
44
|
-
box-sizing: border-box;
|
|
45
|
-
font-family: 'Work Sans';
|
|
46
|
-
font-style: normal;
|
|
47
|
-
font-weight: 500;
|
|
48
|
-
font-size: 20px;
|
|
49
|
-
line-height: 23px;
|
|
50
|
-
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
51
|
-
|
|
52
|
-
& > svg {
|
|
53
|
-
height: 64px;
|
|
54
|
-
width: 64px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&:hover{
|
|
58
|
-
box-shadow: 0px 15px 5px -15px;
|
|
59
|
-
}
|
|
60
|
-
`;
|
|
61
|
-
export const ContentSwitcherSelected= styled.button<{sizeIcon}>`
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
align-items: center;
|
|
65
|
-
justify-content: center;
|
|
66
|
-
text-align: center;
|
|
67
|
-
padding: 0 20px 0 20px!important;
|
|
68
|
-
width: 180px;
|
|
69
|
-
height: 176px;
|
|
70
|
-
border: 1px solid ${({ theme }) => theme.colors.neutralsGrey5};
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
border-radius: 8px;
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
font-family: 'Work Sans';
|
|
75
|
-
font-style: normal;
|
|
76
|
-
font-weight: 500;
|
|
77
|
-
font-size: 20px;
|
|
78
|
-
line-height: 23px;
|
|
79
|
-
background-color: ${({ theme }) => theme.colors.primary1};
|
|
80
|
-
color: ${({ theme }) => theme.colors.shadeWhite};
|
|
81
|
-
|
|
82
|
-
& > svg {
|
|
83
|
-
max-height: ${({sizeIcon}) => sizeIcon ? sizeIcon:'64px'};
|
|
84
|
-
height: 100%;
|
|
85
|
-
width: auto;
|
|
86
|
-
stroke: #FFFFFF;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* &:hover{
|
|
90
|
-
background-color: ${({ theme }) => theme.colors.primary3} ;
|
|
91
|
-
} */
|
|
92
|
-
`;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ThemeProvider } from 'styled-components'
|
|
2
|
-
import { FRSTTheme } from '../../../theme'
|
|
3
|
-
import * as Styles from './contentSwitcherStyle'
|
|
4
|
-
import { IcontentSwitcher } from './contentSwitcher'
|
|
5
|
-
|
|
6
|
-
export default function ContentSwitcher({
|
|
7
|
-
label,
|
|
8
|
-
handleClick,
|
|
9
|
-
style,
|
|
10
|
-
sizeIcon,
|
|
11
|
-
startIcon,
|
|
12
|
-
startIconSelected,
|
|
13
|
-
isActive,
|
|
14
|
-
idButtonSwitcher
|
|
15
|
-
}: IcontentSwitcher) {
|
|
16
|
-
return (
|
|
17
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
18
|
-
<Styles.Container sizeIcon={sizeIcon} style={{ ...style }}>
|
|
19
|
-
{!isActive ? (
|
|
20
|
-
<Styles.ContentSwitcher onClick={handleClick} id={idButtonSwitcher}>
|
|
21
|
-
{startIcon}
|
|
22
|
-
{label}
|
|
23
|
-
</Styles.ContentSwitcher>
|
|
24
|
-
) : (
|
|
25
|
-
<Styles.ContentSwitcherSelected sizeIcon={sizeIcon} onClick={handleClick} id={idButtonSwitcher}>
|
|
26
|
-
{startIconSelected}
|
|
27
|
-
{label}
|
|
28
|
-
</Styles.ContentSwitcherSelected>
|
|
29
|
-
)}
|
|
30
|
-
</Styles.Container>
|
|
31
|
-
</ThemeProvider>
|
|
32
|
-
)
|
|
33
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
//import * as Icons from '../../shared/icons'
|
|
3
|
-
import { content } from '../../shared/icons'
|
|
4
|
-
|
|
5
|
-
type enumVariant = 'individualCourse' | 'trilha'
|
|
6
|
-
|
|
7
|
-
export interface IContentThumbnails {
|
|
8
|
-
label?: string
|
|
9
|
-
src?: string
|
|
10
|
-
disabled?: boolean
|
|
11
|
-
icon?: any
|
|
12
|
-
handleClick?: (item) => void
|
|
13
|
-
onChange?: () => void
|
|
14
|
-
handleReloadItens?: () => void
|
|
15
|
-
contentList?: []
|
|
16
|
-
variant?: enumVariant
|
|
17
|
-
title?: string
|
|
18
|
-
isOpen?: boolean
|
|
19
|
-
removeContentList?: (item) => void
|
|
20
|
-
onChangeOrder?: (listOrder) => void
|
|
21
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { typeContent } from './index'
|
|
3
|
-
|
|
4
|
-
import ContentThumbnails from './index'
|
|
5
|
-
|
|
6
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
7
|
-
export default {
|
|
8
|
-
title: 'LXP/ContentThumbnails',
|
|
9
|
-
component: ContentThumbnails
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
13
|
-
const Template = (args) => <ContentThumbnails {...args} />
|
|
14
|
-
|
|
15
|
-
export const IndividualCourseWithActivity = Template.bind({})
|
|
16
|
-
IndividualCourseWithActivity.args = {
|
|
17
|
-
variant: 'individualCourse',
|
|
18
|
-
label: 'Label',
|
|
19
|
-
src: 'https://i.gyazo.com/7ccff0252cbd94f10bae665be4456854.png',
|
|
20
|
-
disabled: false,
|
|
21
|
-
title: 'Name of the Content',
|
|
22
|
-
isOpen: true,
|
|
23
|
-
contentList: [
|
|
24
|
-
{
|
|
25
|
-
title: 'Introdução ao curso',
|
|
26
|
-
type: typeContent.Content,
|
|
27
|
-
id: 'abc'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
title: 'Título do Conteúdo',
|
|
31
|
-
type: typeContent.Content,
|
|
32
|
-
id: 'ade'
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
title: 'Título do Vídeo',
|
|
36
|
-
type: typeContent.Video,
|
|
37
|
-
id: 'tsd'
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
title: 'Título de Podcast',
|
|
41
|
-
type: typeContent.PodCast,
|
|
42
|
-
id: 'psf'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
title: 'Título do Quiz',
|
|
46
|
-
type: typeContent.QuizSucessError,
|
|
47
|
-
id: 'ling'
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
title: 'Título do questionário teste de duas linhas',
|
|
51
|
-
type: typeContent.Quiz,
|
|
52
|
-
id: 'jkr'
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
title: 'Título do Certificado',
|
|
56
|
-
type: typeContent.Certificate,
|
|
57
|
-
id: 'fsp'
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
handleClick: () => {
|
|
61
|
-
alert('Click')
|
|
62
|
-
},
|
|
63
|
-
handleReloadItens: () => {
|
|
64
|
-
alert('Click 2')
|
|
65
|
-
},
|
|
66
|
-
removeContentList: () => {
|
|
67
|
-
alert('excluiu!')
|
|
68
|
-
},
|
|
69
|
-
onChangeOrder: (list) => console.log(list)
|
|
70
|
-
}
|
|
71
|
-
export const IndividualCourseWithNoActivity = Template.bind({})
|
|
72
|
-
IndividualCourseWithNoActivity.args = {
|
|
73
|
-
variant: 'individualCourse',
|
|
74
|
-
label: 'Label',
|
|
75
|
-
src: '',
|
|
76
|
-
disabled: false,
|
|
77
|
-
title: 'Name of the Content',
|
|
78
|
-
handleClick: () => {
|
|
79
|
-
alert('Click')
|
|
80
|
-
},
|
|
81
|
-
handleReloadItens: () => {
|
|
82
|
-
alert('Click 2')
|
|
83
|
-
},
|
|
84
|
-
removeContentList: () => {
|
|
85
|
-
alert('excluiu!')
|
|
86
|
-
},
|
|
87
|
-
onChangeOrder: (list) => console.log(list)
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export const Trilha = Template.bind({})
|
|
91
|
-
Trilha.args = {
|
|
92
|
-
variant: 'trilha',
|
|
93
|
-
label: 'Label',
|
|
94
|
-
src: '',
|
|
95
|
-
disabled: false,
|
|
96
|
-
title: 'Nome do curso',
|
|
97
|
-
contentList: [
|
|
98
|
-
{
|
|
99
|
-
title: 'Introdução ao curso',
|
|
100
|
-
type: typeContent.Content
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
handleClick: () => {
|
|
104
|
-
alert('Click')
|
|
105
|
-
}
|
|
106
|
-
}
|