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,121 +0,0 @@
|
|
|
1
|
-
import { style } from '@mui/system'
|
|
2
|
-
import styled from 'styled-components'
|
|
3
|
-
|
|
4
|
-
interface ISpeechBubble {
|
|
5
|
-
height?:string,
|
|
6
|
-
width?:string,
|
|
7
|
-
highlight?: boolean,
|
|
8
|
-
flap?: string
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const SpeechBubbleWrapper = styled.div<ISpeechBubble>`
|
|
12
|
-
width: ${props => props.width ? props.width : "100%"};
|
|
13
|
-
height: ${props => props.height ? props.height : "auto"};
|
|
14
|
-
min-height: 20px
|
|
15
|
-
`
|
|
16
|
-
|
|
17
|
-
export const SpeechBubble = styled.div<ISpeechBubble>`
|
|
18
|
-
width: auto;
|
|
19
|
-
height: inherit;
|
|
20
|
-
min-height: 20px;
|
|
21
|
-
background-color: ${({theme}) => theme.colors.shadeWhite};
|
|
22
|
-
border: 1px solid ${ ({highlight, theme}) => highlight ? theme.colors.primary1 : theme.colors.neutralsGrey4 };
|
|
23
|
-
|
|
24
|
-
border-radius: ${ (props:any) => getStyleValuesBorder(props) };
|
|
25
|
-
margin-left: 12px;
|
|
26
|
-
`
|
|
27
|
-
|
|
28
|
-
const getStyleValuesBorder = (props: any) => {
|
|
29
|
-
switch (props.flap) {
|
|
30
|
-
case 'left-top':
|
|
31
|
-
return '0 4px 4px 4px;'
|
|
32
|
-
|
|
33
|
-
case 'left-bottom':
|
|
34
|
-
return '4px 4px 4px 0;'
|
|
35
|
-
|
|
36
|
-
default:
|
|
37
|
-
return '0 4px 4px 4px;'
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export const Flap = styled.div<ISpeechBubble>`
|
|
43
|
-
position: absolute;
|
|
44
|
-
width: 0px;
|
|
45
|
-
height: inherit;
|
|
46
|
-
min-height: 20px;
|
|
47
|
-
background-color: black;
|
|
48
|
-
z-index: 2;
|
|
49
|
-
|
|
50
|
-
${ (props:any) => getStylePositionFlap(props) };
|
|
51
|
-
|
|
52
|
-
`
|
|
53
|
-
|
|
54
|
-
const getStylePositionFlap = (props: any) => {
|
|
55
|
-
switch (props.flap) {
|
|
56
|
-
case 'left-top':
|
|
57
|
-
return StyleFlapLeftTop(props)
|
|
58
|
-
|
|
59
|
-
case 'left-bottom':
|
|
60
|
-
return StyleFlapLeftBottom(props)
|
|
61
|
-
|
|
62
|
-
default:
|
|
63
|
-
return StyleFlapLeftTop(props)
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
const StyleFlapLeftTop = (props: any) => {
|
|
68
|
-
let fill = props.theme.colors.shadeWhite
|
|
69
|
-
let border = props.highlight ? props.theme.colors.primary1 : props.theme.colors.neutralsGrey4
|
|
70
|
-
|
|
71
|
-
return (
|
|
72
|
-
`&:before {
|
|
73
|
-
content: "";
|
|
74
|
-
position: relative;
|
|
75
|
-
top: 12px;
|
|
76
|
-
left: 4px;
|
|
77
|
-
border-top: 12px solid ${border};
|
|
78
|
-
border-bottom: 0px solid transparent;
|
|
79
|
-
border-left: 8px solid transparent;
|
|
80
|
-
border-right: 0px solid transparent;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&:after {
|
|
84
|
-
content: "";
|
|
85
|
-
position: relative;
|
|
86
|
-
top: 13px;
|
|
87
|
-
left: -2px;
|
|
88
|
-
border-top: 12px solid ${fill};
|
|
89
|
-
border-bottom: 0px solid transparent;
|
|
90
|
-
border-left: 8px solid transparent;
|
|
91
|
-
border-right: 0px solid transparent;
|
|
92
|
-
}`)
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
const StyleFlapLeftBottom = (props: any) => {
|
|
96
|
-
let fill = props.theme.colors.shadeWhite
|
|
97
|
-
let border = props.highlight ? props.theme.colors.primary1 : props.theme.colors.neutralsGrey4
|
|
98
|
-
|
|
99
|
-
return (
|
|
100
|
-
`&:before {
|
|
101
|
-
content: "";
|
|
102
|
-
position: absolute;
|
|
103
|
-
bottom: 0px;
|
|
104
|
-
left: 4px;
|
|
105
|
-
border-top: 0px solid transparent;
|
|
106
|
-
border-bottom: 12px solid ${border};
|
|
107
|
-
border-left: 8px solid transparent;
|
|
108
|
-
border-right: 0px solid transparent;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&:after {
|
|
112
|
-
content: "";
|
|
113
|
-
position: absolute;
|
|
114
|
-
bottom: 1px;
|
|
115
|
-
left: 6px;
|
|
116
|
-
border-top: 0px solid transparent;
|
|
117
|
-
border-bottom: 12px solid ${fill};
|
|
118
|
-
border-left: 8px solid transparent;
|
|
119
|
-
border-right: 0px solid transparent;
|
|
120
|
-
}`)
|
|
121
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import '../../shared/global.css'
|
|
2
|
-
import { ThemeProvider } from 'styled-components'
|
|
3
|
-
import { FRSTTheme } from '../../theme'
|
|
4
|
-
import { CardWrapper, WrapperHeader, TitleCard, WrapperFooter, AvatarInternal, WrapperAvatar, ButtonMore} from './stepCardStyles'
|
|
5
|
-
import { IStepCard } from './stepCard'
|
|
6
|
-
|
|
7
|
-
import { Bullseye } from '@shared/icons'
|
|
8
|
-
|
|
9
|
-
import Avatar from '@components/avatar'
|
|
10
|
-
|
|
11
|
-
export default function StepCard({ title, onClick, numberPeople, textButtonMore, active, src, width }: IStepCard) {
|
|
12
|
-
return (
|
|
13
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
14
|
-
<CardWrapper active={active} onClick={onClick} width={width}>
|
|
15
|
-
<WrapperHeader>
|
|
16
|
-
<Bullseye/>
|
|
17
|
-
<TitleCard>{title}</TitleCard>
|
|
18
|
-
</WrapperHeader>
|
|
19
|
-
<WrapperFooter>
|
|
20
|
-
<WrapperAvatar>
|
|
21
|
-
{ numberPeople > 0 ? (
|
|
22
|
-
<AvatarInternal size={'30px'} zIndex={'1'} margin={'0 0 0 0px'}>
|
|
23
|
-
<Avatar size={'28px'} src={src && src.length > 0 ? src[0] : null}/>
|
|
24
|
-
</AvatarInternal>) : (null)}
|
|
25
|
-
|
|
26
|
-
{ numberPeople > 1 ? (
|
|
27
|
-
<AvatarInternal size={'30px'} zIndex={'2'} margin={'0 0 0 -10px'}>
|
|
28
|
-
<Avatar size={'28px'} src={src && src.length > 0 ? src[1] : null}/>
|
|
29
|
-
</AvatarInternal>) : (null)}
|
|
30
|
-
|
|
31
|
-
{ numberPeople > 2 ? (
|
|
32
|
-
<AvatarInternal size={'30px'} zIndex={'3'} margin={'0 0 0 -10px'}>
|
|
33
|
-
<Avatar size={'28px'} src={src && src.length > 0 ? src[2] : null}/>
|
|
34
|
-
</AvatarInternal>) : (null)}
|
|
35
|
-
|
|
36
|
-
{ (numberPeople-3) > 0 ? (
|
|
37
|
-
<AvatarInternal size={'30px'} zIndex={'4'} margin={'0 0 0 -10px'} backgroundColor={'#E8E8E8'} padding={'2px 0 0 0'}>
|
|
38
|
-
+{numberPeople-3 > 99 ? 99 : numberPeople-3}
|
|
39
|
-
</AvatarInternal>) : (null)}
|
|
40
|
-
</WrapperAvatar>
|
|
41
|
-
<ButtonMore>
|
|
42
|
-
{textButtonMore}
|
|
43
|
-
</ButtonMore>
|
|
44
|
-
</WrapperFooter>
|
|
45
|
-
</CardWrapper>
|
|
46
|
-
</ThemeProvider>
|
|
47
|
-
)
|
|
48
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import StepCard from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Learning Tech/StepCard',
|
|
8
|
-
component: StepCard,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <StepCard {...args} />
|
|
13
|
-
|
|
14
|
-
export const normal = Template.bind({})
|
|
15
|
-
normal.args = {
|
|
16
|
-
title: "0. Não iniciou",
|
|
17
|
-
onClick: (e : any) => { alert("StepCard")},
|
|
18
|
-
numberPeople: 15,
|
|
19
|
-
className: null,
|
|
20
|
-
textButtonMore: 'Ver mais',
|
|
21
|
-
active: false,
|
|
22
|
-
src: ['https://i.pinimg.com/474x/2b/27/2f/2b272f528c3e14054436edd0d8bd2a26.jpg',
|
|
23
|
-
'https://i.pinimg.com/474x/2b/27/2f/2b272f528c3e14054436edd0d8bd2a26.jpg',
|
|
24
|
-
'https://i.pinimg.com/474x/2b/27/2f/2b272f528c3e14054436edd0d8bd2a26.jpg'],
|
|
25
|
-
width: '343px'
|
|
26
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
|
|
3
|
-
interface ICardWrapper {
|
|
4
|
-
active?: boolean,
|
|
5
|
-
width?: string
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
interface IAvatarInternal {
|
|
10
|
-
size?: string,
|
|
11
|
-
zIndex?: string,
|
|
12
|
-
margin?: string,
|
|
13
|
-
padding?: string,
|
|
14
|
-
backgroundColor?: string
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export const CardWrapper = styled.div<ICardWrapper>`
|
|
18
|
-
min-width: ${({width}) => width ? width : '343px'};
|
|
19
|
-
min-height: 136px;
|
|
20
|
-
max-width: ${({width}) => width ? width : '343px'};;
|
|
21
|
-
max-height: 136px;
|
|
22
|
-
border-radius: 8px;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
background-color: ${({ theme }) => theme.colors.neutralsGrey8};
|
|
26
|
-
border: 1px solid #E8E8E8;
|
|
27
|
-
|
|
28
|
-
${({ active }) => active === true && `
|
|
29
|
-
background-color: #FDBC91;
|
|
30
|
-
border: 1px solid #FF4D0D;
|
|
31
|
-
`}
|
|
32
|
-
padding: 24px;
|
|
33
|
-
margin: 15px;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
`
|
|
36
|
-
|
|
37
|
-
export const WrapperHeader = styled.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
flex-diretion: row;
|
|
40
|
-
padding-left: 3.2px;
|
|
41
|
-
`
|
|
42
|
-
|
|
43
|
-
export const TitleCard = styled.div`
|
|
44
|
-
font-family: 'Work Sans';
|
|
45
|
-
font-style: normal;
|
|
46
|
-
font-weight: 700;
|
|
47
|
-
font-size: 16px;
|
|
48
|
-
line-height: 19px;
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
|
|
52
|
-
color: #222222;
|
|
53
|
-
margin-left: 11.2px;
|
|
54
|
-
`
|
|
55
|
-
|
|
56
|
-
export const WrapperFooter = styled.div`
|
|
57
|
-
margin-top: 27px;
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: row;
|
|
60
|
-
justify-content: space-between;
|
|
61
|
-
align-items: center;
|
|
62
|
-
`
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
export const WrapperAvatar = styled.div`
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: row;
|
|
68
|
-
align-items: end;
|
|
69
|
-
`
|
|
70
|
-
|
|
71
|
-
export const AvatarInternal = styled.div<IAvatarInternal>`
|
|
72
|
-
box-sizing: border-box;
|
|
73
|
-
display: flex;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
align-items: center;
|
|
76
|
-
min-width: ${({ size }) => size };
|
|
77
|
-
min-height: ${({ size }) => size };
|
|
78
|
-
max-width: ${({ size }) => size };
|
|
79
|
-
max-height: ${({ size }) => size };
|
|
80
|
-
|
|
81
|
-
border: 2px solid #FAFAFA;
|
|
82
|
-
border-radius: 50%;
|
|
83
|
-
margin: ${({ margin }) => margin };
|
|
84
|
-
padding: ${({ padding }) => padding };
|
|
85
|
-
z-index: ${({ zIndex }) => zIndex };
|
|
86
|
-
background: ${({ backgroundColor }) => backgroundColor ? backgroundColor : '#FAFAFA' };
|
|
87
|
-
|
|
88
|
-
font-family: 'Work Sans';
|
|
89
|
-
font-style: normal;
|
|
90
|
-
font-weight: 700;
|
|
91
|
-
font-size: 12px;
|
|
92
|
-
line-height: 14px;
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
text-align: center;
|
|
96
|
-
|
|
97
|
-
`
|
|
98
|
-
|
|
99
|
-
export const ButtonMore = styled.div`
|
|
100
|
-
font-family: 'Work Sans';
|
|
101
|
-
font-style: normal;
|
|
102
|
-
font-weight: 700;
|
|
103
|
-
font-size: 16px;
|
|
104
|
-
line-height: 19px;
|
|
105
|
-
|
|
106
|
-
color: #0645AD;
|
|
107
|
-
cursor: pointer;
|
|
108
|
-
margin-right: 4px;
|
|
109
|
-
`
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import Tag from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Base/Tag',
|
|
8
|
-
component: Tag
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <Tag {...args} />
|
|
13
|
-
|
|
14
|
-
export const loading = Template.bind({})
|
|
15
|
-
loading.args = {
|
|
16
|
-
loading: true,
|
|
17
|
-
inverted: false,
|
|
18
|
-
selected: false,
|
|
19
|
-
color: '#000',
|
|
20
|
-
title: 'Titulo Tag',
|
|
21
|
-
onClick: () => {}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const normal = Template.bind({})
|
|
25
|
-
normal.args = {
|
|
26
|
-
loading: false,
|
|
27
|
-
inverted: false,
|
|
28
|
-
selected: false,
|
|
29
|
-
color: '#000',
|
|
30
|
-
title: 'Titulo Tag',
|
|
31
|
-
onClick: () => {}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export const inverted = Template.bind({})
|
|
35
|
-
inverted.args = {
|
|
36
|
-
loading: false,
|
|
37
|
-
inverted: true,
|
|
38
|
-
selected: false,
|
|
39
|
-
color: '#000',
|
|
40
|
-
title: 'Titulo Tag',
|
|
41
|
-
onClick: () => {}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export const colored = Template.bind({})
|
|
45
|
-
colored.args = {
|
|
46
|
-
loading: false,
|
|
47
|
-
inverted: false,
|
|
48
|
-
selected: false,
|
|
49
|
-
color: '#FF0000',
|
|
50
|
-
title: 'Titulo Tag',
|
|
51
|
-
onClick: () => console.log('Clicou na tag')
|
|
52
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import '../../shared/global.css'
|
|
2
|
-
import { DoubleCheck, AlertCicle } from '@shared/icons'
|
|
3
|
-
|
|
4
|
-
type iconStatus = 'warning' | 'checked'
|
|
5
|
-
|
|
6
|
-
interface TagProps {
|
|
7
|
-
title: string
|
|
8
|
-
color: string
|
|
9
|
-
loading?: boolean
|
|
10
|
-
selected: boolean
|
|
11
|
-
inverted: boolean
|
|
12
|
-
iconType?: iconStatus
|
|
13
|
-
onClick?: () => void
|
|
14
|
-
/**
|
|
15
|
-
* @prop {React.CSSProperties} style: Styles de CSS adicional
|
|
16
|
-
*/
|
|
17
|
-
style?: React.CSSProperties
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export default function Tag(props: TagProps) {
|
|
21
|
-
function getBG() {
|
|
22
|
-
return props.selected === props.inverted ? props.color : '#fff'
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function getColor() {
|
|
26
|
-
return props.selected === props.inverted ? '#fff' : props.color
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<>
|
|
31
|
-
{props.loading ? (
|
|
32
|
-
<div className="shimmer tag" style={props.style}>
|
|
33
|
-
<span style={{ verticalAlign: 'middle', margin: '8px' }}>Shimmer Text</span>
|
|
34
|
-
</div>
|
|
35
|
-
) : (
|
|
36
|
-
<div
|
|
37
|
-
className="tag"
|
|
38
|
-
style={{ border: `1px solid ${getColor()} `, background: getBG(), color: getColor(), ...props.style }}
|
|
39
|
-
>
|
|
40
|
-
<span
|
|
41
|
-
style={{
|
|
42
|
-
display: 'flex',
|
|
43
|
-
justifyContent: 'center',
|
|
44
|
-
alignItems: 'center',
|
|
45
|
-
height: '24px',
|
|
46
|
-
margin: '0 8px',
|
|
47
|
-
gap: '8px'
|
|
48
|
-
}}
|
|
49
|
-
onClick={props?.onClick}
|
|
50
|
-
>
|
|
51
|
-
{props.title}
|
|
52
|
-
{props.iconType === 'warning' && <AlertCicle fill={getColor()} />}
|
|
53
|
-
{props.iconType === 'checked' && <DoubleCheck fill={getColor()} />}
|
|
54
|
-
</span>
|
|
55
|
-
</div>
|
|
56
|
-
)}
|
|
57
|
-
</>
|
|
58
|
-
)
|
|
59
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import '../../shared/global.css'
|
|
2
|
-
import { ThemeProvider } from 'styled-components'
|
|
3
|
-
import { FRSTTheme } from '../../theme'
|
|
4
|
-
import { CardWrapper, TitleCard, AreaCounter, TotalText, TotalNumber, PartialNumber, TitleCardLoading, TotalLoading } from './totalizerCardStyles'
|
|
5
|
-
import { ITotalizerCard } from './totalizerCard'
|
|
6
|
-
|
|
7
|
-
export default function TotalizerCard({ titleCard, textTotal, numberTotal, numberPartial, loading, className, hasShadow, styles }: ITotalizerCard) {
|
|
8
|
-
return (
|
|
9
|
-
<ThemeProvider theme={FRSTTheme}>
|
|
10
|
-
<CardWrapper hasShadow={hasShadow} style={{...styles}}>
|
|
11
|
-
{ loading ?
|
|
12
|
-
<TitleCardLoading className='shimmer'/>
|
|
13
|
-
:
|
|
14
|
-
<TitleCard> { titleCard } </TitleCard>
|
|
15
|
-
}
|
|
16
|
-
{ loading ?
|
|
17
|
-
<TotalLoading className='shimmer'/> :
|
|
18
|
-
<AreaCounter>
|
|
19
|
-
<TotalText> { textTotal } </TotalText>
|
|
20
|
-
<div style={{display: 'flex', flexDirection:'row', alignItems: 'baseline', marginBottom: '16px'}}>
|
|
21
|
-
<TotalNumber> { numberTotal } </TotalNumber>
|
|
22
|
-
{ numberPartial && <PartialNumber>/{ numberPartial } </PartialNumber>}
|
|
23
|
-
</div>
|
|
24
|
-
</AreaCounter>
|
|
25
|
-
}
|
|
26
|
-
</CardWrapper>
|
|
27
|
-
</ThemeProvider>
|
|
28
|
-
)
|
|
29
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import TotalizerCard from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Learning Tech/Totalizer Card',
|
|
8
|
-
component: TotalizerCard,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <TotalizerCard {...args} />
|
|
13
|
-
|
|
14
|
-
export const normal = Template.bind({})
|
|
15
|
-
normal.args = {
|
|
16
|
-
titleCard: 'Alunos',
|
|
17
|
-
textTotal: 'Total',
|
|
18
|
-
numberTotal: 410,
|
|
19
|
-
loading: false,
|
|
20
|
-
className: 'opa',
|
|
21
|
-
styles: { width: '180px'},
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const withPartialNumberAndShade= Template.bind({})
|
|
25
|
-
withPartialNumberAndShade.args = {
|
|
26
|
-
titleCard: 'Licenças operadas',
|
|
27
|
-
textTotal: 'Total',
|
|
28
|
-
numberTotal: 410,
|
|
29
|
-
numberPartial: 420,
|
|
30
|
-
hasShadow: true,
|
|
31
|
-
loading: false,
|
|
32
|
-
className: 'opa',
|
|
33
|
-
styles: { width: '180px'},
|
|
34
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
|
|
3
|
-
interface AvatarI {
|
|
4
|
-
size?: string,
|
|
5
|
-
src?: any,
|
|
6
|
-
disabled?: boolean,
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const AvatarImg = styled.img<AvatarI>`
|
|
10
|
-
width: ${props => props.size || '120px'};
|
|
11
|
-
height: ${props => props.size || '120px'};
|
|
12
|
-
border-radius: 50%;
|
|
13
|
-
object-fit: cover;
|
|
14
|
-
|
|
15
|
-
${({ disabled }) => disabled === true && `
|
|
16
|
-
filter: grayscale(100%);
|
|
17
|
-
`}
|
|
18
|
-
`
|
|
19
|
-
|
|
20
|
-
export const CardWrapper = styled.div<{hasShadow}>`
|
|
21
|
-
width: auto;
|
|
22
|
-
min-height: auto;
|
|
23
|
-
|
|
24
|
-
background-color: ${({ theme }) => theme.colors.shadeWhite};
|
|
25
|
-
border: 1px solid #E8E8E8;
|
|
26
|
-
border-radius: 4px;
|
|
27
|
-
padding: 20px;
|
|
28
|
-
${({hasShadow}) => hasShadow && 'box-shadow: 0px 18px 40px -15px #D3D3D3'};
|
|
29
|
-
`
|
|
30
|
-
|
|
31
|
-
export const TitleCard = styled.p`
|
|
32
|
-
font-family: 'Work Sans';
|
|
33
|
-
font-style: normal;
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
font-size: 20px;
|
|
36
|
-
line-height: 23px;
|
|
37
|
-
|
|
38
|
-
color: #F55E0E;
|
|
39
|
-
margin-top: 3px;
|
|
40
|
-
margin-left: 5px;
|
|
41
|
-
`
|
|
42
|
-
|
|
43
|
-
export const TitleCardLoading = styled.div`
|
|
44
|
-
height: 22px;
|
|
45
|
-
width: 100px;
|
|
46
|
-
border-radius: 8px;
|
|
47
|
-
|
|
48
|
-
margin-top: 3px;
|
|
49
|
-
margin-left: 5px;
|
|
50
|
-
`
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export const AreaCounter = styled.div`
|
|
54
|
-
margin-top: 36px;
|
|
55
|
-
margin-left: 5px;
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
`
|
|
59
|
-
|
|
60
|
-
export const TotalText = styled.span`
|
|
61
|
-
font-family: 'Work Sans';
|
|
62
|
-
font-style: normal;
|
|
63
|
-
font-weight: 300;
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
line-height: 16px;
|
|
66
|
-
|
|
67
|
-
color: #222222;
|
|
68
|
-
`
|
|
69
|
-
|
|
70
|
-
export const TotalLoading = styled.div`
|
|
71
|
-
margin-top: 36px;
|
|
72
|
-
margin-left: 5px;
|
|
73
|
-
height: 50px;
|
|
74
|
-
width: 100px;
|
|
75
|
-
border-radius: 10px;
|
|
76
|
-
`
|
|
77
|
-
|
|
78
|
-
export const TotalNumber = styled.p`
|
|
79
|
-
font-family: 'Work Sans' ;
|
|
80
|
-
font-style: normal;
|
|
81
|
-
font-weight: 300;
|
|
82
|
-
font-size: 48px;
|
|
83
|
-
line-height: 56px;
|
|
84
|
-
|
|
85
|
-
color: #222222;
|
|
86
|
-
margin-top: -13px;
|
|
87
|
-
`
|
|
88
|
-
|
|
89
|
-
export const PartialNumber = styled.p`
|
|
90
|
-
font-family: 'Work Sans' ;
|
|
91
|
-
font-style: normal;
|
|
92
|
-
font-weight: 300;
|
|
93
|
-
font-size: 24px;
|
|
94
|
-
line-height: 56px;
|
|
95
|
-
|
|
96
|
-
color: #222222;
|
|
97
|
-
`
|