@coorpacademy/components 10.7.0 → 10.9.0
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/es/atom/autocomplete/test/fixtures.js +0 -0
- package/es/atom/avatar/test/fixtures.js +0 -0
- package/es/atom/button/test/fixtures.js +0 -0
- package/es/atom/button-link/index.js +10 -3
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/card-image-preview/test/fixtures.js +15 -0
- package/es/atom/card-image-preview/test/fixtures.js.map +1 -0
- package/es/atom/catalog-section/test/fixtures.js +0 -0
- package/es/atom/centered-text/test/fixtures.js +0 -0
- package/es/atom/checkbox/test/fixtures.js +0 -0
- package/es/atom/clue/test/fixtures.js +0 -0
- package/es/atom/cta/test/fixtures.js +0 -0
- package/es/atom/difficulty-level/test/fixtures.js +0 -0
- package/es/atom/drag-and-drop/test/fixtures.js +0 -0
- package/es/atom/image-upload/test/fixtures.js +0 -0
- package/es/atom/input-checkbox/test/fixtures.js +0 -0
- package/es/atom/input-color/test/fixtures.js +0 -0
- package/es/atom/input-doublestep/test/fixtures.js +0 -0
- package/es/atom/input-html/test/fixtures.js +0 -0
- package/es/atom/input-readonly/test/fixtures.js +0 -0
- package/es/atom/input-switch/test/fixtures.js +0 -0
- package/es/atom/input-text/test/fixtures.js +0 -0
- package/es/atom/input-textarea/test/fixtures.js +0 -0
- package/es/atom/label/test/fixtures.js +0 -0
- package/es/atom/life/test/fixtures.js +0 -0
- package/es/atom/link/test/fixtures.js +0 -0
- package/es/atom/loader/test/fixtures.js +0 -0
- package/es/atom/notification/test/fixtures.js +0 -0
- package/es/atom/picture/test/fixtures.js +0 -0
- package/es/atom/picture-background/test/fixtures.js +0 -0
- package/es/atom/promo-code/test/fixtures.js +0 -0
- package/es/atom/provider/test/fixtures.js +0 -0
- package/es/atom/radio-group/test/fixtures.js +0 -0
- package/es/atom/range/test/fixtures.js +0 -0
- package/es/atom/resource-miniature/test/fixtures.js +0 -0
- package/es/atom/select/test/fixtures.js +4 -0
- package/es/atom/select/test/fixtures.js.map +1 -1
- package/es/atom/slide/test/fixtures.js +0 -0
- package/es/atom/social-link/test/fixtures.js +0 -0
- package/es/atom/spinner/test/fixtures.js +0 -0
- package/es/atom/tab/test/fixtures.js +0 -0
- package/es/atom/tab-content/test/fixtures.js +0 -0
- package/es/atom/tag/index.js +1 -1
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/title/test/fixtures.js +0 -0
- package/es/atom/video-upload/test/fixtures.js +0 -0
- package/es/hoc/animation/test/fixtures.js +0 -0
- package/es/hoc/animation-scheduler/test/fixtures.js +0 -0
- package/es/hoc/swapper/test/fixtures.js +0 -0
- package/es/hoc/transition/test/fixtures.js +0 -0
- package/es/molecule/add-to-my-list/test/fixtures.js +0 -0
- package/es/molecule/answer/test/fixtures.js +0 -0
- package/es/molecule/audio/test/fixtures.js +0 -0
- package/es/molecule/battle-request/test/fixtures.js +0 -0
- package/es/molecule/brand-card/test/fixtures.js +0 -0
- package/es/molecule/brand-card-create/test/fixtures.js +0 -0
- package/es/molecule/brand-create-form/test/fixtures.js +0 -0
- package/es/molecule/brand-download-box/test/fixtures.js +0 -0
- package/es/molecule/brand-form-group/test/fixtures.js +0 -0
- package/es/molecule/brand-tabs/test/fixtures.js +0 -0
- package/es/molecule/brand-upload-box/test/fixtures.js +0 -0
- package/es/molecule/breadcrumbs/test/fixtures.js +0 -0
- package/es/molecule/card/test/fixtures.js +0 -0
- package/es/molecule/card-content/test/fixtures.js +0 -0
- package/es/molecule/card-with-button/test/fixtures.js +0 -0
- package/es/molecule/cockpit-popin/test/fixtures.js +0 -0
- package/es/molecule/cookie-banner/test/fixtures.js +0 -0
- package/es/molecule/course-section/test/fixtures.js +15 -0
- package/es/molecule/course-section/test/fixtures.js.map +1 -0
- package/es/molecule/course-sections/test/fixtures.js +15 -0
- package/es/molecule/course-sections/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
- package/es/molecule/dashboard/cards-list/test/fixtures.js +0 -0
- package/es/molecule/dashboard/news-list/test/fixtures.js +0 -0
- package/es/molecule/dashboard/review-banner/index.js +79 -0
- package/es/molecule/dashboard/review-banner/index.js.map +1 -0
- package/es/molecule/dashboard/review-banner/style.css +186 -0
- package/es/molecule/dashboard/review-banner/test/fixtures/default.js +11 -0
- package/es/molecule/dashboard/review-banner/test/fixtures/default.js.map +1 -0
- package/es/molecule/dashboard/review-banner/test/fixtures.js +13 -0
- package/es/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/start-battle/test/fixtures.js +0 -0
- package/es/molecule/discipline-cta/test/fixtures.js +0 -0
- package/es/molecule/discipline-header/test/fixtures.js +0 -0
- package/es/molecule/discipline-partners/test/fixtures.js +0 -0
- package/es/molecule/discipline-scope/test/fixtures.js +0 -0
- package/es/molecule/drag-and-drop/test/fixtures.js +0 -0
- package/es/molecule/draggable/test/fixtures.js +13 -0
- package/es/molecule/draggable/test/fixtures.js.map +1 -0
- package/es/molecule/draggable-list/test/fixtures.js +15 -0
- package/es/molecule/draggable-list/test/fixtures.js.map +1 -0
- package/es/molecule/external-content-button/test/fixtures.js +0 -0
- package/es/molecule/external-content-viewer/test/fixtures.js +0 -0
- package/es/molecule/feedback/test/fixtures.js +0 -0
- package/es/molecule/filters/test/fixtures.js +0 -0
- package/es/molecule/forum/forum-comment/test/fixtures.js +0 -0
- package/es/molecule/forum/forum-post/test/fixtures.js +0 -0
- package/es/molecule/forum/forum-thread/test/fixtures.js +0 -0
- package/es/molecule/hero/test/fixtures.js +0 -0
- package/es/molecule/login-alert/test/fixtures.js +0 -0
- package/es/molecule/menu-list/test/fixtures.js +0 -0
- package/es/molecule/message-popin/test/fixtures.js +0 -0
- package/es/molecule/modal/test/fixtures.js +0 -0
- package/es/molecule/module-bubble/test/fixtures.js +0 -0
- package/es/molecule/module-card/test/fixtures.js +0 -0
- package/es/molecule/news/test/fixtures.js +0 -0
- package/es/molecule/notification-banner/test/fixtures.js +0 -0
- package/es/molecule/pagination/test/fixtures.js +0 -0
- package/es/molecule/payment-form/test/fixtures.js +0 -0
- package/es/molecule/pdf/test/fixtures.js +0 -0
- package/es/molecule/product-card/test/fixtures.js +0 -0
- package/es/molecule/progress-bar/test/fixtures.js +0 -0
- package/es/molecule/questions/drop-down/test/fixtures.js +0 -0
- package/es/molecule/questions/free-text/test/fixtures.js +4 -2
- package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
- package/es/molecule/questions/qcm/test/fixtures.js +0 -0
- package/es/molecule/questions/qcm-drag/test/fixtures.js +0 -0
- package/es/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
- package/es/molecule/questions/question-range/test/fixtures.js +0 -0
- package/es/molecule/questions/template/test/fixtures.js +0 -0
- package/es/molecule/resource-player/test/fixtures.js +0 -0
- package/es/molecule/review-correction-popin/index.js +103 -0
- package/es/molecule/review-correction-popin/index.js.map +1 -0
- package/es/molecule/review-correction-popin/style.css +315 -0
- package/es/molecule/review-correction-popin/test/fixtures/right.js +17 -0
- package/es/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
- package/es/molecule/review-correction-popin/test/fixtures/wrong.js +19 -0
- package/es/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
- package/es/molecule/review-correction-popin/test/fixtures.js +15 -0
- package/es/molecule/review-correction-popin/test/fixtures.js.map +1 -0
- package/es/molecule/scope-content/test/fixtures.js +0 -0
- package/es/molecule/scope-tabs/test/fixtures.js +0 -0
- package/es/molecule/search/test/fixtures.js +0 -0
- package/es/molecule/search-form/test/fixtures.js +0 -0
- package/es/molecule/select-multiple/test/fixtures.js +0 -0
- package/es/molecule/setup-cohort-item/test/fixtures.js +0 -0
- package/es/molecule/setup-section/test/fixtures.js +0 -0
- package/es/molecule/setup-sections/test/fixtures.js +0 -0
- package/es/molecule/setup-slide/test/fixtures.js +0 -0
- package/es/molecule/setup-slider/test/fixtures.js +0 -0
- package/es/molecule/share/test/fixtures.js +0 -0
- package/es/molecule/ssmenu-list/test/fixtures.js +0 -0
- package/es/molecule/subscription-freemium/test/fixtures.js +0 -0
- package/es/molecule/subscription-premium/test/fixtures.js +0 -0
- package/es/molecule/table/test/fixtures.js +0 -0
- package/es/molecule/teams-popin/test/fixtures.js +0 -0
- package/es/molecule/theme-image/test/fixtures.js +0 -0
- package/es/molecule/titled-checkbox/test/fixtures.js +0 -0
- package/es/molecule/unsubscribe/test/fixtures.js +0 -0
- package/es/molecule/video-iframe/test/fixtures.js +0 -0
- package/es/molecule/video-player/test/fixtures.js +0 -0
- package/es/molecule/wizard-summary/test/fixtures.js +2 -0
- package/es/molecule/wizard-summary/test/fixtures.js.map +1 -1
- package/es/organism/accordion/container/test/fixtures.js +0 -0
- package/es/organism/accordion/part/test/fixtures.js +0 -0
- package/es/organism/accordion/toggler/test/fixtures.js +0 -0
- package/es/organism/brand-dashboard/test/fixtures.js +0 -0
- package/es/organism/brand-form/test/fixtures.js +0 -0
- package/es/organism/brand-table/test/fixtures.js +0 -0
- package/es/organism/brand-upload/test/fixtures.js +0 -0
- package/es/organism/cards-grid/test/fixtures.js +0 -0
- package/es/organism/cart/test/fixtures.js +0 -0
- package/es/organism/discussion/test/fixtures.js +0 -0
- package/es/organism/get-the-app/test/fixtures.js +0 -0
- package/es/organism/grid-list/test/fixtures.js +0 -0
- package/es/organism/header/test/fixtures.js +0 -0
- package/es/organism/hero/test/fixtures.js +0 -0
- package/es/organism/list-items/index.js +2 -2
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mooc/image-slider/test/fixtures.js +0 -0
- package/es/organism/mooc-footer/test/fixtures.js +0 -0
- package/es/organism/mooc-header/test/fixtures.js +0 -0
- package/es/organism/playlist-translation/test/fixtures.js +15 -0
- package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/es/organism/popin/test/fixtures.js +0 -0
- package/es/organism/resource-browser/test/fixtures.js +0 -0
- package/es/organism/settings/test/fixtures.js +0 -0
- package/es/organism/setup-header/test/fixtures.js +0 -0
- package/es/organism/sidebar/test/fixtures.js +0 -0
- package/es/organism/slider/test/fixtures.js +0 -0
- package/es/organism/user-preferences/test/fixtures.js +0 -0
- package/es/organism/wizard-contents/index.js +2 -2
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures.js +2 -0
- package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
- package/es/template/activity/test/fixtures.js +0 -0
- package/es/template/app-player/loading/test/fixtures.js +0 -0
- package/es/template/app-player/player/slides/footer/test/fixtures.js +0 -0
- package/es/template/app-player/player/slides/header/test/fixtures.js +0 -0
- package/es/template/app-player/player/slides/test/fixtures.js +0 -0
- package/es/template/app-player/player/test/fixtures.js +0 -0
- package/es/template/app-player/popin-correction/test/fixtures.js +0 -0
- package/es/template/app-player/popin-end/test/fixtures.js +0 -0
- package/es/template/app-player/popin-header/test/fixtures.js +0 -0
- package/es/template/back-office/brand-create/test/fixtures.js +0 -0
- package/es/template/back-office/brand-list/test/fixtures.js +0 -0
- package/es/template/back-office/brand-update/test/fixtures.js +2 -0
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/es/template/back-office/dashboard-preview/test/fixtures.js +0 -0
- package/es/template/battle-requests/test/fixtures.js +0 -0
- package/es/template/cockpit/jw-uploader/test/fixtures.js +0 -0
- package/es/template/common/authors/test/fixtures.js +0 -0
- package/es/template/common/coorp-header/test/fixtures.js +0 -0
- package/es/template/common/dashboard/test/fixtures.js +0 -0
- package/es/template/common/discipline/test/fixtures.js +0 -0
- package/es/template/common/search-page/test/fixtures.js +0 -0
- package/es/template/external-course/test/fixtures.js +0 -0
- package/es/template/teams-dashboard/test/fixtures.js +0 -0
- package/es/util/button-icons.js +2 -1
- package/es/util/button-icons.js.map +1 -1
- package/lib/atom/autocomplete/test/fixtures.js +0 -0
- package/lib/atom/avatar/test/fixtures.js +0 -0
- package/lib/atom/button/test/fixtures.js +0 -0
- package/lib/atom/button-link/index.js +11 -3
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/card-image-preview/test/fixtures.js +25 -0
- package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
- package/lib/atom/catalog-section/test/fixtures.js +0 -0
- package/lib/atom/centered-text/test/fixtures.js +0 -0
- package/lib/atom/checkbox/test/fixtures.js +0 -0
- package/lib/atom/clue/test/fixtures.js +0 -0
- package/lib/atom/cta/test/fixtures.js +0 -0
- package/lib/atom/difficulty-level/test/fixtures.js +0 -0
- package/lib/atom/drag-and-drop/test/fixtures.js +0 -0
- package/lib/atom/image-upload/test/fixtures.js +0 -0
- package/lib/atom/input-checkbox/test/fixtures.js +0 -0
- package/lib/atom/input-color/test/fixtures.js +0 -0
- package/lib/atom/input-doublestep/test/fixtures.js +0 -0
- package/lib/atom/input-html/test/fixtures.js +0 -0
- package/lib/atom/input-readonly/test/fixtures.js +0 -0
- package/lib/atom/input-switch/test/fixtures.js +0 -0
- package/lib/atom/input-text/test/fixtures.js +0 -0
- package/lib/atom/input-textarea/test/fixtures.js +0 -0
- package/lib/atom/label/test/fixtures.js +0 -0
- package/lib/atom/life/test/fixtures.js +0 -0
- package/lib/atom/link/test/fixtures.js +0 -0
- package/lib/atom/loader/test/fixtures.js +0 -0
- package/lib/atom/notification/test/fixtures.js +0 -0
- package/lib/atom/picture/test/fixtures.js +0 -0
- package/lib/atom/picture-background/test/fixtures.js +0 -0
- package/lib/atom/promo-code/test/fixtures.js +0 -0
- package/lib/atom/provider/test/fixtures.js +0 -0
- package/lib/atom/radio-group/test/fixtures.js +0 -0
- package/lib/atom/range/test/fixtures.js +0 -0
- package/lib/atom/resource-miniature/test/fixtures.js +0 -0
- package/lib/atom/select/test/fixtures.js +6 -0
- package/lib/atom/select/test/fixtures.js.map +1 -1
- package/lib/atom/slide/test/fixtures.js +0 -0
- package/lib/atom/social-link/test/fixtures.js +0 -0
- package/lib/atom/spinner/test/fixtures.js +0 -0
- package/lib/atom/tab/test/fixtures.js +0 -0
- package/lib/atom/tab-content/test/fixtures.js +0 -0
- package/lib/atom/tag/index.js +1 -1
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/title/test/fixtures.js +0 -0
- package/lib/atom/video-upload/test/fixtures.js +0 -0
- package/lib/hoc/animation/test/fixtures.js +0 -0
- package/lib/hoc/animation-scheduler/test/fixtures.js +0 -0
- package/lib/hoc/swapper/test/fixtures.js +0 -0
- package/lib/hoc/transition/test/fixtures.js +0 -0
- package/lib/molecule/add-to-my-list/test/fixtures.js +0 -0
- package/lib/molecule/answer/test/fixtures.js +0 -0
- package/lib/molecule/audio/test/fixtures.js +0 -0
- package/lib/molecule/battle-request/test/fixtures.js +0 -0
- package/lib/molecule/brand-card/test/fixtures.js +0 -0
- package/lib/molecule/brand-card-create/test/fixtures.js +0 -0
- package/lib/molecule/brand-create-form/test/fixtures.js +0 -0
- package/lib/molecule/brand-download-box/test/fixtures.js +0 -0
- package/lib/molecule/brand-form-group/test/fixtures.js +0 -0
- package/lib/molecule/brand-tabs/test/fixtures.js +0 -0
- package/lib/molecule/brand-upload-box/test/fixtures.js +0 -0
- package/lib/molecule/breadcrumbs/test/fixtures.js +0 -0
- package/lib/molecule/card/test/fixtures.js +0 -0
- package/lib/molecule/card-content/test/fixtures.js +0 -0
- package/lib/molecule/card-with-button/test/fixtures.js +0 -0
- package/lib/molecule/cockpit-popin/test/fixtures.js +0 -0
- package/lib/molecule/cookie-banner/test/fixtures.js +0 -0
- package/lib/molecule/course-section/test/fixtures.js +25 -0
- package/lib/molecule/course-section/test/fixtures.js.map +1 -0
- package/lib/molecule/course-sections/test/fixtures.js +25 -0
- package/lib/molecule/course-sections/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
- package/lib/molecule/dashboard/cards-list/test/fixtures.js +0 -0
- package/lib/molecule/dashboard/news-list/test/fixtures.js +0 -0
- package/lib/molecule/dashboard/review-banner/index.js +94 -0
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -0
- package/lib/molecule/dashboard/review-banner/style.css +186 -0
- package/lib/molecule/dashboard/review-banner/test/fixtures/default.js +16 -0
- package/lib/molecule/dashboard/review-banner/test/fixtures/default.js.map +1 -0
- package/lib/molecule/dashboard/review-banner/test/fixtures.js +22 -0
- package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/start-battle/test/fixtures.js +0 -0
- package/lib/molecule/discipline-cta/test/fixtures.js +0 -0
- package/lib/molecule/discipline-header/test/fixtures.js +0 -0
- package/lib/molecule/discipline-partners/test/fixtures.js +0 -0
- package/lib/molecule/discipline-scope/test/fixtures.js +0 -0
- package/lib/molecule/drag-and-drop/test/fixtures.js +0 -0
- package/lib/molecule/draggable/test/fixtures.js +22 -0
- package/lib/molecule/draggable/test/fixtures.js.map +1 -0
- package/lib/molecule/draggable-list/test/fixtures.js +25 -0
- package/lib/molecule/draggable-list/test/fixtures.js.map +1 -0
- package/lib/molecule/external-content-button/test/fixtures.js +0 -0
- package/lib/molecule/external-content-viewer/test/fixtures.js +0 -0
- package/lib/molecule/feedback/test/fixtures.js +0 -0
- package/lib/molecule/filters/test/fixtures.js +0 -0
- package/lib/molecule/forum/forum-comment/test/fixtures.js +0 -0
- package/lib/molecule/forum/forum-post/test/fixtures.js +0 -0
- package/lib/molecule/forum/forum-thread/test/fixtures.js +0 -0
- package/lib/molecule/hero/test/fixtures.js +0 -0
- package/lib/molecule/login-alert/test/fixtures.js +0 -0
- package/lib/molecule/menu-list/test/fixtures.js +0 -0
- package/lib/molecule/message-popin/test/fixtures.js +0 -0
- package/lib/molecule/modal/test/fixtures.js +0 -0
- package/lib/molecule/module-bubble/test/fixtures.js +0 -0
- package/lib/molecule/module-card/test/fixtures.js +0 -0
- package/lib/molecule/news/test/fixtures.js +0 -0
- package/lib/molecule/notification-banner/test/fixtures.js +0 -0
- package/lib/molecule/pagination/test/fixtures.js +0 -0
- package/lib/molecule/payment-form/test/fixtures.js +0 -0
- package/lib/molecule/pdf/test/fixtures.js +0 -0
- package/lib/molecule/product-card/test/fixtures.js +0 -0
- package/lib/molecule/progress-bar/test/fixtures.js +0 -0
- package/lib/molecule/questions/drop-down/test/fixtures.js +0 -0
- package/lib/molecule/questions/free-text/test/fixtures.js +5 -2
- package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
- package/lib/molecule/questions/qcm/test/fixtures.js +0 -0
- package/lib/molecule/questions/qcm-drag/test/fixtures.js +0 -0
- package/lib/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
- package/lib/molecule/questions/question-range/test/fixtures.js +0 -0
- package/lib/molecule/questions/template/test/fixtures.js +0 -0
- package/lib/molecule/resource-player/test/fixtures.js +0 -0
- package/lib/molecule/review-correction-popin/index.js +116 -0
- package/lib/molecule/review-correction-popin/index.js.map +1 -0
- package/lib/molecule/review-correction-popin/style.css +315 -0
- package/lib/molecule/review-correction-popin/test/fixtures/right.js +22 -0
- package/lib/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
- package/lib/molecule/review-correction-popin/test/fixtures/wrong.js +24 -0
- package/lib/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
- package/lib/molecule/review-correction-popin/test/fixtures.js +25 -0
- package/lib/molecule/review-correction-popin/test/fixtures.js.map +1 -0
- package/lib/molecule/scope-content/test/fixtures.js +0 -0
- package/lib/molecule/scope-tabs/test/fixtures.js +0 -0
- package/lib/molecule/search/test/fixtures.js +0 -0
- package/lib/molecule/search-form/test/fixtures.js +0 -0
- package/lib/molecule/select-multiple/test/fixtures.js +0 -0
- package/lib/molecule/setup-cohort-item/test/fixtures.js +0 -0
- package/lib/molecule/setup-section/test/fixtures.js +0 -0
- package/lib/molecule/setup-sections/test/fixtures.js +0 -0
- package/lib/molecule/setup-slide/test/fixtures.js +0 -0
- package/lib/molecule/setup-slider/test/fixtures.js +0 -0
- package/lib/molecule/share/test/fixtures.js +0 -0
- package/lib/molecule/ssmenu-list/test/fixtures.js +0 -0
- package/lib/molecule/subscription-freemium/test/fixtures.js +0 -0
- package/lib/molecule/subscription-premium/test/fixtures.js +0 -0
- package/lib/molecule/table/test/fixtures.js +0 -0
- package/lib/molecule/teams-popin/test/fixtures.js +0 -0
- package/lib/molecule/theme-image/test/fixtures.js +0 -0
- package/lib/molecule/titled-checkbox/test/fixtures.js +0 -0
- package/lib/molecule/unsubscribe/test/fixtures.js +0 -0
- package/lib/molecule/video-iframe/test/fixtures.js +0 -0
- package/lib/molecule/video-player/test/fixtures.js +0 -0
- package/lib/molecule/wizard-summary/test/fixtures.js +3 -0
- package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -1
- package/lib/organism/accordion/container/test/fixtures.js +0 -0
- package/lib/organism/accordion/part/test/fixtures.js +0 -0
- package/lib/organism/accordion/toggler/test/fixtures.js +0 -0
- package/lib/organism/brand-dashboard/test/fixtures.js +0 -0
- package/lib/organism/brand-form/test/fixtures.js +0 -0
- package/lib/organism/brand-table/test/fixtures.js +0 -0
- package/lib/organism/brand-upload/test/fixtures.js +0 -0
- package/lib/organism/cards-grid/test/fixtures.js +0 -0
- package/lib/organism/cart/test/fixtures.js +0 -0
- package/lib/organism/discussion/test/fixtures.js +0 -0
- package/lib/organism/get-the-app/test/fixtures.js +0 -0
- package/lib/organism/grid-list/test/fixtures.js +0 -0
- package/lib/organism/header/test/fixtures.js +0 -0
- package/lib/organism/hero/test/fixtures.js +0 -0
- package/lib/organism/list-items/index.js +2 -2
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mooc/image-slider/test/fixtures.js +0 -0
- package/lib/organism/mooc-footer/test/fixtures.js +0 -0
- package/lib/organism/mooc-header/test/fixtures.js +0 -0
- package/lib/organism/playlist-translation/test/fixtures.js +25 -0
- package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/lib/organism/popin/test/fixtures.js +0 -0
- package/lib/organism/resource-browser/test/fixtures.js +0 -0
- package/lib/organism/settings/test/fixtures.js +0 -0
- package/lib/organism/setup-header/test/fixtures.js +0 -0
- package/lib/organism/sidebar/test/fixtures.js +0 -0
- package/lib/organism/slider/test/fixtures.js +0 -0
- package/lib/organism/user-preferences/test/fixtures.js +0 -0
- package/lib/organism/wizard-contents/index.js +2 -2
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures.js +3 -0
- package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
- package/lib/template/activity/test/fixtures.js +0 -0
- package/lib/template/app-player/loading/test/fixtures.js +0 -0
- package/lib/template/app-player/player/slides/footer/test/fixtures.js +0 -0
- package/lib/template/app-player/player/slides/header/test/fixtures.js +0 -0
- package/lib/template/app-player/player/slides/test/fixtures.js +0 -0
- package/lib/template/app-player/player/test/fixtures.js +0 -0
- package/lib/template/app-player/popin-correction/test/fixtures.js +0 -0
- package/lib/template/app-player/popin-end/test/fixtures.js +0 -0
- package/lib/template/app-player/popin-header/test/fixtures.js +0 -0
- package/lib/template/back-office/brand-create/test/fixtures.js +0 -0
- package/lib/template/back-office/brand-list/test/fixtures.js +0 -0
- package/lib/template/back-office/brand-update/test/fixtures.js +3 -0
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/template/back-office/dashboard-preview/test/fixtures.js +0 -0
- package/lib/template/battle-requests/test/fixtures.js +0 -0
- package/lib/template/cockpit/jw-uploader/test/fixtures.js +0 -0
- package/lib/template/common/authors/test/fixtures.js +0 -0
- package/lib/template/common/coorp-header/test/fixtures.js +0 -0
- package/lib/template/common/dashboard/test/fixtures.js +0 -0
- package/lib/template/common/discipline/test/fixtures.js +0 -0
- package/lib/template/common/search-page/test/fixtures.js +0 -0
- package/lib/template/external-course/test/fixtures.js +0 -0
- package/lib/template/teams-dashboard/test/fixtures.js +0 -0
- package/lib/util/button-icons.js +1 -0
- package/lib/util/button-icons.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/molecule/questions/free-text/test/fixtures.js"],"names":["t","pass","MoleculeQuestionsFreeText","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/questions/free-text/test/fixtures.js"],"names":["t","pass","MoleculeQuestionsFreeText","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureWithValueOnChange","fixtureWithValue"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6EAAL,EAAoFA,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA0BC,SAAlC,EAA6C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,8EAAL,EAAqFG,wBAArF,EAA2GN,SAA3G,EAAsIO,gBAAtI;AACA,kBAAK,wFAAL,EAA+FD,wBAA/F,EAAqHN,SAArH,EAAgJQ,0BAAhJ;AACA,kBAAK,gFAAL,EAAuFF,wBAAvF,EAA6GN,SAA7G,EAAwIS,kBAAxI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeQuestionsFreeText from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValueOnChange from './fixtures/with-value-on-change';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('MoleculeQuestions › MoleculeQuestionsFreeText > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeQuestionsFreeText.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeQuestions.MoleculeQuestionsFreeText.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › Default › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureDefault);\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › WithValueOnChange › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithValueOnChange);\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › WithValue › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithValue);\n"],"file":"fixtures.js"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireDefault(require("react"));
|
|
7
|
+
|
|
8
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
13
|
+
|
|
14
|
+
var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
|
|
15
|
+
|
|
16
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
|
|
20
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
|
+
|
|
22
|
+
const buildKlfButton = klf => {
|
|
23
|
+
const klfButtonProps = _extends(_extends({}, klf), {}, {
|
|
24
|
+
icon: {
|
|
25
|
+
position: 'left',
|
|
26
|
+
type: 'key'
|
|
27
|
+
},
|
|
28
|
+
type: 'primary'
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
32
|
+
className: _style.default.klfContainer
|
|
33
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
34
|
+
className: _style.default.klfButtonContainer
|
|
35
|
+
}, /*#__PURE__*/_react.default.createElement(_buttonLink.default, _extends({}, klfButtonProps, {
|
|
36
|
+
className: _style.default.klfButton
|
|
37
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
38
|
+
className: _style.default.toolTip
|
|
39
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
40
|
+
className: _style.default.tooltipText
|
|
41
|
+
}, klf.tooltip)));
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const ReviewCorrectionPopin = props => {
|
|
45
|
+
const {
|
|
46
|
+
information,
|
|
47
|
+
resultLabel,
|
|
48
|
+
type,
|
|
49
|
+
klf,
|
|
50
|
+
next
|
|
51
|
+
} = props;
|
|
52
|
+
|
|
53
|
+
const nextQuestionButtonProps = _extends(_extends({}, next), {}, {
|
|
54
|
+
type: 'primary'
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const cta = type === 'wrong' ? buildKlfButton(klf) : null;
|
|
58
|
+
const ICONS = {
|
|
59
|
+
right: _novaIcons.NovaCompositionCoorpacademyCheck,
|
|
60
|
+
wrong: _novaIcons.NovaSolidStatusClose
|
|
61
|
+
};
|
|
62
|
+
const Icon = ICONS[type];
|
|
63
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
64
|
+
className: _style.default.wrapper
|
|
65
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
66
|
+
className: (0, _classnames.default)(_style.default.popin, type === 'right' ? _style.default.right : _style.default.wrong)
|
|
67
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
68
|
+
className: _style.default.correctionSection
|
|
69
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
70
|
+
className: _style.default.iconCircle
|
|
71
|
+
}, /*#__PURE__*/_react.default.createElement(Icon, {
|
|
72
|
+
className: type === 'right' ? _style.default.iconRight : _style.default.iconWrong
|
|
73
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
74
|
+
className: _style.default.resultLabel,
|
|
75
|
+
"aria-label": "result"
|
|
76
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
77
|
+
"aria-label": resultLabel
|
|
78
|
+
}, resultLabel))), /*#__PURE__*/_react.default.createElement("div", {
|
|
79
|
+
className: _style.default.feedbackSection
|
|
80
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
81
|
+
className: _style.default.information,
|
|
82
|
+
"aria-label": "answer-information"
|
|
83
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
84
|
+
className: _style.default.label,
|
|
85
|
+
"aria-label": information.label
|
|
86
|
+
}, information.label), /*#__PURE__*/_react.default.createElement("span", {
|
|
87
|
+
className: _style.default.message,
|
|
88
|
+
"aria-label": information.message
|
|
89
|
+
}, information.message))), /*#__PURE__*/_react.default.createElement("div", {
|
|
90
|
+
className: type === 'right' ? _style.default.actions : _style.default.actionsWrong
|
|
91
|
+
}, cta, /*#__PURE__*/_react.default.createElement("div", {
|
|
92
|
+
className: _style.default.nextQuestionContainer
|
|
93
|
+
}, /*#__PURE__*/_react.default.createElement(_buttonLink.default, _extends({}, nextQuestionButtonProps, {
|
|
94
|
+
className: _style.default.nextQuestionButton
|
|
95
|
+
}))))));
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
ReviewCorrectionPopin.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
99
|
+
type: _propTypes.default.oneOf(['right', 'wrong']),
|
|
100
|
+
resultLabel: _propTypes.default.string,
|
|
101
|
+
information: _propTypes.default.shape({
|
|
102
|
+
label: _propTypes.default.string,
|
|
103
|
+
message: _propTypes.default.string
|
|
104
|
+
}),
|
|
105
|
+
next: _propTypes.default.shape({
|
|
106
|
+
label: _propTypes.default.string,
|
|
107
|
+
onClick: _propTypes.default.func
|
|
108
|
+
}),
|
|
109
|
+
klf: _propTypes.default.shape({
|
|
110
|
+
label: _propTypes.default.string,
|
|
111
|
+
onClick: _propTypes.default.func
|
|
112
|
+
})
|
|
113
|
+
} : {};
|
|
114
|
+
var _default = ReviewCorrectionPopin;
|
|
115
|
+
exports.default = _default;
|
|
116
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/review-correction-popin/index.js"],"names":["buildKlfButton","klf","klfButtonProps","icon","position","type","style","klfContainer","klfButtonContainer","klfButton","toolTip","tooltipText","tooltip","ReviewCorrectionPopin","props","information","resultLabel","next","nextQuestionButtonProps","cta","ICONS","right","RightIcon","wrong","WrongIcon","Icon","wrapper","popin","correctionSection","iconCircle","iconRight","iconWrong","feedbackSection","label","message","actions","actionsWrong","nextQuestionContainer","nextQuestionButton","propTypes","PropTypes","oneOf","string","shape","onClick","func"],"mappings":"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","sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst buildKlfButton = klf => {\n const klfButtonProps = {\n ...klf,\n icon: {\n position: 'left',\n type: 'key'\n },\n type: 'primary'\n };\n\n return (\n <div className={style.klfContainer}>\n <div className={style.klfButtonContainer}>\n <ButtonLink {...klfButtonProps} className={style.klfButton} />\n </div>\n <div className={style.toolTip}>\n <div className={style.tooltipText}>{klf.tooltip}</div>\n </div>\n </div>\n );\n};\n\nconst ReviewCorrectionPopin = props => {\n const {information, resultLabel, type, klf, next} = props;\n\n const nextQuestionButtonProps = {\n ...next,\n type: 'primary'\n };\n\n const cta = type === 'wrong' ? buildKlfButton(klf) : null;\n\n const ICONS = {\n right: RightIcon,\n wrong: WrongIcon\n };\n const Icon = ICONS[type];\n\n return (\n <div className={style.wrapper}>\n <div className={classnames(style.popin, type === 'right' ? style.right : style.wrong)}>\n <div className={style.correctionSection}>\n <div className={style.iconCircle}>\n <Icon className={type === 'right' ? style.iconRight : style.iconWrong} />\n </div>\n <div className={style.resultLabel} aria-label=\"result\">\n <span aria-label={resultLabel}>{resultLabel}</span>\n </div>\n </div>\n <div className={style.feedbackSection}>\n <div className={style.information} aria-label=\"answer-information\">\n <span className={style.label} aria-label={information.label}>\n {information.label}\n </span>\n <span className={style.message} aria-label={information.message}>\n {information.message}\n </span>\n </div>\n </div>\n <div className={type === 'right' ? style.actions : style.actionsWrong}>\n {cta}\n <div className={style.nextQuestionContainer}>\n <ButtonLink {...nextQuestionButtonProps} className={style.nextQuestionButton} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nReviewCorrectionPopin.propTypes = {\n type: PropTypes.oneOf(['right', 'wrong']),\n resultLabel: PropTypes.string,\n information: PropTypes.shape({\n label: PropTypes.string,\n message: PropTypes.string\n }),\n next: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n klf: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default ReviewCorrectionPopin;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
|
+
@value tablet from breakpoints;
|
|
4
|
+
@value mobile from breakpoints;
|
|
5
|
+
@value white from colors;
|
|
6
|
+
@value cm_positive_100 from colors;
|
|
7
|
+
@value cm_negative_100 from colors;
|
|
8
|
+
@value cm_primary_blue from colors;
|
|
9
|
+
@value cm_blue_900 from colors;
|
|
10
|
+
|
|
11
|
+
.wrapper {
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: auto;
|
|
14
|
+
font-family: Gilroy;
|
|
15
|
+
color: white;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
overflow: visible;
|
|
19
|
+
padding: 0px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.popin {
|
|
23
|
+
width: 100%;
|
|
24
|
+
padding: 40px;
|
|
25
|
+
border-radius: 16px;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.right {
|
|
32
|
+
background-color: cm_positive_100;
|
|
33
|
+
box-shadow: 0px 0px 68px rgba(cm_positive_100, 0.4);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.wrong {
|
|
37
|
+
background-color: cm_negative_100;
|
|
38
|
+
box-shadow: 0px 0px 68px rgba(cm_negative_100, 0.4);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.correctionSection {
|
|
42
|
+
flex: 0 1 auto;
|
|
43
|
+
min-width: 187px;
|
|
44
|
+
display: flex;
|
|
45
|
+
align-content: center;
|
|
46
|
+
align-items: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.feedbackSection {
|
|
50
|
+
display: flex;
|
|
51
|
+
margin: 0 23px;
|
|
52
|
+
flex-direction: row;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: left;
|
|
55
|
+
flex: 1 1 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.iconCircle {
|
|
59
|
+
width: 52px;
|
|
60
|
+
min-width: 52px;
|
|
61
|
+
height: 52px;
|
|
62
|
+
min-height: 52px;
|
|
63
|
+
background: white;
|
|
64
|
+
opacity: 0.7;
|
|
65
|
+
border-radius: 50%;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.icon {
|
|
70
|
+
width: 24px;
|
|
71
|
+
height: 24px;
|
|
72
|
+
padding: 14px 0 0 14px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.iconRight {
|
|
76
|
+
composes: icon;
|
|
77
|
+
color: cm_positive_100;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.iconWrong {
|
|
81
|
+
composes: icon;
|
|
82
|
+
color: cm_negative_100;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.resultLabel {
|
|
86
|
+
margin-left: 12px;
|
|
87
|
+
font-weight: 900;
|
|
88
|
+
font-size: 24px;
|
|
89
|
+
line-height: 24px;
|
|
90
|
+
hyphens: auto;
|
|
91
|
+
-ms-word-break: break-word;
|
|
92
|
+
word-break: break-word;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.information {
|
|
96
|
+
display: block;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.information .label {
|
|
101
|
+
width: 140px;
|
|
102
|
+
height: 25px;
|
|
103
|
+
padding: 4px 8px;
|
|
104
|
+
background: rgba(255, 255, 255, 0.3);
|
|
105
|
+
border-radius: 56px;
|
|
106
|
+
font-style: normal;
|
|
107
|
+
font-weight: 900;
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
line-height: 17px;
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
hyphens: auto;
|
|
114
|
+
-ms-word-break: break-word;
|
|
115
|
+
word-break: break-word;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.information .message {
|
|
119
|
+
display: block;
|
|
120
|
+
margin-top: 4px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.actions {
|
|
124
|
+
flex: 0 1 auto;
|
|
125
|
+
min-width: 138px;
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
justify-content: flex-end;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.actionsWrong {
|
|
132
|
+
composes: actions;
|
|
133
|
+
min-width: 345px;
|
|
134
|
+
flex: 0 1 auto;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.toolTip {
|
|
138
|
+
visibility: hidden;
|
|
139
|
+
opacity: 0;
|
|
140
|
+
transition: opacity 0.8s;
|
|
141
|
+
position: absolute;
|
|
142
|
+
width: 273px;
|
|
143
|
+
border-radius: 15px;
|
|
144
|
+
background-color: white;
|
|
145
|
+
right: 17.5%;
|
|
146
|
+
top: -64px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.toolTip::before {
|
|
150
|
+
content: '';
|
|
151
|
+
display: inline-block;
|
|
152
|
+
visibility: hidden;
|
|
153
|
+
opacity: 0;
|
|
154
|
+
width: 15px;
|
|
155
|
+
height: 15px;
|
|
156
|
+
transform: rotate(-45deg);
|
|
157
|
+
transition: opacity 0.8s;
|
|
158
|
+
background-color: white;
|
|
159
|
+
position: inherit;
|
|
160
|
+
bottom: -7px;
|
|
161
|
+
left: 129px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.tooltipText {
|
|
165
|
+
display: inline-block;
|
|
166
|
+
margin: 16px;
|
|
167
|
+
border-radius: 3px;
|
|
168
|
+
word-wrap: break-word;
|
|
169
|
+
color: cm_blue_900;
|
|
170
|
+
max-width: 241px;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
text-align: center;
|
|
173
|
+
font-size: 16px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.klfContainer {
|
|
177
|
+
overflow: visible;
|
|
178
|
+
width: calc(55% - 16px);
|
|
179
|
+
margin-right: 16px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.klfButtonContainer:hover ~ .toolTip {
|
|
183
|
+
visibility: visible;
|
|
184
|
+
opacity: 1;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.klfButtonContainer:hover ~ .toolTip::before {
|
|
188
|
+
visibility: visible;
|
|
189
|
+
opacity: 1;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.klfButtonContainer {
|
|
193
|
+
width: 100%;
|
|
194
|
+
margin-right: 16px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.klfButton {
|
|
198
|
+
background: rgba(255, 255, 255, 0.1);
|
|
199
|
+
color: white;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.klfButton:hover {
|
|
203
|
+
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), rgba(255, 255, 255, 0.1)
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.nextQuestionContainer {
|
|
207
|
+
width: 100%;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.actionsWrong .nextQuestionContainer {
|
|
211
|
+
width: 45%;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.nextQuestionButton {
|
|
215
|
+
background: white;
|
|
216
|
+
color: cm_primary_blue;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.nextQuestionButton:hover {
|
|
220
|
+
background: linear-gradient(0deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.07)), #FFFFFF;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@media tablet {
|
|
224
|
+
.resultLabel {
|
|
225
|
+
display: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.correctionSection {
|
|
229
|
+
min-width: 60px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.actions {
|
|
233
|
+
width: 25%;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.actionsWrong {
|
|
237
|
+
width: 47%;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.toolTip {
|
|
241
|
+
width: 250px;
|
|
242
|
+
right: 25%;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@media mobile {
|
|
247
|
+
.popin {
|
|
248
|
+
width: 100%;
|
|
249
|
+
min-height: 100px;
|
|
250
|
+
padding: 32px;
|
|
251
|
+
flex-direction: column;
|
|
252
|
+
display: block;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.popin > div {
|
|
256
|
+
min-width: auto;
|
|
257
|
+
width: 100%;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.correctionSection {
|
|
261
|
+
justify-content: center;
|
|
262
|
+
margin-bottom: 32px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.resultLabel {
|
|
266
|
+
display: block;
|
|
267
|
+
text-align: left;
|
|
268
|
+
width: calc(100% - 52px);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.feedbackSection {
|
|
272
|
+
margin: 0;
|
|
273
|
+
width: 100%;
|
|
274
|
+
display: block;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.information .message {
|
|
278
|
+
margin: 8px 0 32px 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.actions {
|
|
282
|
+
width: 100%;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.actionsWrong {
|
|
286
|
+
width: 100%;
|
|
287
|
+
flex-direction: column;
|
|
288
|
+
align-items: center;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.actionsWrong .nextQuestionContainer {
|
|
292
|
+
width: 100%;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.klfContainer {
|
|
296
|
+
width: 100%;
|
|
297
|
+
margin: 0 0 8px 0;
|
|
298
|
+
position: relative;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.klfButtonContainer {
|
|
302
|
+
margin: 0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.toolTip {
|
|
306
|
+
width: 106%;
|
|
307
|
+
right: -3%;
|
|
308
|
+
top: auto;
|
|
309
|
+
bottom: 52px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.tooltipText {
|
|
313
|
+
max-width: none;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'right',
|
|
8
|
+
resultLabel: 'CORRECT ANSWER',
|
|
9
|
+
information: {
|
|
10
|
+
label: 'Key learning factor',
|
|
11
|
+
message: '17 frustrated software engineers grappling with the complexities of software development.'
|
|
12
|
+
},
|
|
13
|
+
next: {
|
|
14
|
+
label: 'Next Question',
|
|
15
|
+
'aria-label': 'next question button',
|
|
16
|
+
'data-name': 'next-question-button',
|
|
17
|
+
onClick: () => console.log('Next Question')
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
exports.default = _default;
|
|
22
|
+
//# sourceMappingURL=right.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/review-correction-popin/test/fixtures/right.js"],"names":["props","type","resultLabel","information","label","message","next","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,OADD;AAELC,IAAAA,WAAW,EAAE,gBAFR;AAGLC,IAAAA,WAAW,EAAE;AACXC,MAAAA,KAAK,EAAE,qBADI;AAEXC,MAAAA,OAAO,EACL;AAHS,KAHR;AAQLC,IAAAA,IAAI,EAAE;AACJF,MAAAA,KAAK,EAAE,eADH;AAEJ,oBAAc,sBAFV;AAGJ,mBAAa,sBAHT;AAIJG,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAJX;AARD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'right',\n resultLabel: 'CORRECT ANSWER',\n information: {\n label: 'Key learning factor',\n message:\n '17 frustrated software engineers grappling with the complexities of software development.'\n },\n next: {\n label: 'Next Question',\n 'aria-label': 'next question button',\n 'data-name': 'next-question-button',\n onClick: () => console.log('Next Question')\n }\n }\n};\n"],"file":"right.js"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'wrong',
|
|
8
|
+
resultLabel: 'WRONG ANSWER',
|
|
9
|
+
information: {
|
|
10
|
+
label: 'Correct Answer',
|
|
11
|
+
message: 'Corporate lawyers trying to understand software.'
|
|
12
|
+
},
|
|
13
|
+
klf: {
|
|
14
|
+
label: 'Key learning factor',
|
|
15
|
+
tooltip: '17 frustrated software engineers grappling with the complexities of software development.'
|
|
16
|
+
},
|
|
17
|
+
next: {
|
|
18
|
+
label: 'Next Question',
|
|
19
|
+
onClick: () => console.log('Next Question')
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
exports.default = _default;
|
|
24
|
+
//# sourceMappingURL=wrong.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/review-correction-popin/test/fixtures/wrong.js"],"names":["props","type","resultLabel","information","label","message","klf","tooltip","next","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,OADD;AAELC,IAAAA,WAAW,EAAE,cAFR;AAGLC,IAAAA,WAAW,EAAE;AACXC,MAAAA,KAAK,EAAE,gBADI;AAEXC,MAAAA,OAAO,EAAE;AAFE,KAHR;AAOLC,IAAAA,GAAG,EAAE;AACHF,MAAAA,KAAK,EAAE,qBADJ;AAEHG,MAAAA,OAAO,EACL;AAHC,KAPA;AAYLC,IAAAA,IAAI,EAAE;AACJJ,MAAAA,KAAK,EAAE,eADH;AAEJK,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFX;AAZD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'wrong',\n resultLabel: 'WRONG ANSWER',\n information: {\n label: 'Correct Answer',\n message: 'Corporate lawyers trying to understand software.'\n },\n klf: {\n label: 'Key learning factor',\n tooltip:\n '17 frustrated software engineers grappling with the complexities of software development.'\n },\n next: {\n label: 'Next Question',\n onClick: () => console.log('Next Question')\n }\n }\n};\n"],"file":"wrong.js"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _ava = _interopRequireDefault(require("ava"));
|
|
4
|
+
|
|
5
|
+
var _forEach = _interopRequireDefault(require("lodash/forEach"));
|
|
6
|
+
|
|
7
|
+
var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
|
|
8
|
+
|
|
9
|
+
var _ = _interopRequireDefault(require(".."));
|
|
10
|
+
|
|
11
|
+
var _right = _interopRequireDefault(require("./fixtures/right"));
|
|
12
|
+
|
|
13
|
+
var _wrong = _interopRequireDefault(require("./fixtures/wrong"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
(0, _ava.default)('Molecule › MoleculeReviewCorrectionPopin > should have valid propTypes', t => {
|
|
18
|
+
t.pass();
|
|
19
|
+
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
20
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeReviewCorrectionPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
(0, _ava.default)('Molecule › MoleculeReviewCorrectionPopin › Right › should be rendered', _renderComponent.default, _.default, _right.default);
|
|
24
|
+
(0, _ava.default)('Molecule › MoleculeReviewCorrectionPopin › Wrong › should be rendered', _renderComponent.default, _.default, _wrong.default);
|
|
25
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/review-correction-popin/test/fixtures.js"],"names":["t","pass","MoleculeReviewCorrectionPopin","propTypes","value","key","not","undefined","renderComponentMacro","fixtureRight","fixtureWrong"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wEAAL,EAA+EA,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uEAAL,EAA8EG,wBAA9E,EAAoGN,SAApG,EAAmIO,cAAnI;AACA,kBAAK,uEAAL,EAA8ED,wBAA9E,EAAoGN,SAApG,EAAmIQ,cAAnI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeReviewCorrectionPopin from '..';\nimport fixtureRight from './fixtures/right';\nimport fixtureWrong from './fixtures/wrong';\n\ntest('Molecule › MoleculeReviewCorrectionPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeReviewCorrectionPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeReviewCorrectionPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeReviewCorrectionPopin › Right › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureRight);\ntest('Molecule › MoleculeReviewCorrectionPopin › Wrong › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureWrong);\n"],"file":"fixtures.js"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,6 +12,8 @@ var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
|
12
12
|
|
|
13
13
|
var _oneSection = _interopRequireDefault(require("./fixtures/one-section"));
|
|
14
14
|
|
|
15
|
+
var _organizeCourses = _interopRequireDefault(require("./fixtures/organize-courses"));
|
|
16
|
+
|
|
15
17
|
var _tabletClosed = _interopRequireDefault(require("./fixtures/tablet-closed"));
|
|
16
18
|
|
|
17
19
|
var _threeSections = _interopRequireDefault(require("./fixtures/three-sections"));
|
|
@@ -28,6 +30,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
28
30
|
});
|
|
29
31
|
(0, _ava.default)('Molecule › MoleculeWizardSummary › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
30
32
|
(0, _ava.default)('Molecule › MoleculeWizardSummary › OneSection › should be rendered', _renderComponent.default, _.default, _oneSection.default);
|
|
33
|
+
(0, _ava.default)('Molecule › MoleculeWizardSummary › OrganizeCourses › should be rendered', _renderComponent.default, _.default, _organizeCourses.default);
|
|
31
34
|
(0, _ava.default)('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', _renderComponent.default, _.default, _tabletClosed.default);
|
|
32
35
|
(0, _ava.default)('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', _renderComponent.default, _.default, _threeSections.default);
|
|
33
36
|
(0, _ava.default)('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', _renderComponent.default, _.default, _twoSections.default);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/wizard-summary/test/fixtures.js"],"names":["t","pass","MoleculeWizardSummary","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureOneSection","fixtureTabletClosed","fixtureThreeSections","fixtureTwoSections"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,gEAAL,EAAuEA,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAsBC,SAA9B,EAAyC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,iEAAL,EAAwEG,wBAAxE,EAA8FN,SAA9F,EAAqHO,gBAArH;AACA,kBAAK,oEAAL,EAA2ED,wBAA3E,EAAiGN,SAAjG,EAAwHQ,mBAAxH;AACA,kBAAK,sEAAL,
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/wizard-summary/test/fixtures.js"],"names":["t","pass","MoleculeWizardSummary","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureOneSection","fixtureOrganizeCourses","fixtureTabletClosed","fixtureThreeSections","fixtureTwoSections"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,gEAAL,EAAuEA,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAsBC,SAA9B,EAAyC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,iEAAL,EAAwEG,wBAAxE,EAA8FN,SAA9F,EAAqHO,gBAArH;AACA,kBAAK,oEAAL,EAA2ED,wBAA3E,EAAiGN,SAAjG,EAAwHQ,mBAAxH;AACA,kBAAK,yEAAL,EAAgFF,wBAAhF,EAAsGN,SAAtG,EAA6HS,wBAA7H;AACA,kBAAK,sEAAL,EAA6EH,wBAA7E,EAAmGN,SAAnG,EAA0HU,qBAA1H;AACA,kBAAK,uEAAL,EAA8EJ,wBAA9E,EAAoGN,SAApG,EAA2HW,sBAA3H;AACA,kBAAK,qEAAL,EAA4EL,wBAA5E,EAAkGN,SAAlG,EAAyHY,oBAAzH","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeWizardSummary from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureOneSection from './fixtures/one-section';\nimport fixtureOrganizeCourses from './fixtures/organize-courses';\nimport fixtureTabletClosed from './fixtures/tablet-closed';\nimport fixtureThreeSections from './fixtures/three-sections';\nimport fixtureTwoSections from './fixtures/two-sections';\n\ntest('Molecule › MoleculeWizardSummary > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeWizardSummary.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeWizardSummary.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeWizardSummary › Default › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureDefault);\ntest('Molecule › MoleculeWizardSummary › OneSection › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOneSection);\ntest('Molecule › MoleculeWizardSummary › OrganizeCourses › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureOrganizeCourses);\ntest('Molecule › MoleculeWizardSummary › TabletClosed › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTabletClosed);\ntest('Molecule › MoleculeWizardSummary › ThreeSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureThreeSections);\ntest('Molecule › MoleculeWizardSummary › TwoSections › should be rendered', renderComponentMacro, MoleculeWizardSummary, fixtureTwoSections);\n"],"file":"fixtures.js"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|