frst-components 0.20.1 → 0.20.3
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/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +651 -230
- package/dist/src/components/LXP/accordionTrack/accordionTrack.d.ts.map +1 -1
- package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts +1 -1
- package/dist/src/components/LXP/accordionTrack/accordionTrackList.d.ts.map +1 -1
- package/dist/src/components/LXP/accordionTrack/contentCoursesTrails.d.ts.map +1 -1
- package/dist/src/components/LXP/thumbnails/thumbnails.d.ts +1 -1
- package/dist/src/components/LXP/thumbnails/thumbnails.d.ts.map +1 -1
- package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts +1 -1
- package/dist/src/components/LXP/thumbnails/thumbnailsDraggable.d.ts.map +1 -1
- package/dist/src/components/emoji-picker/emojiPickerStyles.d.ts +9 -0
- package/dist/src/components/emoji-picker/emojiPickerStyles.d.ts.map +1 -0
- package/dist/src/components/emoji-picker/index.d.ts +7 -1
- package/dist/src/components/emoji-picker/index.d.ts.map +1 -1
- package/dist/src/components/input-comment-v2/index.d.ts +5 -0
- package/dist/src/components/input-comment-v2/index.d.ts.map +1 -0
- package/dist/src/components/input-comment-v2/inputCommentStyles.d.ts +18 -0
- package/dist/src/components/input-comment-v2/inputCommentStyles.d.ts.map +1 -0
- package/dist/src/components/modal/modalLXP/Modal.d.ts +4 -0
- package/dist/src/components/modal/modalLXP/Modal.d.ts.map +1 -0
- package/package.json +2 -5
- 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,156 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import Calendar from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Hall/Calendar',
|
|
8
|
-
component: Calendar,
|
|
9
|
-
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes
|
|
10
|
-
// argTypes: {
|
|
11
|
-
// backgroundColor: { control: 'color' },
|
|
12
|
-
// },
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
16
|
-
const Template = (args) => <Calendar {...args} />
|
|
17
|
-
|
|
18
|
-
export const Loading = Template.bind({})
|
|
19
|
-
Loading.args = {
|
|
20
|
-
loading: true,
|
|
21
|
-
short: false,
|
|
22
|
-
trails: [],
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const Empty = Template.bind({})
|
|
26
|
-
Empty.args = {
|
|
27
|
-
loading: false,
|
|
28
|
-
short: false,
|
|
29
|
-
showFullPageAction: () => { alert('Redirecting to Fullpage') },
|
|
30
|
-
trails: [],
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export const ActiveSingle = Template.bind({})
|
|
35
|
-
ActiveSingle.args = {
|
|
36
|
-
loading: false,
|
|
37
|
-
short: true,
|
|
38
|
-
showFullPageAction: () => { alert('Redirecting to Fullpage') },
|
|
39
|
-
trails: [{
|
|
40
|
-
id: 1,
|
|
41
|
-
moduleID: 1,
|
|
42
|
-
name: "Atingindo Resultados Excepcionais",
|
|
43
|
-
nextEvent: { weekday: 5, hour: '17:00' },
|
|
44
|
-
joinEventAction: () => { alert('Join event action') },
|
|
45
|
-
events: [
|
|
46
|
-
{ id: 0, title: 'Evento 00', day: 1, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
47
|
-
{ id: 1, title: 'Evento 01', day: 2, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
48
|
-
{ id: 2, title: 'Evento 02', day: 3, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
49
|
-
{ id: 3, title: 'Evento 03', day: 4, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
50
|
-
{ id: 4, title: 'Evento 04', day: 5, month: 1, hour: '17:00', weekday: 1, present: false, completed: false, today: true },
|
|
51
|
-
{ id: 5, title: 'Evento 05', day: 6, month: 1, hour: '17:00', weekday: 1, present: false, completed: false, today: false },
|
|
52
|
-
{ id: 6, title: 'Evento 06', day: 7, month: 1, hour: '17:00', weekday: 1, present: false, completed: false, today: false },
|
|
53
|
-
],
|
|
54
|
-
}],
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export const ActiveMultiple = Template.bind({})
|
|
58
|
-
ActiveMultiple.args = {
|
|
59
|
-
loading: false,
|
|
60
|
-
short: true,
|
|
61
|
-
showFullPageAction: () => { alert('Redirecting to Fullpage') },
|
|
62
|
-
trails: [{
|
|
63
|
-
id: 1,
|
|
64
|
-
moduleID: 1,
|
|
65
|
-
name: "Atingindo Resultados Excepcionais",
|
|
66
|
-
events: [
|
|
67
|
-
{ id: 0, title: 'Evento 00', day: 1, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
68
|
-
{ id: 1, title: 'Evento 01', day: 2, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
69
|
-
{ id: 2, title: 'Evento 02', day: 3, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
70
|
-
{ id: 3, title: 'Evento 03', day: 4, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
71
|
-
{ id: 4, title: 'Evento 04', day: 5, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
72
|
-
{ id: 5, title: 'Evento 05', day: 6, month: 1, hour: '17:00', weekday: 1, present: false, completed: false, today: true },
|
|
73
|
-
{ id: 6, title: 'Evento 06', day: 7, month: 1, hour: '17:00', weekday: 1, present: false, completed: false, today: false },
|
|
74
|
-
],
|
|
75
|
-
nextEvent: { weekday: 5, hour: '17:00' },
|
|
76
|
-
joinEventAction: () => { alert('Join event 5 action') },
|
|
77
|
-
}, {
|
|
78
|
-
id: 2,
|
|
79
|
-
moduleID: 2,
|
|
80
|
-
name: "O Líder Que Bate Metas",
|
|
81
|
-
events: [
|
|
82
|
-
{ id: 0, title: 'Evento 00', day: 1, month: 2, hour: '17:00', weekday: 2, present: false, completed: true, today: false },
|
|
83
|
-
{ id: 1, title: 'Evento 01', day: 2, month: 2, hour: '17:00', weekday: 2, present: false, completed: true, today: false },
|
|
84
|
-
{ id: 2, title: 'Evento 02', day: 3, month: 2, hour: '17:00', weekday: 2, present: false, completed: false, today: true },
|
|
85
|
-
{ id: 3, title: 'Evento 03', day: 4, month: 2, hour: '17:00', weekday: 2, present: false, completed: false, today: false },
|
|
86
|
-
{ id: 4, title: 'Evento 04', day: 31, month: 2, hour: '17:00', weekday: 2, present: false, completed: false, today: false },
|
|
87
|
-
],
|
|
88
|
-
nextEvent: { weekday: 3, hour: '17:00' },
|
|
89
|
-
joinEventAction: () => { alert('Join event 2 action') },
|
|
90
|
-
}],
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export const NoEventsSingle = Template.bind({})
|
|
94
|
-
NoEventsSingle.args = {
|
|
95
|
-
loading: false,
|
|
96
|
-
short: true,
|
|
97
|
-
showFullPageAction: () => { alert('Redirecting to Fullpage') },
|
|
98
|
-
trails: [{
|
|
99
|
-
id: 1,
|
|
100
|
-
moduleID: 1,
|
|
101
|
-
name: "Atingindo Resultados Excepcionais",
|
|
102
|
-
nextEvent: null,
|
|
103
|
-
joinEventAction: null,
|
|
104
|
-
events: [
|
|
105
|
-
{ id: 0, title: 'Evento 00', day: 1, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
106
|
-
{ id: 1, title: 'Evento 01', day: 2, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
107
|
-
{ id: 2, title: 'Evento 02', day: 3, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
108
|
-
{ id: 3, title: 'Evento 03', day: 4, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
109
|
-
{ id: 4, title: 'Evento 04', day: 5, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
110
|
-
{ id: 5, title: 'Evento 05', day: 6, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
111
|
-
{ id: 6, title: 'Evento 06', day: 7, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
112
|
-
{ id: 7, title: 'Evento 07', day: 7, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
113
|
-
{ id: 8, title: 'Evento 08', day: 8, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
114
|
-
{ id: 9, title: 'Evento 09', day: 9, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
115
|
-
{ id: 10, title: 'Evento 10', day: 10, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
116
|
-
{ id: 11, title: 'Evento 11', day: 11, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
117
|
-
{ id: 12, title: 'Evento 12', day: 12, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
118
|
-
],
|
|
119
|
-
}],
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export const NoEventsMultiple = Template.bind({})
|
|
123
|
-
NoEventsMultiple.args = {
|
|
124
|
-
loading: false,
|
|
125
|
-
short: true,
|
|
126
|
-
showFullPageAction: () => { alert('Redirecting to Fullpage') },
|
|
127
|
-
trails: [{
|
|
128
|
-
id: 1,
|
|
129
|
-
moduleID: 1,
|
|
130
|
-
name: "Atingindo Resultados Excepcionais",
|
|
131
|
-
nextEvent: null,
|
|
132
|
-
joinEventAction: null,
|
|
133
|
-
events: [
|
|
134
|
-
{ id: 0, title: 'Evento 00', day: 1, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
135
|
-
{ id: 1, title: 'Evento 01', day: 2, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
136
|
-
{ id: 2, title: 'Evento 02', day: 3, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
137
|
-
{ id: 3, title: 'Evento 03', day: 4, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
138
|
-
{ id: 4, title: 'Evento 04', day: 5, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
139
|
-
{ id: 5, title: 'Evento 05', day: 6, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
140
|
-
{ id: 6, title: 'Evento 06', day: 7, month: 1, hour: '17:00', weekday: 1, present: false, completed: true, today: false },
|
|
141
|
-
],
|
|
142
|
-
}, {
|
|
143
|
-
id: 2,
|
|
144
|
-
moduleID: 2,
|
|
145
|
-
name: "O Líder Que Bate Metas",
|
|
146
|
-
nextEvent: null,
|
|
147
|
-
joinEventAction: null,
|
|
148
|
-
events: [
|
|
149
|
-
{ id: 0, title: 'Evento 00', day: 1, month: 2, hour: '17:00', weekday: 2, present: false, completed: true, today: false },
|
|
150
|
-
{ id: 1, title: 'Evento 01', day: 2, month: 2, hour: '17:00', weekday: 2, present: false, completed: true, today: false },
|
|
151
|
-
{ id: 2, title: 'Evento 02', day: 3, month: 2, hour: '17:00', weekday: 2, present: false, completed: true, today: false },
|
|
152
|
-
{ id: 3, title: 'Evento 03', day: 4, month: 2, hour: '17:00', weekday: 2, present: false, completed: true, today: false },
|
|
153
|
-
{ id: 4, title: 'Evento 04', day: 31, month: 2, hour: '17:00', weekday: 2, present: false, completed: true, today: false },
|
|
154
|
-
],
|
|
155
|
-
}],
|
|
156
|
-
}
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components'
|
|
2
|
-
import Card from '@mui/material/Card'
|
|
3
|
-
import Stepper from '@mui/material/Stepper'
|
|
4
|
-
import FormControl from '@mui/material/FormControl'
|
|
5
|
-
import Select from '@mui/material/Select'
|
|
6
|
-
import CheckIcon from '@mui/icons-material/Check'
|
|
7
|
-
import LoginIcon from '@mui/icons-material/Login'
|
|
8
|
-
import Box from '@mui/material/Box'
|
|
9
|
-
import Step from '@mui/material/Step'
|
|
10
|
-
import CardActions from '@mui/material/CardActions'
|
|
11
|
-
import StepConnector, { stepConnectorClasses } from '@mui/material/StepConnector'
|
|
12
|
-
import { styled as muiStyled } from '@mui/material/styles'
|
|
13
|
-
|
|
14
|
-
export interface LabelStepperProps {
|
|
15
|
-
$active: boolean
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export const Container = styled(Card)`
|
|
19
|
-
height: 100%;
|
|
20
|
-
box-shadow: none !important;
|
|
21
|
-
border: 1px solid #c4c4c4 !important;
|
|
22
|
-
box-sizing: border-box !important;
|
|
23
|
-
border-radius: 8px !important;
|
|
24
|
-
padding: 24px !important;
|
|
25
|
-
`
|
|
26
|
-
|
|
27
|
-
export const Title = styled.span`
|
|
28
|
-
font-size: 20px !important;
|
|
29
|
-
color: #ff4d0d !important;
|
|
30
|
-
`
|
|
31
|
-
|
|
32
|
-
export const TextDescription = styled.span`
|
|
33
|
-
font-size: 14px !important;
|
|
34
|
-
color: #222222 !important;
|
|
35
|
-
`
|
|
36
|
-
|
|
37
|
-
export const ContainerDescription = styled.div`
|
|
38
|
-
padding-top: 26px !important;
|
|
39
|
-
`
|
|
40
|
-
|
|
41
|
-
export const ContainerText = styled.div`
|
|
42
|
-
padding-top: 35px !important;
|
|
43
|
-
`
|
|
44
|
-
|
|
45
|
-
export const CheckIconCustom = styled(CheckIcon)`
|
|
46
|
-
color: white !important;
|
|
47
|
-
font-size: 19px !important;
|
|
48
|
-
`
|
|
49
|
-
|
|
50
|
-
export const LoginIconCustom = styled(LoginIcon)`
|
|
51
|
-
color: white !important;
|
|
52
|
-
font-size: 20px !important;
|
|
53
|
-
`
|
|
54
|
-
|
|
55
|
-
export const FormControlSelect = styled(FormControl)`
|
|
56
|
-
.MuiInputLabel-formControl {
|
|
57
|
-
color: rgba(0, 0, 0, 0.6) !important;
|
|
58
|
-
margin-top: 5px !important;
|
|
59
|
-
}
|
|
60
|
-
`
|
|
61
|
-
export const DropDownList = styled(Select)`
|
|
62
|
-
max-width: 350px !important;
|
|
63
|
-
height: 40px !important;
|
|
64
|
-
& > div {
|
|
65
|
-
border: 1px solid #e8e8e8 !important;
|
|
66
|
-
}
|
|
67
|
-
.MuiSelect-select {
|
|
68
|
-
border: none !important;
|
|
69
|
-
}
|
|
70
|
-
.MuiSelect-icon {
|
|
71
|
-
color: #000 !important; // for icon drop down icon color
|
|
72
|
-
}
|
|
73
|
-
&.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
|
|
74
|
-
border-color: #ff4d0d !important;
|
|
75
|
-
border-width: 1px !important;
|
|
76
|
-
}
|
|
77
|
-
`
|
|
78
|
-
|
|
79
|
-
export const LabelDateStepper = styled.label`
|
|
80
|
-
font-size: 14px !important;
|
|
81
|
-
line-height: 14px !important;
|
|
82
|
-
`
|
|
83
|
-
|
|
84
|
-
export const LabelTitleStepper = styled.label`
|
|
85
|
-
overflow: hidden; !important;
|
|
86
|
-
display: block !important;
|
|
87
|
-
max-height: 1.33rem !important;
|
|
88
|
-
;
|
|
89
|
-
`
|
|
90
|
-
|
|
91
|
-
export const ContainerStepper = styled.div`
|
|
92
|
-
margin-top: 10px !important;
|
|
93
|
-
`
|
|
94
|
-
|
|
95
|
-
export const CustomStepper = styled(Stepper)`
|
|
96
|
-
height: 100px !important;
|
|
97
|
-
overflow-x: auto !important;
|
|
98
|
-
overflow-y: hidden !important;
|
|
99
|
-
box-sizing: content-box !important;
|
|
100
|
-
scroll-behavior: smooth !important;
|
|
101
|
-
padding-bottom: 30px !important;
|
|
102
|
-
`
|
|
103
|
-
|
|
104
|
-
export const CustomStep = styled(Step)`
|
|
105
|
-
padding: 0px !important;
|
|
106
|
-
min-width: 150px !important;
|
|
107
|
-
`
|
|
108
|
-
|
|
109
|
-
export const BoxStepper = styled(Box)`
|
|
110
|
-
width: 100% !important;
|
|
111
|
-
padding-top: 20px !important;
|
|
112
|
-
text-align: center !important;
|
|
113
|
-
overflow: hidden !important;
|
|
114
|
-
height: 120px !important;
|
|
115
|
-
`
|
|
116
|
-
|
|
117
|
-
export const LabelTimeMentoring = styled.label`
|
|
118
|
-
font-size: 16px !important;
|
|
119
|
-
color: #ff4d0d !important;
|
|
120
|
-
font-weight: bolder !important;
|
|
121
|
-
`
|
|
122
|
-
|
|
123
|
-
export const BoxLabelTimeMentoring = styled.div`
|
|
124
|
-
padding-top: 30px !important;
|
|
125
|
-
padding-bottom: 16px !important;
|
|
126
|
-
`
|
|
127
|
-
|
|
128
|
-
export const LabelSchedule = styled.span`
|
|
129
|
-
font-size: 16px !important;
|
|
130
|
-
`
|
|
131
|
-
|
|
132
|
-
export const LabelScheduleClick = styled.span`
|
|
133
|
-
color: #0645ad !important;
|
|
134
|
-
font-size: 16px !important;
|
|
135
|
-
font-weight: bolder !important;
|
|
136
|
-
cursor: pointer !important;
|
|
137
|
-
`
|
|
138
|
-
|
|
139
|
-
export const ActionContainer = styled(CardActions)`
|
|
140
|
-
padding: 0px !important;
|
|
141
|
-
`
|
|
142
|
-
|
|
143
|
-
export const ColorlibConnector = muiStyled(StepConnector)(({ theme }) => ({
|
|
144
|
-
[`&.${stepConnectorClasses.alternativeLabel}`]: {
|
|
145
|
-
top: 40,
|
|
146
|
-
left: 'calc(-54% + 7px)',
|
|
147
|
-
right: 'calc(40% + 20px)',
|
|
148
|
-
[`&.MuiStepLabel-labelContainer`]: {
|
|
149
|
-
[`&.Mui-active`]: {
|
|
150
|
-
backgroundColor: 'red'
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
[`&.${stepConnectorClasses.active}`]: {
|
|
155
|
-
[`& .${stepConnectorClasses.line}`]: {
|
|
156
|
-
backgroundColor: '#ff4d0d'
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
[`&.${stepConnectorClasses.completed}`]: {
|
|
160
|
-
[`& .${stepConnectorClasses.line}`]: {
|
|
161
|
-
backgroundColor: '#000'
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
[`& .${stepConnectorClasses.line}`]: {
|
|
165
|
-
height: 1,
|
|
166
|
-
border: 0,
|
|
167
|
-
backgroundColor: '#ff4d0d',
|
|
168
|
-
borderRadius: 1
|
|
169
|
-
}
|
|
170
|
-
}))
|
|
171
|
-
|
|
172
|
-
export const ColorlibStepIconRoot = muiStyled('div')<{
|
|
173
|
-
ownerState: { completed?: boolean; active?: boolean }
|
|
174
|
-
}>(({ ownerState }) => ({
|
|
175
|
-
backgroundColor: '#000',
|
|
176
|
-
zIndex: 1,
|
|
177
|
-
color: '#fff',
|
|
178
|
-
display: 'flex',
|
|
179
|
-
borderRadius: '50%',
|
|
180
|
-
justifyContent: 'center',
|
|
181
|
-
alignItems: 'center',
|
|
182
|
-
boxShadow: 'none !important',
|
|
183
|
-
...(ownerState.active && {
|
|
184
|
-
backgroundColor: '#ff4d0d',
|
|
185
|
-
width: 32,
|
|
186
|
-
height: 32,
|
|
187
|
-
boxShadow: 'none !important'
|
|
188
|
-
}),
|
|
189
|
-
...(ownerState.completed && {
|
|
190
|
-
backgroundColor: '#000',
|
|
191
|
-
width: 24,
|
|
192
|
-
height: 24,
|
|
193
|
-
boxShadow: 'none !important'
|
|
194
|
-
}),
|
|
195
|
-
...(!ownerState.active &&
|
|
196
|
-
!ownerState.completed && {
|
|
197
|
-
backgroundColor: '#ff4d0d',
|
|
198
|
-
width: 24,
|
|
199
|
-
height: 24,
|
|
200
|
-
boxShadow: 'none !important'
|
|
201
|
-
}),
|
|
202
|
-
...(ownerState.active &&
|
|
203
|
-
ownerState.completed && {
|
|
204
|
-
backgroundColor: '#000',
|
|
205
|
-
width: 24,
|
|
206
|
-
height: 24,
|
|
207
|
-
boxShadow: 'none !important'
|
|
208
|
-
})
|
|
209
|
-
}))
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import '../../shared/global.css'
|
|
2
|
-
import { useState, useEffect } from 'react'
|
|
3
|
-
import * as Global from '@shared/globalComponentsStyle'
|
|
4
|
-
import * as Styles from './calendarStyle'
|
|
5
|
-
import { StepIconProps } from '@mui/material/StepIcon'
|
|
6
|
-
import { WarningIcon } from '@shared/icons'
|
|
7
|
-
import { useTranslation } from 'react-i18next'
|
|
8
|
-
|
|
9
|
-
import { Tooltip, MenuItem, CardContent, StepLabel } from '@mui/material'
|
|
10
|
-
|
|
11
|
-
interface Trail {
|
|
12
|
-
id: string,
|
|
13
|
-
moduleID: string,
|
|
14
|
-
name: string,
|
|
15
|
-
events: Array<any>
|
|
16
|
-
nextEvent?: any,
|
|
17
|
-
joinEventAction?: () => void,
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface CalendarProps {
|
|
21
|
-
loading: boolean,
|
|
22
|
-
short: boolean,
|
|
23
|
-
trails: Array<Trail>,
|
|
24
|
-
showFullPageAction?: () => void
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function getStepIcon(props: StepIconProps) {
|
|
28
|
-
const { active, completed } = props
|
|
29
|
-
|
|
30
|
-
return (
|
|
31
|
-
<Styles.ColorlibStepIconRoot ownerState={{ completed, active }}>
|
|
32
|
-
{
|
|
33
|
-
completed ? <Styles.CheckIconCustom /> : active ? <Styles.LoginIconCustom /> : <div />
|
|
34
|
-
}
|
|
35
|
-
</Styles.ColorlibStepIconRoot>
|
|
36
|
-
)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function getMissedStepIcon() {
|
|
40
|
-
return (
|
|
41
|
-
<Styles.ColorlibStepIconRoot ownerState={{ completed: true, active: true }} >
|
|
42
|
-
<div />
|
|
43
|
-
</Styles.ColorlibStepIconRoot>
|
|
44
|
-
)
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
function StepsComponent(props: any) {
|
|
48
|
-
const { t } = useTranslation()
|
|
49
|
-
let { events } = props
|
|
50
|
-
|
|
51
|
-
return (
|
|
52
|
-
<Styles.BoxStepper>
|
|
53
|
-
<Styles.CustomStepper alternativeLabel connector={<Styles.ColorlibConnector />}>
|
|
54
|
-
{events && events.length > 0 && events?.map((event) => (
|
|
55
|
-
<Styles.CustomStep key={event.id} completed={event.completed} active={event.today}>
|
|
56
|
-
<Styles.LabelDateStepper>{event.day} {t(`calendar.monthsInitials.${event.month}`)}</Styles.LabelDateStepper>
|
|
57
|
-
<Styles.ContainerStepper>
|
|
58
|
-
<Tooltip title={event.title}>
|
|
59
|
-
<StepLabel StepIconComponent={event.completed && !event.present ? getMissedStepIcon : getStepIcon}>
|
|
60
|
-
<Styles.LabelTitleStepper>{event.title}</Styles.LabelTitleStepper>
|
|
61
|
-
</StepLabel>
|
|
62
|
-
</Tooltip>
|
|
63
|
-
</Styles.ContainerStepper>
|
|
64
|
-
</Styles.CustomStep>
|
|
65
|
-
))}
|
|
66
|
-
</Styles.CustomStepper>
|
|
67
|
-
</Styles.BoxStepper >
|
|
68
|
-
)
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @param {CalendarProps} props
|
|
73
|
-
*/
|
|
74
|
-
export default function CalendarCard(props: CalendarProps) {
|
|
75
|
-
const { t } = useTranslation()
|
|
76
|
-
|
|
77
|
-
const [module, setModule] = useState(0)
|
|
78
|
-
const [moduleEvents, setModuleEvents] = useState([])
|
|
79
|
-
const [moduleSelector, setModuleSelector] = useState(false)
|
|
80
|
-
|
|
81
|
-
const handleChange = (event: any) => {
|
|
82
|
-
let val = event.target?.value
|
|
83
|
-
setModule(val)
|
|
84
|
-
if (props.trails[val].events) setModuleEvents(props.trails[val].events)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
useEffect(() => {
|
|
88
|
-
if (props.trails[0]) {
|
|
89
|
-
if (props.trails[0].events) setModuleEvents(props.trails[0].events)
|
|
90
|
-
if (props.trails.length > 1) setModuleSelector(true)
|
|
91
|
-
}
|
|
92
|
-
}, [props.trails])
|
|
93
|
-
|
|
94
|
-
return (
|
|
95
|
-
<div style={{ height: '100%' }}>
|
|
96
|
-
{
|
|
97
|
-
props.loading ?
|
|
98
|
-
<Styles.Container className='shimmer'></Styles.Container>
|
|
99
|
-
:
|
|
100
|
-
<Styles.Container>
|
|
101
|
-
<CardContent style={{ padding: '0px' }} >
|
|
102
|
-
<Styles.Title>{t('calendar.title')}</Styles.Title>
|
|
103
|
-
{
|
|
104
|
-
moduleSelector &&
|
|
105
|
-
<Styles.ContainerDescription>
|
|
106
|
-
<Styles.TextDescription>{t('calendar.card.description')}</Styles.TextDescription>
|
|
107
|
-
<Styles.FormControlSelect fullWidth>
|
|
108
|
-
<Styles.DropDownList id="module-id" value={module} onChange={handleChange}>
|
|
109
|
-
{props.trails?.map((item, index) => {
|
|
110
|
-
return <MenuItem key={index} value={index}>{item.name} - {item.moduleID}</MenuItem>
|
|
111
|
-
})}
|
|
112
|
-
</Styles.DropDownList>
|
|
113
|
-
</Styles.FormControlSelect>
|
|
114
|
-
</Styles.ContainerDescription>
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
{moduleEvents?.length === 0 &&
|
|
118
|
-
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center', marginTop: '140px', paddingBottom: '32px' }}>
|
|
119
|
-
<WarningIcon /><span style={{ paddingLeft: '8px' }}>{t('calendar.notAvailable')}</span>
|
|
120
|
-
</div>
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
{moduleEvents && <StepsComponent events={moduleEvents} short={props.short} />}
|
|
124
|
-
|
|
125
|
-
{moduleEvents && moduleEvents.length > 0 &&
|
|
126
|
-
<Styles.BoxLabelTimeMentoring>
|
|
127
|
-
{props.trails[module]?.nextEvent ?
|
|
128
|
-
<Styles.LabelTimeMentoring>{t('calendar.card.mentoringSchedule')} {t(`calendar.weekdays.${props.trails[module].nextEvent.weekday}`)} @ {props.trails[module]?.nextEvent.hour}</Styles.LabelTimeMentoring>
|
|
129
|
-
:
|
|
130
|
-
<Styles.LabelTimeMentoring>{t(`calendar.noMoreEvents`)}</Styles.LabelTimeMentoring>
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
</Styles.BoxLabelTimeMentoring>
|
|
134
|
-
}
|
|
135
|
-
<Styles.ActionContainer>
|
|
136
|
-
{props.short &&
|
|
137
|
-
<Styles.LabelSchedule>
|
|
138
|
-
<Styles.LabelScheduleClick onClick={props.showFullPageAction}>
|
|
139
|
-
{t('globals.clickHere')}
|
|
140
|
-
</Styles.LabelScheduleClick>{' '}
|
|
141
|
-
{t('calendar.card.fullSchedule')}
|
|
142
|
-
</Styles.LabelSchedule>
|
|
143
|
-
}
|
|
144
|
-
{
|
|
145
|
-
props.trails[module]?.joinEventAction &&
|
|
146
|
-
<Global.FRSTButton style={{ marginLeft: 'auto' }} variant="contained" onClick={props.trails[module]?.joinEventAction}>
|
|
147
|
-
{t('calendar.card.joinEvent')}
|
|
148
|
-
</Global.FRSTButton>
|
|
149
|
-
}
|
|
150
|
-
</Styles.ActionContainer>
|
|
151
|
-
</CardContent>
|
|
152
|
-
|
|
153
|
-
</Styles.Container>
|
|
154
|
-
}
|
|
155
|
-
</div >
|
|
156
|
-
)
|
|
157
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import CardTrail from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Base/Card Trail',
|
|
8
|
-
component: CardTrail,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <CardTrail {...args} />
|
|
13
|
-
|
|
14
|
-
export const primaryNotStarted = Template.bind({})
|
|
15
|
-
primaryNotStarted.args = {
|
|
16
|
-
variant: 'primary',
|
|
17
|
-
name: 'Inovação Customer Centric',
|
|
18
|
-
start: '10/10/2022',
|
|
19
|
-
description: 'Aprenda como preparar os seus times, processos e mindset para que toda a empresa funcione agindo de acordo com a necessidade do cliente.',
|
|
20
|
-
mentor: {
|
|
21
|
-
avatar: 'https://img.freepik.com/fotos-gratis/mulher-moderna-tomando-uma-selfie_23-2147893976.jpg?w=2000',
|
|
22
|
-
name: 'Gabriela Duarte',
|
|
23
|
-
linkedin: 'urlLinkedin'
|
|
24
|
-
},
|
|
25
|
-
action: () => alert('opa'),
|
|
26
|
-
notStarted: true,
|
|
27
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
28
|
-
labels: {
|
|
29
|
-
mentor: 'Mentor(a)',
|
|
30
|
-
dateStart: 'Data de Início'
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export const primaryNotStartedWithoutMentor = Template.bind({})
|
|
35
|
-
primaryNotStartedWithoutMentor.args = {
|
|
36
|
-
variant: 'primary',
|
|
37
|
-
name: 'Inovação Customer Centric',
|
|
38
|
-
start: '10/10/2022',
|
|
39
|
-
description: 'Aprenda como preparar os seus times, processos e mindset para que toda a empresa funcione agindo de acordo com a necessidade do cliente.',
|
|
40
|
-
action: () => alert('opa'),
|
|
41
|
-
notStarted: true,
|
|
42
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
43
|
-
labels: {
|
|
44
|
-
mentor: 'Mentor(a)',
|
|
45
|
-
dateStart: 'Data de Início'
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export const primaryNotStartedWithoutDate = Template.bind({})
|
|
50
|
-
primaryNotStartedWithoutDate.args = {
|
|
51
|
-
variant: 'primary',
|
|
52
|
-
name: 'Inovação Customer Centric',
|
|
53
|
-
description: 'Aprenda como preparar os seus times, processos e mindset para que toda a empresa funcione agindo de acordo com a necessidade do cliente.',
|
|
54
|
-
mentor: {
|
|
55
|
-
avatar: 'https://img.freepik.com/fotos-gratis/mulher-moderna-tomando-uma-selfie_23-2147893976.jpg?w=2000',
|
|
56
|
-
name: 'Gabriela Duarte',
|
|
57
|
-
linkedin: 'urlLinkedin'
|
|
58
|
-
},
|
|
59
|
-
action: () => alert('opa'),
|
|
60
|
-
notStarted: true,
|
|
61
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
62
|
-
labels: {
|
|
63
|
-
mentor: 'Mentor(a)',
|
|
64
|
-
dateStart: 'Data de Início'
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export const primaryNotStartedWithoutMentorDate = Template.bind({})
|
|
69
|
-
primaryNotStartedWithoutMentorDate.args = {
|
|
70
|
-
variant: 'primary',
|
|
71
|
-
name: 'Inovação Customer Centric',
|
|
72
|
-
description: 'Aprenda como preparar os seus times, processos e mindset para que toda a empresa funcione agindo de acordo com a necessidade do cliente.',
|
|
73
|
-
action: () => alert('opa'),
|
|
74
|
-
notStarted: true,
|
|
75
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
76
|
-
labels: {
|
|
77
|
-
mentor: 'Mentor(a)',
|
|
78
|
-
dateStart: 'Data de Início'
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export const primaryStarted = Template.bind({})
|
|
83
|
-
primaryStarted.args = {
|
|
84
|
-
variant: 'primary',
|
|
85
|
-
name: 'Inspiring leadership',
|
|
86
|
-
start: '10/10/2022',
|
|
87
|
-
description: 'More than just hitting goals, the inspiring leader.',
|
|
88
|
-
progress: 80,
|
|
89
|
-
mentor: {
|
|
90
|
-
avatar: 'https://st.depositphotos.com/1743476/2267/i/600/depositphotos_22675279-stock-photo-businesswoman.jpg',
|
|
91
|
-
name: 'Gabriela Duarte',
|
|
92
|
-
linkedin: 'urlLinkedin'
|
|
93
|
-
},
|
|
94
|
-
action: () => alert('redirect'),
|
|
95
|
-
notStarted: false,
|
|
96
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
97
|
-
labels: {
|
|
98
|
-
mentor: 'Mentor',
|
|
99
|
-
dateStart: 'Start date'
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export const primaryStartedWithoutMentor = Template.bind({})
|
|
104
|
-
primaryStartedWithoutMentor.args = {
|
|
105
|
-
variant: 'primary',
|
|
106
|
-
name: 'Inspiring leadership',
|
|
107
|
-
start: '10/10/2022',
|
|
108
|
-
description: 'More than just hitting goals, the inspiring leader.',
|
|
109
|
-
progress: 80,
|
|
110
|
-
action: () => alert('redirect'),
|
|
111
|
-
notStarted: false,
|
|
112
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
113
|
-
labels: {
|
|
114
|
-
mentor: 'Mentor',
|
|
115
|
-
dateStart: 'Start date'
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export const primaryStartedWithoutDate = Template.bind({})
|
|
120
|
-
primaryStartedWithoutDate.args = {
|
|
121
|
-
variant: 'primary',
|
|
122
|
-
name: 'Inspiring leadership',
|
|
123
|
-
description: 'More than just hitting goals, the inspiring leader.',
|
|
124
|
-
progress: 80,
|
|
125
|
-
mentor: {
|
|
126
|
-
avatar: 'https://st.depositphotos.com/1743476/2267/i/600/depositphotos_22675279-stock-photo-businesswoman.jpg',
|
|
127
|
-
name: 'Gabriela Duarte',
|
|
128
|
-
linkedin: 'urlLinkedin'
|
|
129
|
-
},
|
|
130
|
-
action: () => alert('redirect'),
|
|
131
|
-
notStarted: false,
|
|
132
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
133
|
-
labels: {
|
|
134
|
-
mentor: 'Mentor',
|
|
135
|
-
dateStart: 'Start date'
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export const primaryStartedWithoutMentorDate = Template.bind({})
|
|
140
|
-
primaryStartedWithoutMentorDate.args = {
|
|
141
|
-
variant: 'primary',
|
|
142
|
-
name: 'Inspiring leadership',
|
|
143
|
-
description: 'More than just hitting goals, the inspiring leader.',
|
|
144
|
-
progress: 80,
|
|
145
|
-
action: () => alert('redirect'),
|
|
146
|
-
notStarted: false,
|
|
147
|
-
bannerImage: 'https://www.sydle.com/api/1/blog/com.sydle.site/blogFacade/images/e-business-612541b6b060f57604938af9/e-business.jpg',
|
|
148
|
-
labels: {
|
|
149
|
-
mentor: 'Mentor',
|
|
150
|
-
dateStart: 'Start date'
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export const secondary = Template.bind({})
|
|
155
|
-
secondary.args = {
|
|
156
|
-
variant: 'secondary',
|
|
157
|
-
name: 'Open Talks | O futuro na perspectiva das Plataformas',
|
|
158
|
-
start: '10/10/2022',
|
|
159
|
-
description: 'Clique aqui para asssistir a mais um episódio do Open Talks com especialistas renomados sobre O futuro na perspectiva das Plataformas.',
|
|
160
|
-
progress: 80,
|
|
161
|
-
mentor: {
|
|
162
|
-
name: 'Gabriela Duarte',
|
|
163
|
-
linkedin: 'url'
|
|
164
|
-
},
|
|
165
|
-
action: () => alert('opa'),
|
|
166
|
-
bannerImage: 'https://frst-api-student-group-prod.s3.amazonaws.com/media/product/module/cover-image/7/CAPA_7_-_Open_Talks_-_O_futuro_na_perspectvia_das_plataformas.png?AWSAccessKeyId=ASIAYR3BIRGASFQHZ4R3&Signature=GQk5PUXBIPsM%2Fepjv9uMZi9N23g%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=1665416213'
|
|
167
|
-
}
|