frst-components 0.20.0 → 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 +6 -1
- package/.dockerignore +0 -7
- package/.env +0 -1
- package/.github/pull_request_template.md +0 -26
- package/.hintrc +0 -41
- package/.prettierrc +0 -7
- package/.storybook/i18n.js +0 -26
- package/.storybook/main.js +0 -41
- package/.storybook/preview.js +0 -23
- package/.vscode/settings.json +0 -2
- package/Dockerfile +0 -22
- package/declarations.d.ts +0 -4
- package/images.d.ts +0 -4
- package/index.tsx +0 -178
- package/publish.sh +0 -19
- package/rollup.config.js +0 -15
- 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/tsconfig.json +0 -39
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
import { Grid, Box, Avatar, CardContent } from '@mui/material/'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export const HeaderImage = styled(Box)<{image, notstarted}>`
|
|
6
|
-
width: 320px;
|
|
7
|
-
height: 200px;
|
|
8
|
-
cursor: ${({notstarted}) => notstarted ? 'no-drop' : 'pointer'};
|
|
9
|
-
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), url('${({image}) => image}');
|
|
10
|
-
filter: grayscale(${({notstarted}) => notstarted ? '1' : '0'});
|
|
11
|
-
background-size: contain;
|
|
12
|
-
`
|
|
13
|
-
|
|
14
|
-
export const MyBox = styled(Box)`
|
|
15
|
-
padding: 0px;
|
|
16
|
-
height: 245px;
|
|
17
|
-
padding-top: 12px;
|
|
18
|
-
`
|
|
19
|
-
|
|
20
|
-
export const MyCardContent = styled(CardContent)<{notstarted: any, hasmentor: any}>`
|
|
21
|
-
cursor: ${({notstarted}) => notstarted ? 'no-drop' : 'pointer'};
|
|
22
|
-
height: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
justify-content: ${({hasmentor}) => hasmentor ? 'space-between' : 'flex-start'};
|
|
26
|
-
`
|
|
27
|
-
|
|
28
|
-
export const WrapperDate = styled.div<{notstarted}>`
|
|
29
|
-
display: ${({notstarted}) => notstarted ? 'flex' : 'none'};
|
|
30
|
-
margin-bottom: 7px;
|
|
31
|
-
`
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import * as React from 'react'
|
|
2
|
-
import * as Styles from './moduleStyle'
|
|
3
|
-
import { Grid } from '@mui/material/'
|
|
4
|
-
import Avatar from '@components/avatar'
|
|
5
|
-
import { ThemeProvider } from 'styled-components'
|
|
6
|
-
import { FRSTTheme } from '../../theme'
|
|
7
|
-
|
|
8
|
-
import { LinkedinIconMentor } from '@shared/icons'
|
|
9
|
-
import { HeaderImage, MyCardContent, MyBox, WrapperDate } from './cardTrailStyle'
|
|
10
|
-
|
|
11
|
-
interface Mentor {
|
|
12
|
-
avatar: string
|
|
13
|
-
name: string
|
|
14
|
-
linkedin: string
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface ModuleCardProps {
|
|
18
|
-
name: string
|
|
19
|
-
start: string
|
|
20
|
-
bannerImage: string
|
|
21
|
-
description: string
|
|
22
|
-
progress?: number | null
|
|
23
|
-
variant: string
|
|
24
|
-
mentor: Mentor
|
|
25
|
-
action: () => any
|
|
26
|
-
notStarted?: boolean
|
|
27
|
-
labels: any
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export default function CardTrail(props: ModuleCardProps) {
|
|
31
|
-
|
|
32
|
-
const redirectToD2L = async () => {
|
|
33
|
-
if (props?.notStarted) return
|
|
34
|
-
|
|
35
|
-
let URL = await props.action()
|
|
36
|
-
return window.open(URL)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const getResumeDescription = (description, isResume) => {
|
|
40
|
-
if(isResume && description.length > 50)
|
|
41
|
-
return `${description.substring(0, 50)}...`
|
|
42
|
-
else
|
|
43
|
-
return description
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const getAlign = () => {
|
|
47
|
-
if(props.variant == 'primary' && props.notStarted) {
|
|
48
|
-
if(props.start || props.mentor?.name) return +true
|
|
49
|
-
if(!props.start || !props.mentor?.name) return +false
|
|
50
|
-
}
|
|
51
|
-
if(props.variant == 'primary' && !props.notStarted) {
|
|
52
|
-
if(props.start && !props.mentor?.name) return +false
|
|
53
|
-
if(!props.start && props.mentor?.name) return +false
|
|
54
|
-
if(!props.start && !props.mentor?.name) return +false
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
return +true
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return (
|
|
61
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
62
|
-
<Styles.CardContainer>
|
|
63
|
-
{!props?.notStarted && props.variant == 'primary' &&
|
|
64
|
-
<PercentageProgress
|
|
65
|
-
progress={props.progress}
|
|
66
|
-
/>
|
|
67
|
-
}
|
|
68
|
-
<HeaderImage
|
|
69
|
-
onClick={redirectToD2L}
|
|
70
|
-
image={props.bannerImage}
|
|
71
|
-
notstarted={+props?.notStarted}
|
|
72
|
-
/>
|
|
73
|
-
|
|
74
|
-
<MyBox>{/* ((props.mentor?.name && props.start) || props.variant !== 'primary') */}
|
|
75
|
-
<MyCardContent
|
|
76
|
-
notstarted={+props?.notStarted}
|
|
77
|
-
hasmentor={getAlign()}
|
|
78
|
-
>
|
|
79
|
-
<Styles.TitleCard onClick={redirectToD2L} >{props.name}</Styles.TitleCard>
|
|
80
|
-
<Styles.TextDescription onClick={redirectToD2L} >
|
|
81
|
-
{props.description}
|
|
82
|
-
</Styles.TextDescription>
|
|
83
|
-
{props.variant == 'primary' ?
|
|
84
|
-
<>
|
|
85
|
-
{ props.start &&
|
|
86
|
-
<WrapperDate onClick={redirectToD2L} notstarted={+props?.notStarted}>
|
|
87
|
-
<b>{props.labels?.dateStart ? props.labels?.dateStart : 'Data de início'}: </b>
|
|
88
|
-
{props.start}
|
|
89
|
-
</WrapperDate>
|
|
90
|
-
}
|
|
91
|
-
{ props.mentor?.name &&
|
|
92
|
-
<>
|
|
93
|
-
<Styles.TitleMentoring onClick={redirectToD2L}>
|
|
94
|
-
{props.labels?.mentor ? props.labels?.mentor : 'Mentor(a)'}
|
|
95
|
-
</Styles.TitleMentoring>
|
|
96
|
-
<MentorComponent
|
|
97
|
-
mentor={props.mentor}
|
|
98
|
-
notstarted={+props?.notStarted}
|
|
99
|
-
/>
|
|
100
|
-
</>
|
|
101
|
-
}
|
|
102
|
-
</>
|
|
103
|
-
:
|
|
104
|
-
<>
|
|
105
|
-
<WrapperDate onClick={redirectToD2L} notstarted={+true} style={{margin: '0px'}}>
|
|
106
|
-
<b>{props.labels?.dateStart ? props.labels?.dateStart : 'Data de início'}: </b>
|
|
107
|
-
{props.start}
|
|
108
|
-
</WrapperDate>
|
|
109
|
-
</>
|
|
110
|
-
}
|
|
111
|
-
</MyCardContent>
|
|
112
|
-
</MyBox>
|
|
113
|
-
</Styles.CardContainer>
|
|
114
|
-
</ThemeProvider>
|
|
115
|
-
)
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
function MentorComponent(props) {
|
|
120
|
-
return <>
|
|
121
|
-
<Styles.GridFooter
|
|
122
|
-
container
|
|
123
|
-
spacing={2}
|
|
124
|
-
onClick={() => { props.mentor.linkedin && window.open(`${props.mentor.linkedin}`, '_blank') }}
|
|
125
|
-
style={{margin: '0px', cursor: 'pointer'}}
|
|
126
|
-
>
|
|
127
|
-
<Avatar
|
|
128
|
-
size="32px"
|
|
129
|
-
alt="Mentoring"
|
|
130
|
-
src={props.mentor?.avatar ? props.mentor.avatar : "https://certificates-mentor.s3.amazonaws.com/frst-avatar-default.png"}
|
|
131
|
-
disabled={props?.notStarted}
|
|
132
|
-
/>
|
|
133
|
-
<Styles.GridNameMentoring item>
|
|
134
|
-
<Styles.NameMentoring>{props.mentor?.name}</Styles.NameMentoring>
|
|
135
|
-
</Styles.GridNameMentoring>
|
|
136
|
-
{props.mentor.linkedin && <LinkedinIconMentor/>}
|
|
137
|
-
</Styles.GridFooter>
|
|
138
|
-
</>
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
function PercentageProgress({progress}) {
|
|
142
|
-
return <>
|
|
143
|
-
{ progress && (
|
|
144
|
-
<Styles.ProgressBox>
|
|
145
|
-
<Grid container spacing={0} alignItems="center">
|
|
146
|
-
{progress > 0 &&
|
|
147
|
-
<>
|
|
148
|
-
<Grid item xs={10}>
|
|
149
|
-
<Styles.ProgressBar variant="determinate" value={progress} />
|
|
150
|
-
</Grid>
|
|
151
|
-
<Grid item xs={2}>
|
|
152
|
-
<Styles.ProgressLabel>{progress}%</Styles.ProgressLabel>
|
|
153
|
-
</Grid>
|
|
154
|
-
</>
|
|
155
|
-
}
|
|
156
|
-
</Grid>
|
|
157
|
-
</Styles.ProgressBox>
|
|
158
|
-
)}
|
|
159
|
-
</>
|
|
160
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
import { Grid, Box, Card, Typography, LinearProgress } from '@mui/material/'
|
|
3
|
-
|
|
4
|
-
export const ProgressBox = styled(Box)`
|
|
5
|
-
z-index: 1 !important;
|
|
6
|
-
float: right !important;
|
|
7
|
-
padding-left: 10% !important;
|
|
8
|
-
padding-right: 10% !important;
|
|
9
|
-
margin-top: 160px !important;
|
|
10
|
-
position: relative !important;
|
|
11
|
-
`
|
|
12
|
-
|
|
13
|
-
export const ProgressBar = styled(LinearProgress)`
|
|
14
|
-
width: 128px !important;
|
|
15
|
-
height: 13px !important;
|
|
16
|
-
border-radius: 100px !important;
|
|
17
|
-
background-color: rgba(245, 94, 14, 0.5) !important;
|
|
18
|
-
& .MuiLinearProgress-bar{
|
|
19
|
-
padding-left: 10px !important;
|
|
20
|
-
background-color: ${({theme}) => theme.colors.primary1} !important;
|
|
21
|
-
}
|
|
22
|
-
`
|
|
23
|
-
export const ProgressLabel = styled.label`
|
|
24
|
-
display: inline-block !important;
|
|
25
|
-
width: 32px !important;
|
|
26
|
-
height: 16px !important;
|
|
27
|
-
font-size: 16px !important;
|
|
28
|
-
color: white !important;
|
|
29
|
-
`
|
|
30
|
-
|
|
31
|
-
export const GridNameMentoring = styled(Grid)`
|
|
32
|
-
padding: 0 !important;
|
|
33
|
-
max-width: 100%;
|
|
34
|
-
display: flex;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
align-items: center;
|
|
37
|
-
`
|
|
38
|
-
export const GridAvatar = styled(Grid)`
|
|
39
|
-
padding: 0 !important;
|
|
40
|
-
`
|
|
41
|
-
|
|
42
|
-
export const GridFooter = styled(Grid)`
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
height: 50px;
|
|
46
|
-
margin: 0;
|
|
47
|
-
gap: 5px;
|
|
48
|
-
`
|
|
49
|
-
|
|
50
|
-
export const NameMentoring = styled.span`
|
|
51
|
-
font-size: 14px !important;
|
|
52
|
-
`
|
|
53
|
-
|
|
54
|
-
export const TitleMentoring = styled.span`
|
|
55
|
-
display: block !important;
|
|
56
|
-
font-size: 14px !important;
|
|
57
|
-
font-weight: 500 !important;
|
|
58
|
-
`
|
|
59
|
-
|
|
60
|
-
export const TextDescription = styled(Typography)`
|
|
61
|
-
margin-top: 10px !important;
|
|
62
|
-
white-space: normal !important;
|
|
63
|
-
height: 101px !important;
|
|
64
|
-
overflow: hidden !important;
|
|
65
|
-
display: -webkit-box;
|
|
66
|
-
-webkit-line-clamp: 6;
|
|
67
|
-
-webkit-box-orient: vertical;
|
|
68
|
-
text-overflow: ellipsis;
|
|
69
|
-
font-size: 15px !important;
|
|
70
|
-
line-height: 1.1 !important;
|
|
71
|
-
`
|
|
72
|
-
|
|
73
|
-
export const TitleCard = styled.div`
|
|
74
|
-
height: 32px !important;
|
|
75
|
-
font-size: 16px !important;
|
|
76
|
-
font-weight: bold !important;
|
|
77
|
-
white-space: normal !important;
|
|
78
|
-
`
|
|
79
|
-
|
|
80
|
-
export const CardContainer = styled(Card)`
|
|
81
|
-
max-width: 345px !important;
|
|
82
|
-
height: 445px !important;
|
|
83
|
-
width: 282px !important;
|
|
84
|
-
box-shadow: none !important;
|
|
85
|
-
border: 1px solid #c4c4c4;
|
|
86
|
-
|
|
87
|
-
background: #FBFBFB;
|
|
88
|
-
border: 1px solid #E8E8E8;
|
|
89
|
-
box-sizing: border-box !important;
|
|
90
|
-
border-radius: 4px !important;
|
|
91
|
-
display: inline-block !important;
|
|
92
|
-
margin-right: 24px !important;
|
|
93
|
-
margin-bottom: 24px !important;
|
|
94
|
-
|
|
95
|
-
&:hover {
|
|
96
|
-
border: 1px solid ${({theme}) => theme.colors.secondary2} !important;
|
|
97
|
-
}
|
|
98
|
-
`
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
|
|
3
|
-
export interface ICardTrailCarolsel {
|
|
4
|
-
objectCards?: any,
|
|
5
|
-
marginsArrowButton?: number,
|
|
6
|
-
sizeArrowButton?: number,
|
|
7
|
-
horizontalMarginInternScroll?: string,
|
|
8
|
-
positionArrowButton?: string,
|
|
9
|
-
marginTopArrrowButton?: string,
|
|
10
|
-
move?:any,
|
|
11
|
-
isVisibleButtons?: boolean,
|
|
12
|
-
label?: any
|
|
13
|
-
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import CardTrailCarousel from './index'
|
|
3
|
-
|
|
4
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Base/Card Trail Carousel',
|
|
7
|
-
component: CardTrailCarousel,
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
11
|
-
const Template = (args) => <CardTrailCarousel {...args} />
|
|
12
|
-
|
|
13
|
-
export const primary = Template.bind({})
|
|
14
|
-
primary.args = {
|
|
15
|
-
marginsArrowButton: 50,
|
|
16
|
-
sizeArrowButton: 80,
|
|
17
|
-
horizontalMarginInternScroll: '50px',
|
|
18
|
-
|
|
19
|
-
objectCards: [
|
|
20
|
-
{
|
|
21
|
-
variant: 'primary',
|
|
22
|
-
name: 'Primeiros passos',
|
|
23
|
-
start: '10/10/2022',
|
|
24
|
-
description: 'Entenda como funciona o Agile Learning Experience FRST e comece sua jornada de aprendizado.',
|
|
25
|
-
mentor: {
|
|
26
|
-
name: 'Gabriela Duarte',
|
|
27
|
-
linkedin: 'urlLinkedin'
|
|
28
|
-
},
|
|
29
|
-
progress: 30,
|
|
30
|
-
action: () => alert('redirect to'),
|
|
31
|
-
notStarted: false,
|
|
32
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/25/Inovacao_Customer_Centric.jpg?AWSAccessKeyId=ASIAYR3BIRGASFQHZ4R3&Signature=wvaGy%2Bv5tRqx%2BdS4eu0uzBKmFZw%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGqz84mztgCLzY6IfrckAYVf3l%2FgLZSqM49QjlkFNeCqAiB2IbSdsnFi9JKsk0g%2Fg8eHPgBNALlrj5JEPn4y5%2FWEhCqLAwhfEAEaDDU4ODA3NzYzMTg3MyIMFS3FcLYdFnHvEr6ZKugCPtUlTfjVs%2B8sbXIyyv1lD0Db7EQuTGYDawHWouNxtwBf7PYIBzcY3upravUZftxsvHb9lGDzCQ3KAjU4R1x4KCERcHHw3UYq5hgFz4nzPQQbGxCcq8IcfalyXFaXnCSwzdFbealGANch%2B8fjmA6HycrYgaoNeIA86KWe%2B9SSgrHReZjIBUtQwUdSI8leapS1mmq5W1jASu%2BTjxKSTAfiOybZ%2FyKms%2B3vK8RJZGihGzPdTKCPhagzHeTd3PvfeUl4xzsVrJLnypq9hc1IqbvMak46AZ5VwO5Tx1XIpFI70GXNZPripwywwn5dy%2FvIYtrL1BPRSY8L9DvxDSbgMPYi0%2BrZHBztdcMbxuK6WSN4wX0en441p30F82PO0gIooCSvrc1GhrzW8FMz5JOLB1Ygk5eTkYcN7imtPvFP4tnG%2Fjo0h0PZ8MRg2khnQuAnfALa8kaDM1mvGRVlxBjb5zpNGeGlLckCwcahMIrTkJoGOp4BcKnXmAfb1x70b5GvEmVUONGx5wTRLlcszjj%2BUaJGGoLuSIMvTetUw9i%2BON8R0hLDlkzX8mn2Esmc%2Fr4PtLt8i%2BrKEA%2BhvNHAy%2FFX4dA87FIblfX79fwztjI1tgAWSfLz9VZFgF7i7fZjbksoVewtHN2NoM3gTMUIVZE6bNiY9Fmsk92DQzAxLvYoO8MkooDfKqRAaXB2B12y7wIt91I%3D&Expires=1665416214',
|
|
33
|
-
labels: {
|
|
34
|
-
mentor: 'Mentor(a)',
|
|
35
|
-
dateStart: 'Data de Início'
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
variant: 'primary',
|
|
40
|
-
name: 'Liderança que Inspira',
|
|
41
|
-
start: '01/01/2021',
|
|
42
|
-
description: 'Mais do que apenas bater metas, o líder inspirador...',
|
|
43
|
-
mentor: {
|
|
44
|
-
name: 'Maria Arrazi',
|
|
45
|
-
linkedin: 'urlLinkedin'
|
|
46
|
-
},
|
|
47
|
-
action: () => alert('redirect to'),
|
|
48
|
-
notStarted: true,
|
|
49
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/25/Inovacao_Customer_Centric.jpg?AWSAccessKeyId=ASIAYR3BIRGASFQHZ4R3&Signature=wvaGy%2Bv5tRqx%2BdS4eu0uzBKmFZw%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGqz84mztgCLzY6IfrckAYVf3l%2FgLZSqM49QjlkFNeCqAiB2IbSdsnFi9JKsk0g%2Fg8eHPgBNALlrj5JEPn4y5%2FWEhCqLAwhfEAEaDDU4ODA3NzYzMTg3MyIMFS3FcLYdFnHvEr6ZKugCPtUlTfjVs%2B8sbXIyyv1lD0Db7EQuTGYDawHWouNxtwBf7PYIBzcY3upravUZftxsvHb9lGDzCQ3KAjU4R1x4KCERcHHw3UYq5hgFz4nzPQQbGxCcq8IcfalyXFaXnCSwzdFbealGANch%2B8fjmA6HycrYgaoNeIA86KWe%2B9SSgrHReZjIBUtQwUdSI8leapS1mmq5W1jASu%2BTjxKSTAfiOybZ%2FyKms%2B3vK8RJZGihGzPdTKCPhagzHeTd3PvfeUl4xzsVrJLnypq9hc1IqbvMak46AZ5VwO5Tx1XIpFI70GXNZPripwywwn5dy%2FvIYtrL1BPRSY8L9DvxDSbgMPYi0%2BrZHBztdcMbxuK6WSN4wX0en441p30F82PO0gIooCSvrc1GhrzW8FMz5JOLB1Ygk5eTkYcN7imtPvFP4tnG%2Fjo0h0PZ8MRg2khnQuAnfALa8kaDM1mvGRVlxBjb5zpNGeGlLckCwcahMIrTkJoGOp4BcKnXmAfb1x70b5GvEmVUONGx5wTRLlcszjj%2BUaJGGoLuSIMvTetUw9i%2BON8R0hLDlkzX8mn2Esmc%2Fr4PtLt8i%2BrKEA%2BhvNHAy%2FFX4dA87FIblfX79fwztjI1tgAWSfLz9VZFgF7i7fZjbksoVewtHN2NoM3gTMUIVZE6bNiY9Fmsk92DQzAxLvYoO8MkooDfKqRAaXB2B12y7wIt91I%3D&Expires=1665416214',
|
|
50
|
-
labels: {
|
|
51
|
-
mentor: 'Mentor(a)',
|
|
52
|
-
dateStart: 'Data de Início'
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
export const primaryMultiple = Template.bind({})
|
|
60
|
-
primaryMultiple.args = {
|
|
61
|
-
marginsArrowButton: 50,
|
|
62
|
-
sizeArrowButton: 80,
|
|
63
|
-
horizontalMarginInternScroll: '50px',
|
|
64
|
-
objectCards: [
|
|
65
|
-
{
|
|
66
|
-
variant: 'primary',
|
|
67
|
-
name: 'Primeiros passos',
|
|
68
|
-
start: '10/10/2022',
|
|
69
|
-
description: 'Entenda como funciona o Agile Learning Experience FRST e comece sua jornada de aprendizado.',
|
|
70
|
-
mentor: {
|
|
71
|
-
name: 'Gabriela Duarte',
|
|
72
|
-
linkedin: 'urlLinkedin'
|
|
73
|
-
},
|
|
74
|
-
progress: 30,
|
|
75
|
-
action: () => alert('redirect to'),
|
|
76
|
-
notStarted: false,
|
|
77
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/25/Inovacao_Customer_Centric.jpg?AWSAccessKeyId=ASIAYR3BIRGASFQHZ4R3&Signature=wvaGy%2Bv5tRqx%2BdS4eu0uzBKmFZw%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGqz84mztgCLzY6IfrckAYVf3l%2FgLZSqM49QjlkFNeCqAiB2IbSdsnFi9JKsk0g%2Fg8eHPgBNALlrj5JEPn4y5%2FWEhCqLAwhfEAEaDDU4ODA3NzYzMTg3MyIMFS3FcLYdFnHvEr6ZKugCPtUlTfjVs%2B8sbXIyyv1lD0Db7EQuTGYDawHWouNxtwBf7PYIBzcY3upravUZftxsvHb9lGDzCQ3KAjU4R1x4KCERcHHw3UYq5hgFz4nzPQQbGxCcq8IcfalyXFaXnCSwzdFbealGANch%2B8fjmA6HycrYgaoNeIA86KWe%2B9SSgrHReZjIBUtQwUdSI8leapS1mmq5W1jASu%2BTjxKSTAfiOybZ%2FyKms%2B3vK8RJZGihGzPdTKCPhagzHeTd3PvfeUl4xzsVrJLnypq9hc1IqbvMak46AZ5VwO5Tx1XIpFI70GXNZPripwywwn5dy%2FvIYtrL1BPRSY8L9DvxDSbgMPYi0%2BrZHBztdcMbxuK6WSN4wX0en441p30F82PO0gIooCSvrc1GhrzW8FMz5JOLB1Ygk5eTkYcN7imtPvFP4tnG%2Fjo0h0PZ8MRg2khnQuAnfALa8kaDM1mvGRVlxBjb5zpNGeGlLckCwcahMIrTkJoGOp4BcKnXmAfb1x70b5GvEmVUONGx5wTRLlcszjj%2BUaJGGoLuSIMvTetUw9i%2BON8R0hLDlkzX8mn2Esmc%2Fr4PtLt8i%2BrKEA%2BhvNHAy%2FFX4dA87FIblfX79fwztjI1tgAWSfLz9VZFgF7i7fZjbksoVewtHN2NoM3gTMUIVZE6bNiY9Fmsk92DQzAxLvYoO8MkooDfKqRAaXB2B12y7wIt91I%3D&Expires=1665416214',
|
|
78
|
-
labels: {
|
|
79
|
-
mentor: 'Mentor(a)',
|
|
80
|
-
dateStart: 'Data de Início'
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
variant: 'primary',
|
|
85
|
-
name: 'Liderança que Inspira',
|
|
86
|
-
start: '01/01/2021',
|
|
87
|
-
description: 'Mais do que apenas bater metas, o líder inspirador...',
|
|
88
|
-
mentor: {
|
|
89
|
-
name: 'Maria Arrazi',
|
|
90
|
-
linkedin: 'urlLinkedin'
|
|
91
|
-
},
|
|
92
|
-
action: () => alert('redirect to'),
|
|
93
|
-
notStarted: true,
|
|
94
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/25/Inovacao_Customer_Centric.jpg?AWSAccessKeyId=ASIAYR3BIRGASFQHZ4R3&Signature=wvaGy%2Bv5tRqx%2BdS4eu0uzBKmFZw%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGqz84mztgCLzY6IfrckAYVf3l%2FgLZSqM49QjlkFNeCqAiB2IbSdsnFi9JKsk0g%2Fg8eHPgBNALlrj5JEPn4y5%2FWEhCqLAwhfEAEaDDU4ODA3NzYzMTg3MyIMFS3FcLYdFnHvEr6ZKugCPtUlTfjVs%2B8sbXIyyv1lD0Db7EQuTGYDawHWouNxtwBf7PYIBzcY3upravUZftxsvHb9lGDzCQ3KAjU4R1x4KCERcHHw3UYq5hgFz4nzPQQbGxCcq8IcfalyXFaXnCSwzdFbealGANch%2B8fjmA6HycrYgaoNeIA86KWe%2B9SSgrHReZjIBUtQwUdSI8leapS1mmq5W1jASu%2BTjxKSTAfiOybZ%2FyKms%2B3vK8RJZGihGzPdTKCPhagzHeTd3PvfeUl4xzsVrJLnypq9hc1IqbvMak46AZ5VwO5Tx1XIpFI70GXNZPripwywwn5dy%2FvIYtrL1BPRSY8L9DvxDSbgMPYi0%2BrZHBztdcMbxuK6WSN4wX0en441p30F82PO0gIooCSvrc1GhrzW8FMz5JOLB1Ygk5eTkYcN7imtPvFP4tnG%2Fjo0h0PZ8MRg2khnQuAnfALa8kaDM1mvGRVlxBjb5zpNGeGlLckCwcahMIrTkJoGOp4BcKnXmAfb1x70b5GvEmVUONGx5wTRLlcszjj%2BUaJGGoLuSIMvTetUw9i%2BON8R0hLDlkzX8mn2Esmc%2Fr4PtLt8i%2BrKEA%2BhvNHAy%2FFX4dA87FIblfX79fwztjI1tgAWSfLz9VZFgF7i7fZjbksoVewtHN2NoM3gTMUIVZE6bNiY9Fmsk92DQzAxLvYoO8MkooDfKqRAaXB2B12y7wIt91I%3D&Expires=1665416214',
|
|
95
|
-
labels: {
|
|
96
|
-
mentor: 'Mentor(a)',
|
|
97
|
-
dateStart: 'Data de Início'
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
variant: 'primary',
|
|
102
|
-
name: 'Design-Driven Innovation',
|
|
103
|
-
start: '10/10/2022',
|
|
104
|
-
description: 'Entenda como funciona o Agile Learning Experience FRST e comece sua jornada de aprendizado.',
|
|
105
|
-
mentor: {
|
|
106
|
-
name: 'Diego Silverio',
|
|
107
|
-
linkedin: 'urlLinkedin'
|
|
108
|
-
},
|
|
109
|
-
action: () => alert('redirect to'),
|
|
110
|
-
notStarted: true,
|
|
111
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/14/DESIGN-DRIVEN_INNOVATION.jpg?AWSAccessKeyId=ASIAYR3BIRGA7XQ6PKZC&Signature=wWEmx%2BMM%2FubHeWPoUn0n%2FehafOA%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJn%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIHpIo4d7ZoyjzmqbBJSh%2Flsc5QMh6fxmzoyBaezwosiHAiEAw7Rf%2Fh%2Fk3iZEwd24lxhkHTPlhcRZIbJ4NxoMbn9KnMAqiwMIYhABGgw1ODgwNzc2MzE4NzMiDKjzDmspIQFnyTAX6yroAtX5iHwWKfrJLcJxjxcC6a%2BFT%2FBhqrnranep0jUbKQ8D06hlGH7%2BPZMVkSa%2BZf0%2FMZ3WZePjTy29M86MXeg%2BBSIAXaCpOcynItE%2BSS6EC%2BIzdatMgpsHc9EHjrrybVsbmX%2FF0RbJWCk2ge%2FpussLZQb3irIiMkfQZ1LAyXy50FcJHoHPfJVYnhWoOcZ%2FAUIbGAJ0u9DXOY0FVJcnB%2FgfnGzrCxLTkurgGfIZjnzKZx6x3U85zi0emHUaV7s%2FG5tjHltrHnElxChaYna2k%2FmNr5WgSLKo09dGGsott4SM03wc5AwQuIbaHyqd4yva10%2FEkA7dGhQZC2UGlcaCxxr83sRcsYmkDZASQWi1iuLIpwT8V5Gx8JmSTMKQSnVsTUDMCXisJfdcOW2s4UsXfxCMCSnokLd28vfZEdjb1%2Fb4uWiLAebFcR3LNevNFMxZB%2FLn2Fk0svMQoUiBMSjVgCmeabnkjv%2FUu3ZPczDvmpGaBjqdAUJCHxYq%2F%2BwWV9dy3pbLQS6P2Lz92QHxq6hdB5we4MuOPiMKaQR0uSPW0rC7xxBDVszlagalKqDiFTGhVGvT1rn5pjulZ7e0QQpF48%2BnIW89ZvFtXIPTtAsnKOl%2BAQ%2F3LnL0%2FB3AnL8AbKohr6yv4miRRj6WsKIwE8U1zY%2F5LjImSJ0E5dBjCFPoip6M%2BdIs1TGw8%2BYOgvq2M6N5fLs%3D&Expires=1665430971',
|
|
112
|
-
labels: {
|
|
113
|
-
mentor: 'Mentor(a)',
|
|
114
|
-
dateStart: 'Data de Início'
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
variant: 'primary',
|
|
119
|
-
name: 'Liderança que Inspira',
|
|
120
|
-
start: '01/01/2021',
|
|
121
|
-
description: 'Mais do que apenas bater metas, o líder inspirador...',
|
|
122
|
-
mentor: {
|
|
123
|
-
name: 'Maria Arrazi',
|
|
124
|
-
linkedin: 'urlLinkedin'
|
|
125
|
-
},
|
|
126
|
-
action: () => alert('redirect to'),
|
|
127
|
-
notStarted: true,
|
|
128
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/25/Inovacao_Customer_Centric.jpg?AWSAccessKeyId=ASIAYR3BIRGASFQHZ4R3&Signature=wvaGy%2Bv5tRqx%2BdS4eu0uzBKmFZw%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIGqz84mztgCLzY6IfrckAYVf3l%2FgLZSqM49QjlkFNeCqAiB2IbSdsnFi9JKsk0g%2Fg8eHPgBNALlrj5JEPn4y5%2FWEhCqLAwhfEAEaDDU4ODA3NzYzMTg3MyIMFS3FcLYdFnHvEr6ZKugCPtUlTfjVs%2B8sbXIyyv1lD0Db7EQuTGYDawHWouNxtwBf7PYIBzcY3upravUZftxsvHb9lGDzCQ3KAjU4R1x4KCERcHHw3UYq5hgFz4nzPQQbGxCcq8IcfalyXFaXnCSwzdFbealGANch%2B8fjmA6HycrYgaoNeIA86KWe%2B9SSgrHReZjIBUtQwUdSI8leapS1mmq5W1jASu%2BTjxKSTAfiOybZ%2FyKms%2B3vK8RJZGihGzPdTKCPhagzHeTd3PvfeUl4xzsVrJLnypq9hc1IqbvMak46AZ5VwO5Tx1XIpFI70GXNZPripwywwn5dy%2FvIYtrL1BPRSY8L9DvxDSbgMPYi0%2BrZHBztdcMbxuK6WSN4wX0en441p30F82PO0gIooCSvrc1GhrzW8FMz5JOLB1Ygk5eTkYcN7imtPvFP4tnG%2Fjo0h0PZ8MRg2khnQuAnfALa8kaDM1mvGRVlxBjb5zpNGeGlLckCwcahMIrTkJoGOp4BcKnXmAfb1x70b5GvEmVUONGx5wTRLlcszjj%2BUaJGGoLuSIMvTetUw9i%2BON8R0hLDlkzX8mn2Esmc%2Fr4PtLt8i%2BrKEA%2BhvNHAy%2FFX4dA87FIblfX79fwztjI1tgAWSfLz9VZFgF7i7fZjbksoVewtHN2NoM3gTMUIVZE6bNiY9Fmsk92DQzAxLvYoO8MkooDfKqRAaXB2B12y7wIt91I%3D&Expires=1665416214',
|
|
129
|
-
labels: {
|
|
130
|
-
mentor: 'Mentor(a)',
|
|
131
|
-
dateStart: 'Data de Início'
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
variant: 'primary',
|
|
136
|
-
name: 'Design-Driven Innovation',
|
|
137
|
-
start: '10/10/2022',
|
|
138
|
-
description: 'Entenda como funciona o Agile Learning Experience FRST e comece sua jornada de aprendizado.',
|
|
139
|
-
mentor: {
|
|
140
|
-
name: 'Diego Silverio',
|
|
141
|
-
linkedin: 'urlLinkedin'
|
|
142
|
-
},
|
|
143
|
-
action: () => alert('redirect to'),
|
|
144
|
-
notStarted: true,
|
|
145
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/14/DESIGN-DRIVEN_INNOVATION.jpg?AWSAccessKeyId=ASIAYR3BIRGA7XQ6PKZC&Signature=wWEmx%2BMM%2FubHeWPoUn0n%2FehafOA%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEJn%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCIHpIo4d7ZoyjzmqbBJSh%2Flsc5QMh6fxmzoyBaezwosiHAiEAw7Rf%2Fh%2Fk3iZEwd24lxhkHTPlhcRZIbJ4NxoMbn9KnMAqiwMIYhABGgw1ODgwNzc2MzE4NzMiDKjzDmspIQFnyTAX6yroAtX5iHwWKfrJLcJxjxcC6a%2BFT%2FBhqrnranep0jUbKQ8D06hlGH7%2BPZMVkSa%2BZf0%2FMZ3WZePjTy29M86MXeg%2BBSIAXaCpOcynItE%2BSS6EC%2BIzdatMgpsHc9EHjrrybVsbmX%2FF0RbJWCk2ge%2FpussLZQb3irIiMkfQZ1LAyXy50FcJHoHPfJVYnhWoOcZ%2FAUIbGAJ0u9DXOY0FVJcnB%2FgfnGzrCxLTkurgGfIZjnzKZx6x3U85zi0emHUaV7s%2FG5tjHltrHnElxChaYna2k%2FmNr5WgSLKo09dGGsott4SM03wc5AwQuIbaHyqd4yva10%2FEkA7dGhQZC2UGlcaCxxr83sRcsYmkDZASQWi1iuLIpwT8V5Gx8JmSTMKQSnVsTUDMCXisJfdcOW2s4UsXfxCMCSnokLd28vfZEdjb1%2Fb4uWiLAebFcR3LNevNFMxZB%2FLn2Fk0svMQoUiBMSjVgCmeabnkjv%2FUu3ZPczDvmpGaBjqdAUJCHxYq%2F%2BwWV9dy3pbLQS6P2Lz92QHxq6hdB5we4MuOPiMKaQR0uSPW0rC7xxBDVszlagalKqDiFTGhVGvT1rn5pjulZ7e0QQpF48%2BnIW89ZvFtXIPTtAsnKOl%2BAQ%2F3LnL0%2FB3AnL8AbKohr6yv4miRRj6WsKIwE8U1zY%2F5LjImSJ0E5dBjCFPoip6M%2BdIs1TGw8%2BYOgvq2M6N5fLs%3D&Expires=1665430971',
|
|
146
|
-
labels: {
|
|
147
|
-
mentor: 'Mentor(a)',
|
|
148
|
-
dateStart: 'Data de Início'
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
]
|
|
152
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React,{ useState, useEffect } from 'react'
|
|
2
|
-
import '../../shared/global.css'
|
|
3
|
-
import { ThemeProvider } from 'styled-components'
|
|
4
|
-
import { FRSTTheme } from '../../theme'
|
|
5
|
-
import {ICardTrailCarolsel} from './cardsTrailsCarousel'
|
|
6
|
-
|
|
7
|
-
import ScrollContainer from '@components/scroll-container'
|
|
8
|
-
import CardTrail from '@components/card-trail'
|
|
9
|
-
|
|
10
|
-
export default function CardTrailCarousel({ objectCards, marginsArrowButton, move, isVisibleButtons,
|
|
11
|
-
sizeArrowButton, horizontalMarginInternScroll, positionArrowButton, marginTopArrrowButton, label }: ICardTrailCarolsel ) {
|
|
12
|
-
|
|
13
|
-
function renderCard(item, index) {
|
|
14
|
-
|
|
15
|
-
return <CardTrail
|
|
16
|
-
key={index}
|
|
17
|
-
variant={item.variant}
|
|
18
|
-
name={item.name}
|
|
19
|
-
progress={item.progress}
|
|
20
|
-
start={item.start}
|
|
21
|
-
description={item.description}
|
|
22
|
-
mentor={item.mentor}
|
|
23
|
-
action={item.action}
|
|
24
|
-
notStarted={item.notStarted}
|
|
25
|
-
bannerImage={item.bannerImage}
|
|
26
|
-
labels={label ? label : { mentor: 'Mentor(a)', dateStart: "Data de Início"}}
|
|
27
|
-
/>
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return (
|
|
31
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
32
|
-
<ScrollContainer
|
|
33
|
-
stepMove={move ? move : 380}
|
|
34
|
-
isVisibleControlsButtons={isVisibleButtons}
|
|
35
|
-
sizeArrowButton={sizeArrowButton}
|
|
36
|
-
marginsArrowButton={marginsArrowButton}
|
|
37
|
-
horizontalMarginInternScroll={horizontalMarginInternScroll}
|
|
38
|
-
positionArrowButton={positionArrowButton ? positionArrowButton : ''}
|
|
39
|
-
marginTopArrrowButton={marginTopArrrowButton ? marginTopArrrowButton :'20px'}
|
|
40
|
-
>
|
|
41
|
-
<div>
|
|
42
|
-
{ objectCards.map(renderCard) }
|
|
43
|
-
</div>
|
|
44
|
-
</ScrollContainer>
|
|
45
|
-
</ThemeProvider>
|
|
46
|
-
)
|
|
47
|
-
}
|
|
@@ -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
|
-
/* width: 100%; */
|
|
5
|
-
height: fit-content;
|
|
6
|
-
padding: 4px 16px 4px 4px;
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
|
|
11
|
-
border: 1px solid #BDBDBD;
|
|
12
|
-
border-radius: 25px;
|
|
13
|
-
background-color: #FFF;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
|
|
16
|
-
flex-direction: row;
|
|
17
|
-
flex-wrap: nowrap;
|
|
18
|
-
font-family: 'Work Sans';
|
|
19
|
-
flex-wrap: wrap;
|
|
20
|
-
}
|
|
@@ -1,18 +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
|
-
}
|
|
@@ -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, marginLeft: 8, marginRight: 4}}>{props.nomeCompleto}</span> {props.cargo ? <Vector /> : ''} <span style={{fontWeight:400, marginLeft: 4, marginRight: 8, textAlign: 'center'}}>{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
|
-
}
|