@coorpacademy/components 10.14.0 → 10.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/drag-and-drop/index.js +8 -4
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/drag-and-drop/test/fixtures/error.js +3 -1
- package/es/atom/drag-and-drop/test/fixtures/error.js.map +1 -1
- package/es/atom/drag-and-drop/test/fixtures.js +0 -8
- package/es/atom/drag-and-drop/test/fixtures.js.map +1 -1
- package/es/atom/image-upload/test/fixtures.js +2 -4
- package/es/atom/image-upload/test/fixtures.js.map +1 -1
- package/es/atom/input-checkbox/test/fixtures.js +0 -2
- package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
- package/es/atom/input-switch/test/fixtures.js +0 -10
- package/es/atom/input-switch/test/fixtures.js.map +1 -1
- package/es/atom/input-text/test/fixtures.js +0 -2
- package/es/atom/input-text/test/fixtures.js.map +1 -1
- package/es/atom/input-textarea/test/fixtures.js +0 -4
- package/es/atom/input-textarea/test/fixtures.js.map +1 -1
- package/es/atom/loader/test/fixtures.js +0 -2
- package/es/atom/loader/test/fixtures.js.map +1 -1
- package/es/atom/select/test/fixtures.js +0 -4
- package/es/atom/select/test/fixtures.js.map +1 -1
- package/es/atom/title/test/fixtures.js +2 -6
- package/es/atom/title/test/fixtures.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures.js +0 -2
- package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/es/molecule/card/test/fixtures.js +0 -6
- package/es/molecule/card/test/fixtures.js.map +1 -1
- package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
- package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
- package/es/molecule/drag-and-drop-wrapper/index.js +3 -8
- package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js +1 -5
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +3 -2
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js +1 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js.map +1 -1
- package/es/molecule/external-content-viewer/index.js +3 -2
- package/es/molecule/external-content-viewer/index.js.map +1 -1
- package/es/molecule/filters/index.js +6 -12
- package/es/molecule/filters/index.js.map +1 -1
- package/es/molecule/filters/style.css +1 -62
- package/es/molecule/questions/free-text/test/fixtures.js +2 -4
- package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
- package/es/molecule/search/test/fixtures.js +15 -0
- package/es/molecule/search/test/fixtures.js.map +1 -0
- package/es/molecule/select-multiple/test/fixtures.js +0 -8
- package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
- package/es/molecule/setup-slide/test/fixtures.js +0 -2
- package/es/molecule/setup-slide/test/fixtures.js.map +1 -1
- package/es/organism/brand-dashboard/test/fixtures.js +10 -2
- package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
- package/es/organism/brand-form/test/fixtures/wizard-certification.js +2 -2
- package/es/organism/brand-form/test/fixtures/wizard-certification.js.map +1 -1
- package/es/organism/brand-form/test/fixtures.js +0 -2
- package/es/organism/brand-form/test/fixtures.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures.js +0 -6
- package/es/organism/mooc-header/test/fixtures.js.map +1 -1
- package/es/organism/review-skills/index.js +83 -0
- package/es/organism/review-skills/index.js.map +1 -0
- package/es/organism/review-skills/style.css +100 -0
- package/es/organism/review-skills/test/fixtures/many-skills.js +30 -0
- package/es/organism/review-skills/test/fixtures/many-skills.js.map +1 -0
- package/es/organism/review-skills/test/fixtures/no-skills.js +11 -0
- package/es/organism/review-skills/test/fixtures/no-skills.js.map +1 -0
- package/es/organism/rewards-form/test/fixtures/default.js +2 -2
- package/es/organism/rewards-form/test/fixtures/default.js.map +1 -1
- package/es/template/app-player/popin-end/test/fixtures.js +0 -2
- package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures.js +2 -26
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/es/template/external-course/index.js +3 -1
- package/es/template/external-course/index.js.map +1 -1
- package/es/template/external-course/test/fixtures/pdf-mobile.js +10 -0
- package/es/template/external-course/test/fixtures/pdf-mobile.js.map +1 -0
- package/es/template/external-course/test/fixtures/pdf-no-mobile.js +18 -0
- package/es/template/external-course/test/fixtures/pdf-no-mobile.js.map +1 -0
- package/es/template/teams-dashboard/test/fixtures.js +0 -2
- package/es/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/lib/atom/drag-and-drop/index.js +8 -4
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/drag-and-drop/test/fixtures/error.js +3 -1
- package/lib/atom/drag-and-drop/test/fixtures/error.js.map +1 -1
- package/lib/atom/drag-and-drop/test/fixtures.js +0 -12
- package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures.js +3 -6
- package/lib/atom/image-upload/test/fixtures.js.map +1 -1
- package/lib/atom/input-checkbox/test/fixtures.js +0 -3
- package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
- package/lib/atom/input-switch/test/fixtures.js +0 -15
- package/lib/atom/input-switch/test/fixtures.js.map +1 -1
- package/lib/atom/input-text/test/fixtures.js +0 -3
- package/lib/atom/input-text/test/fixtures.js.map +1 -1
- package/lib/atom/input-textarea/test/fixtures.js +0 -6
- package/lib/atom/input-textarea/test/fixtures.js.map +1 -1
- package/lib/atom/loader/test/fixtures.js +0 -3
- package/lib/atom/loader/test/fixtures.js.map +1 -1
- package/lib/atom/select/test/fixtures.js +0 -6
- package/lib/atom/select/test/fixtures.js.map +1 -1
- package/lib/atom/title/test/fixtures.js +2 -8
- package/lib/atom/title/test/fixtures.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures.js +0 -3
- package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/lib/molecule/card/test/fixtures.js +0 -9
- package/lib/molecule/card/test/fixtures.js.map +1 -1
- package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
- package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
- package/lib/molecule/drag-and-drop-wrapper/index.js +3 -8
- package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js +1 -6
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +4 -2
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js +1 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js.map +1 -1
- package/lib/molecule/external-content-viewer/index.js +3 -2
- package/lib/molecule/external-content-viewer/index.js.map +1 -1
- package/lib/molecule/filters/index.js +6 -12
- package/lib/molecule/filters/index.js.map +1 -1
- package/lib/molecule/filters/style.css +1 -62
- package/lib/molecule/questions/free-text/test/fixtures.js +2 -5
- package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
- package/lib/molecule/search/test/fixtures.js +25 -0
- package/lib/molecule/search/test/fixtures.js.map +1 -0
- package/lib/molecule/select-multiple/test/fixtures.js +0 -12
- package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
- package/lib/molecule/setup-slide/test/fixtures.js +0 -3
- package/lib/molecule/setup-slide/test/fixtures.js.map +1 -1
- package/lib/organism/brand-dashboard/test/fixtures.js +14 -2
- package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
- package/lib/organism/brand-form/test/fixtures/wizard-certification.js.map +1 -1
- package/lib/organism/brand-form/test/fixtures.js +0 -3
- package/lib/organism/brand-form/test/fixtures.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures.js +0 -9
- package/lib/organism/mooc-header/test/fixtures.js.map +1 -1
- package/lib/organism/review-skills/index.js +97 -0
- package/lib/organism/review-skills/index.js.map +1 -0
- package/lib/organism/review-skills/style.css +100 -0
- package/lib/organism/review-skills/test/fixtures/many-skills.js +39 -0
- package/lib/organism/review-skills/test/fixtures/many-skills.js.map +1 -0
- package/lib/organism/review-skills/test/fixtures/no-skills.js +16 -0
- package/lib/organism/review-skills/test/fixtures/no-skills.js.map +1 -0
- package/lib/organism/rewards-form/test/fixtures/default.js +2 -2
- package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -1
- package/lib/template/app-player/popin-end/test/fixtures.js +0 -3
- package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures.js +2 -38
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/template/external-course/index.js +3 -1
- package/lib/template/external-course/index.js.map +1 -1
- package/lib/template/external-course/test/fixtures/pdf-mobile.js +15 -0
- package/lib/template/external-course/test/fixtures/pdf-mobile.js.map +1 -0
- package/lib/template/external-course/test/fixtures/pdf-no-mobile.js +23 -0
- package/lib/template/external-course/test/fixtures/pdf-no-mobile.js.map +1 -0
- package/lib/template/teams-dashboard/test/fixtures.js +0 -3
- package/lib/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/package.json +3 -3
- package/es/atom/button-link/test/fixtures.js +0 -31
- package/es/atom/button-link/test/fixtures.js.map +0 -1
- package/es/atom/button-link-icon-only/test/fixtures.js +0 -23
- package/es/atom/button-link-icon-only/test/fixtures.js.map +0 -1
- package/es/atom/button-menu/test/fixtures.js +0 -15
- package/es/atom/button-menu/test/fixtures.js.map +0 -1
- package/es/atom/card-image-preview/test/fixtures.js +0 -15
- package/es/atom/card-image-preview/test/fixtures.js.map +0 -1
- package/es/atom/checkbox-with-title/test/fixtures.js +0 -15
- package/es/atom/checkbox-with-title/test/fixtures.js.map +0 -1
- package/es/atom/chips/test/fixtures.js +0 -17
- package/es/atom/chips/test/fixtures.js.map +0 -1
- package/es/atom/content-badge/test/fixtures.js +0 -29
- package/es/atom/content-badge/test/fixtures.js.map +0 -1
- package/es/atom/empty-search-result/test/fixtures.js +0 -13
- package/es/atom/empty-search-result/test/fixtures.js.map +0 -1
- package/es/atom/input-search/test/fixtures.js +0 -19
- package/es/atom/input-search/test/fixtures.js.map +0 -1
- package/es/atom/input-text-with-title/test/fixtures.js +0 -15
- package/es/atom/input-text-with-title/test/fixtures.js.map +0 -1
- package/es/atom/review-header-step-item/test/fixtures.js +0 -19
- package/es/atom/review-header-step-item/test/fixtures.js.map +0 -1
- package/es/atom/review-presentation/test/fixtures.js +0 -13
- package/es/atom/review-presentation/test/fixtures.js.map +0 -1
- package/es/atom/tag/test/fixtures.js +0 -21
- package/es/atom/tag/test/fixtures.js.map +0 -1
- package/es/atom/wizard-steps/test/fixtures.js +0 -17
- package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
- package/es/molecule/banner/test/fixtures.js +0 -23
- package/es/molecule/banner/test/fixtures.js.map +0 -1
- package/es/molecule/bullet-point-menu-button/test/fixtures.js +0 -15
- package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
- package/es/molecule/cm-popin/test/fixtures.js +0 -17
- package/es/molecule/cm-popin/test/fixtures.js.map +0 -1
- package/es/molecule/coorp-manager-roles/test/fixtures.js +0 -13
- package/es/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
- package/es/molecule/course-section/test/fixtures.js +0 -21
- package/es/molecule/course-section/test/fixtures.js.map +0 -1
- package/es/molecule/course-sections/test/fixtures.js +0 -17
- package/es/molecule/course-sections/test/fixtures.js.map +0 -1
- package/es/molecule/dashboard/review-banner/test/fixtures.js +0 -13
- package/es/molecule/dashboard/review-banner/test/fixtures.js.map +0 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -15
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
- package/es/molecule/draggable/test/fixtures.js +0 -13
- package/es/molecule/draggable/test/fixtures.js.map +0 -1
- package/es/molecule/draggable-list/test/fixtures.js +0 -15
- package/es/molecule/draggable-list/test/fixtures.js.map +0 -1
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js +0 -15
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +0 -1
- package/es/molecule/list-badges/test/fixtures.js +0 -19
- package/es/molecule/list-badges/test/fixtures.js.map +0 -1
- package/es/molecule/popin/test/fixtures.js +0 -21
- package/es/molecule/popin/test/fixtures.js.map +0 -1
- package/es/molecule/quick-access-card/test/fixtures.js +0 -21
- package/es/molecule/quick-access-card/test/fixtures.js.map +0 -1
- package/es/molecule/quick-access-cards-group/test/fixtures.js +0 -21
- package/es/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
- package/es/molecule/review-correction-popin/test/fixtures.js +0 -15
- package/es/molecule/review-correction-popin/test/fixtures.js.map +0 -1
- package/es/molecule/review-header-steps/test/fixtures.js +0 -23
- package/es/molecule/review-header-steps/test/fixtures.js.map +0 -1
- package/es/molecule/skill-card/test/fixtures.js +0 -19
- package/es/molecule/skill-card/test/fixtures.js.map +0 -1
- package/es/molecule/vertical-tabs/test/fixtures.js +0 -17
- package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
- package/es/molecule/wizard-summary/test/fixtures.js +0 -23
- package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -17
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
- package/es/organism/accordion/coorp-manager/test/fixtures.js +0 -13
- package/es/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
- package/es/organism/brand-analytics/test/fixtures.js +0 -23
- package/es/organism/brand-analytics/test/fixtures.js.map +0 -1
- package/es/organism/content-translation/test/fixtures.js +0 -15
- package/es/organism/content-translation/test/fixtures.js.map +0 -1
- package/es/organism/course-selection/test/fixtures.js +0 -25
- package/es/organism/course-selection/test/fixtures.js.map +0 -1
- package/es/organism/list-item/test/fixtures.js +0 -19
- package/es/organism/list-item/test/fixtures.js.map +0 -1
- package/es/organism/list-items/test/fixtures.js +0 -17
- package/es/organism/list-items/test/fixtures.js.map +0 -1
- package/es/organism/review-header/test/fixtures.js +0 -23
- package/es/organism/review-header/test/fixtures.js.map +0 -1
- package/es/organism/rewards-form/test/fixtures.js +0 -19
- package/es/organism/rewards-form/test/fixtures.js.map +0 -1
- package/es/organism/search-and-chips-results/test/fixtures.js +0 -23
- package/es/organism/search-and-chips-results/test/fixtures.js.map +0 -1
- package/es/organism/wizard-contents/test/fixtures.js +0 -25
- package/es/organism/wizard-contents/test/fixtures.js.map +0 -1
- package/lib/atom/button-link/test/fixtures.js +0 -49
- package/lib/atom/button-link/test/fixtures.js.map +0 -1
- package/lib/atom/button-link-icon-only/test/fixtures.js +0 -37
- package/lib/atom/button-link-icon-only/test/fixtures.js.map +0 -1
- package/lib/atom/button-menu/test/fixtures.js +0 -25
- package/lib/atom/button-menu/test/fixtures.js.map +0 -1
- package/lib/atom/card-image-preview/test/fixtures.js +0 -25
- package/lib/atom/card-image-preview/test/fixtures.js.map +0 -1
- package/lib/atom/checkbox-with-title/test/fixtures.js +0 -25
- package/lib/atom/checkbox-with-title/test/fixtures.js.map +0 -1
- package/lib/atom/chips/test/fixtures.js +0 -28
- package/lib/atom/chips/test/fixtures.js.map +0 -1
- package/lib/atom/content-badge/test/fixtures.js +0 -46
- package/lib/atom/content-badge/test/fixtures.js.map +0 -1
- package/lib/atom/empty-search-result/test/fixtures.js +0 -22
- package/lib/atom/empty-search-result/test/fixtures.js.map +0 -1
- package/lib/atom/input-search/test/fixtures.js +0 -31
- package/lib/atom/input-search/test/fixtures.js.map +0 -1
- package/lib/atom/input-text-with-title/test/fixtures.js +0 -25
- package/lib/atom/input-text-with-title/test/fixtures.js.map +0 -1
- package/lib/atom/review-header-step-item/test/fixtures.js +0 -31
- package/lib/atom/review-header-step-item/test/fixtures.js.map +0 -1
- package/lib/atom/review-presentation/test/fixtures.js +0 -22
- package/lib/atom/review-presentation/test/fixtures.js.map +0 -1
- package/lib/atom/tag/test/fixtures.js +0 -34
- package/lib/atom/tag/test/fixtures.js.map +0 -1
- package/lib/atom/wizard-steps/test/fixtures.js +0 -28
- package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
- package/lib/molecule/banner/test/fixtures.js +0 -37
- package/lib/molecule/banner/test/fixtures.js.map +0 -1
- package/lib/molecule/bullet-point-menu-button/test/fixtures.js +0 -25
- package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
- package/lib/molecule/cm-popin/test/fixtures.js +0 -28
- package/lib/molecule/cm-popin/test/fixtures.js.map +0 -1
- package/lib/molecule/coorp-manager-roles/test/fixtures.js +0 -22
- package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
- package/lib/molecule/course-section/test/fixtures.js +0 -34
- package/lib/molecule/course-section/test/fixtures.js.map +0 -1
- package/lib/molecule/course-sections/test/fixtures.js +0 -28
- package/lib/molecule/course-sections/test/fixtures.js.map +0 -1
- package/lib/molecule/dashboard/review-banner/test/fixtures.js +0 -22
- package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +0 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -25
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
- package/lib/molecule/draggable/test/fixtures.js +0 -22
- package/lib/molecule/draggable/test/fixtures.js.map +0 -1
- package/lib/molecule/draggable-list/test/fixtures.js +0 -25
- package/lib/molecule/draggable-list/test/fixtures.js.map +0 -1
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js +0 -25
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +0 -1
- package/lib/molecule/list-badges/test/fixtures.js +0 -31
- package/lib/molecule/list-badges/test/fixtures.js.map +0 -1
- package/lib/molecule/popin/test/fixtures.js +0 -34
- package/lib/molecule/popin/test/fixtures.js.map +0 -1
- package/lib/molecule/quick-access-card/test/fixtures.js +0 -34
- package/lib/molecule/quick-access-card/test/fixtures.js.map +0 -1
- package/lib/molecule/quick-access-cards-group/test/fixtures.js +0 -34
- package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
- package/lib/molecule/review-correction-popin/test/fixtures.js +0 -25
- package/lib/molecule/review-correction-popin/test/fixtures.js.map +0 -1
- package/lib/molecule/review-header-steps/test/fixtures.js +0 -37
- package/lib/molecule/review-header-steps/test/fixtures.js.map +0 -1
- package/lib/molecule/skill-card/test/fixtures.js +0 -31
- package/lib/molecule/skill-card/test/fixtures.js.map +0 -1
- package/lib/molecule/vertical-tabs/test/fixtures.js +0 -28
- package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
- package/lib/molecule/wizard-summary/test/fixtures.js +0 -37
- package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -28
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
- package/lib/organism/accordion/coorp-manager/test/fixtures.js +0 -22
- package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
- package/lib/organism/brand-analytics/test/fixtures.js +0 -37
- package/lib/organism/brand-analytics/test/fixtures.js.map +0 -1
- package/lib/organism/content-translation/test/fixtures.js +0 -25
- package/lib/organism/content-translation/test/fixtures.js.map +0 -1
- package/lib/organism/course-selection/test/fixtures.js +0 -40
- package/lib/organism/course-selection/test/fixtures.js.map +0 -1
- package/lib/organism/list-item/test/fixtures.js +0 -31
- package/lib/organism/list-item/test/fixtures.js.map +0 -1
- package/lib/organism/list-items/test/fixtures.js +0 -28
- package/lib/organism/list-items/test/fixtures.js.map +0 -1
- package/lib/organism/review-header/test/fixtures.js +0 -37
- package/lib/organism/review-header/test/fixtures.js.map +0 -1
- package/lib/organism/rewards-form/test/fixtures.js +0 -31
- package/lib/organism/rewards-form/test/fixtures.js.map +0 -1
- package/lib/organism/search-and-chips-results/test/fixtures.js +0 -37
- package/lib/organism/search-and-chips-results/test/fixtures.js.map +0 -1
- package/lib/organism/wizard-contents/test/fixtures.js +0 -40
- package/lib/organism/wizard-contents/test/fixtures.js.map +0 -1
|
@@ -3,7 +3,11 @@ import forEach from 'lodash/forEach';
|
|
|
3
3
|
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
4
|
import OrganismBrandDashboard from '..';
|
|
5
5
|
import fixtureDefault from './fixtures/default';
|
|
6
|
-
import
|
|
6
|
+
import fixtureError from './fixtures/error';
|
|
7
|
+
import fixtureLoading from './fixtures/loading';
|
|
8
|
+
import fixtureSelectedError from './fixtures/selected-error';
|
|
9
|
+
import fixtureSelectedLoading from './fixtures/selected-loading';
|
|
10
|
+
import fixtureSelected from './fixtures/selected';
|
|
7
11
|
test('Organism › OrganismBrandDashboard > should have valid propTypes', t => {
|
|
8
12
|
t.pass();
|
|
9
13
|
forEach(OrganismBrandDashboard.propTypes, (value, key) => {
|
|
@@ -11,5 +15,9 @@ test('Organism › OrganismBrandDashboard > should have valid propTypes', t => {
|
|
|
11
15
|
});
|
|
12
16
|
});
|
|
13
17
|
test('Organism › OrganismBrandDashboard › Default › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureDefault);
|
|
14
|
-
test('Organism › OrganismBrandDashboard ›
|
|
18
|
+
test('Organism › OrganismBrandDashboard › Error › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureError);
|
|
19
|
+
test('Organism › OrganismBrandDashboard › Loading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureLoading);
|
|
20
|
+
test('Organism › OrganismBrandDashboard › SelectedError › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedError);
|
|
21
|
+
test('Organism › OrganismBrandDashboard › SelectedLoading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedLoading);
|
|
22
|
+
test('Organism › OrganismBrandDashboard › Selected › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelected);
|
|
15
23
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/brand-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandDashboard","fixtureDefault","
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/brand-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandDashboard","fixtureDefault","fixtureError","fixtureLoading","fixtureSelectedError","fixtureSelectedLoading","fixtureSelected","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAT,IAAI,CAAC,iEAAD,EAAoEU,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,sBAAsB,CAACS,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHE,YAAjH,CAAJ;AACAL,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHG,cAAnH,CAAJ;AACAN,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,sBAAjG,EAAyHI,oBAAzH,CAAJ;AACAP,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,sBAAnG,EAA2HK,sBAA3H,CAAJ;AACAR,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,sBAA5F,EAAoHM,eAApH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismBrandDashboard from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureError from './fixtures/error';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureSelectedError from './fixtures/selected-error';\nimport fixtureSelectedLoading from './fixtures/selected-loading';\nimport fixtureSelected from './fixtures/selected';\n\ntest('Organism › OrganismBrandDashboard > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismBrandDashboard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismBrandDashboard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismBrandDashboard › Default › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureDefault);\ntest('Organism › OrganismBrandDashboard › Error › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureError);\ntest('Organism › OrganismBrandDashboard › Loading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureLoading);\ntest('Organism › OrganismBrandDashboard › SelectedError › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedError);\ntest('Organism › OrganismBrandDashboard › SelectedLoading › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelectedLoading);\ntest('Organism › OrganismBrandDashboard › Selected › should be rendered', renderComponentMacro, OrganismBrandDashboard, fixtureSelected);\n"],"file":"fixtures.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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); }
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import logoUpload from '../../../../molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title';
|
|
4
4
|
export default {
|
|
5
5
|
props: {
|
|
6
6
|
groups: [{
|
|
@@ -48,7 +48,7 @@ export default {
|
|
|
48
48
|
hint: '80 / 200 characters',
|
|
49
49
|
size: 'medium',
|
|
50
50
|
value: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis fermentum sem ac fermentum luctus. Integer eu dui magna. Donec ut tristique dui. Vestibulum non accumsan tellus. Donec luctus erat vitae aliquet viverra. Mauris malesuada tortor quis viverra vestibulum. Nullam laoreet porta massa vitae porta.'
|
|
51
|
-
}, _extends(_extends({},
|
|
51
|
+
}, _extends(_extends({}, logoUpload.props), {}, {
|
|
52
52
|
type: 'titleAndCheckBoxWrapper'
|
|
53
53
|
})]
|
|
54
54
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/brand-form/test/fixtures/wizard-certification.js"],"names":["
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/brand-form/test/fixtures/wizard-certification.js"],"names":["logoUpload","props","groups","fields","type","title","placeholder","description","theme","hint","size","options","name","value","selected","multiple"],"mappings":";;AAAA,OAAOA,UAAP,MAAuB,uFAAvB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,MAAM,EAAE,CACN;AACEC,QAAAA,IAAI,EAAE,gBADR;AAEEC,QAAAA,KAAK,EAAE,WAFT;AAGEC,QAAAA,WAAW,EAAE,oBAHf;AAIEC,QAAAA,WAAW,EACT,sLALJ;AAMEC,QAAAA,KAAK,EAAE,cANT;AAOEC,QAAAA,IAAI,EAAE,oBAPR;AAQEC,QAAAA,IAAI,EAAE,SARR;AASEC,QAAAA,OAAO,EAAE,CACP;AACEC,UAAAA,IAAI,EAAE,cADR;AAEEC,UAAAA,KAAK,EAAE,IAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SADO,EAMP;AACEF,UAAAA,IAAI,EAAE,aADR;AAEEC,UAAAA,KAAK,EAAE,IAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SANO,EAWP;AACEF,UAAAA,IAAI,EAAE,WADR;AAEEC,UAAAA,KAAK,EAAE,IAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SAXO,EAgBP;AACEF,UAAAA,IAAI,EAAE,cADR;AAEEC,UAAAA,KAAK,EAAE,IAFT;AAGEC,UAAAA,QAAQ,EAAE;AAHZ,SAhBO,CATX;AA+BEC,QAAAA,QAAQ,EAAE;AA/BZ,OADM,EAkCN;AACEX,QAAAA,IAAI,EAAE,MADR;AAEEC,QAAAA,KAAK,EAAE,eAFT;AAGEC,QAAAA,WAAW,EAAE,eAHf;AAIEC,QAAAA,WAAW,EAAE,0BAJf;AAKEC,QAAAA,KAAK,EAAE,cALT;AAMEC,QAAAA,IAAI,EAAE,oBANR;AAOEI,QAAAA,KAAK,EAAE,kBAPT;AAQEH,QAAAA,IAAI,EAAE;AARR,OAlCM,EA4CN;AACEN,QAAAA,IAAI,EAAE,UADR;AAEEC,QAAAA,KAAK,EAAE,aAFT;AAGEC,QAAAA,WAAW,EAAE,aAHf;AAIEC,QAAAA,WAAW,EAAE,0BAJf;AAKEC,QAAAA,KAAK,EAAE,cALT;AAMEC,QAAAA,IAAI,EAAE,qBANR;AAOEC,QAAAA,IAAI,EAAE,QAPR;AAQEG,QAAAA,KAAK,EACH;AATJ,OA5CM,wBAwDDb,UAAU,CAACC,KAxDV;AAyDJG,QAAAA,IAAI,EAAE;AAzDF;AADV,KADM;AADH;AADM,CAAf","sourcesContent":["import logoUpload from '../../../../molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title';\n\nexport default {\n props: {\n groups: [\n {\n fields: [\n {\n type: 'selectMultiple',\n title: 'Languages',\n placeholder: 'Language selection',\n description:\n 'The name and description of your certification will be displayed in the selected language. Only the selected language will be saved. You can translate during step 2 \"Translations\".',\n theme: 'coorpmanager',\n hint: '15 / 30 characters',\n size: 'default',\n options: [\n {\n name: '🇬🇧 English',\n value: 'en',\n selected: true\n },\n {\n name: '🇩🇪 German',\n value: 'de',\n selected: false\n },\n {\n name: '🇹🇭 Thai',\n value: 'th',\n selected: false\n },\n {\n name: '🇪🇸 Spanish',\n value: 'es',\n selected: false\n }\n ],\n multiple: false\n },\n {\n type: 'text',\n title: 'Playlist name',\n placeholder: 'Playlist name',\n description: 'This is the tooltip text',\n theme: 'coorpmanager',\n hint: '15 / 30 characters',\n value: 'Marketing expert',\n size: 'default'\n },\n {\n type: 'textarea',\n title: 'Description',\n placeholder: 'Description',\n description: 'This is the tooltip text',\n theme: 'coorpmanager',\n hint: '80 / 200 characters',\n size: 'medium',\n value:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis fermentum sem ac fermentum luctus. Integer eu dui magna. Donec ut tristique dui. Vestibulum non accumsan tellus. Donec luctus erat vitae aliquet viverra. Mauris malesuada tortor quis viverra vestibulum. Nullam laoreet porta massa vitae porta.'\n },\n {\n ...logoUpload.props,\n type: 'titleAndCheckBoxWrapper'\n }\n ]\n }\n ]\n }\n};\n"],"file":"wizard-certification.js"}
|
|
@@ -12,7 +12,6 @@ import fixtureLms from './fixtures/lms';
|
|
|
12
12
|
import fixtureLookandfeel from './fixtures/lookandfeel';
|
|
13
13
|
import fixtureManageusersEdit from './fixtures/manageusers-edit';
|
|
14
14
|
import fixtureSso from './fixtures/sso';
|
|
15
|
-
import fixtureWizardPlaylists from './fixtures/wizard-playlists';
|
|
16
15
|
test('Organism › OrganismBrandForm > should have valid propTypes', t => {
|
|
17
16
|
t.pass();
|
|
18
17
|
forEach(OrganismBrandForm.propTypes, (value, key) => {
|
|
@@ -29,5 +28,4 @@ test('Organism › OrganismBrandForm › Lms › should be rendered', renderComp
|
|
|
29
28
|
test('Organism › OrganismBrandForm › Lookandfeel › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureLookandfeel);
|
|
30
29
|
test('Organism › OrganismBrandForm › ManageusersEdit › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureManageusersEdit);
|
|
31
30
|
test('Organism › OrganismBrandForm › Sso › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureSso);
|
|
32
|
-
test('Organism › OrganismBrandForm › WizardPlaylists › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureWizardPlaylists);
|
|
33
31
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/brand-form/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandForm","fixtureAnalytics","fixtureAnimations","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureGeneralSettings","fixtureLms","fixtureLookandfeel","fixtureManageusersEdit","fixtureSso","
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/brand-form/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismBrandForm","fixtureAnalytics","fixtureAnimations","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureGeneralSettings","fixtureLms","fixtureLookandfeel","fixtureManageusersEdit","fixtureSso","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,iBAAP,MAA8B,IAA9B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AAEAb,IAAI,CAAC,4DAAD,EAA+Dc,CAAC,IAAI;AACtEA,EAAAA,CAAC,CAACC,IAAF;AACAd,EAAAA,OAAO,CAACE,iBAAiB,CAACa,SAAnB,EAA8B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,sDAAqDF,GAAI,mEAAlF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAlB,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,iBAAxF,EAA2GC,gBAA3G,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,iBAAzF,EAA4GE,iBAA5G,CAAJ;AACAL,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,iBAArF,EAAwGG,aAAxG,CAAJ;AACAN,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,iBAAxF,EAA2GI,gBAA3G,CAAJ;AACAP,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,iBAAtF,EAAyGK,cAAzG,CAAJ;AACAR,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,iBAA9F,EAAiHM,sBAAjH,CAAJ;AACAT,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGO,UAArG,CAAJ;AACAV,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,iBAA1F,EAA6GQ,kBAA7G,CAAJ;AACAX,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,iBAA9F,EAAiHS,sBAAjH,CAAJ;AACAZ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGU,UAArG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismBrandForm from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureSso from './fixtures/sso';\n\ntest('Organism › OrganismBrandForm > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismBrandForm.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismBrandForm.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismBrandForm › Analytics › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureAnalytics);\ntest('Organism › OrganismBrandForm › Animations › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureAnimations);\ntest('Organism › OrganismBrandForm › Cohort › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureCohort);\ntest('Organism › OrganismBrandForm › Dashboard › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureDashboard);\ntest('Organism › OrganismBrandForm › Default › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureDefault);\ntest('Organism › OrganismBrandForm › GeneralSettings › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureGeneralSettings);\ntest('Organism › OrganismBrandForm › Lms › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureLms);\ntest('Organism › OrganismBrandForm › Lookandfeel › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureLookandfeel);\ntest('Organism › OrganismBrandForm › ManageusersEdit › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureManageusersEdit);\ntest('Organism › OrganismBrandForm › Sso › should be rendered', renderComponentMacro, OrganismBrandForm, fixtureSso);\n"],"file":"fixtures.js"}
|
|
@@ -6,9 +6,6 @@ import fixtureDefault from './fixtures/default';
|
|
|
6
6
|
import fixtureLinkOnly from './fixtures/link-only';
|
|
7
7
|
import fixtureLoggedWithBattleNotifications from './fixtures/logged-with-battle-notifications';
|
|
8
8
|
import fixtureLogged from './fixtures/logged';
|
|
9
|
-
import fixtureMobileSmallLogoFormat from './fixtures/mobile-small-logo-format';
|
|
10
|
-
import fixtureMobileWideLogoFormat from './fixtures/mobile-wide-logo-format';
|
|
11
|
-
import fixtureOnHeaderActionHandlers from './fixtures/on-header-action-handlers';
|
|
12
9
|
import fixtureTeamsFrench from './fixtures/teams-french';
|
|
13
10
|
import fixtureTeams from './fixtures/teams';
|
|
14
11
|
import fixtureUserChangePassword from './fixtures/user-change-password';
|
|
@@ -22,9 +19,6 @@ test('Organism › OrganismMoocHeader › Default › should be rendered', rende
|
|
|
22
19
|
test('Organism › OrganismMoocHeader › LinkOnly › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLinkOnly);
|
|
23
20
|
test('Organism › OrganismMoocHeader › LoggedWithBattleNotifications › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLoggedWithBattleNotifications);
|
|
24
21
|
test('Organism › OrganismMoocHeader › Logged › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLogged);
|
|
25
|
-
test('Organism › OrganismMoocHeader › MobileSmallLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileSmallLogoFormat);
|
|
26
|
-
test('Organism › OrganismMoocHeader › MobileWideLogoFormat › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureMobileWideLogoFormat);
|
|
27
|
-
test('Organism › OrganismMoocHeader › OnHeaderActionHandlers › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureOnHeaderActionHandlers);
|
|
28
22
|
test('Organism › OrganismMoocHeader › TeamsFrench › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeamsFrench);
|
|
29
23
|
test('Organism › OrganismMoocHeader › Teams › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeams);
|
|
30
24
|
test('Organism › OrganismMoocHeader › UserChangePassword › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureUserChangePassword);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/mooc-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismMoocHeader","fixtureDefault","fixtureLinkOnly","fixtureLoggedWithBattleNotifications","fixtureLogged","
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/mooc-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismMoocHeader","fixtureDefault","fixtureLinkOnly","fixtureLoggedWithBattleNotifications","fixtureLogged","fixtureTeamsFrench","fixtureTeams","fixtureUserChangePassword","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,kBAAP,MAA+B,IAA/B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,oCAAP,MAAiD,6CAAjD;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AAEAV,IAAI,CAAC,6DAAD,EAAgEW,CAAC,IAAI;AACvEA,EAAAA,CAAC,CAACC,IAAF;AACAX,EAAAA,OAAO,CAACE,kBAAkB,CAACU,SAApB,EAA+B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACpDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uDAAsDF,GAAI,mEAAnF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAf,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,kBAAvF,EAA2GC,cAA3G,CAAJ;AACAJ,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,kBAAxF,EAA4GE,eAA5G,CAAJ;AACAL,IAAI,CAAC,oFAAD,EAAuFE,oBAAvF,EAA6GC,kBAA7G,EAAiIG,oCAAjI,CAAJ;AACAN,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,kBAAtF,EAA0GI,aAA1G,CAAJ;AACAP,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,kBAA3F,EAA+GK,kBAA/G,CAAJ;AACAR,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,kBAArF,EAAyGM,YAAzG,CAAJ;AACAT,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,kBAAlG,EAAsHO,yBAAtH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismMoocHeader from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLinkOnly from './fixtures/link-only';\nimport fixtureLoggedWithBattleNotifications from './fixtures/logged-with-battle-notifications';\nimport fixtureLogged from './fixtures/logged';\nimport fixtureTeamsFrench from './fixtures/teams-french';\nimport fixtureTeams from './fixtures/teams';\nimport fixtureUserChangePassword from './fixtures/user-change-password';\n\ntest('Organism › OrganismMoocHeader > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismMoocHeader.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismMoocHeader.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismMoocHeader › Default › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureDefault);\ntest('Organism › OrganismMoocHeader › LinkOnly › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLinkOnly);\ntest('Organism › OrganismMoocHeader › LoggedWithBattleNotifications › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLoggedWithBattleNotifications);\ntest('Organism › OrganismMoocHeader › Logged › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureLogged);\ntest('Organism › OrganismMoocHeader › TeamsFrench › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeamsFrench);\ntest('Organism › OrganismMoocHeader › Teams › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureTeams);\ntest('Organism › OrganismMoocHeader › UserChangePassword › should be rendered', renderComponentMacro, OrganismMoocHeader, fixtureUserChangePassword);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import isEmpty from 'lodash/fp/isEmpty';
|
|
6
|
+
import map from 'lodash/fp/map';
|
|
7
|
+
import { NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision, NovaCompositionCoorpacademyInformationIcon as InformationIcon } from '@coorpacademy/nova-icons';
|
|
8
|
+
import SkillCard from '../../molecule/skill-card';
|
|
9
|
+
import style from './style.css';
|
|
10
|
+
|
|
11
|
+
const ReviewListSkills = ({
|
|
12
|
+
listSkills
|
|
13
|
+
}) => {
|
|
14
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
15
|
+
className: style.listSkillsContainer
|
|
16
|
+
}, listSkills && map.convert({
|
|
17
|
+
cap: false
|
|
18
|
+
})((skillCard, key) => {
|
|
19
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: style.skillCardContainer,
|
|
21
|
+
key: `step-${key}`
|
|
22
|
+
}, /*#__PURE__*/React.createElement(SkillCard, skillCard));
|
|
23
|
+
}, listSkills));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const ReviewNoSkills = ({
|
|
27
|
+
titleNoSkills,
|
|
28
|
+
textNoSkills,
|
|
29
|
+
iconSkillAriaLabel
|
|
30
|
+
}) => {
|
|
31
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: style.noSkillsContainer
|
|
33
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
className: style.titleNoSkills
|
|
35
|
+
}, titleNoSkills), /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: style.textNoSkills
|
|
37
|
+
}, " ", textNoSkills), /*#__PURE__*/React.createElement(EmptyStateHomeRevision, {
|
|
38
|
+
className: style.imgNoSkills,
|
|
39
|
+
"aria-label": iconSkillAriaLabel
|
|
40
|
+
}));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
const ReviewSkills = props => {
|
|
44
|
+
const {
|
|
45
|
+
'aria-label': ariaLabel,
|
|
46
|
+
title,
|
|
47
|
+
listSkills,
|
|
48
|
+
titleNoSkills,
|
|
49
|
+
textNoSkills,
|
|
50
|
+
iconSkillAriaLabel
|
|
51
|
+
} = props;
|
|
52
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: style.containerReviewSkill,
|
|
54
|
+
"aria-label": ariaLabel
|
|
55
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
56
|
+
className: style.title
|
|
57
|
+
}, title, /*#__PURE__*/React.createElement(InformationIcon, {
|
|
58
|
+
className: style.informationIcon,
|
|
59
|
+
width: 12,
|
|
60
|
+
height: 12
|
|
61
|
+
})), !isEmpty(listSkills) ? /*#__PURE__*/React.createElement(ReviewListSkills, {
|
|
62
|
+
listSkills: listSkills
|
|
63
|
+
}) : /*#__PURE__*/React.createElement(ReviewNoSkills, {
|
|
64
|
+
titleNoSkills: titleNoSkills,
|
|
65
|
+
textNoSkills: textNoSkills,
|
|
66
|
+
iconSkillAriaLabel: iconSkillAriaLabel
|
|
67
|
+
}));
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
ReviewListSkills.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
71
|
+
listSkills: PropTypes.arrayOf(PropTypes.shape(SkillCard.propTypes)).isRequired
|
|
72
|
+
} : {};
|
|
73
|
+
ReviewNoSkills.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
74
|
+
titleNoSkills: PropTypes.string,
|
|
75
|
+
textNoSkills: PropTypes.string,
|
|
76
|
+
iconSkillAriaLabel: PropTypes.string
|
|
77
|
+
} : {};
|
|
78
|
+
ReviewSkills.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({
|
|
79
|
+
'aria-label': PropTypes.string,
|
|
80
|
+
title: PropTypes.string.isRequired
|
|
81
|
+
}, ReviewListSkills.propTypes), ReviewNoSkills.propTypes) : {};
|
|
82
|
+
export default ReviewSkills;
|
|
83
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/organism/review-skills/index.js"],"names":["React","PropTypes","isEmpty","map","NovaCompositionCoorpacademyEmptyStateHomeRevision","EmptyStateHomeRevision","NovaCompositionCoorpacademyInformationIcon","InformationIcon","SkillCard","style","ReviewListSkills","listSkills","listSkillsContainer","convert","cap","skillCard","key","skillCardContainer","ReviewNoSkills","titleNoSkills","textNoSkills","iconSkillAriaLabel","noSkillsContainer","imgNoSkills","ReviewSkills","props","ariaLabel","title","containerReviewSkill","informationIcon","propTypes","arrayOf","shape","isRequired","string"],"mappings":"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","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport map from 'lodash/fp/map';\nimport {\n NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision,\n NovaCompositionCoorpacademyInformationIcon as InformationIcon\n} from '@coorpacademy/nova-icons';\nimport SkillCard from '../../molecule/skill-card';\nimport style from './style.css';\n\nconst ReviewListSkills = ({listSkills}) => {\n return (\n <div className={style.listSkillsContainer}>\n {listSkills &&\n map.convert({cap: false})((skillCard, key) => {\n return (\n <div className={style.skillCardContainer} key={`step-${key}`}>\n <SkillCard {...skillCard} />\n </div>\n );\n }, listSkills)}\n </div>\n );\n};\n\nconst ReviewNoSkills = ({titleNoSkills, textNoSkills, iconSkillAriaLabel}) => {\n return (\n <div className={style.noSkillsContainer}>\n <div className={style.titleNoSkills}>{titleNoSkills}</div>\n <div className={style.textNoSkills}> {textNoSkills}</div>\n <EmptyStateHomeRevision className={style.imgNoSkills} aria-label={iconSkillAriaLabel} />\n </div>\n );\n};\n\nconst ReviewSkills = props => {\n const {\n 'aria-label': ariaLabel,\n title,\n listSkills,\n titleNoSkills,\n textNoSkills,\n iconSkillAriaLabel\n } = props;\n\n return (\n <div className={style.containerReviewSkill} aria-label={ariaLabel}>\n <div className={style.title}>\n {title}\n <InformationIcon className={style.informationIcon} width={12} height={12} />\n </div>\n {!isEmpty(listSkills) ? (\n <ReviewListSkills listSkills={listSkills} />\n ) : (\n <ReviewNoSkills\n titleNoSkills={titleNoSkills}\n textNoSkills={textNoSkills}\n iconSkillAriaLabel={iconSkillAriaLabel}\n />\n )}\n </div>\n );\n};\n\nReviewListSkills.propTypes = {\n listSkills: PropTypes.arrayOf(PropTypes.shape(SkillCard.propTypes)).isRequired\n};\n\nReviewNoSkills.propTypes = {\n titleNoSkills: PropTypes.string,\n textNoSkills: PropTypes.string,\n iconSkillAriaLabel: PropTypes.string\n};\n\nReviewSkills.propTypes = {\n 'aria-label': PropTypes.string,\n title: PropTypes.string.isRequired,\n ...ReviewListSkills.propTypes,\n ...ReviewNoSkills.propTypes\n};\n\nexport default ReviewSkills;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
2
|
+
@value tablet from breakpoints;
|
|
3
|
+
@value mobile from breakpoints;
|
|
4
|
+
@value colors: "../../variables/colors.css";
|
|
5
|
+
@value cm_blue_900 from colors;
|
|
6
|
+
@value cm_grey_400 from colors;
|
|
7
|
+
@value cm_grey_500 from colors;
|
|
8
|
+
|
|
9
|
+
.textBase {
|
|
10
|
+
color: cm_blue_900;
|
|
11
|
+
font-family: "Gilroy";
|
|
12
|
+
font-style: normal;
|
|
13
|
+
user-select: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.containerReviewSkill {
|
|
17
|
+
width: 100%;
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.title {
|
|
22
|
+
composes: textBase;
|
|
23
|
+
font-size: 20px;
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
line-height: 28px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.informationIcon {
|
|
29
|
+
color: cm_grey_500;
|
|
30
|
+
padding-left: 8px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.listSkillsContainer {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
margin-top: 24px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.skillCardContainer {
|
|
40
|
+
margin: 0px 16px 16px 0px;
|
|
41
|
+
width: 298px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.noSkillsContainer {
|
|
45
|
+
margin-top: 56px;
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
position: relative;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.titleNoSkills {
|
|
54
|
+
composes: textBase;
|
|
55
|
+
font-weight: 10;
|
|
56
|
+
font-size: 28px;
|
|
57
|
+
line-height: 36px;
|
|
58
|
+
text-align: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.textNoSkills {
|
|
62
|
+
color: cm_grey_400;
|
|
63
|
+
font-family: "Gilroy";
|
|
64
|
+
font-size: 20px;
|
|
65
|
+
line-height: 28px;
|
|
66
|
+
margin-top: 8px;
|
|
67
|
+
text-align: center;
|
|
68
|
+
user-select: none;
|
|
69
|
+
width: 493px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.imgNoSkills {
|
|
73
|
+
width: 361px;
|
|
74
|
+
height: 361px;
|
|
75
|
+
margin-top: 48px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media tablet {
|
|
79
|
+
.skillCardContainer {
|
|
80
|
+
width: 257px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media mobile {
|
|
85
|
+
.skillCardContainer {
|
|
86
|
+
width: 100%;
|
|
87
|
+
margin-right: 0px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.titleNoSkills,
|
|
91
|
+
.textNoSkills {
|
|
92
|
+
width: 85%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.imgNoSkills {
|
|
96
|
+
margin-top: 33px;
|
|
97
|
+
width: 85%;
|
|
98
|
+
height: auto;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
|
|
3
|
+
import cardDefault from '../../../../molecule/skill-card/test/fixtures/default';
|
|
4
|
+
const listSkills = [_extends(_extends({}, cardDefault.props), {}, {
|
|
5
|
+
skillTitle: 'Digital communication',
|
|
6
|
+
isCustom: false
|
|
7
|
+
}), _extends(_extends({}, cardDefault.props), {}, {
|
|
8
|
+
skillTitle: 'Creativity and innovation',
|
|
9
|
+
isCustom: false
|
|
10
|
+
}), _extends(_extends({}, cardDefault.props), {}, {
|
|
11
|
+
skillTitle: 'Agility',
|
|
12
|
+
isCustom: false
|
|
13
|
+
}), _extends(_extends({}, cardDefault.props), {}, {
|
|
14
|
+
skillTitle: 'Sustainable thinking',
|
|
15
|
+
isCustom: false
|
|
16
|
+
}), _extends(_extends({}, cardDefault.props), {}, {
|
|
17
|
+
skillTitle: 'Critical thinking and analysis',
|
|
18
|
+
isCustom: true
|
|
19
|
+
})];
|
|
20
|
+
export default {
|
|
21
|
+
props: {
|
|
22
|
+
'aria-label': 'Review Skills Container',
|
|
23
|
+
title: 'Skills you can revise',
|
|
24
|
+
listSkills,
|
|
25
|
+
titleNoSkills: undefined,
|
|
26
|
+
textNoSkills: undefined,
|
|
27
|
+
iconSkillAriaLabel: undefined
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=many-skills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/review-skills/test/fixtures/many-skills.js"],"names":["cardDefault","listSkills","props","skillTitle","isCustom","title","titleNoSkills","undefined","textNoSkills","iconSkillAriaLabel"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,uDAAxB;AAEA,MAAMC,UAAU,GAAG,uBACbD,WAAW,CAACE,KADC;AACMC,EAAAA,UAAU,EAAE,uBADlB;AAC2CC,EAAAA,QAAQ,EAAE;AADrD,0BAEbJ,WAAW,CAACE,KAFC;AAEMC,EAAAA,UAAU,EAAE,2BAFlB;AAE+CC,EAAAA,QAAQ,EAAE;AAFzD,0BAGbJ,WAAW,CAACE,KAHC;AAGMC,EAAAA,UAAU,EAAE,SAHlB;AAG6BC,EAAAA,QAAQ,EAAE;AAHvC,0BAIbJ,WAAW,CAACE,KAJC;AAIMC,EAAAA,UAAU,EAAE,sBAJlB;AAI0CC,EAAAA,QAAQ,EAAE;AAJpD,0BAKbJ,WAAW,CAACE,KALC;AAKMC,EAAAA,UAAU,EAAE,gCALlB;AAKoDC,EAAAA,QAAQ,EAAE;AAL9D,GAAnB;AAQA,eAAe;AACbF,EAAAA,KAAK,EAAE;AACL,kBAAc,yBADT;AAELG,IAAAA,KAAK,EAAE,uBAFF;AAGLJ,IAAAA,UAHK;AAILK,IAAAA,aAAa,EAAEC,SAJV;AAKLC,IAAAA,YAAY,EAAED,SALT;AAMLE,IAAAA,kBAAkB,EAAEF;AANf;AADM,CAAf","sourcesContent":["import cardDefault from '../../../../molecule/skill-card/test/fixtures/default';\n\nconst listSkills = [\n {...cardDefault.props, skillTitle: 'Digital communication', isCustom: false},\n {...cardDefault.props, skillTitle: 'Creativity and innovation', isCustom: false},\n {...cardDefault.props, skillTitle: 'Agility', isCustom: false},\n {...cardDefault.props, skillTitle: 'Sustainable thinking', isCustom: false},\n {...cardDefault.props, skillTitle: 'Critical thinking and analysis', isCustom: true}\n];\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Container',\n title: 'Skills you can revise',\n listSkills,\n titleNoSkills: undefined,\n textNoSkills: undefined,\n iconSkillAriaLabel: undefined\n }\n};\n"],"file":"many-skills.js"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
props: {
|
|
3
|
+
'aria-label': 'Review Skills Container',
|
|
4
|
+
title: 'Skills you can revise',
|
|
5
|
+
listSkills: [],
|
|
6
|
+
titleNoSkills: 'You have no skill to revise yet',
|
|
7
|
+
textNoSkills: 'Massa molestie ut sed malesuada. Cursus aliquet enim scelerisque sagittis at rutrum aliquam.',
|
|
8
|
+
iconSkillAriaLabel: 'Image without information'
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=no-skills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/review-skills/test/fixtures/no-skills.js"],"names":["props","title","listSkills","titleNoSkills","textNoSkills","iconSkillAriaLabel"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACL,kBAAc,yBADT;AAELC,IAAAA,KAAK,EAAE,uBAFF;AAGLC,IAAAA,UAAU,EAAE,EAHP;AAILC,IAAAA,aAAa,EAAE,iCAJV;AAKLC,IAAAA,YAAY,EACV,8FANG;AAOLC,IAAAA,kBAAkB,EAAE;AAPf;AADM,CAAf","sourcesContent":["export default {\n props: {\n 'aria-label': 'Review Skills Container',\n title: 'Skills you can revise',\n listSkills: [],\n titleNoSkills: 'You have no skill to revise yet',\n textNoSkills:\n 'Massa molestie ut sed malesuada. Cursus aliquet enim scelerisque sagittis at rutrum aliquam.',\n iconSkillAriaLabel: 'Image without information'\n }\n};\n"],"file":"no-skills.js"}
|
|
@@ -17,14 +17,14 @@ export default {
|
|
|
17
17
|
childType: 'drag-and-drop-wrapper',
|
|
18
18
|
title: 'Create badge'
|
|
19
19
|
}),
|
|
20
|
-
|
|
20
|
+
checkboxWithTitle: {
|
|
21
21
|
title: 'Create badge'
|
|
22
22
|
}
|
|
23
23
|
}, {
|
|
24
24
|
child: _extends(_extends({}, doubleDragAndDrop.props), {}, {
|
|
25
25
|
childType: 'drag-and-drop-wrapper'
|
|
26
26
|
}),
|
|
27
|
-
|
|
27
|
+
checkboxWithTitle: {
|
|
28
28
|
title: 'Create diploma'
|
|
29
29
|
}
|
|
30
30
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/default.js"],"names":["inputText","CheckboxWithTitle","singleDragAndDrop","doubleDragAndDrop","props","items","child","childType","title","undefined","checkboxWithTitle"
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/default.js"],"names":["inputText","CheckboxWithTitle","singleDragAndDrop","doubleDragAndDrop","props","items","child","childType","title","undefined","checkboxWithTitle"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,4DAAtB;AACA,OAAOC,iBAAP,MAA8B,4DAA9B;AACA,OAAOC,iBAAP,MAA8B,kEAA9B;AACA,OAAOC,iBAAP,MAA8B,6EAA9B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,CACL;AACEC,MAAAA,KAAK,wBAAMN,SAAS,CAACI,KAAhB;AAAuBG,QAAAA,SAAS,EAAE,YAAlC;AAAgDC,QAAAA,KAAK,EAAEC;AAAvD,QADP;AAEEC,MAAAA,iBAAiB,EAAET,iBAAiB,CAACG;AAFvC,KADK,EAKL;AACEE,MAAAA,KAAK,wBACAJ,iBAAiB,CAACE,KADlB;AAEHG,QAAAA,SAAS,EAAE,uBAFR;AAGHC,QAAAA,KAAK,EAAE;AAHJ,QADP;AAMEE,MAAAA,iBAAiB,EAAE;AAACF,QAAAA,KAAK,EAAE;AAAR;AANrB,KALK,EAaL;AACEF,MAAAA,KAAK,wBAAMH,iBAAiB,CAACC,KAAxB;AAA+BG,QAAAA,SAAS,EAAE;AAA1C,QADP;AAEEG,MAAAA,iBAAiB,EAAE;AAACF,QAAAA,KAAK,EAAE;AAAR;AAFrB,KAbK;AADF;AADM,CAAf","sourcesContent":["import inputText from '../../../../atom/input-text-with-title/test/fixtures/error';\nimport CheckboxWithTitle from '../../../../atom/checkbox-with-title/test/fixtures/checked';\nimport singleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/default';\nimport doubleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops';\n\nexport default {\n props: {\n items: [\n {\n child: {...inputText.props, childType: 'input-text', title: undefined},\n checkboxWithTitle: CheckboxWithTitle.props\n },\n {\n child: {\n ...singleDragAndDrop.props,\n childType: 'drag-and-drop-wrapper',\n title: 'Create badge'\n },\n checkboxWithTitle: {title: 'Create badge'}\n },\n {\n child: {...doubleDragAndDrop.props, childType: 'drag-and-drop-wrapper'},\n checkboxWithTitle: {title: 'Create diploma'}\n }\n ]\n }\n};\n"],"file":"default.js"}
|
|
@@ -21,7 +21,6 @@ import fixtureSimpleAction from './fixtures/simple-action';
|
|
|
21
21
|
import fixtureSubscribe from './fixtures/subscribe';
|
|
22
22
|
import fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';
|
|
23
23
|
import fixtureWithRecommendations from './fixtures/with-recommendations';
|
|
24
|
-
import fixtureWithoutRecommendation from './fixtures/without-recommendation';
|
|
25
24
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {
|
|
26
25
|
t.pass();
|
|
27
26
|
forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {
|
|
@@ -47,5 +46,4 @@ test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › shoul
|
|
|
47
46
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);
|
|
48
47
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);
|
|
49
48
|
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);
|
|
50
|
-
test('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithoutRecommendation › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithoutRecommendation);
|
|
51
49
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateAppPlayerPopinEnd","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations","
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateAppPlayerPopinEnd","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations","t","pass","propTypes","value","key","not","undefined"],"mappings":"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","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateAppPlayerPopinEnd from '..';\nimport fixtureAdaptive from './fixtures/adaptive';\nimport fixtureArabicCorrect from './fixtures/arabic-correct';\nimport fixtureArabicNextLevelAdaptiveImg from './fixtures/arabic-next-level-adaptive-img';\nimport fixtureArabicWithRecommendations from './fixtures/arabic-with-recommendations';\nimport fixtureCommentIsLoading from './fixtures/comment-is-loading';\nimport fixtureCommentSent from './fixtures/comment-sent';\nimport fixtureComment from './fixtures/comment';\nimport fixtureCorrect from './fixtures/correct';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFail from './fixtures/fail';\nimport fixtureInfiniteLives from './fixtures/infinite-lives';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNegativeRank from './fixtures/negative-rank';\nimport fixtureNextCourse from './fixtures/next-course';\nimport fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';\nimport fixtureSimpleAction from './fixtures/simple-action';\nimport fixtureSubscribe from './fixtures/subscribe';\nimport fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';\nimport fixtureWithRecommendations from './fixtures/with-recommendations';\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateAppPlayer.TemplateAppPlayerPopinEnd.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Adaptive › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureAdaptive);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicCorrect › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicNextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicWithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentIsLoading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentIsLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentSent › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentSent);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Comment › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureComment);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Correct › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Default › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureDefault);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Fail › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureFail);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › InfiniteLives › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureInfiniteLives);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);\n"],"file":"fixtures.js"}
|
|
@@ -11,10 +11,6 @@ import fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';
|
|
|
11
11
|
import fixtureDefault from './fixtures/default';
|
|
12
12
|
import fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';
|
|
13
13
|
import fixtureGeneralSettings from './fixtures/general-settings';
|
|
14
|
-
import fixtureListItemsArchived from './fixtures/list-items-archived';
|
|
15
|
-
import fixtureListItemsDraft from './fixtures/list-items-draft';
|
|
16
|
-
import fixtureListItemsPublishedWithPopin from './fixtures/list-items-published-with-popin';
|
|
17
|
-
import fixtureListItemsPublished from './fixtures/list-items-published';
|
|
18
14
|
import fixtureLmsError from './fixtures/lms-error';
|
|
19
15
|
import fixtureLmsModified from './fixtures/lms-modified';
|
|
20
16
|
import fixtureLmsSuccess from './fixtures/lms-success';
|
|
@@ -27,20 +23,12 @@ import fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';
|
|
|
27
23
|
import fixtureLookandfeel from './fixtures/lookandfeel';
|
|
28
24
|
import fixtureManageusersEdit from './fixtures/manageusers-edit';
|
|
29
25
|
import fixtureManageusersList from './fixtures/manageusers-list';
|
|
30
|
-
import
|
|
26
|
+
import fixtureManageusers from './fixtures/manageusers';
|
|
31
27
|
import fixtureSsoActivate from './fixtures/sso-activate';
|
|
32
28
|
import fixtureSso from './fixtures/sso';
|
|
33
29
|
import fixtureUploadusersLoading from './fixtures/uploadusers-loading';
|
|
34
30
|
import fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';
|
|
35
31
|
import fixtureUploadusers from './fixtures/uploadusers';
|
|
36
|
-
import fixtureWizardAddCoursesPlaylist from './fixtures/wizard-add-courses-playlist';
|
|
37
|
-
import fixtureWizardFormCreatePlaylist from './fixtures/wizard-form-create-playlist';
|
|
38
|
-
import fixtureWizardFormEditPlaylist from './fixtures/wizard-form-edit-playlist';
|
|
39
|
-
import fixtureWizardOrganizeCoursesPlaylist from './fixtures/wizard-organize-courses-playlist';
|
|
40
|
-
import fixtureWizardPopulationsPlaylistWithPopin from './fixtures/wizard-populations-playlist-with-popin';
|
|
41
|
-
import fixtureWizardPopulationsPlaylist from './fixtures/wizard-populations-playlist';
|
|
42
|
-
import fixtureWizardRewardsCertification from './fixtures/wizard-rewards-certification';
|
|
43
|
-
import fixtureWizardTranslatePlaylist from './fixtures/wizard-translate-playlist';
|
|
44
32
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {
|
|
45
33
|
t.pass();
|
|
46
34
|
forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {
|
|
@@ -56,10 +44,6 @@ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalyti
|
|
|
56
44
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);
|
|
57
45
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);
|
|
58
46
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);
|
|
59
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsArchived › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsArchived);
|
|
60
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsDraft › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsDraft);
|
|
61
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublishedWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublishedWithPopin);
|
|
62
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublished › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublished);
|
|
63
47
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);
|
|
64
48
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);
|
|
65
49
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);
|
|
@@ -72,18 +56,10 @@ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSucces
|
|
|
72
56
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);
|
|
73
57
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);
|
|
74
58
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);
|
|
75
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate ›
|
|
59
|
+
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);
|
|
76
60
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);
|
|
77
61
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);
|
|
78
62
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);
|
|
79
63
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);
|
|
80
64
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);
|
|
81
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardAddCoursesPlaylist);
|
|
82
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormCreatePlaylist);
|
|
83
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormEditPlaylist);
|
|
84
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardOrganizeCoursesPlaylist);
|
|
85
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylistWithPopin);
|
|
86
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylist);
|
|
87
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardRewardsCertification › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardRewardsCertification);
|
|
88
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardTranslatePlaylist);
|
|
89
65
|
//# sourceMappingURL=fixtures.js.map
|