frst-components 0.20.0 → 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -1
- package/.dockerignore +0 -7
- package/.env +0 -1
- package/.github/pull_request_template.md +0 -26
- package/.hintrc +0 -41
- package/.prettierrc +0 -7
- package/.storybook/i18n.js +0 -26
- package/.storybook/main.js +0 -41
- package/.storybook/preview.js +0 -23
- package/.vscode/settings.json +0 -2
- package/Dockerfile +0 -22
- package/declarations.d.ts +0 -4
- package/images.d.ts +0 -4
- package/index.tsx +0 -178
- package/publish.sh +0 -19
- package/rollup.config.js +0 -15
- package/src/components/DS/loading/index.tsx +0 -70
- package/src/components/DS/loading/loading.stories.tsx +0 -31
- package/src/components/DS/loading/loadingStyle.ts +0 -40
- package/src/components/DS/modal/index.stories.tsx +0 -25
- package/src/components/DS/modal/index.tsx +0 -100
- package/src/components/DS/modal/styles.ts +0 -101
- package/src/components/DS/select/Select.tsx +0 -101
- package/src/components/DS/select/SelectContext.tsx +0 -9
- package/src/components/DS/select/SelectItem.tsx +0 -69
- package/src/components/DS/select/index.tsx +0 -18
- package/src/components/DS/select/select.stories.tsx +0 -20
- package/src/components/DS/select/styles/StylesSelect.tsx +0 -100
- package/src/components/DS/tooltip/index.stories.tsx +0 -24
- package/src/components/DS/tooltip/index.tsx +0 -81
- package/src/components/DS/tooltip/styles.ts +0 -155
- package/src/components/DS/tooltip/types.d.ts +0 -21
- package/src/components/EBR/buttons-group/index.d.ts +0 -4
- package/src/components/EBR/buttons-group/index.stories.tsx +0 -23
- package/src/components/EBR/buttons-group/index.tsx +0 -31
- package/src/components/EBR/buttons-group/styles.ts +0 -7
- package/src/components/EBR/group-statistics/groupStatistics.d.ts +0 -6
- package/src/components/EBR/group-statistics/groupStatistics.stories.tsx +0 -89
- package/src/components/EBR/group-statistics/groupStatisticsStyles.ts +0 -63
- package/src/components/EBR/group-statistics/index.tsx +0 -85
- package/src/components/EBR/objective-step/index.tsx +0 -18
- package/src/components/EBR/objective-step/objectiveStep.d.ts +0 -5
- package/src/components/EBR/objective-step/objectiveStep.stories.tsx +0 -24
- package/src/components/EBR/objective-step/objectiveStepStyles.ts +0 -42
- package/src/components/EBR/rating/index.tsx +0 -97
- package/src/components/EBR/rating/rating.d.ts +0 -42
- package/src/components/EBR/rating/rating.stories.tsx +0 -24
- package/src/components/EBR/rating/ratingStyles.ts +0 -25
- package/src/components/EBR/specialist-contact/index.tsx +0 -40
- package/src/components/EBR/specialist-contact/specialistContact.d.ts +0 -13
- package/src/components/EBR/specialist-contact/specialistContact.stories.tsx +0 -26
- package/src/components/EBR/specialist-contact/specialistContactStyles.ts +0 -93
- package/src/components/EBR/stepper/index.d.ts +0 -29
- package/src/components/EBR/stepper/index.stories.tsx +0 -43
- package/src/components/EBR/stepper/index.tsx +0 -7
- package/src/components/EBR/stepper/stepper.tsx +0 -23
- package/src/components/EBR/stepper/stepperItem.tsx +0 -38
- package/src/components/EBR/stepper/styles.ts +0 -140
- package/src/components/EBR/trail-list/index.tsx +0 -82
- package/src/components/EBR/trail-list/trailList.d.ts +0 -6
- package/src/components/EBR/trail-list/trailList.stories.tsx +0 -59
- package/src/components/EBR/trail-list/trailListStyles.ts +0 -54
- package/src/components/FI/bannerProblemFeed/bannerProblemFeed.stories.tsx +0 -355
- package/src/components/FI/bannerProblemFeed/bannerProblemFeedStyles.ts +0 -128
- package/src/components/FI/bannerProblemFeed/index.tsx +0 -388
- package/src/components/FI/bannerSRG/bannerSRG.d.ts +0 -33
- package/src/components/FI/bannerSRG/bannerSRG.stories.tsx +0 -106
- package/src/components/FI/bannerSRG/bannerSRGStyle.ts +0 -226
- package/src/components/FI/bannerSRG/index.tsx +0 -93
- package/src/components/FI/feedInteraction/feedInteraction.stories.tsx +0 -219
- package/src/components/FI/feedInteraction/feedInteractionStyles.ts +0 -142
- package/src/components/FI/feedInteraction/index.tsx +0 -343
- package/src/components/FI/follow/follow.stories.tsx +0 -59
- package/src/components/FI/follow/followStyles.ts +0 -42
- package/src/components/FI/follow/index.tsx +0 -144
- package/src/components/FI/interactionsModal/InteractionsModal.stories.tsx +0 -123
- package/src/components/FI/interactionsModal/InteractionsModalStyles.ts +0 -164
- package/src/components/FI/interactionsModal/index.tsx +0 -106
- package/src/components/FI/interactionsModal/interactionsModal.d.ts +0 -23
- package/src/components/FI/notificationCard/index.tsx +0 -66
- package/src/components/FI/notificationCard/notificationCard.stories.tsx +0 -34
- package/src/components/FI/notificationCard/notificationCardStyles.ts +0 -41
- package/src/components/FI/notificationPopOver/index.tsx +0 -190
- package/src/components/FI/notificationPopOver/notificationPopOver.stories.tsx +0 -117
- package/src/components/FI/notificationPopOver/notificationPopOverStyles.ts +0 -109
- package/src/components/FI/postFeed/index.tsx +0 -188
- package/src/components/FI/postFeed/postFeed.stories.tsx +0 -313
- package/src/components/FI/postFeed/postFeedStyles.ts +0 -188
- package/src/components/FI/searchBox/SearchBox.stories.tsx +0 -34
- package/src/components/FI/searchBox/SearchBoxStyles.ts +0 -21
- package/src/components/FI/searchBox/index.tsx +0 -25
- package/src/components/FI/searchBox/searchBox.d.ts +0 -11
- package/src/components/FI/sessionFilters/index.tsx +0 -160
- package/src/components/FI/sessionFilters/sessionFilters.d.ts +0 -35
- package/src/components/FI/sessionFilters/sessionFilters.stories.tsx +0 -74
- package/src/components/FI/sessionFilters/sessionFiltersStyle.ts +0 -86
- package/src/components/FI/smallSRGBanner/index.tsx +0 -24
- package/src/components/FI/smallSRGBanner/smallSRGBanner.stories.tsx +0 -19
- package/src/components/FI/smallSRGBanner/smallSRGBannerStyles.ts +0 -34
- package/src/components/IJ/ContentCycle/ContentCycle.d.ts +0 -56
- package/src/components/IJ/ContentCycle/ContentCycle.stories.tsx +0 -30
- package/src/components/IJ/ContentCycle/ContentCycleStyles.ts +0 -152
- package/src/components/IJ/ContentCycle/index.tsx +0 -85
- package/src/components/IJ/ListContentCycle/ListContentCycle.d.ts +0 -33
- package/src/components/IJ/ListContentCycle/ListContentCycle.stories.tsx +0 -77
- package/src/components/IJ/ListContentCycle/ListContentCycleStyles.ts +0 -10
- package/src/components/IJ/ListContentCycle/index.tsx +0 -35
- package/src/components/IJ/StepLearningCycle/StepLearningCycle.d.ts +0 -39
- package/src/components/IJ/StepLearningCycle/StepLearningCycle.stories.tsx +0 -24
- package/src/components/IJ/StepLearningCycle/StepLearningCycleStyle.ts +0 -93
- package/src/components/IJ/StepLearningCycle/index.tsx +0 -153
- package/src/components/IJ/favorite/favorite.stories.tsx +0 -19
- package/src/components/IJ/favorite/favoriteStyles.ts +0 -15
- package/src/components/IJ/favorite/index.tsx +0 -44
- package/src/components/IJ/learningCycleCard/components/menu/index.tsx +0 -92
- package/src/components/IJ/learningCycleCard/components/menu/menuStyle.ts +0 -27
- package/src/components/IJ/learningCycleCard/index.tsx +0 -93
- package/src/components/IJ/learningCycleCard/learningCycleCard.d.ts +0 -28
- package/src/components/IJ/learningCycleCard/learningCycleCard.stories.tsx +0 -229
- package/src/components/IJ/learningCycleCard/learningCycleCardStyle.ts +0 -173
- package/src/components/IJ/listSelector/index.tsx +0 -85
- package/src/components/IJ/listSelector/listSelector.stories.tsx +0 -64
- package/src/components/IJ/listSelector/listSelectorStyles.ts +0 -49
- package/src/components/IJ/pagination/index.tsx +0 -155
- package/src/components/IJ/pagination/pagination.stories.tsx +0 -112
- package/src/components/IJ/pagination/paginationStyles.ts +0 -61
- package/src/components/IJ/participantCard/index.tsx +0 -111
- package/src/components/IJ/participantCard/participantCard.d.ts +0 -24
- package/src/components/IJ/participantCard/participantCard.stories.tsx +0 -82
- package/src/components/IJ/participantCard/participantCardStyle.ts +0 -304
- package/src/components/IJ/participantCardOld/index.tsx +0 -108
- package/src/components/IJ/participantCardOld/participantCard.d.ts +0 -23
- package/src/components/IJ/participantCardOld/participantCard.stories.tsx +0 -34
- package/src/components/IJ/participantCardOld/participantCardStyle.ts +0 -218
- package/src/components/IJ/thumbListContent/index.tsx +0 -127
- package/src/components/IJ/thumbListContent/thumbListContent.stories.tsx +0 -130
- package/src/components/IJ/thumbListContent/thumbListContentStyles.ts +0 -196
- package/src/components/LXP/DropdownSelectMultiple/dropdownSelectMultiple.stories.tsx +0 -43
- package/src/components/LXP/DropdownSelectMultiple/index.tsx +0 -77
- package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectDemo.ts +0 -79
- package/src/components/LXP/DropdownSelectMultiple/styles/MultiSelectItems.css +0 -118
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/DropdownChevron.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/close.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/icons/vector.png +0 -0
- package/src/components/LXP/DropdownSelectMultiple/styles/primeflex.css +0 -20970
- package/src/components/LXP/DropdownSelectMultiple/styles/primereact.css +0 -6326
- package/src/components/LXP/DropdownSelectMultiple/styles/theme.css +0 -6515
- package/src/components/LXP/accordionTrack/IAccordionTrack.d.ts +0 -81
- package/src/components/LXP/accordionTrack/accordionTrack.stories.tsx +0 -305
- package/src/components/LXP/accordionTrack/accordionTrack.tsx +0 -402
- package/src/components/LXP/accordionTrack/accordionTrackList.tsx +0 -263
- package/src/components/LXP/accordionTrack/accordionTrackStyle.ts +0 -196
- package/src/components/LXP/accordionTrack/contentCourses.tsx +0 -9
- package/src/components/LXP/accordionTrack/contentCoursesTrails.tsx +0 -304
- package/src/components/LXP/accordionTrack/vectorDown.tsx +0 -26
- package/src/components/LXP/accordionTrack/vectorUp.tsx +0 -26
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.d.ts +0 -10
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannel.stories.tsx +0 -29
- package/src/components/LXP/avatarAssociatedChannel/avatarAssociatedChannelStyles.ts +0 -92
- package/src/components/LXP/avatarAssociatedChannel/index.tsx +0 -47
- package/src/components/LXP/avatarChannel/avatarChannel.d.ts +0 -13
- package/src/components/LXP/avatarChannel/avatarChannel.stories.tsx +0 -38
- package/src/components/LXP/avatarChannel/avatarChannelStyles.ts +0 -145
- package/src/components/LXP/avatarChannel/index.tsx +0 -112
- package/src/components/LXP/bannerLxp/bannerLxp.stories.tsx +0 -37
- package/src/components/LXP/bannerLxp/bannerLxp.tsx +0 -141
- package/src/components/LXP/bannerLxp/index.tsx +0 -270
- package/src/components/LXP/buttonContent/buttonContent.d.ts +0 -12
- package/src/components/LXP/buttonContent/buttonContent.stories.tsx +0 -23
- package/src/components/LXP/buttonContent/buttonContentStyle.ts +0 -63
- package/src/components/LXP/buttonContent/index.tsx +0 -16
- package/src/components/LXP/calendarLxp/calendar.css +0 -375
- package/src/components/LXP/calendarLxp/calendarLxp.module.css +0 -39
- package/src/components/LXP/calendarLxp/calendarLxp.stories.tsx +0 -19
- package/src/components/LXP/calendarLxp/defaultRanges.tsx +0 -99
- package/src/components/LXP/calendarLxp/index.tsx +0 -72
- package/src/components/LXP/cardLearningCicle/cardLearningCicle.d.ts +0 -16
- package/src/components/LXP/cardLearningCicle/cardLearningCicle.stories.tsx +0 -31
- package/src/components/LXP/cardLearningCicle/cardLearningCicleStyle.ts +0 -118
- package/src/components/LXP/cardLearningCicle/index.tsx +0 -129
- package/src/components/LXP/colorpicker/colorpicker.d.ts +0 -6
- package/src/components/LXP/colorpicker/colorpicker.stories.tsx +0 -18
- package/src/components/LXP/colorpicker/colorpickerStyles.ts +0 -46
- package/src/components/LXP/colorpicker/index.tsx +0 -30
- package/src/components/LXP/contentSwitcher/contentSwitcher.d.ts +0 -12
- package/src/components/LXP/contentSwitcher/contentSwitcher.stories.tsx +0 -26
- package/src/components/LXP/contentSwitcher/contentSwitcherStyle.ts +0 -92
- package/src/components/LXP/contentSwitcher/index.tsx +0 -33
- package/src/components/LXP/contentThumbnails/contentThumbnails.d.ts +0 -21
- package/src/components/LXP/contentThumbnails/contentThumbnails.stories.tsx +0 -106
- package/src/components/LXP/contentThumbnails/contentThumbnailsStyle.ts +0 -170
- package/src/components/LXP/contentThumbnails/index.tsx +0 -208
- package/src/components/LXP/contentThumbnails/vectorDown.tsx +0 -26
- package/src/components/LXP/contentThumbnails/vectorEllipse.tsx +0 -38
- package/src/components/LXP/contentThumbnails/vectorUp.tsx +0 -26
- package/src/components/LXP/extraContent/adminExtraContent.tsx +0 -127
- package/src/components/LXP/extraContent/extraContent.d.ts +0 -42
- package/src/components/LXP/extraContent/extraContent.module.css +0 -24
- package/src/components/LXP/extraContent/extraContent.stories.tsx +0 -96
- package/src/components/LXP/extraContent/index.tsx +0 -27
- package/src/components/LXP/extraContent/richTextEditor/components.tsx +0 -194
- package/src/components/LXP/extraContent/richTextEditor/index.tsx +0 -262
- package/src/components/LXP/extraContent/studentExtraContent.tsx +0 -160
- package/src/components/LXP/fileUpload/FileUpload.d.ts +0 -14
- package/src/components/LXP/fileUpload/FileUpload.stories.tsx +0 -29
- package/src/components/LXP/fileUpload/fileUploadStyles.ts +0 -86
- package/src/components/LXP/fileUpload/index.tsx +0 -51
- package/src/components/LXP/headerContent/headerContent.stories.tsx +0 -94
- package/src/components/LXP/headerContent/headerContent.ts +0 -216
- package/src/components/LXP/headerContent/index.tsx +0 -121
- package/src/components/LXP/headerContent/selectedCountCircle.tsx +0 -14
- package/src/components/LXP/login/index.tsx +0 -410
- package/src/components/LXP/login/login.d.ts +0 -50
- package/src/components/LXP/login/login.stories.tsx +0 -98
- package/src/components/LXP/login/loginStyle.ts +0 -290
- package/src/components/LXP/manageLerningCicles/index.tsx +0 -70
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.Style.ts +0 -88
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.d.ts +0 -12
- package/src/components/LXP/manageLerningCicles/manageLearningCicles.stories.tsx +0 -23
- package/src/components/LXP/participantThumbnails/index.tsx +0 -85
- package/src/components/LXP/participantThumbnails/participantThumbnails.stories.tsx +0 -19
- package/src/components/LXP/participantThumbnails/participantThumbnails.ts +0 -114
- package/src/components/LXP/participantThumbnailsList/index.tsx +0 -64
- package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.stories.tsx +0 -93
- package/src/components/LXP/participantThumbnailsList/participantThumbnailsList.ts +0 -114
- package/src/components/LXP/permission/index.tsx +0 -223
- package/src/components/LXP/permission/permission.d.ts +0 -16
- package/src/components/LXP/permission/permission.stories.tsx +0 -28
- package/src/components/LXP/permission/permissionStyle.ts +0 -52
- package/src/components/LXP/popOver/index.tsx +0 -111
- package/src/components/LXP/popOver/popOver.d.ts +0 -30
- package/src/components/LXP/popOver/popOver.stories.tsx +0 -128
- package/src/components/LXP/popOver/popOverStyle.ts +0 -130
- package/src/components/LXP/popOverLXP-antigo/index.tsx +0 -48
- package/src/components/LXP/popOverLXP-antigo/popOverLXP.d.ts +0 -9
- package/src/components/LXP/popOverLXP-antigo/popOverLXP.stories.tsx +0 -103
- package/src/components/LXP/popOverLXP-antigo/popOverLXPStyles.ts +0 -121
- package/src/components/LXP/progressBar/index.tsx +0 -18
- package/src/components/LXP/progressBar/progressBar.d.ts +0 -8
- package/src/components/LXP/progressBar/progressBar.stories.tsx +0 -18
- package/src/components/LXP/progressBar/progressStyle.ts +0 -28
- package/src/components/LXP/searchResults/index.tsx +0 -36
- package/src/components/LXP/searchResults/searchResults.d.ts +0 -11
- package/src/components/LXP/searchResults/searchResults.stories.tsx +0 -23
- package/src/components/LXP/searchResults/searchResultsStyles.ts +0 -63
- package/src/components/LXP/selectLXP/SelectLXP.tsx +0 -170
- package/src/components/LXP/selectLXP/SelectLXPContext.tsx +0 -9
- package/src/components/LXP/selectLXP/SelectLXPItem.tsx +0 -63
- package/src/components/LXP/selectLXP/index.tsx +0 -16
- package/src/components/LXP/selectLXP/selectLXP.stories.tsx +0 -20
- package/src/components/LXP/star-metric/index.tsx +0 -28
- package/src/components/LXP/star-metric/starMetric.d.ts +0 -6
- package/src/components/LXP/star-metric/starMetric.stories.tsx +0 -18
- package/src/components/LXP/star-metric/starMetricStyles.ts +0 -17
- package/src/components/LXP/thumbnails/thumbnails.d.ts +0 -36
- package/src/components/LXP/thumbnails/thumbnails.stories.tsx +0 -48
- package/src/components/LXP/thumbnails/thumbnails.tsx +0 -217
- package/src/components/LXP/thumbnails/thumbnailsDraggable.tsx +0 -73
- package/src/components/LXP/thumbnails/thumbnailsStyle.ts +0 -183
- package/src/components/LXP/thumbnails/vectorCross.tsx +0 -25
- package/src/components/LXP/thumbnails/vectorEllipse.tsx +0 -38
- package/src/components/LXP/tooltip/index.tsx +0 -15
- package/src/components/LXP/tooltip/tooltip.stories.tsx +0 -19
- package/src/components/LXP/tooltip/tooltipStyle.ts +0 -114
- package/src/components/LXP/urlAddress/index.tsx +0 -30
- package/src/components/LXP/urlAddress/urlAddress.d.ts +0 -10
- package/src/components/LXP/urlAddress/urlAddress.stories.tsx +0 -21
- package/src/components/LXP/urlAddress/urlAddressStyle.ts +0 -61
- package/src/components/LXP/video/Video.d.ts +0 -19
- package/src/components/LXP/video/Video.stories.tsx +0 -95
- package/src/components/LXP/video/index.tsx +0 -22
- package/src/components/LogoFRST/index.tsx +0 -34
- package/src/components/LogoFRST/logoFRST.module.css +0 -27
- package/src/components/LogoFRST/logoFRST.stories.tsx +0 -38
- package/src/components/accordion-tabs/accordionTabs.d.ts +0 -19
- package/src/components/accordion-tabs/accordionTabs.stories.tsx +0 -34
- package/src/components/accordion-tabs/accordionTabsStyles.ts +0 -114
- package/src/components/accordion-tabs/index.tsx +0 -77
- package/src/components/audio-player/Royalty.mp3 +0 -0
- package/src/components/audio-player/audioPlayer.stories.tsx +0 -39
- package/src/components/audio-player/audioPlayerStyles.ts +0 -314
- package/src/components/audio-player/index.tsx +0 -209
- package/src/components/avatar/avatar.d.ts +0 -8
- package/src/components/avatar/avatar.stories.tsx +0 -21
- package/src/components/avatar/avatarStyles.ts +0 -23
- package/src/components/avatar/index.tsx +0 -21
- package/src/components/buttons/buttonStyle.ts +0 -339
- package/src/components/buttons/buttons.stories.tsx +0 -52
- package/src/components/buttons/buttonsWithIcons.stories.tsx +0 -57
- package/src/components/buttons/index.tsx +0 -90
- package/src/components/calendar/calendar.stories.tsx +0 -156
- package/src/components/calendar/calendarStyle.ts +0 -209
- package/src/components/calendar/index.tsx +0 -157
- package/src/components/card-trail/cardTrail.stories.tsx +0 -167
- package/src/components/card-trail/cardTrailStyle.ts +0 -31
- package/src/components/card-trail/index.tsx +0 -160
- package/src/components/card-trail/moduleStyle.ts +0 -98
- package/src/components/card-trail-carousel/cardsTrailsCarousel.d.ts +0 -13
- package/src/components/card-trail-carousel/cardsTrailsCarousel.stories.tsx +0 -152
- package/src/components/card-trail-carousel/index.tsx +0 -47
- package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.module.css +0 -20
- package/src/components/cardLT/AvatarWithInfo/avatarWithInfo.stories.tsx +0 -18
- package/src/components/cardLT/AvatarWithInfo/index.tsx +0 -55
- package/src/components/cardLT/AvatarWithInfo/vector.tsx +0 -25
- package/src/components/cardLT/BannerProblem/BannerProblem.d.ts +0 -98
- package/src/components/cardLT/BannerProblem/BannerProblem.module.css +0 -113
- package/src/components/cardLT/BannerProblem/BannerProblem.stories.tsx +0 -191
- package/src/components/cardLT/BannerProblem/index.tsx +0 -433
- package/src/components/cardLT/BannerProblem/styles.ts +0 -16
- package/src/components/cardLT/MessageBox/MessageBox.module.css +0 -142
- package/src/components/cardLT/MessageBox/icons/errorIcon.tsx +0 -19
- package/src/components/cardLT/MessageBox/icons/successIcon.tsx +0 -18
- package/src/components/cardLT/MessageBox/icons/warningIcon.tsx +0 -20
- package/src/components/cardLT/MessageBox/index.tsx +0 -124
- package/src/components/cardLT/MessageBox/messageBox.stories.tsx +0 -53
- package/src/components/cardLT/Rating/Rating.module.css +0 -50
- package/src/components/cardLT/Rating/index.tsx +0 -92
- package/src/components/cardLT/Rating/rating.stories.tsx +0 -34
- package/src/components/cardLT/Rating/starIcon.tsx +0 -24
- package/src/components/cardLT/RatingCurtidas/RatingCurtidas.module.css +0 -16
- package/src/components/cardLT/RatingCurtidas/index.tsx +0 -80
- package/src/components/cardLT/RatingCurtidas/ratingCurtidas.stories.tsx +0 -21
- package/src/components/cardLT/RocketButton/RocketButton.stories.tsx +0 -28
- package/src/components/cardLT/RocketButton/RocketButtonIcon.tsx +0 -36
- package/src/components/cardLT/RocketButton/index.tsx +0 -57
- package/src/components/cardLT/StepsMission/Planet.module.css +0 -137
- package/src/components/cardLT/StepsMission/StepMission.tsx +0 -220
- package/src/components/cardLT/StepsMission/Steps.tsx +0 -116
- package/src/components/cardLT/StepsMission/planet.stories.tsx +0 -73
- package/src/components/cardLT/StepsMission/planetSteps.d.ts +0 -40
- package/src/components/cardLT/StepsMission/planets/jupter.png +0 -0
- package/src/components/cardLT/StepsMission/planets/lock.png +0 -0
- package/src/components/cardLT/StepsMission/planets/marte.png +0 -0
- package/src/components/cardLT/StepsMission/planets/netuno.png +0 -0
- package/src/components/cardLT/StepsMission/planets/saturno.png +0 -0
- package/src/components/cardLT/StepsMission/planets/urano.png +0 -0
- package/src/components/cardLT/TextIcon/TextIcon.module.css +0 -8
- package/src/components/cardLT/TextIcon/index.tsx +0 -64
- package/src/components/cardLT/TextIcon/starIcon.tsx +0 -27
- package/src/components/cardLT/TextIcon/textIcon.stories.tsx +0 -21
- package/src/components/cardLT/selectCard/avatarWithInfo.module.css +0 -20
- package/src/components/cardLT/selectCard/avatarWithInfo.stories.tsx +0 -19
- package/src/components/cardLT/selectCard/index.tsx +0 -55
- package/src/components/cardLT/selectCard/vector.tsx +0 -25
- package/src/components/cards/base/base.stories.tsx +0 -23
- package/src/components/cards/base/index.tsx +0 -10
- package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.module.css +0 -88
- package/src/components/cards/cardDefinicaoProblema/cardDefinicaoProblema.stories.tsx +0 -95
- package/src/components/cards/cardDefinicaoProblema/index.tsx +0 -98
- package/src/components/cards/cardProblem/cardProblem.module.css +0 -114
- package/src/components/cards/cardProblem/cardProblem.stories.tsx +0 -164
- package/src/components/cards/cardProblem/index.tsx +0 -251
- package/src/components/cards/cardProblemGestor/cardProblemaGestor.module.css +0 -99
- package/src/components/cards/cardProblemGestor/cardProblemaGestor.stories.tsx +0 -78
- package/src/components/cards/cardProblemGestor/index.tsx +0 -105
- package/src/components/cards/cardResultConquista/Icons/Aprendizado.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/AprendizadoPressed.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/Conquista.png +0 -0
- package/src/components/cards/cardResultConquista/Icons/ConquistaPressed.png +0 -0
- package/src/components/cards/cardResultConquista/cardResultConquista.module.css +0 -52
- package/src/components/cards/cardResultConquista/cardResultConquista.stories.tsx +0 -35
- package/src/components/cards/cardResultConquista/index.tsx +0 -76
- package/src/components/cards/user/index.tsx +0 -204
- package/src/components/cards/user/user.stories.tsx +0 -172
- package/src/components/challenge-cards/challengeCard.d.ts +0 -17
- package/src/components/challenge-cards/challengeCard.stories.tsx +0 -43
- package/src/components/challenge-cards/challengeCardStyles.ts +0 -266
- package/src/components/challenge-cards/dropdownMenuStyle.ts +0 -87
- package/src/components/challenge-cards/index.tsx +0 -308
- package/src/components/checkmark/checkmark.d.ts +0 -11
- package/src/components/checkmark/checkmark.stories.tsx +0 -23
- package/src/components/checkmark/checkmarkStyles.ts +0 -27
- package/src/components/checkmark/index.tsx +0 -61
- package/src/components/commentary-box/commentaryBox.d.ts +0 -41
- package/src/components/commentary-box/commentaryBox.stories.tsx +0 -57
- package/src/components/commentary-box/commentaryBox.utils.ts +0 -31
- package/src/components/commentary-box/commentaryBoxStyles.ts +0 -271
- package/src/components/commentary-box/index.tsx +0 -260
- package/src/components/conquistaCarrossel/conquistaCarrossel.d.ts +0 -13
- package/src/components/conquistaCarrossel/conquistaCarrossel.stories.tsx +0 -163
- package/src/components/conquistaCarrossel/index.tsx +0 -56
- package/src/components/demo/stepController/StepControllerStyle.ts +0 -46
- package/src/components/demo/stepController/index.tsx +0 -54
- package/src/components/demo/stepController/stepController.stories.tsx +0 -22
- package/src/components/dropdown-profile-menu/dropdownProfileMenu.d.ts +0 -28
- package/src/components/dropdown-profile-menu/dropdownProfileMenu.stories.tsx +0 -91
- package/src/components/dropdown-profile-menu/dropdownProfileMenuStyle.ts +0 -171
- package/src/components/dropdown-profile-menu/index.tsx +0 -203
- package/src/components/emoji-picker/emojiPicker.stories.tsx +0 -20
- package/src/components/emoji-picker/index.tsx +0 -60
- package/src/components/exclusive-class/exclusiveClass.d.ts +0 -8
- package/src/components/exclusive-class/exclusiveClass.stories.tsx +0 -19
- package/src/components/exclusive-class/exclusiveClassStyles.ts +0 -39
- package/src/components/exclusive-class/index.tsx +0 -33
- package/src/components/field-search-dropdown/fieldSearch.d.ts +0 -36
- package/src/components/field-search-dropdown/fieldSearch.stories.tsx +0 -92
- package/src/components/field-search-dropdown/fieldSearchStyle.ts +0 -150
- package/src/components/field-search-dropdown/index.tsx +0 -233
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.d.ts +0 -7
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.stories.tsx +0 -101
- package/src/components/filter-accordion-checkbox/filterAccordionCheckbox.utils.ts +0 -7
- package/src/components/filter-accordion-checkbox/filterAccordionCheckboxStyles.ts +0 -2
- package/src/components/filter-accordion-checkbox/index.tsx +0 -188
- package/src/components/form-elements/checkbox/checkbox.d.ts +0 -9
- package/src/components/form-elements/checkbox/checkbox.stories.tsx +0 -20
- package/src/components/form-elements/checkbox/checkboxStyle.ts +0 -40
- package/src/components/form-elements/checkbox/index.tsx +0 -33
- package/src/components/form-elements/textarea/index.tsx +0 -6
- package/src/components/form-elements/textarea/textArea.stories.tsx +0 -27
- package/src/components/form-elements/textfield/index.tsx +0 -104
- package/src/components/form-elements/textfield/textField.stories.tsx +0 -124
- package/src/components/form-elements/textfield/textFieldStyle.ts +0 -213
- package/src/components/global-menu/components/customMenu/index.tsx +0 -1
- package/src/components/global-menu/globalMenu.d.ts +0 -66
- package/src/components/global-menu/globalMenu.stories.tsx +0 -959
- package/src/components/global-menu/globalMenuStyles.ts +0 -197
- package/src/components/global-menu/index.tsx +0 -1336
- package/src/components/headerChallenge/headerChallenge.stories.tsx +0 -20
- package/src/components/headerChallenge/headerChallengeStyle.ts +0 -102
- package/src/components/headerChallenge/index.tsx +0 -17
- package/src/components/index.tsx +0 -46
- package/src/components/input-comment/index.tsx +0 -178
- package/src/components/input-comment/inputComment.d.ts +0 -16
- package/src/components/input-comment/inputComment.stories.tsx +0 -26
- package/src/components/input-comment/inputComment.utils.ts +0 -7
- package/src/components/input-comment/inputCommentStyles.ts +0 -116
- package/src/components/item-lateral-menu/index.tsx +0 -87
- package/src/components/item-lateral-menu/itemLateralMenu.d.ts +0 -30
- package/src/components/item-lateral-menu/itemLateralMenu.stories.tsx +0 -159
- package/src/components/item-lateral-menu/itemLateralMenuStyles.ts +0 -131
- package/src/components/item-menu-global/index.tsx +0 -36
- package/src/components/item-menu-global/itemMenuGlobal.d.ts +0 -16
- package/src/components/item-menu-global/itemMenuGlobal.stories.tsx +0 -40
- package/src/components/item-menu-global/itemMenuGlobalStyles.ts +0 -73
- package/src/components/languages-dropdown/index.tsx +0 -102
- package/src/components/languages-dropdown/languagesDropdown.d.ts +0 -13
- package/src/components/languages-dropdown/languagesDropdown.stories.tsx +0 -38
- package/src/components/languages-dropdown/languagesDropdownStyles.ts +0 -66
- package/src/components/lateral-menu/index.tsx +0 -68
- package/src/components/lateral-menu/lateralMenu.d.ts +0 -17
- package/src/components/lateral-menu/lateralMenu.stories.tsx +0 -429
- package/src/components/lateral-menu/lateralMenuStyles.ts +0 -68
- package/src/components/learning-steps/index.tsx +0 -67
- package/src/components/learning-steps/learningSteps.d.ts +0 -16
- package/src/components/learning-steps/learningSteps.stories.tsx +0 -123
- package/src/components/learning-steps/learningStepsStyles.ts +0 -46
- package/src/components/menu-more/index.tsx +0 -79
- package/src/components/menu-more/menuMore.d.ts +0 -15
- package/src/components/menu-more/menuMore.stories.tsx +0 -76
- package/src/components/menu-more/menuMoreStyles.ts +0 -123
- package/src/components/modal/modalLearningTech/index.tsx +0 -67
- package/src/components/modal/modalLearningTech/modalLearningTech.module.css +0 -79
- package/src/components/modal/modalLearningTech/modalLearningTech.stories.tsx +0 -60
- package/src/components/modal/modalVideo/index.tsx +0 -129
- package/src/components/modal/modalVideo/modalVideo.module.css +0 -27
- package/src/components/modal/modalVideo/modalVideo.stories.tsx +0 -41
- package/src/components/modal/statusProblema/fecharIcon.tsx +0 -18
- package/src/components/modal/statusProblema/index.tsx +0 -124
- package/src/components/modal/statusProblema/problemaFRST.png +0 -0
- package/src/components/modal/statusProblema/statusProblema.module.css +0 -154
- package/src/components/modal/statusProblema/statusProblema.stories.tsx +0 -27
- package/src/components/quantidadeDesafios/imgSetas/setasDesafios.svg +0 -60
- package/src/components/quantidadeDesafios/index.tsx +0 -152
- package/src/components/quantidadeDesafios/quantidadeDesafios.stories.tsx +0 -49
- package/src/components/quantidadeDesafios/quantidadeDesafios.ts +0 -121
- package/src/components/sandbox.stories.tsx +0 -18
- package/src/components/scroll-container/index.tsx +0 -189
- package/src/components/scroll-container/scrollContainer.d.ts +0 -17
- package/src/components/scroll-container/scrollContainer.stories.tsx +0 -45
- package/src/components/scroll-container/scrollContainer.utils.ts +0 -11
- package/src/components/scroll-container/scrollContainerStyles.ts +0 -93
- package/src/components/search-field/index.tsx +0 -48
- package/src/components/search-field/searchField.d.ts +0 -13
- package/src/components/search-field/searchField.stories.tsx +0 -40
- package/src/components/search-field/searchFieldStyles.ts +0 -100
- package/src/components/select/Select.tsx +0 -170
- package/src/components/select/SelectContext.tsx +0 -9
- package/src/components/select/SelectItem.tsx +0 -63
- package/src/components/select/index.tsx +0 -16
- package/src/components/select/select.stories.tsx +0 -20
- package/src/components/speech-bubble/index.tsx +0 -29
- package/src/components/speech-bubble/speechBubble.d.ts +0 -10
- package/src/components/speech-bubble/speechBubble.stories.tsx +0 -20
- package/src/components/speech-bubble/speechBubbleStyles.ts +0 -121
- package/src/components/step-card/index.tsx +0 -48
- package/src/components/step-card/stepCard.d.ts +0 -12
- package/src/components/step-card/stepCard.stories.tsx +0 -26
- package/src/components/step-card/stepCardStyles.ts +0 -109
- package/src/components/tag/base.stories.tsx +0 -52
- package/src/components/tag/index.tsx +0 -59
- package/src/components/totalizer-card/index.tsx +0 -29
- package/src/components/totalizer-card/totalizerCard.d.ts +0 -10
- package/src/components/totalizer-card/totalizerCard.stories.tsx +0 -34
- package/src/components/totalizer-card/totalizerCardStyles.ts +0 -97
- package/src/icons.stories.tsx +0 -321
- package/src/shared/global.css +0 -146
- package/src/shared/globalComponentsStyle.ts +0 -88
- package/src/shared/icons.tsx +0 -3544
- package/src/shared/stories/AlertCicle.stories.tsx +0 -17
- package/src/shared/stories/CheckInCicleIcon.stories.tsx +0 -19
- package/src/shared/stories/CloseInCicleIcon.stories.tsx +0 -19
- package/src/shared/stories/DotIcon.stories.tsx +0 -17
- package/src/shared/stories/MoreDotsHorizontal.stories.tsx +0 -17
- package/src/theme/index.ts +0 -6
- package/src/theme/tokens.ts +0 -196
- package/tsconfig.json +0 -39
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
.rdrCalendarWrapper{
|
|
2
|
-
color: #000000;
|
|
3
|
-
font-size: 16px;
|
|
4
|
-
font-family: 'PT Sans';
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.rdrDateDisplayWrapper{
|
|
8
|
-
background-color: rgb(239, 242, 247);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.rdrDateDisplay{
|
|
12
|
-
margin: 0.833em;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.rdrDateDisplayItem{
|
|
16
|
-
border-radius: 4px;
|
|
17
|
-
background-color: rgb(255, 255, 255);
|
|
18
|
-
box-shadow: 0 1px 2px 0 rgba(35, 57, 66, 0.21);
|
|
19
|
-
border: 1px solid transparent;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.rdrDateDisplayItem input{
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
height: 2.5em;
|
|
25
|
-
line-height: 2.5em;
|
|
26
|
-
border: 0px;
|
|
27
|
-
background: transparent;
|
|
28
|
-
width: 100%;
|
|
29
|
-
color: #222222;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.rdrDateDisplayItemActive{
|
|
33
|
-
border-color: currentColor;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.rdrDateDisplayItemActive input{
|
|
37
|
-
color: #7d888d
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.rdrMonthAndYearWrapper {
|
|
41
|
-
align-items: center;
|
|
42
|
-
height: 60px;
|
|
43
|
-
padding-top: 10px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.rdrMonthAndYearPickers{
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.rdrMonthAndYearPickers select{
|
|
51
|
-
-moz-appearance: none;
|
|
52
|
-
appearance: none;
|
|
53
|
-
-webkit-appearance: none;
|
|
54
|
-
border: 0;
|
|
55
|
-
background: transparent;
|
|
56
|
-
padding: 10px 30px 10px 10px;
|
|
57
|
-
border-radius: 4px;
|
|
58
|
-
outline: 0;
|
|
59
|
-
color: #FF4D0D;
|
|
60
|
-
background: url("data:image/svg+xml;utf8,<svg width='9px' height='6px' viewBox='0 0 9 6' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Artboard' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' transform='translate(-636.000000, -171.000000)' fill-opacity='0.368716033'><g id='input' transform='translate(172.000000, 37.000000)' fill='%230E242F' fill-rule='nonzero'><g id='Group-9' transform='translate(323.000000, 127.000000)'><path d='M142.280245,7.23952813 C141.987305,6.92353472 141.512432,6.92361662 141.219585,7.23971106 C140.926739,7.5558055 140.926815,8.06821394 141.219755,8.38420735 L145.498801,13 L149.780245,8.38162071 C150.073185,8.0656273 150.073261,7.55321886 149.780415,7.23712442 C149.487568,6.92102998 149.012695,6.92094808 148.719755,7.23694149 L145.498801,10.7113732 L142.280245,7.23952813 Z' id='arrow'></path></g></g></g></svg>") no-repeat;
|
|
61
|
-
background-position: right 8px center;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
text-align: center;
|
|
64
|
-
display: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.rdrMonthAndYearPickers select:hover{
|
|
68
|
-
background-color: rgba(187, 22, 22, 0.07);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.rdrMonthPicker, .rdrYearPicker{
|
|
72
|
-
margin: 0 5px
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.rdrNextPrevButton {
|
|
76
|
-
display: block;
|
|
77
|
-
width: 24px;
|
|
78
|
-
height: 24px;
|
|
79
|
-
margin: 0 0.833em;
|
|
80
|
-
padding: 0;
|
|
81
|
-
border: 0;
|
|
82
|
-
border-radius: 5px;
|
|
83
|
-
background: #EFF2F7
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.rdrNextPrevButton:hover{
|
|
87
|
-
background: #E1E7F0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.rdrNextPrevButton i {
|
|
91
|
-
display: block;
|
|
92
|
-
width: 0;
|
|
93
|
-
height: 0;
|
|
94
|
-
padding: 0;
|
|
95
|
-
text-align: center;
|
|
96
|
-
border-style: solid;
|
|
97
|
-
margin: auto;
|
|
98
|
-
transform: translate(-3px, 0px);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.rdrPprevButton i {
|
|
102
|
-
border-width: 4px 6px 4px 4px;
|
|
103
|
-
border-color: transparent rgb(52, 73, 94) transparent transparent;
|
|
104
|
-
transform: translate(-3px, 0px);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.rdrNextButton i {
|
|
108
|
-
margin: 0 0 0 7px;
|
|
109
|
-
border-width: 4px 4px 4px 6px;
|
|
110
|
-
border-color: transparent transparent transparent rgb(52, 73, 94);
|
|
111
|
-
transform: translate(3px, 0px);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.rdrWeekDays {
|
|
115
|
-
padding: 0 0.833em;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.rdrMonth{
|
|
119
|
-
padding: 0 0.833em 1.666em 0.833em;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.rdrMonth .rdrWeekDays {
|
|
123
|
-
padding: 0;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.rdrMonths.rdrMonthsVertical .rdrMonth:first-child .rdrMonthName{
|
|
127
|
-
display: none;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.rdrWeekDay {
|
|
131
|
-
font-weight: 400;
|
|
132
|
-
line-height: 2.667em;
|
|
133
|
-
color: #FF4D0D;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.rdrDay {
|
|
137
|
-
background: transparent;
|
|
138
|
-
-webkit-user-select: none;
|
|
139
|
-
-moz-user-select: none;
|
|
140
|
-
-ms-user-select: none;
|
|
141
|
-
user-select: none;
|
|
142
|
-
border: 0;
|
|
143
|
-
padding: 0;
|
|
144
|
-
line-height: 3.000em;
|
|
145
|
-
height: 3.000em;
|
|
146
|
-
text-align: center;
|
|
147
|
-
color: #1d2429;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.rdrDay:focus {
|
|
151
|
-
outline: 0;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.rdrDayNumber {
|
|
155
|
-
outline: 0;
|
|
156
|
-
font-weight: 300;
|
|
157
|
-
position: absolute;
|
|
158
|
-
left: 0;
|
|
159
|
-
right: 0;
|
|
160
|
-
top: 0;
|
|
161
|
-
bottom: 0;
|
|
162
|
-
top: 5px;
|
|
163
|
-
bottom: 5px;
|
|
164
|
-
display: flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
justify-content: center;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.rdrDayToday .rdrDayNumber span{
|
|
170
|
-
font-weight: 500
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.rdrDayToday:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span:after,.rdrDayToday:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span:after,.rdrDayToday:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span:after,.rdrDayToday:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span:after{
|
|
174
|
-
background: #fff;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.rdrDay:not(.rdrDayPassive) .rdrInRange ~ .rdrDayNumber span,.rdrDay:not(.rdrDayPassive) .rdrStartEdge ~ .rdrDayNumber span,.rdrDay:not(.rdrDayPassive) .rdrEndEdge ~ .rdrDayNumber span,.rdrDay:not(.rdrDayPassive) .rdrSelected ~ .rdrDayNumber span{
|
|
178
|
-
color: rgba(255, 255, 255, 0.85);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.rdrSelected, .rdrInRange, .rdrStartEdge, .rdrEndEdge{
|
|
182
|
-
background: currentColor;
|
|
183
|
-
position: absolute;
|
|
184
|
-
top: 5px;
|
|
185
|
-
left: 0;
|
|
186
|
-
right: 0;
|
|
187
|
-
bottom: 5px;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.rdrSelected{
|
|
191
|
-
left: 2px;
|
|
192
|
-
right: 2px;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
.rdrStartEdge{
|
|
197
|
-
border-top-left-radius: 1.042em;
|
|
198
|
-
border-bottom-left-radius: 1.042em;
|
|
199
|
-
left: 2px;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.rdrEndEdge{
|
|
203
|
-
border-top-right-radius: 1.042em;
|
|
204
|
-
border-bottom-right-radius: 1.042em;
|
|
205
|
-
right: 2px;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.rdrSelected{
|
|
209
|
-
border-radius: 1.042em;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.rdrDayStartOfMonth .rdrInRange, .rdrDayStartOfMonth .rdrEndEdge, .rdrDayStartOfWeek .rdrInRange, .rdrDayStartOfWeek .rdrEndEdge{
|
|
213
|
-
border-top-left-radius: 1.042em;
|
|
214
|
-
border-bottom-left-radius: 1.042em;
|
|
215
|
-
left: 2px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.rdrDayEndOfMonth .rdrInRange, .rdrDayEndOfMonth .rdrStartEdge, .rdrDayEndOfWeek .rdrInRange, .rdrDayEndOfWeek .rdrStartEdge{
|
|
219
|
-
border-top-right-radius: 1.042em;
|
|
220
|
-
border-bottom-right-radius: 1.042em;
|
|
221
|
-
right: 2px;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.rdrDayStartOfMonth .rdrDayInPreview, .rdrDayStartOfMonth .rdrDayEndPreview, .rdrDayStartOfWeek .rdrDayInPreview, .rdrDayStartOfWeek .rdrDayEndPreview{
|
|
225
|
-
border-top-left-radius: 1.333em;
|
|
226
|
-
border-bottom-left-radius: 1.333em;
|
|
227
|
-
border-left-width: 1px;
|
|
228
|
-
left: 0px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.rdrDayEndOfMonth .rdrDayInPreview, .rdrDayEndOfMonth .rdrDayStartPreview, .rdrDayEndOfWeek .rdrDayInPreview, .rdrDayEndOfWeek .rdrDayStartPreview{
|
|
232
|
-
border-top-right-radius: 1.333em;
|
|
233
|
-
border-bottom-right-radius: 1.333em;
|
|
234
|
-
border-right-width: 1px;
|
|
235
|
-
right: 0px;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview{
|
|
239
|
-
background: rgba(255, 255, 255, 0.09);
|
|
240
|
-
position: absolute;
|
|
241
|
-
top: 3px;
|
|
242
|
-
left: 0px;
|
|
243
|
-
right: 0px;
|
|
244
|
-
bottom: 3px;
|
|
245
|
-
pointer-events: none;
|
|
246
|
-
border: 0px solid currentColor;
|
|
247
|
-
z-index: 1;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.rdrDayStartPreview{
|
|
251
|
-
border-top-width: 1px;
|
|
252
|
-
border-left-width: 1px;
|
|
253
|
-
border-bottom-width: 1px;
|
|
254
|
-
border-top-left-radius: 1.333em;
|
|
255
|
-
border-bottom-left-radius: 1.333em;
|
|
256
|
-
left: 0px;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.rdrDayInPreview{
|
|
260
|
-
border-top-width: 1px;
|
|
261
|
-
border-bottom-width: 1px;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.rdrDayEndPreview{
|
|
265
|
-
border-top-width: 1px;
|
|
266
|
-
border-right-width: 1px;
|
|
267
|
-
border-bottom-width: 1px;
|
|
268
|
-
border-top-right-radius: 1.333em;
|
|
269
|
-
border-bottom-right-radius: 1.333em;
|
|
270
|
-
right: 2px;
|
|
271
|
-
right: 0px;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.rdrDefinedRangesWrapper{
|
|
275
|
-
font-size: 12px;
|
|
276
|
-
width: 226px;
|
|
277
|
-
border-right: solid 1px #eff2f7;
|
|
278
|
-
background: #fff;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.rdrDefinedRangesWrapper .rdrStaticRangeSelected{
|
|
282
|
-
color: currentColor;
|
|
283
|
-
font-weight: 600;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.rdrStaticRange{
|
|
287
|
-
border: 0;
|
|
288
|
-
cursor: pointer;
|
|
289
|
-
display: block;
|
|
290
|
-
outline: 0;
|
|
291
|
-
border-bottom: 1px solid #eff2f7;
|
|
292
|
-
padding: 0;
|
|
293
|
-
background: #fff
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.rdrStaticRange:hover .rdrStaticRangeLabel,.rdrStaticRange:focus .rdrStaticRangeLabel{
|
|
297
|
-
background: #eff2f7;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.rdrStaticRangeLabel{
|
|
301
|
-
display: block;
|
|
302
|
-
outline: 0;
|
|
303
|
-
line-height: 18px;
|
|
304
|
-
padding: 10px 20px;
|
|
305
|
-
text-align: left;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.rdrInputRanges{
|
|
309
|
-
padding: 10px 0;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.rdrInputRange{
|
|
313
|
-
align-items: center;
|
|
314
|
-
padding: 5px 20px;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.rdrInputRangeInput{
|
|
318
|
-
width: 30px;
|
|
319
|
-
height: 30px;
|
|
320
|
-
line-height: 30px;
|
|
321
|
-
border-radius: 4px;
|
|
322
|
-
text-align: center;
|
|
323
|
-
border: solid 1px rgb(222, 231, 235);
|
|
324
|
-
margin-right: 10px;
|
|
325
|
-
color: rgb(108, 118, 122)
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.rdrInputRangeInput:focus, .rdrInputRangeInput:hover{
|
|
329
|
-
border-color: rgb(180, 191, 196);
|
|
330
|
-
outline: 0;
|
|
331
|
-
color: #333;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrDayHovered .rdrDayNumber:after{
|
|
335
|
-
content: '';
|
|
336
|
-
border: 1px solid currentColor;
|
|
337
|
-
border-radius: 1.333em;
|
|
338
|
-
position: absolute;
|
|
339
|
-
top: -2px;
|
|
340
|
-
bottom: -2px;
|
|
341
|
-
left: 0px;
|
|
342
|
-
right: 0px;
|
|
343
|
-
background: transparent;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.rdrDayPassive{
|
|
347
|
-
pointer-events: none;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.rdrDayPassive .rdrDayNumber span{
|
|
351
|
-
color: #AEB0B3;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.rdrDayPassive .rdrInRange, .rdrDayPassive .rdrStartEdge, .rdrDayPassive .rdrEndEdge, .rdrDayPassive .rdrSelected, .rdrDayPassive .rdrDayStartPreview, .rdrDayPassive .rdrDayInPreview, .rdrDayPassive .rdrDayEndPreview{
|
|
355
|
-
display: none;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.rdrDayDisabled {
|
|
359
|
-
background-color: rgb(248, 248, 248);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.rdrDayDisabled .rdrDayNumber span{
|
|
363
|
-
color: #aeb9bf;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.rdrDayDisabled .rdrInRange, .rdrDayDisabled .rdrStartEdge, .rdrDayDisabled .rdrEndEdge, .rdrDayDisabled .rdrSelected, .rdrDayDisabled .rdrDayStartPreview, .rdrDayDisabled .rdrDayInPreview, .rdrDayDisabled .rdrDayEndPreview{
|
|
367
|
-
filter: grayscale(100%) opacity(60%);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.rdrMonthName{
|
|
371
|
-
text-align: center;
|
|
372
|
-
font-weight: 700;
|
|
373
|
-
color: #FF4D0D;
|
|
374
|
-
padding: 0.833em;
|
|
375
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.containerCalendar {
|
|
2
|
-
display: flex;
|
|
3
|
-
position: relative;
|
|
4
|
-
width: fit-content;
|
|
5
|
-
min-height: 550px;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
background-color: #FFF;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.fechar{
|
|
11
|
-
font-size: 12px;
|
|
12
|
-
color: #222222;
|
|
13
|
-
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: right;
|
|
16
|
-
align-items: center;
|
|
17
|
-
position: absolute;
|
|
18
|
-
top: 0;
|
|
19
|
-
right: 0;
|
|
20
|
-
|
|
21
|
-
margin-right: 24px;
|
|
22
|
-
margin-top: 24px;
|
|
23
|
-
cursor: default;
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.calendar {
|
|
28
|
-
padding: 32px;
|
|
29
|
-
display: inline-flex;
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.btnSubmit {
|
|
34
|
-
position: absolute;
|
|
35
|
-
right: 0;
|
|
36
|
-
bottom: 0;
|
|
37
|
-
margin-right: 24px;
|
|
38
|
-
margin-bottom: 24px;
|
|
39
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import CalendarLxp from './index'
|
|
4
|
-
|
|
5
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
6
|
-
export default {
|
|
7
|
-
title: 'LXP/CalendarLxp',
|
|
8
|
-
component: CalendarLxp,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
12
|
-
const Template = (args) => <CalendarLxp {...args} />
|
|
13
|
-
|
|
14
|
-
export const Normal = Template.bind({})
|
|
15
|
-
Normal.args = {
|
|
16
|
-
open: true,
|
|
17
|
-
onSave: (date) => alert(date),
|
|
18
|
-
handleClose: () => alert('Saindo!'),
|
|
19
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
addDays,
|
|
3
|
-
endOfDay,
|
|
4
|
-
startOfDay,
|
|
5
|
-
startOfMonth,
|
|
6
|
-
endOfMonth,
|
|
7
|
-
addMonths,
|
|
8
|
-
startOfWeek,
|
|
9
|
-
endOfWeek,
|
|
10
|
-
isSameDay,
|
|
11
|
-
differenceInCalendarDays,
|
|
12
|
-
startOfQuarter,
|
|
13
|
-
endOfQuarter,
|
|
14
|
-
addQuarters,
|
|
15
|
-
startOfYear,
|
|
16
|
-
endOfYear,
|
|
17
|
-
} from 'date-fns';
|
|
18
|
-
|
|
19
|
-
const defineds = {
|
|
20
|
-
startOfWeek: startOfWeek(new Date()),
|
|
21
|
-
endOfWeek: endOfWeek(new Date()),
|
|
22
|
-
startOfLastWeek: startOfWeek(addDays(new Date(), -7)),
|
|
23
|
-
endOfLastWeek: endOfWeek(addDays(new Date(), -7)),
|
|
24
|
-
startOfToday: startOfDay(new Date()),
|
|
25
|
-
endOfToday: endOfDay(new Date()),
|
|
26
|
-
startOfYesterday: startOfDay(addDays(new Date(), -1)),
|
|
27
|
-
endOfYesterday: endOfDay(addDays(new Date(), -1)),
|
|
28
|
-
startOfMonth: startOfMonth(new Date()),
|
|
29
|
-
endOfMonth: endOfMonth(new Date()),
|
|
30
|
-
startOfLastMonth: startOfMonth(addMonths(new Date(), -1)),
|
|
31
|
-
endOfLastMonth: endOfMonth(addMonths(new Date(), -1)),
|
|
32
|
-
startOfQuarter: startOfQuarter(new Date()),
|
|
33
|
-
endOfQuarter: endOfQuarter(new Date()),
|
|
34
|
-
startOfLastQuarter: startOfQuarter(addQuarters(new Date(), -1)),
|
|
35
|
-
endOfLastQuarter: endOfQuarter(addQuarters(new Date(), -1)),
|
|
36
|
-
startOfYear: startOfYear(new Date()),
|
|
37
|
-
endOfYear: endOfYear(new Date()),
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
const staticRangeHandler = {
|
|
41
|
-
range: {},
|
|
42
|
-
isSelected(range) {
|
|
43
|
-
const definedRange = range;
|
|
44
|
-
return (
|
|
45
|
-
isSameDay(range.startDate, definedRange.startDate) &&
|
|
46
|
-
isSameDay(range.endDate, definedRange.endDate)
|
|
47
|
-
);
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export function createStaticRanges(ranges) {
|
|
52
|
-
return ranges.map(range => ({ ...staticRangeHandler, ...range }));
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export const defaultStaticRanges = createStaticRanges([
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
label: 'Esta semana',
|
|
59
|
-
range: () => ({
|
|
60
|
-
startDate: defineds.startOfWeek,
|
|
61
|
-
endDate: defineds.endOfWeek,
|
|
62
|
-
}),
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
label: 'Semana passada',
|
|
66
|
-
range: () => ({
|
|
67
|
-
startDate: defineds.startOfLastWeek,
|
|
68
|
-
endDate: defineds.endOfLastWeek,
|
|
69
|
-
}),
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
label: 'Mês passado',
|
|
73
|
-
range: () => ({
|
|
74
|
-
startDate: defineds.startOfLastMonth,
|
|
75
|
-
endDate: defineds.endOfLastMonth,
|
|
76
|
-
}),
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
label: 'Este trimestre',
|
|
80
|
-
range: () => ({
|
|
81
|
-
startDate: defineds.startOfQuarter,
|
|
82
|
-
endDate: defineds.endOfQuarter
|
|
83
|
-
}),
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
label: 'Trimestre passado',
|
|
87
|
-
range: () => ({
|
|
88
|
-
startDate: defineds.startOfLastQuarter,
|
|
89
|
-
endDate: defineds.endOfLastQuarter
|
|
90
|
-
}),
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: 'Este ano',
|
|
94
|
-
range: () => ({
|
|
95
|
-
startDate: defineds.startOfYear,
|
|
96
|
-
endDate: defineds.endOfYear
|
|
97
|
-
}),
|
|
98
|
-
},
|
|
99
|
-
]);
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react'
|
|
2
|
-
import style from './calendarLxp.module.css'
|
|
3
|
-
import { CloseIcon } from '@shared/icons'
|
|
4
|
-
import Button from '@components/buttons'
|
|
5
|
-
import './calendar.css'
|
|
6
|
-
import { ArrowScrollLeft, ArrowScrollRight } from '@shared/icons'
|
|
7
|
-
import { Box, Modal } from '@mui/material'
|
|
8
|
-
import { DateRange, DefinedRange } from 'react-date-range'
|
|
9
|
-
import { pt } from 'date-fns/locale'
|
|
10
|
-
|
|
11
|
-
//import 'react-date-range/dist/styles.css'; // main style file
|
|
12
|
-
import {defaultStaticRanges} from './defaultRanges'
|
|
13
|
-
|
|
14
|
-
interface CalendarLxpParams {
|
|
15
|
-
styles ?: React.CSSProperties
|
|
16
|
-
open ?: boolean
|
|
17
|
-
onSave ?: ([]) => void
|
|
18
|
-
handleClose ?: () => void
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export default function CalendarLxp(props : CalendarLxpParams) {
|
|
22
|
-
const [newRange, setNewRange] = useState ([
|
|
23
|
-
{
|
|
24
|
-
startDate: new Date(),
|
|
25
|
-
endDate: new Date(),
|
|
26
|
-
key: 'selection'
|
|
27
|
-
}
|
|
28
|
-
])
|
|
29
|
-
pt.options.weekStartsOn = 0
|
|
30
|
-
|
|
31
|
-
return(
|
|
32
|
-
<Modal open={props.open} onClose={props.handleClose} >
|
|
33
|
-
<Box className={style.containerCalendar} style={{...props.styles}} >
|
|
34
|
-
<div className={style.fechar} onClick={props.handleClose}>
|
|
35
|
-
<CloseIcon />
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<div className={style.calendar}>
|
|
39
|
-
<div style={{fontSize: 16}}>
|
|
40
|
-
<DefinedRange
|
|
41
|
-
inputRanges={[]}
|
|
42
|
-
staticRanges={defaultStaticRanges}
|
|
43
|
-
ranges={newRange}
|
|
44
|
-
rangeColors={['#0645AD']}
|
|
45
|
-
onChange={ item => setNewRange([item.selection])}
|
|
46
|
-
/>
|
|
47
|
-
</div>
|
|
48
|
-
<div>
|
|
49
|
-
<DateRange
|
|
50
|
-
locale={pt}
|
|
51
|
-
ranges={newRange}
|
|
52
|
-
onChange={ item => setNewRange([item.selection])}
|
|
53
|
-
months={2}
|
|
54
|
-
direction='horizontal'
|
|
55
|
-
rangeColors={['#FF4D0D']}
|
|
56
|
-
showDateDisplay={false}
|
|
57
|
-
showPreview={false}
|
|
58
|
-
weekdayDisplayFormat='EEEEE'
|
|
59
|
-
preventSnapRefocus={true}
|
|
60
|
-
|
|
61
|
-
/>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
<div className={style.btnSubmit}>
|
|
65
|
-
<Button label='Aplicar' variant='primary' handleClick={ () => {
|
|
66
|
-
props.onSave([newRange[0].startDate, newRange[0].endDate])
|
|
67
|
-
}} />
|
|
68
|
-
</div>
|
|
69
|
-
</Box>
|
|
70
|
-
</Modal>
|
|
71
|
-
)
|
|
72
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
|
|
3
|
-
export interface ICardLearningCicle {
|
|
4
|
-
style?: React.CSSProperties,
|
|
5
|
-
handleClick?: () => void,
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface ITranlateCardLearningCicle extends ICardLearningCicle {
|
|
9
|
-
titleStep1?: string
|
|
10
|
-
titleStep2?: string
|
|
11
|
-
txtStep2?: string
|
|
12
|
-
titleStep3?: string
|
|
13
|
-
txtStep3?: string
|
|
14
|
-
titleStep4?: string
|
|
15
|
-
txtStep4?: string
|
|
16
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import CardLearningCicle from './index'
|
|
4
|
-
import * as Icons from '../../../shared/icons'
|
|
5
|
-
|
|
6
|
-
// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
7
|
-
export default {
|
|
8
|
-
title: 'LXP/CardLearningCicle',
|
|
9
|
-
component: CardLearningCicle,
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
|
|
13
|
-
const Template = (args) => <CardLearningCicle {...args} />
|
|
14
|
-
|
|
15
|
-
export const normal = Template.bind({})
|
|
16
|
-
normal.args = {
|
|
17
|
-
handleClick: () => { alert('Click') },
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const normalTranslate = Template.bind({})
|
|
21
|
-
normalTranslate.args = {
|
|
22
|
-
handleClick: () => { alert('Click') },
|
|
23
|
-
titleStep1: 'Create Learning Cycle',
|
|
24
|
-
titleStep2: 'Group of participants',
|
|
25
|
-
txtStep2: 'Create or select a participant group to relate to one or more content.',
|
|
26
|
-
titleStep3: 'Content created',
|
|
27
|
-
txtStep3: 'Select one or more content for the selected group to see.',
|
|
28
|
-
titleStep4: 'Calendar',
|
|
29
|
-
txtStep4: 'Select the start date of these contents for this group.'
|
|
30
|
-
}
|
|
31
|
-
|