@coorpacademy/components 10.13.10 → 10.13.13
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/checkbox-with-title/style.css +2 -4
- package/es/molecule/course-section/index.js +19 -16
- package/es/molecule/course-section/index.js.map +1 -1
- package/es/molecule/course-section/style.css +12 -15
- package/es/molecule/course-section/test/fixtures/advanced-level.js +22 -0
- package/es/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
- package/es/molecule/course-section/test/fixtures/base-level.js +18 -0
- package/es/molecule/course-section/test/fixtures/base-level.js.map +1 -0
- package/es/molecule/course-section/test/fixtures/chapter.js +2 -2
- package/es/molecule/course-section/test/fixtures/chapter.js.map +1 -1
- package/es/molecule/course-section/test/fixtures/coach-level.js +24 -0
- package/es/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
- package/es/molecule/course-section/test/fixtures/course.js +2 -2
- package/es/molecule/course-section/test/fixtures/course.js.map +1 -1
- package/es/molecule/course-sections/test/fixtures/default.js +20 -20
- package/es/molecule/course-sections/test/fixtures/default.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/style.css +5 -2
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
- 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 +11 -3
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
- package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
- package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
- package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
- package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
- package/es/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
- package/es/molecule/list-badges/index.js +38 -0
- package/es/molecule/list-badges/index.js.map +1 -0
- package/es/molecule/list-badges/style.css +15 -0
- package/es/molecule/list-badges/test/fixtures/advanced.js +9 -0
- package/es/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
- package/es/molecule/list-badges/test/fixtures/base.js +8 -0
- package/es/molecule/list-badges/test/fixtures/base.js.map +1 -0
- package/es/molecule/list-badges/test/fixtures/coach.js +10 -0
- package/es/molecule/list-badges/test/fixtures/coach.js.map +1 -0
- package/es/molecule/list-badges/test/fixtures/course.js +8 -0
- package/es/molecule/list-badges/test/fixtures/course.js.map +1 -0
- package/es/molecule/skill-card/index.js +87 -0
- package/es/molecule/skill-card/index.js.map +1 -0
- package/es/molecule/skill-card/style.css +60 -0
- package/es/molecule/skill-card/test/fixtures/custom-skill.js +10 -0
- package/es/molecule/skill-card/test/fixtures/custom-skill.js.map +1 -0
- package/es/molecule/skill-card/test/fixtures/default.js +15 -0
- package/es/molecule/skill-card/test/fixtures/default.js.map +1 -0
- package/es/molecule/skill-card/test/fixtures/no-aria-labels.js +12 -0
- package/es/molecule/skill-card/test/fixtures/no-aria-labels.js.map +1 -0
- package/es/molecule/skill-card/test/fixtures/short-skill-title.js +10 -0
- package/es/molecule/skill-card/test/fixtures/short-skill-title.js.map +1 -0
- package/es/molecule/skill-card/test/skill-card.js +90 -0
- package/es/molecule/skill-card/test/skill-card.js.map +1 -0
- package/es/organism/rewards-form/index.js +41 -0
- package/es/organism/rewards-form/index.js.map +1 -0
- package/es/organism/rewards-form/style.css +12 -0
- package/es/organism/rewards-form/test/fixtures/default.js +17 -0
- package/es/organism/rewards-form/test/fixtures/default.js.map +1 -0
- package/es/organism/rewards-form/test/fixtures/no-rewards.js +6 -0
- package/es/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
- package/es/organism/rewards-form/test/fixtures/one-reward.js +11 -0
- package/es/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
- package/es/organism/rewards-form/test/fixtures/two-rewards.js +14 -0
- package/es/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
- package/es/organism/wizard-contents/index.js +6 -0
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/certification-rewards.js +45 -0
- package/es/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
- package/es/template/app-player/popin-correction/index.js +3 -3
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-correction/style.css +0 -4
- package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +22 -0
- package/es/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
- package/es/variables/colors.css +1 -0
- package/lib/atom/checkbox-with-title/style.css +2 -4
- package/lib/molecule/course-section/index.js +20 -16
- package/lib/molecule/course-section/index.js.map +1 -1
- package/lib/molecule/course-section/style.css +12 -15
- package/lib/molecule/course-section/test/fixtures/advanced-level.js +27 -0
- package/lib/molecule/course-section/test/fixtures/advanced-level.js.map +1 -0
- package/lib/molecule/course-section/test/fixtures/base-level.js +23 -0
- package/lib/molecule/course-section/test/fixtures/base-level.js.map +1 -0
- package/lib/molecule/course-section/test/fixtures/chapter.js +2 -2
- package/lib/molecule/course-section/test/fixtures/chapter.js.map +1 -1
- package/lib/molecule/course-section/test/fixtures/coach-level.js +29 -0
- package/lib/molecule/course-section/test/fixtures/coach-level.js.map +1 -0
- package/lib/molecule/course-section/test/fixtures/course.js +2 -2
- package/lib/molecule/course-section/test/fixtures/course.js.map +1 -1
- package/lib/molecule/course-sections/test/fixtures/default.js +20 -20
- package/lib/molecule/course-sections/test/fixtures/default.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/style.css +5 -2
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js +8 -2
- 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 +11 -3
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
- package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/index.js +0 -0
- package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -0
- package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/style.css +0 -0
- package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/checked.js +0 -0
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/checked.js.map +1 -0
- package/lib/molecule/{input-text-with-titeled-checkbox → input-text-with-titled-checkbox}/test/fixtures/unchecked.js +0 -0
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js.map +1 -0
- package/lib/molecule/list-badges/index.js +50 -0
- package/lib/molecule/list-badges/index.js.map +1 -0
- package/lib/molecule/list-badges/style.css +15 -0
- package/lib/molecule/list-badges/test/fixtures/advanced.js +19 -0
- package/lib/molecule/list-badges/test/fixtures/advanced.js.map +1 -0
- package/lib/molecule/list-badges/test/fixtures/base.js +17 -0
- package/lib/molecule/list-badges/test/fixtures/base.js.map +1 -0
- package/lib/molecule/list-badges/test/fixtures/coach.js +21 -0
- package/lib/molecule/list-badges/test/fixtures/coach.js.map +1 -0
- package/lib/molecule/list-badges/test/fixtures/course.js +17 -0
- package/lib/molecule/list-badges/test/fixtures/course.js.map +1 -0
- package/lib/molecule/skill-card/index.js +105 -0
- package/lib/molecule/skill-card/index.js.map +1 -0
- package/lib/molecule/skill-card/style.css +60 -0
- package/lib/molecule/skill-card/test/fixtures/custom-skill.js +17 -0
- package/lib/molecule/skill-card/test/fixtures/custom-skill.js.map +1 -0
- package/lib/molecule/skill-card/test/fixtures/default.js +21 -0
- package/lib/molecule/skill-card/test/fixtures/default.js.map +1 -0
- package/lib/molecule/skill-card/test/fixtures/no-aria-labels.js +18 -0
- package/lib/molecule/skill-card/test/fixtures/no-aria-labels.js.map +1 -0
- package/lib/molecule/skill-card/test/fixtures/short-skill-title.js +17 -0
- package/lib/molecule/skill-card/test/fixtures/short-skill-title.js.map +1 -0
- package/lib/molecule/skill-card/test/skill-card.js +102 -0
- package/lib/molecule/skill-card/test/skill-card.js.map +1 -0
- package/lib/organism/rewards-form/index.js +55 -0
- package/lib/organism/rewards-form/index.js.map +1 -0
- package/lib/organism/rewards-form/style.css +12 -0
- package/lib/organism/rewards-form/test/fixtures/default.js +28 -0
- package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -0
- package/lib/organism/rewards-form/test/fixtures/no-rewards.js +11 -0
- package/lib/organism/rewards-form/test/fixtures/no-rewards.js.map +1 -0
- package/lib/organism/rewards-form/test/fixtures/one-reward.js +20 -0
- package/lib/organism/rewards-form/test/fixtures/one-reward.js.map +1 -0
- package/lib/organism/rewards-form/test/fixtures/two-rewards.js +24 -0
- package/lib/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -0
- package/lib/organism/wizard-contents/index.js +7 -0
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js +54 -0
- package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -0
- package/lib/template/app-player/popin-correction/index.js +3 -3
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/style.css +0 -4
- package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js +32 -0
- package/lib/template/back-office/brand-update/test/fixtures/wizard-rewards-certification.js.map +1 -0
- package/lib/variables/colors.css +1 -0
- package/package.json +2 -2
- package/es/atom/autocomplete/test/fixtures.js +0 -19
- package/es/atom/autocomplete/test/fixtures.js.map +0 -1
- package/es/atom/avatar/test/fixtures.js +0 -13
- package/es/atom/avatar/test/fixtures.js.map +0 -1
- package/es/atom/button/test/fixtures.js +0 -27
- package/es/atom/button/test/fixtures.js.map +0 -1
- 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 -21
- 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/catalog-section/test/fixtures.js +0 -15
- package/es/atom/catalog-section/test/fixtures.js.map +0 -1
- package/es/atom/centered-text/test/fixtures.js +0 -13
- package/es/atom/centered-text/test/fixtures.js.map +0 -1
- package/es/atom/checkbox/test/fixtures.js +0 -19
- package/es/atom/checkbox/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/clue/test/fixtures.js +0 -17
- package/es/atom/clue/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/cta/test/fixtures.js +0 -37
- package/es/atom/cta/test/fixtures.js.map +0 -1
- package/es/atom/difficulty-level/test/fixtures.js +0 -19
- package/es/atom/difficulty-level/test/fixtures.js.map +0 -1
- package/es/atom/drag-and-drop/test/fixtures.js +0 -31
- package/es/atom/drag-and-drop/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/image-upload/test/fixtures.js +0 -31
- package/es/atom/image-upload/test/fixtures.js.map +0 -1
- package/es/atom/input-checkbox/test/fixtures.js +0 -25
- package/es/atom/input-checkbox/test/fixtures.js.map +0 -1
- package/es/atom/input-color/test/fixtures.js +0 -19
- package/es/atom/input-color/test/fixtures.js.map +0 -1
- package/es/atom/input-doublestep/test/fixtures.js +0 -21
- package/es/atom/input-doublestep/test/fixtures.js.map +0 -1
- package/es/atom/input-html/test/fixtures.js +0 -17
- package/es/atom/input-html/test/fixtures.js.map +0 -1
- package/es/atom/input-readonly/test/fixtures.js +0 -13
- package/es/atom/input-readonly/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-switch/test/fixtures.js +0 -33
- package/es/atom/input-switch/test/fixtures.js.map +0 -1
- package/es/atom/input-text/test/fixtures.js +0 -27
- package/es/atom/input-text/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/input-textarea/test/fixtures.js +0 -21
- package/es/atom/input-textarea/test/fixtures.js.map +0 -1
- package/es/atom/label/test/fixtures.js +0 -15
- package/es/atom/label/test/fixtures.js.map +0 -1
- package/es/atom/life/test/fixtures.js +0 -25
- package/es/atom/life/test/fixtures.js.map +0 -1
- package/es/atom/link/test/fixtures.js +0 -17
- package/es/atom/link/test/fixtures.js.map +0 -1
- package/es/atom/loader/test/fixtures.js +0 -15
- package/es/atom/loader/test/fixtures.js.map +0 -1
- package/es/atom/notification/test/fixtures.js +0 -17
- package/es/atom/notification/test/fixtures.js.map +0 -1
- package/es/atom/picture/test/fixtures.js +0 -19
- package/es/atom/picture/test/fixtures.js.map +0 -1
- package/es/atom/picture-background/test/fixtures.js +0 -19
- package/es/atom/picture-background/test/fixtures.js.map +0 -1
- package/es/atom/promo-code/test/fixtures.js +0 -17
- package/es/atom/promo-code/test/fixtures.js.map +0 -1
- package/es/atom/provider/test/fixtures.js +0 -13
- package/es/atom/provider/test/fixtures.js.map +0 -1
- package/es/atom/radio-group/test/fixtures.js +0 -17
- package/es/atom/radio-group/test/fixtures.js.map +0 -1
- package/es/atom/range/test/fixtures.js +0 -15
- package/es/atom/range/test/fixtures.js.map +0 -1
- package/es/atom/resource-miniature/test/fixtures.js +0 -21
- package/es/atom/resource-miniature/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/select/test/fixtures.js +0 -47
- package/es/atom/select/test/fixtures.js.map +0 -1
- package/es/atom/slide/test/fixtures.js +0 -21
- package/es/atom/slide/test/fixtures.js.map +0 -1
- package/es/atom/social-link/test/fixtures.js +0 -17
- package/es/atom/social-link/test/fixtures.js.map +0 -1
- package/es/atom/spinner/test/fixtures.js +0 -13
- package/es/atom/spinner/test/fixtures.js.map +0 -1
- package/es/atom/tab/test/fixtures.js +0 -13
- package/es/atom/tab/test/fixtures.js.map +0 -1
- package/es/atom/tab-content/test/fixtures.js +0 -15
- package/es/atom/tab-content/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/title/test/fixtures.js +0 -17
- package/es/atom/title/test/fixtures.js.map +0 -1
- package/es/atom/video-upload/test/fixtures.js +0 -21
- package/es/atom/video-upload/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/hoc/animation/test/fixtures.js +0 -15
- package/es/hoc/animation/test/fixtures.js.map +0 -1
- package/es/hoc/animation-scheduler/test/fixtures.js +0 -15
- package/es/hoc/animation-scheduler/test/fixtures.js.map +0 -1
- package/es/hoc/swapper/test/fixtures.js +0 -13
- package/es/hoc/swapper/test/fixtures.js.map +0 -1
- package/es/hoc/transition/test/fixtures.js +0 -13
- package/es/hoc/transition/test/fixtures.js.map +0 -1
- package/es/molecule/add-to-my-list/test/fixtures.js +0 -15
- package/es/molecule/add-to-my-list/test/fixtures.js.map +0 -1
- package/es/molecule/answer/test/fixtures.js +0 -35
- package/es/molecule/answer/test/fixtures.js.map +0 -1
- package/es/molecule/audio/test/fixtures.js +0 -15
- package/es/molecule/audio/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/battle-request/test/fixtures.js +0 -15
- package/es/molecule/battle-request/test/fixtures.js.map +0 -1
- package/es/molecule/brand-card/test/fixtures.js +0 -15
- package/es/molecule/brand-card/test/fixtures.js.map +0 -1
- package/es/molecule/brand-card-create/test/fixtures.js +0 -13
- package/es/molecule/brand-card-create/test/fixtures.js.map +0 -1
- package/es/molecule/brand-create-form/test/fixtures.js +0 -19
- package/es/molecule/brand-create-form/test/fixtures.js.map +0 -1
- package/es/molecule/brand-download-box/test/fixtures.js +0 -17
- package/es/molecule/brand-download-box/test/fixtures.js.map +0 -1
- package/es/molecule/brand-form-group/test/fixtures.js +0 -35
- package/es/molecule/brand-form-group/test/fixtures.js.map +0 -1
- package/es/molecule/brand-tabs/test/fixtures.js +0 -29
- package/es/molecule/brand-tabs/test/fixtures.js.map +0 -1
- package/es/molecule/brand-upload-box/test/fixtures.js +0 -17
- package/es/molecule/brand-upload-box/test/fixtures.js.map +0 -1
- package/es/molecule/breadcrumbs/test/fixtures.js +0 -13
- package/es/molecule/breadcrumbs/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/card/test/fixtures.js +0 -45
- package/es/molecule/card/test/fixtures.js.map +0 -1
- package/es/molecule/card-content/test/fixtures.js +0 -27
- package/es/molecule/card-content/test/fixtures.js.map +0 -1
- package/es/molecule/card-with-button/test/fixtures.js +0 -17
- package/es/molecule/card-with-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/cookie-banner/test/fixtures.js +0 -13
- package/es/molecule/cookie-banner/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 -15
- 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/battle-request-list/test/fixtures.js +0 -15
- package/es/molecule/dashboard/battle-request-list/test/fixtures.js.map +0 -1
- package/es/molecule/dashboard/cards-list/test/fixtures.js +0 -23
- package/es/molecule/dashboard/cards-list/test/fixtures.js.map +0 -1
- package/es/molecule/dashboard/news-list/test/fixtures.js +0 -17
- package/es/molecule/dashboard/news-list/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/dashboard/start-battle/test/fixtures.js +0 -15
- package/es/molecule/dashboard/start-battle/test/fixtures.js.map +0 -1
- package/es/molecule/discipline-cta/test/fixtures.js +0 -15
- package/es/molecule/discipline-cta/test/fixtures.js.map +0 -1
- package/es/molecule/discipline-header/test/fixtures.js +0 -27
- package/es/molecule/discipline-header/test/fixtures.js.map +0 -1
- package/es/molecule/discipline-partners/test/fixtures.js +0 -21
- package/es/molecule/discipline-partners/test/fixtures.js.map +0 -1
- package/es/molecule/discipline-scope/test/fixtures.js +0 -27
- package/es/molecule/discipline-scope/test/fixtures.js.map +0 -1
- package/es/molecule/drag-and-drop/test/fixtures.js +0 -25
- package/es/molecule/drag-and-drop/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/external-content-button/test/fixtures.js +0 -19
- package/es/molecule/external-content-button/test/fixtures.js.map +0 -1
- package/es/molecule/external-content-viewer/test/fixtures.js +0 -27
- package/es/molecule/external-content-viewer/test/fixtures.js.map +0 -1
- package/es/molecule/feedback/test/fixtures.js +0 -27
- package/es/molecule/feedback/test/fixtures.js.map +0 -1
- package/es/molecule/filters/test/fixtures.js +0 -33
- package/es/molecule/filters/test/fixtures.js.map +0 -1
- package/es/molecule/forum/forum-comment/test/fixtures.js +0 -17
- package/es/molecule/forum/forum-comment/test/fixtures.js.map +0 -1
- package/es/molecule/forum/forum-post/test/fixtures.js +0 -31
- package/es/molecule/forum/forum-post/test/fixtures.js.map +0 -1
- package/es/molecule/forum/forum-thread/test/fixtures.js +0 -17
- package/es/molecule/forum/forum-thread/test/fixtures.js.map +0 -1
- package/es/molecule/hero/test/fixtures.js +0 -15
- package/es/molecule/hero/test/fixtures.js.map +0 -1
- package/es/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -15
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
- package/es/molecule/login-alert/test/fixtures.js +0 -13
- package/es/molecule/login-alert/test/fixtures.js.map +0 -1
- package/es/molecule/menu-list/test/fixtures.js +0 -13
- package/es/molecule/menu-list/test/fixtures.js.map +0 -1
- package/es/molecule/message-popin/test/fixtures.js +0 -13
- package/es/molecule/message-popin/test/fixtures.js.map +0 -1
- package/es/molecule/modal/test/fixtures.js +0 -13
- package/es/molecule/modal/test/fixtures.js.map +0 -1
- package/es/molecule/module-bubble/test/fixtures.js +0 -17
- package/es/molecule/module-bubble/test/fixtures.js.map +0 -1
- package/es/molecule/module-card/test/fixtures.js +0 -17
- package/es/molecule/module-card/test/fixtures.js.map +0 -1
- package/es/molecule/news/test/fixtures.js +0 -23
- package/es/molecule/news/test/fixtures.js.map +0 -1
- package/es/molecule/notification-banner/test/fixtures.js +0 -17
- package/es/molecule/notification-banner/test/fixtures.js.map +0 -1
- package/es/molecule/pagination/test/fixtures.js +0 -15
- package/es/molecule/pagination/test/fixtures.js.map +0 -1
- package/es/molecule/payment-form/test/fixtures.js +0 -17
- package/es/molecule/payment-form/test/fixtures.js.map +0 -1
- package/es/molecule/pdf/test/fixtures.js +0 -13
- package/es/molecule/pdf/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/product-card/test/fixtures.js +0 -13
- package/es/molecule/product-card/test/fixtures.js.map +0 -1
- package/es/molecule/progress-bar/test/fixtures.js +0 -15
- package/es/molecule/progress-bar/test/fixtures.js.map +0 -1
- package/es/molecule/questions/drop-down/test/fixtures.js +0 -15
- package/es/molecule/questions/drop-down/test/fixtures.js.map +0 -1
- package/es/molecule/questions/free-text/test/fixtures.js +0 -17
- package/es/molecule/questions/free-text/test/fixtures.js.map +0 -1
- package/es/molecule/questions/qcm/test/fixtures.js +0 -19
- package/es/molecule/questions/qcm/test/fixtures.js.map +0 -1
- package/es/molecule/questions/qcm-drag/test/fixtures.js +0 -15
- package/es/molecule/questions/qcm-drag/test/fixtures.js.map +0 -1
- package/es/molecule/questions/qcm-graphic/test/fixtures.js +0 -15
- package/es/molecule/questions/qcm-graphic/test/fixtures.js.map +0 -1
- package/es/molecule/questions/question-range/test/fixtures.js +0 -13
- package/es/molecule/questions/question-range/test/fixtures.js.map +0 -1
- package/es/molecule/questions/template/test/fixtures.js +0 -15
- package/es/molecule/questions/template/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/resource-player/test/fixtures.js +0 -25
- package/es/molecule/resource-player/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/scope-content/test/fixtures.js +0 -27
- package/es/molecule/scope-content/test/fixtures.js.map +0 -1
- package/es/molecule/scope-tabs/test/fixtures.js +0 -17
- package/es/molecule/scope-tabs/test/fixtures.js.map +0 -1
- package/es/molecule/search/test/fixtures.js +0 -15
- package/es/molecule/search/test/fixtures.js.map +0 -1
- package/es/molecule/search-form/test/fixtures.js +0 -13
- package/es/molecule/search-form/test/fixtures.js.map +0 -1
- package/es/molecule/select-multiple/test/fixtures.js +0 -31
- package/es/molecule/select-multiple/test/fixtures.js.map +0 -1
- package/es/molecule/setup-cohort-item/test/fixtures.js +0 -19
- package/es/molecule/setup-cohort-item/test/fixtures.js.map +0 -1
- package/es/molecule/setup-section/test/fixtures.js +0 -25
- package/es/molecule/setup-section/test/fixtures.js.map +0 -1
- package/es/molecule/setup-sections/test/fixtures.js +0 -19
- package/es/molecule/setup-sections/test/fixtures.js.map +0 -1
- package/es/molecule/setup-slide/test/fixtures.js +0 -25
- package/es/molecule/setup-slide/test/fixtures.js.map +0 -1
- package/es/molecule/setup-slider/test/fixtures.js +0 -15
- package/es/molecule/setup-slider/test/fixtures.js.map +0 -1
- package/es/molecule/share/test/fixtures.js +0 -13
- package/es/molecule/share/test/fixtures.js.map +0 -1
- package/es/molecule/ssmenu-list/test/fixtures.js +0 -19
- package/es/molecule/ssmenu-list/test/fixtures.js.map +0 -1
- package/es/molecule/subscription-freemium/test/fixtures.js +0 -13
- package/es/molecule/subscription-freemium/test/fixtures.js.map +0 -1
- package/es/molecule/subscription-premium/test/fixtures.js +0 -15
- package/es/molecule/subscription-premium/test/fixtures.js.map +0 -1
- package/es/molecule/table/test/fixtures.js +0 -19
- package/es/molecule/table/test/fixtures.js.map +0 -1
- package/es/molecule/teams-popin/test/fixtures.js +0 -29
- package/es/molecule/teams-popin/test/fixtures.js.map +0 -1
- package/es/molecule/theme-image/test/fixtures.js +0 -13
- package/es/molecule/theme-image/test/fixtures.js.map +0 -1
- package/es/molecule/titled-checkbox/test/fixtures.js +0 -17
- package/es/molecule/titled-checkbox/test/fixtures.js.map +0 -1
- package/es/molecule/unsubscribe/test/fixtures.js +0 -15
- package/es/molecule/unsubscribe/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/video-iframe/test/fixtures.js +0 -25
- package/es/molecule/video-iframe/test/fixtures.js.map +0 -1
- package/es/molecule/video-player/test/fixtures.js +0 -29
- package/es/molecule/video-player/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/container/test/fixtures.js +0 -17
- package/es/organism/accordion/container/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/accordion/part/test/fixtures.js +0 -15
- package/es/organism/accordion/part/test/fixtures.js.map +0 -1
- package/es/organism/accordion/toggler/test/fixtures.js +0 -17
- package/es/organism/accordion/toggler/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/brand-dashboard/test/fixtures.js +0 -15
- package/es/organism/brand-dashboard/test/fixtures.js.map +0 -1
- package/es/organism/brand-form/test/fixtures.js +0 -33
- package/es/organism/brand-form/test/fixtures.js.map +0 -1
- package/es/organism/brand-table/test/fixtures.js +0 -19
- package/es/organism/brand-table/test/fixtures.js.map +0 -1
- package/es/organism/brand-upload/test/fixtures.js +0 -15
- package/es/organism/brand-upload/test/fixtures.js.map +0 -1
- package/es/organism/cards-grid/test/fixtures.js +0 -19
- package/es/organism/cards-grid/test/fixtures.js.map +0 -1
- package/es/organism/cart/test/fixtures.js +0 -13
- package/es/organism/cart/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/discussion/test/fixtures.js +0 -19
- package/es/organism/discussion/test/fixtures.js.map +0 -1
- package/es/organism/get-the-app/test/fixtures.js +0 -13
- package/es/organism/get-the-app/test/fixtures.js.map +0 -1
- package/es/organism/grid-list/test/fixtures.js +0 -13
- package/es/organism/grid-list/test/fixtures.js.map +0 -1
- package/es/organism/header/test/fixtures.js +0 -13
- package/es/organism/header/test/fixtures.js.map +0 -1
- package/es/organism/hero/test/fixtures.js +0 -17
- package/es/organism/hero/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/mooc/image-slider/test/fixtures.js +0 -15
- package/es/organism/mooc/image-slider/test/fixtures.js.map +0 -1
- package/es/organism/mooc-footer/test/fixtures.js +0 -23
- package/es/organism/mooc-footer/test/fixtures.js.map +0 -1
- package/es/organism/mooc-header/test/fixtures.js +0 -31
- package/es/organism/mooc-header/test/fixtures.js.map +0 -1
- package/es/organism/playlist-translation/test/fixtures.js +0 -15
- package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
- package/es/organism/popin/test/fixtures.js +0 -13
- package/es/organism/popin/test/fixtures.js.map +0 -1
- package/es/organism/resource-browser/test/fixtures.js +0 -37
- package/es/organism/resource-browser/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/settings/test/fixtures.js +0 -19
- package/es/organism/settings/test/fixtures.js.map +0 -1
- package/es/organism/setup-header/test/fixtures.js +0 -15
- package/es/organism/setup-header/test/fixtures.js.map +0 -1
- package/es/organism/sidebar/test/fixtures.js +0 -23
- package/es/organism/sidebar/test/fixtures.js.map +0 -1
- package/es/organism/slider/test/fixtures.js +0 -15
- package/es/organism/slider/test/fixtures.js.map +0 -1
- package/es/organism/user-preferences/test/fixtures.js +0 -13
- package/es/organism/user-preferences/test/fixtures.js.map +0 -1
- package/es/organism/wizard-contents/test/fixtures.js +0 -23
- package/es/organism/wizard-contents/test/fixtures.js.map +0 -1
- package/es/template/activity/test/fixtures.js +0 -21
- package/es/template/activity/test/fixtures.js.map +0 -1
- package/es/template/app-player/loading/test/fixtures.js +0 -13
- package/es/template/app-player/loading/test/fixtures.js.map +0 -1
- package/es/template/app-player/player/slides/footer/test/fixtures.js +0 -29
- package/es/template/app-player/player/slides/footer/test/fixtures.js.map +0 -1
- package/es/template/app-player/player/slides/header/test/fixtures.js +0 -23
- package/es/template/app-player/player/slides/header/test/fixtures.js.map +0 -1
- package/es/template/app-player/player/slides/test/fixtures.js +0 -79
- package/es/template/app-player/player/slides/test/fixtures.js.map +0 -1
- package/es/template/app-player/player/test/fixtures.js +0 -55
- package/es/template/app-player/player/test/fixtures.js.map +0 -1
- package/es/template/app-player/popin-correction/test/fixtures.js +0 -47
- package/es/template/app-player/popin-correction/test/fixtures.js.map +0 -1
- package/es/template/app-player/popin-end/test/fixtures.js +0 -51
- package/es/template/app-player/popin-end/test/fixtures.js.map +0 -1
- package/es/template/app-player/popin-header/test/fixtures.js +0 -29
- package/es/template/app-player/popin-header/test/fixtures.js.map +0 -1
- package/es/template/back-office/brand-create/test/fixtures.js +0 -19
- package/es/template/back-office/brand-create/test/fixtures.js.map +0 -1
- package/es/template/back-office/brand-list/test/fixtures.js +0 -17
- package/es/template/back-office/brand-list/test/fixtures.js.map +0 -1
- package/es/template/back-office/brand-update/test/fixtures.js +0 -87
- package/es/template/back-office/brand-update/test/fixtures.js.map +0 -1
- package/es/template/back-office/dashboard-preview/test/fixtures.js +0 -23
- package/es/template/back-office/dashboard-preview/test/fixtures.js.map +0 -1
- package/es/template/battle-requests/test/fixtures.js +0 -13
- package/es/template/battle-requests/test/fixtures.js.map +0 -1
- package/es/template/cockpit/jw-uploader/test/fixtures.js +0 -13
- package/es/template/cockpit/jw-uploader/test/fixtures.js.map +0 -1
- package/es/template/common/authors/test/fixtures.js +0 -15
- package/es/template/common/authors/test/fixtures.js.map +0 -1
- package/es/template/common/coorp-header/test/fixtures.js +0 -15
- package/es/template/common/coorp-header/test/fixtures.js.map +0 -1
- package/es/template/common/dashboard/test/fixtures.js +0 -17
- package/es/template/common/dashboard/test/fixtures.js.map +0 -1
- package/es/template/common/discipline/test/fixtures.js +0 -47
- package/es/template/common/discipline/test/fixtures.js.map +0 -1
- package/es/template/common/search-page/test/fixtures.js +0 -17
- package/es/template/common/search-page/test/fixtures.js.map +0 -1
- package/es/template/external-course/test/fixtures.js +0 -31
- package/es/template/external-course/test/fixtures.js.map +0 -1
- package/es/template/teams-dashboard/test/fixtures.js +0 -17
- package/es/template/teams-dashboard/test/fixtures.js.map +0 -1
- package/lib/atom/autocomplete/test/fixtures.js +0 -31
- package/lib/atom/autocomplete/test/fixtures.js.map +0 -1
- package/lib/atom/avatar/test/fixtures.js +0 -22
- package/lib/atom/avatar/test/fixtures.js.map +0 -1
- package/lib/atom/button/test/fixtures.js +0 -43
- package/lib/atom/button/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 -34
- 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/catalog-section/test/fixtures.js +0 -25
- package/lib/atom/catalog-section/test/fixtures.js.map +0 -1
- package/lib/atom/centered-text/test/fixtures.js +0 -22
- package/lib/atom/centered-text/test/fixtures.js.map +0 -1
- package/lib/atom/checkbox/test/fixtures.js +0 -31
- package/lib/atom/checkbox/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/clue/test/fixtures.js +0 -28
- package/lib/atom/clue/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/cta/test/fixtures.js +0 -58
- package/lib/atom/cta/test/fixtures.js.map +0 -1
- package/lib/atom/difficulty-level/test/fixtures.js +0 -31
- package/lib/atom/difficulty-level/test/fixtures.js.map +0 -1
- package/lib/atom/drag-and-drop/test/fixtures.js +0 -49
- package/lib/atom/drag-and-drop/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/image-upload/test/fixtures.js +0 -49
- package/lib/atom/image-upload/test/fixtures.js.map +0 -1
- package/lib/atom/input-checkbox/test/fixtures.js +0 -40
- package/lib/atom/input-checkbox/test/fixtures.js.map +0 -1
- package/lib/atom/input-color/test/fixtures.js +0 -31
- package/lib/atom/input-color/test/fixtures.js.map +0 -1
- package/lib/atom/input-doublestep/test/fixtures.js +0 -34
- package/lib/atom/input-doublestep/test/fixtures.js.map +0 -1
- package/lib/atom/input-html/test/fixtures.js +0 -28
- package/lib/atom/input-html/test/fixtures.js.map +0 -1
- package/lib/atom/input-readonly/test/fixtures.js +0 -22
- package/lib/atom/input-readonly/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-switch/test/fixtures.js +0 -52
- package/lib/atom/input-switch/test/fixtures.js.map +0 -1
- package/lib/atom/input-text/test/fixtures.js +0 -43
- package/lib/atom/input-text/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/input-textarea/test/fixtures.js +0 -34
- package/lib/atom/input-textarea/test/fixtures.js.map +0 -1
- package/lib/atom/label/test/fixtures.js +0 -25
- package/lib/atom/label/test/fixtures.js.map +0 -1
- package/lib/atom/life/test/fixtures.js +0 -40
- package/lib/atom/life/test/fixtures.js.map +0 -1
- package/lib/atom/link/test/fixtures.js +0 -28
- package/lib/atom/link/test/fixtures.js.map +0 -1
- package/lib/atom/loader/test/fixtures.js +0 -25
- package/lib/atom/loader/test/fixtures.js.map +0 -1
- package/lib/atom/notification/test/fixtures.js +0 -28
- package/lib/atom/notification/test/fixtures.js.map +0 -1
- package/lib/atom/picture/test/fixtures.js +0 -31
- package/lib/atom/picture/test/fixtures.js.map +0 -1
- package/lib/atom/picture-background/test/fixtures.js +0 -31
- package/lib/atom/picture-background/test/fixtures.js.map +0 -1
- package/lib/atom/promo-code/test/fixtures.js +0 -28
- package/lib/atom/promo-code/test/fixtures.js.map +0 -1
- package/lib/atom/provider/test/fixtures.js +0 -22
- package/lib/atom/provider/test/fixtures.js.map +0 -1
- package/lib/atom/radio-group/test/fixtures.js +0 -28
- package/lib/atom/radio-group/test/fixtures.js.map +0 -1
- package/lib/atom/range/test/fixtures.js +0 -25
- package/lib/atom/range/test/fixtures.js.map +0 -1
- package/lib/atom/resource-miniature/test/fixtures.js +0 -34
- package/lib/atom/resource-miniature/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/select/test/fixtures.js +0 -73
- package/lib/atom/select/test/fixtures.js.map +0 -1
- package/lib/atom/slide/test/fixtures.js +0 -34
- package/lib/atom/slide/test/fixtures.js.map +0 -1
- package/lib/atom/social-link/test/fixtures.js +0 -28
- package/lib/atom/social-link/test/fixtures.js.map +0 -1
- package/lib/atom/spinner/test/fixtures.js +0 -22
- package/lib/atom/spinner/test/fixtures.js.map +0 -1
- package/lib/atom/tab/test/fixtures.js +0 -22
- package/lib/atom/tab/test/fixtures.js.map +0 -1
- package/lib/atom/tab-content/test/fixtures.js +0 -25
- package/lib/atom/tab-content/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/title/test/fixtures.js +0 -28
- package/lib/atom/title/test/fixtures.js.map +0 -1
- package/lib/atom/video-upload/test/fixtures.js +0 -34
- package/lib/atom/video-upload/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/hoc/animation/test/fixtures.js +0 -25
- package/lib/hoc/animation/test/fixtures.js.map +0 -1
- package/lib/hoc/animation-scheduler/test/fixtures.js +0 -25
- package/lib/hoc/animation-scheduler/test/fixtures.js.map +0 -1
- package/lib/hoc/swapper/test/fixtures.js +0 -22
- package/lib/hoc/swapper/test/fixtures.js.map +0 -1
- package/lib/hoc/transition/test/fixtures.js +0 -22
- package/lib/hoc/transition/test/fixtures.js.map +0 -1
- package/lib/molecule/add-to-my-list/test/fixtures.js +0 -25
- package/lib/molecule/add-to-my-list/test/fixtures.js.map +0 -1
- package/lib/molecule/answer/test/fixtures.js +0 -55
- package/lib/molecule/answer/test/fixtures.js.map +0 -1
- package/lib/molecule/audio/test/fixtures.js +0 -25
- package/lib/molecule/audio/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/battle-request/test/fixtures.js +0 -25
- package/lib/molecule/battle-request/test/fixtures.js.map +0 -1
- package/lib/molecule/brand-card/test/fixtures.js +0 -25
- package/lib/molecule/brand-card/test/fixtures.js.map +0 -1
- package/lib/molecule/brand-card-create/test/fixtures.js +0 -22
- package/lib/molecule/brand-card-create/test/fixtures.js.map +0 -1
- package/lib/molecule/brand-create-form/test/fixtures.js +0 -31
- package/lib/molecule/brand-create-form/test/fixtures.js.map +0 -1
- package/lib/molecule/brand-download-box/test/fixtures.js +0 -28
- package/lib/molecule/brand-download-box/test/fixtures.js.map +0 -1
- package/lib/molecule/brand-form-group/test/fixtures.js +0 -55
- package/lib/molecule/brand-form-group/test/fixtures.js.map +0 -1
- package/lib/molecule/brand-tabs/test/fixtures.js +0 -46
- package/lib/molecule/brand-tabs/test/fixtures.js.map +0 -1
- package/lib/molecule/brand-upload-box/test/fixtures.js +0 -28
- package/lib/molecule/brand-upload-box/test/fixtures.js.map +0 -1
- package/lib/molecule/breadcrumbs/test/fixtures.js +0 -22
- package/lib/molecule/breadcrumbs/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/card/test/fixtures.js +0 -70
- package/lib/molecule/card/test/fixtures.js.map +0 -1
- package/lib/molecule/card-content/test/fixtures.js +0 -43
- package/lib/molecule/card-content/test/fixtures.js.map +0 -1
- package/lib/molecule/card-with-button/test/fixtures.js +0 -28
- package/lib/molecule/card-with-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/cookie-banner/test/fixtures.js +0 -22
- package/lib/molecule/cookie-banner/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 -25
- 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/battle-request-list/test/fixtures.js +0 -25
- package/lib/molecule/dashboard/battle-request-list/test/fixtures.js.map +0 -1
- package/lib/molecule/dashboard/cards-list/test/fixtures.js +0 -37
- package/lib/molecule/dashboard/cards-list/test/fixtures.js.map +0 -1
- package/lib/molecule/dashboard/news-list/test/fixtures.js +0 -28
- package/lib/molecule/dashboard/news-list/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/dashboard/start-battle/test/fixtures.js +0 -25
- package/lib/molecule/dashboard/start-battle/test/fixtures.js.map +0 -1
- package/lib/molecule/discipline-cta/test/fixtures.js +0 -25
- package/lib/molecule/discipline-cta/test/fixtures.js.map +0 -1
- package/lib/molecule/discipline-header/test/fixtures.js +0 -43
- package/lib/molecule/discipline-header/test/fixtures.js.map +0 -1
- package/lib/molecule/discipline-partners/test/fixtures.js +0 -34
- package/lib/molecule/discipline-partners/test/fixtures.js.map +0 -1
- package/lib/molecule/discipline-scope/test/fixtures.js +0 -43
- package/lib/molecule/discipline-scope/test/fixtures.js.map +0 -1
- package/lib/molecule/drag-and-drop/test/fixtures.js +0 -40
- package/lib/molecule/drag-and-drop/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/external-content-button/test/fixtures.js +0 -31
- package/lib/molecule/external-content-button/test/fixtures.js.map +0 -1
- package/lib/molecule/external-content-viewer/test/fixtures.js +0 -43
- package/lib/molecule/external-content-viewer/test/fixtures.js.map +0 -1
- package/lib/molecule/feedback/test/fixtures.js +0 -43
- package/lib/molecule/feedback/test/fixtures.js.map +0 -1
- package/lib/molecule/filters/test/fixtures.js +0 -52
- package/lib/molecule/filters/test/fixtures.js.map +0 -1
- package/lib/molecule/forum/forum-comment/test/fixtures.js +0 -28
- package/lib/molecule/forum/forum-comment/test/fixtures.js.map +0 -1
- package/lib/molecule/forum/forum-post/test/fixtures.js +0 -49
- package/lib/molecule/forum/forum-post/test/fixtures.js.map +0 -1
- package/lib/molecule/forum/forum-thread/test/fixtures.js +0 -28
- package/lib/molecule/forum/forum-thread/test/fixtures.js.map +0 -1
- package/lib/molecule/hero/test/fixtures.js +0 -25
- package/lib/molecule/hero/test/fixtures.js.map +0 -1
- package/lib/molecule/input-text-with-titeled-checkbox/index.js.map +0 -1
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +0 -1
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +0 -1
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js +0 -25
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +0 -1
- package/lib/molecule/login-alert/test/fixtures.js +0 -22
- package/lib/molecule/login-alert/test/fixtures.js.map +0 -1
- package/lib/molecule/menu-list/test/fixtures.js +0 -22
- package/lib/molecule/menu-list/test/fixtures.js.map +0 -1
- package/lib/molecule/message-popin/test/fixtures.js +0 -22
- package/lib/molecule/message-popin/test/fixtures.js.map +0 -1
- package/lib/molecule/modal/test/fixtures.js +0 -22
- package/lib/molecule/modal/test/fixtures.js.map +0 -1
- package/lib/molecule/module-bubble/test/fixtures.js +0 -28
- package/lib/molecule/module-bubble/test/fixtures.js.map +0 -1
- package/lib/molecule/module-card/test/fixtures.js +0 -28
- package/lib/molecule/module-card/test/fixtures.js.map +0 -1
- package/lib/molecule/news/test/fixtures.js +0 -37
- package/lib/molecule/news/test/fixtures.js.map +0 -1
- package/lib/molecule/notification-banner/test/fixtures.js +0 -28
- package/lib/molecule/notification-banner/test/fixtures.js.map +0 -1
- package/lib/molecule/pagination/test/fixtures.js +0 -25
- package/lib/molecule/pagination/test/fixtures.js.map +0 -1
- package/lib/molecule/payment-form/test/fixtures.js +0 -28
- package/lib/molecule/payment-form/test/fixtures.js.map +0 -1
- package/lib/molecule/pdf/test/fixtures.js +0 -22
- package/lib/molecule/pdf/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/product-card/test/fixtures.js +0 -22
- package/lib/molecule/product-card/test/fixtures.js.map +0 -1
- package/lib/molecule/progress-bar/test/fixtures.js +0 -25
- package/lib/molecule/progress-bar/test/fixtures.js.map +0 -1
- package/lib/molecule/questions/drop-down/test/fixtures.js +0 -25
- package/lib/molecule/questions/drop-down/test/fixtures.js.map +0 -1
- package/lib/molecule/questions/free-text/test/fixtures.js +0 -28
- package/lib/molecule/questions/free-text/test/fixtures.js.map +0 -1
- package/lib/molecule/questions/qcm/test/fixtures.js +0 -31
- package/lib/molecule/questions/qcm/test/fixtures.js.map +0 -1
- package/lib/molecule/questions/qcm-drag/test/fixtures.js +0 -25
- package/lib/molecule/questions/qcm-drag/test/fixtures.js.map +0 -1
- package/lib/molecule/questions/qcm-graphic/test/fixtures.js +0 -25
- package/lib/molecule/questions/qcm-graphic/test/fixtures.js.map +0 -1
- package/lib/molecule/questions/question-range/test/fixtures.js +0 -22
- package/lib/molecule/questions/question-range/test/fixtures.js.map +0 -1
- package/lib/molecule/questions/template/test/fixtures.js +0 -25
- package/lib/molecule/questions/template/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/resource-player/test/fixtures.js +0 -40
- package/lib/molecule/resource-player/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/scope-content/test/fixtures.js +0 -43
- package/lib/molecule/scope-content/test/fixtures.js.map +0 -1
- package/lib/molecule/scope-tabs/test/fixtures.js +0 -28
- package/lib/molecule/scope-tabs/test/fixtures.js.map +0 -1
- package/lib/molecule/search/test/fixtures.js +0 -25
- package/lib/molecule/search/test/fixtures.js.map +0 -1
- package/lib/molecule/search-form/test/fixtures.js +0 -22
- package/lib/molecule/search-form/test/fixtures.js.map +0 -1
- package/lib/molecule/select-multiple/test/fixtures.js +0 -49
- package/lib/molecule/select-multiple/test/fixtures.js.map +0 -1
- package/lib/molecule/setup-cohort-item/test/fixtures.js +0 -31
- package/lib/molecule/setup-cohort-item/test/fixtures.js.map +0 -1
- package/lib/molecule/setup-section/test/fixtures.js +0 -40
- package/lib/molecule/setup-section/test/fixtures.js.map +0 -1
- package/lib/molecule/setup-sections/test/fixtures.js +0 -31
- package/lib/molecule/setup-sections/test/fixtures.js.map +0 -1
- package/lib/molecule/setup-slide/test/fixtures.js +0 -40
- package/lib/molecule/setup-slide/test/fixtures.js.map +0 -1
- package/lib/molecule/setup-slider/test/fixtures.js +0 -25
- package/lib/molecule/setup-slider/test/fixtures.js.map +0 -1
- package/lib/molecule/share/test/fixtures.js +0 -22
- package/lib/molecule/share/test/fixtures.js.map +0 -1
- package/lib/molecule/ssmenu-list/test/fixtures.js +0 -31
- package/lib/molecule/ssmenu-list/test/fixtures.js.map +0 -1
- package/lib/molecule/subscription-freemium/test/fixtures.js +0 -22
- package/lib/molecule/subscription-freemium/test/fixtures.js.map +0 -1
- package/lib/molecule/subscription-premium/test/fixtures.js +0 -25
- package/lib/molecule/subscription-premium/test/fixtures.js.map +0 -1
- package/lib/molecule/table/test/fixtures.js +0 -31
- package/lib/molecule/table/test/fixtures.js.map +0 -1
- package/lib/molecule/teams-popin/test/fixtures.js +0 -46
- package/lib/molecule/teams-popin/test/fixtures.js.map +0 -1
- package/lib/molecule/theme-image/test/fixtures.js +0 -22
- package/lib/molecule/theme-image/test/fixtures.js.map +0 -1
- package/lib/molecule/titled-checkbox/test/fixtures.js +0 -28
- package/lib/molecule/titled-checkbox/test/fixtures.js.map +0 -1
- package/lib/molecule/unsubscribe/test/fixtures.js +0 -25
- package/lib/molecule/unsubscribe/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/video-iframe/test/fixtures.js +0 -40
- package/lib/molecule/video-iframe/test/fixtures.js.map +0 -1
- package/lib/molecule/video-player/test/fixtures.js +0 -46
- package/lib/molecule/video-player/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/container/test/fixtures.js +0 -28
- package/lib/organism/accordion/container/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/accordion/part/test/fixtures.js +0 -25
- package/lib/organism/accordion/part/test/fixtures.js.map +0 -1
- package/lib/organism/accordion/toggler/test/fixtures.js +0 -28
- package/lib/organism/accordion/toggler/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/brand-dashboard/test/fixtures.js +0 -25
- package/lib/organism/brand-dashboard/test/fixtures.js.map +0 -1
- package/lib/organism/brand-form/test/fixtures.js +0 -52
- package/lib/organism/brand-form/test/fixtures.js.map +0 -1
- package/lib/organism/brand-table/test/fixtures.js +0 -31
- package/lib/organism/brand-table/test/fixtures.js.map +0 -1
- package/lib/organism/brand-upload/test/fixtures.js +0 -25
- package/lib/organism/brand-upload/test/fixtures.js.map +0 -1
- package/lib/organism/cards-grid/test/fixtures.js +0 -31
- package/lib/organism/cards-grid/test/fixtures.js.map +0 -1
- package/lib/organism/cart/test/fixtures.js +0 -22
- package/lib/organism/cart/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/discussion/test/fixtures.js +0 -31
- package/lib/organism/discussion/test/fixtures.js.map +0 -1
- package/lib/organism/get-the-app/test/fixtures.js +0 -22
- package/lib/organism/get-the-app/test/fixtures.js.map +0 -1
- package/lib/organism/grid-list/test/fixtures.js +0 -22
- package/lib/organism/grid-list/test/fixtures.js.map +0 -1
- package/lib/organism/header/test/fixtures.js +0 -22
- package/lib/organism/header/test/fixtures.js.map +0 -1
- package/lib/organism/hero/test/fixtures.js +0 -28
- package/lib/organism/hero/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/mooc/image-slider/test/fixtures.js +0 -25
- package/lib/organism/mooc/image-slider/test/fixtures.js.map +0 -1
- package/lib/organism/mooc-footer/test/fixtures.js +0 -37
- package/lib/organism/mooc-footer/test/fixtures.js.map +0 -1
- package/lib/organism/mooc-header/test/fixtures.js +0 -49
- package/lib/organism/mooc-header/test/fixtures.js.map +0 -1
- package/lib/organism/playlist-translation/test/fixtures.js +0 -25
- package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
- package/lib/organism/popin/test/fixtures.js +0 -22
- package/lib/organism/popin/test/fixtures.js.map +0 -1
- package/lib/organism/resource-browser/test/fixtures.js +0 -58
- package/lib/organism/resource-browser/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/settings/test/fixtures.js +0 -31
- package/lib/organism/settings/test/fixtures.js.map +0 -1
- package/lib/organism/setup-header/test/fixtures.js +0 -25
- package/lib/organism/setup-header/test/fixtures.js.map +0 -1
- package/lib/organism/sidebar/test/fixtures.js +0 -37
- package/lib/organism/sidebar/test/fixtures.js.map +0 -1
- package/lib/organism/slider/test/fixtures.js +0 -25
- package/lib/organism/slider/test/fixtures.js.map +0 -1
- package/lib/organism/user-preferences/test/fixtures.js +0 -22
- package/lib/organism/user-preferences/test/fixtures.js.map +0 -1
- package/lib/organism/wizard-contents/test/fixtures.js +0 -37
- package/lib/organism/wizard-contents/test/fixtures.js.map +0 -1
- package/lib/template/activity/test/fixtures.js +0 -34
- package/lib/template/activity/test/fixtures.js.map +0 -1
- package/lib/template/app-player/loading/test/fixtures.js +0 -22
- package/lib/template/app-player/loading/test/fixtures.js.map +0 -1
- package/lib/template/app-player/player/slides/footer/test/fixtures.js +0 -46
- package/lib/template/app-player/player/slides/footer/test/fixtures.js.map +0 -1
- package/lib/template/app-player/player/slides/header/test/fixtures.js +0 -37
- package/lib/template/app-player/player/slides/header/test/fixtures.js.map +0 -1
- package/lib/template/app-player/player/slides/test/fixtures.js +0 -121
- package/lib/template/app-player/player/slides/test/fixtures.js.map +0 -1
- package/lib/template/app-player/player/test/fixtures.js +0 -85
- package/lib/template/app-player/player/test/fixtures.js.map +0 -1
- package/lib/template/app-player/popin-correction/test/fixtures.js +0 -73
- package/lib/template/app-player/popin-correction/test/fixtures.js.map +0 -1
- package/lib/template/app-player/popin-end/test/fixtures.js +0 -79
- package/lib/template/app-player/popin-end/test/fixtures.js.map +0 -1
- package/lib/template/app-player/popin-header/test/fixtures.js +0 -46
- package/lib/template/app-player/popin-header/test/fixtures.js.map +0 -1
- package/lib/template/back-office/brand-create/test/fixtures.js +0 -31
- package/lib/template/back-office/brand-create/test/fixtures.js.map +0 -1
- package/lib/template/back-office/brand-list/test/fixtures.js +0 -28
- package/lib/template/back-office/brand-list/test/fixtures.js.map +0 -1
- package/lib/template/back-office/brand-update/test/fixtures.js +0 -133
- package/lib/template/back-office/brand-update/test/fixtures.js.map +0 -1
- package/lib/template/back-office/dashboard-preview/test/fixtures.js +0 -37
- package/lib/template/back-office/dashboard-preview/test/fixtures.js.map +0 -1
- package/lib/template/battle-requests/test/fixtures.js +0 -22
- package/lib/template/battle-requests/test/fixtures.js.map +0 -1
- package/lib/template/cockpit/jw-uploader/test/fixtures.js +0 -22
- package/lib/template/cockpit/jw-uploader/test/fixtures.js.map +0 -1
- package/lib/template/common/authors/test/fixtures.js +0 -25
- package/lib/template/common/authors/test/fixtures.js.map +0 -1
- package/lib/template/common/coorp-header/test/fixtures.js +0 -25
- package/lib/template/common/coorp-header/test/fixtures.js.map +0 -1
- package/lib/template/common/dashboard/test/fixtures.js +0 -28
- package/lib/template/common/dashboard/test/fixtures.js.map +0 -1
- package/lib/template/common/discipline/test/fixtures.js +0 -73
- package/lib/template/common/discipline/test/fixtures.js.map +0 -1
- package/lib/template/common/search-page/test/fixtures.js +0 -28
- package/lib/template/common/search-page/test/fixtures.js.map +0 -1
- package/lib/template/external-course/test/fixtures.js +0 -49
- package/lib/template/external-course/test/fixtures.js.map +0 -1
- package/lib/template/teams-dashboard/test/fixtures.js +0 -28
- package/lib/template/teams-dashboard/test/fixtures.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/input-text-with-titled-checkbox/test/fixtures/unchecked.js"],"names":["props","title","checked","onChange","value","console","log","checkBoxOnChange","inputTextTitle","inputTextValue","inputTextDescription","inputTextDisabled","inputTextOnChange","checkbox","input"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,cADF;AAELC,IAAAA,OAAO,EAAE,KAFJ;AAGLC,IAAAA,QAAQ,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAHd;AAILG,IAAAA,gBAAgB,EAAEH,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAJtB;AAKLI,IAAAA,cAAc,EAAE,cALX;AAMLC,IAAAA,cAAc,EAAE,KANX;AAOLC,IAAAA,oBAAoB,EAAE,0BAPjB;AAQLC,IAAAA,iBAAiB,EAAE,IARd;AASLC,IAAAA,iBAAiB,EAAER,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CATvB;AAUL,kBAAc;AAACS,MAAAA,QAAQ,EAAE,WAAX;AAAwBC,MAAAA,KAAK,EAAE;AAA/B;AAVT;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Create badge',\n checked: false,\n onChange: value => console.log(value),\n checkBoxOnChange: value => console.log(value),\n inputTextTitle: 'Stars amount',\n inputTextValue: '250',\n inputTextDescription: 'This is the tooltip text',\n inputTextDisabled: true,\n inputTextOnChange: value => console.log(value),\n 'aria-label': {checkbox: 'check box', input: 'input text'}\n }\n};\n"],"file":"unchecked.js"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import map from 'lodash/fp/map';
|
|
4
|
+
import ContentBadge from '../../atom/content-badge';
|
|
5
|
+
import style from './style.css';
|
|
6
|
+
|
|
7
|
+
const ListBadges = ({
|
|
8
|
+
items,
|
|
9
|
+
'aria-label': ariaLabel
|
|
10
|
+
}) => {
|
|
11
|
+
const itemsView = map(({
|
|
12
|
+
category,
|
|
13
|
+
label
|
|
14
|
+
}) => {
|
|
15
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
16
|
+
className: style.item,
|
|
17
|
+
key: `badge-${category}`,
|
|
18
|
+
"data-name": `badge-${category}`,
|
|
19
|
+
"aria-label": label
|
|
20
|
+
}, /*#__PURE__*/React.createElement(ContentBadge, {
|
|
21
|
+
className: style.contentBadge,
|
|
22
|
+
category: category,
|
|
23
|
+
label: label
|
|
24
|
+
}));
|
|
25
|
+
}, items);
|
|
26
|
+
return /*#__PURE__*/React.createElement("ul", {
|
|
27
|
+
className: style.list,
|
|
28
|
+
"aria-label": ariaLabel,
|
|
29
|
+
"data-name": "badges-list"
|
|
30
|
+
}, itemsView);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
ListBadges.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
34
|
+
'aria-label': PropTypes.string,
|
|
35
|
+
items: PropTypes.arrayOf(PropTypes.shape(ContentBadge.propTypes))
|
|
36
|
+
} : {};
|
|
37
|
+
export default ListBadges;
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/list-badges/index.js"],"names":["React","PropTypes","map","ContentBadge","style","ListBadges","items","ariaLabel","itemsView","category","label","item","contentBadge","list","propTypes","string","arrayOf","shape"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,YAAP,MAAyB,0BAAzB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,UAAU,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQ,gBAAcC;AAAtB,CAAD,KAAsC;AACvD,QAAMC,SAAS,GAAGN,GAAG,CAAC,CAAC;AAACO,IAAAA,QAAD;AAAWC,IAAAA;AAAX,GAAD,KAAuB;AAC3C,wBACE;AACE,MAAA,SAAS,EAAEN,KAAK,CAACO,IADnB;AAEE,MAAA,GAAG,EAAG,SAAQF,QAAS,EAFzB;AAGE,mBAAY,SAAQA,QAAS,EAH/B;AAIE,oBAAYC;AAJd,oBAME,oBAAC,YAAD;AAAc,MAAA,SAAS,EAAEN,KAAK,CAACQ,YAA/B;AAA6C,MAAA,QAAQ,EAAEH,QAAvD;AAAiE,MAAA,KAAK,EAAEC;AAAxE,MANF,CADF;AAUD,GAXoB,EAWlBJ,KAXkB,CAArB;AAaA,sBACE;AAAI,IAAA,SAAS,EAAEF,KAAK,CAACS,IAArB;AAA2B,kBAAYN,SAAvC;AAAkD,iBAAU;AAA5D,KACGC,SADH,CADF;AAKD,CAnBD;;AAqBAH,UAAU,CAACS,SAAX,2CAAuB;AACrB,gBAAcb,SAAS,CAACc,MADH;AAErBT,EAAAA,KAAK,EAAEL,SAAS,CAACe,OAAV,CAAkBf,SAAS,CAACgB,KAAV,CAAgBd,YAAY,CAACW,SAA7B,CAAlB;AAFc,CAAvB;AAKA,eAAeT,UAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport ContentBadge from '../../atom/content-badge';\nimport style from './style.css';\n\nconst ListBadges = ({items, 'aria-label': ariaLabel}) => {\n const itemsView = map(({category, label}) => {\n return (\n <li\n className={style.item}\n key={`badge-${category}`}\n data-name={`badge-${category}`}\n aria-label={label}\n >\n <ContentBadge className={style.contentBadge} category={category} label={label} />\n </li>\n );\n }, items);\n\n return (\n <ul className={style.list} aria-label={ariaLabel} data-name=\"badges-list\">\n {itemsView}\n </ul>\n );\n};\n\nListBadges.propTypes = {\n 'aria-label': PropTypes.string,\n items: PropTypes.arrayOf(PropTypes.shape(ContentBadge.propTypes))\n};\n\nexport default ListBadges;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import advanced from '../../../../atom/content-badge/test/fixtures/advanced';
|
|
2
|
+
import base from '../../../../atom/content-badge/test/fixtures/default';
|
|
3
|
+
export default {
|
|
4
|
+
props: {
|
|
5
|
+
'aria-label': 'aria list',
|
|
6
|
+
items: [base.props, advanced.props]
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=advanced.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/list-badges/test/fixtures/advanced.js"],"names":["advanced","base","props","items"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,uDAArB;AACA,OAAOC,IAAP,MAAiB,sDAAjB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACL,kBAAc,WADT;AAELC,IAAAA,KAAK,EAAE,CAACF,IAAI,CAACC,KAAN,EAAaF,QAAQ,CAACE,KAAtB;AAFF;AADM,CAAf","sourcesContent":["import advanced from '../../../../atom/content-badge/test/fixtures/advanced';\nimport base from '../../../../atom/content-badge/test/fixtures/default';\n\nexport default {\n props: {\n 'aria-label': 'aria list',\n items: [base.props, advanced.props]\n }\n};\n"],"file":"advanced.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/list-badges/test/fixtures/base.js"],"names":["base","props","items"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,sDAAjB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACL,kBAAc,WADT;AAELC,IAAAA,KAAK,EAAE,CAACF,IAAI,CAACC,KAAN;AAFF;AADM,CAAf","sourcesContent":["import base from '../../../../atom/content-badge/test/fixtures/default';\n\nexport default {\n props: {\n 'aria-label': 'aria list',\n items: [base.props]\n }\n};\n"],"file":"base.js"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import advanced from '../../../../atom/content-badge/test/fixtures/advanced';
|
|
2
|
+
import coach from '../../../../atom/content-badge/test/fixtures/coach';
|
|
3
|
+
import base from '../../../../atom/content-badge/test/fixtures/default';
|
|
4
|
+
export default {
|
|
5
|
+
props: {
|
|
6
|
+
'aria-label': 'aria list',
|
|
7
|
+
items: [base.props, advanced.props, coach.props]
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=coach.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/list-badges/test/fixtures/coach.js"],"names":["advanced","coach","base","props","items"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,uDAArB;AACA,OAAOC,KAAP,MAAkB,oDAAlB;AACA,OAAOC,IAAP,MAAiB,sDAAjB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACL,kBAAc,WADT;AAELC,IAAAA,KAAK,EAAE,CAACF,IAAI,CAACC,KAAN,EAAaH,QAAQ,CAACG,KAAtB,EAA6BF,KAAK,CAACE,KAAnC;AAFF;AADM,CAAf","sourcesContent":["import advanced from '../../../../atom/content-badge/test/fixtures/advanced';\nimport coach from '../../../../atom/content-badge/test/fixtures/coach';\nimport base from '../../../../atom/content-badge/test/fixtures/default';\n\nexport default {\n props: {\n 'aria-label': 'aria list',\n items: [base.props, advanced.props, coach.props]\n }\n};\n"],"file":"coach.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/list-badges/test/fixtures/course.js"],"names":["course","props","items"],"mappings":"AAAA,OAAOA,MAAP,MAAmB,qDAAnB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACL,kBAAc,WADT;AAELC,IAAAA,KAAK,EAAE,CAACF,MAAM,CAACC,KAAR;AAFF;AADM,CAAf","sourcesContent":["import course from '../../../../atom/content-badge/test/fixtures/course';\n\nexport default {\n props: {\n 'aria-label': 'aria list',\n items: [course.props]\n }\n};\n"],"file":"course.js"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import React, { useCallback, useState, useMemo } from 'react';
|
|
2
|
+
import { convert } from 'css-color-function';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon } from '@coorpacademy/nova-icons';
|
|
5
|
+
import getOr from 'lodash/fp/getOr';
|
|
6
|
+
import ButtonLink from '../../atom/button-link';
|
|
7
|
+
import style from './style.css';
|
|
8
|
+
|
|
9
|
+
const getGradientBackground = baseColor => {
|
|
10
|
+
const gradients = [convert(`color(${baseColor} lightness(30%))`), convert(`color(${baseColor} lightness(47%))`), convert(`color(${baseColor} lightness(55%))`)];
|
|
11
|
+
return `radial-gradient(62.12% 56.45% at 0% 77.29%, ${gradients[0]} 0%, ${convert(`color(${gradients[0]} a(0))`)} 100%), radial-gradient(113.85% 103.46% at 93.27% 7.88%, ${gradients[1]} 0%, ${convert(`color(${gradients[1]} a(0))`)} 100%), radial-gradient(49.66% 49.63% at 78.65% 86.26%, ${gradients[2]} 0%, ${convert(`color(${gradients[2]} a(0))`)} 100%), ${baseColor}`;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const SkillCard = (props, context) => {
|
|
15
|
+
const {
|
|
16
|
+
'aria-label': ariaLabel,
|
|
17
|
+
skillTitle,
|
|
18
|
+
skillAriaLabel,
|
|
19
|
+
buttonLabel,
|
|
20
|
+
buttonAriaLabel,
|
|
21
|
+
reviseLabel,
|
|
22
|
+
reviseAriaLabel,
|
|
23
|
+
onClick,
|
|
24
|
+
isCustom = false
|
|
25
|
+
} = props;
|
|
26
|
+
const {
|
|
27
|
+
skin
|
|
28
|
+
} = context;
|
|
29
|
+
const [hovered, setHovered] = useState(false);
|
|
30
|
+
const primarySkinColor = getOr('#00B0FF', 'common.primary', skin);
|
|
31
|
+
const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);
|
|
32
|
+
const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);
|
|
33
|
+
const buttonProps = {
|
|
34
|
+
customStyle: {
|
|
35
|
+
backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),
|
|
36
|
+
color: hovered ? '#FFFFFF' : primarySkinColor,
|
|
37
|
+
transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
|
|
38
|
+
},
|
|
39
|
+
onClick,
|
|
40
|
+
'aria-label': buttonAriaLabel,
|
|
41
|
+
label: buttonLabel,
|
|
42
|
+
'data-name': 'skill-card-button'
|
|
43
|
+
};
|
|
44
|
+
const titleBackgroundColor = useMemo(() => isCustom ? '#128C72' : primarySkinColor, [isCustom, primarySkinColor]);
|
|
45
|
+
const titleBackground = useMemo(() => getGradientBackground(titleBackgroundColor), [titleBackgroundColor]);
|
|
46
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
47
|
+
className: style.skillCardWrapper,
|
|
48
|
+
"data-name": "skill-card-wrapper",
|
|
49
|
+
"aria-label": ariaLabel
|
|
50
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
51
|
+
"data-name": "skill-title",
|
|
52
|
+
className: style.skillTitle,
|
|
53
|
+
"aria-label": skillAriaLabel || skillTitle,
|
|
54
|
+
style: {
|
|
55
|
+
background: titleBackground
|
|
56
|
+
}
|
|
57
|
+
}, skillTitle), /*#__PURE__*/React.createElement("div", {
|
|
58
|
+
"data-name": "card-content-wrapper"
|
|
59
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
60
|
+
className: style.questionReviseText,
|
|
61
|
+
"data-name": "questions-to-revise-label",
|
|
62
|
+
"aria-label": reviseAriaLabel || reviseLabel
|
|
63
|
+
}, /*#__PURE__*/React.createElement(QuestionIcon, {
|
|
64
|
+
className: style.questionReviseIcon,
|
|
65
|
+
width: 16,
|
|
66
|
+
height: 16
|
|
67
|
+
}), reviseLabel), /*#__PURE__*/React.createElement("div", {
|
|
68
|
+
className: style.buttonWrapper,
|
|
69
|
+
onMouseOver: handleMouseOver,
|
|
70
|
+
onMouseLeave: handleMouseLeave,
|
|
71
|
+
"data-name": "button-wrapper"
|
|
72
|
+
}, /*#__PURE__*/React.createElement(ButtonLink, buttonProps))));
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
SkillCard.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
76
|
+
'aria-label': PropTypes.string.isRequired,
|
|
77
|
+
skillTitle: PropTypes.string,
|
|
78
|
+
skillAriaLabel: PropTypes.string,
|
|
79
|
+
buttonLabel: PropTypes.string,
|
|
80
|
+
buttonAriaLabel: PropTypes.string,
|
|
81
|
+
reviseLabel: PropTypes.string,
|
|
82
|
+
reviseAriaLabel: PropTypes.string,
|
|
83
|
+
isCustom: PropTypes.bool,
|
|
84
|
+
onClick: PropTypes.func
|
|
85
|
+
} : {};
|
|
86
|
+
export default SkillCard;
|
|
87
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/skill-card/index.js"],"names":["React","useCallback","useState","useMemo","convert","PropTypes","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","getOr","ButtonLink","style","getGradientBackground","baseColor","gradients","SkillCard","props","context","ariaLabel","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","onClick","isCustom","skin","hovered","setHovered","primarySkinColor","handleMouseOver","handleMouseLeave","buttonProps","customStyle","backgroundColor","color","transition","label","titleBackgroundColor","titleBackground","skillCardWrapper","background","questionReviseText","questionReviseIcon","buttonWrapper","propTypes","string","isRequired","bool","func"],"mappings":"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","sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport {convert} from 'css-color-function';\nimport PropTypes from 'prop-types';\nimport {NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon} from '@coorpacademy/nova-icons';\nimport getOr from 'lodash/fp/getOr';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst getGradientBackground = baseColor => {\n const gradients = [\n convert(`color(${baseColor} lightness(30%))`),\n convert(`color(${baseColor} lightness(47%))`),\n convert(`color(${baseColor} lightness(55%))`)\n ];\n\n return `radial-gradient(62.12% 56.45% at 0% 77.29%, ${gradients[0]} 0%, ${convert(\n `color(${gradients[0]} a(0))`\n )} 100%), radial-gradient(113.85% 103.46% at 93.27% 7.88%, ${gradients[1]} 0%, ${convert(\n `color(${gradients[1]} a(0))`\n )} 100%), radial-gradient(49.66% 49.63% at 78.65% 86.26%, ${gradients[2]} 0%, ${convert(\n `color(${gradients[2]} a(0))`\n )} 100%), ${baseColor}`;\n};\n\nconst SkillCard = (props, context) => {\n const {\n 'aria-label': ariaLabel,\n skillTitle,\n skillAriaLabel,\n buttonLabel,\n buttonAriaLabel,\n reviseLabel,\n reviseAriaLabel,\n onClick,\n isCustom = false\n } = props;\n const {skin} = context;\n const [hovered, setHovered] = useState(false);\n const primarySkinColor = getOr('#00B0FF', 'common.primary', skin);\n\n const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const buttonProps = {\n customStyle: {\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n onClick,\n 'aria-label': buttonAriaLabel,\n label: buttonLabel,\n 'data-name': 'skill-card-button'\n };\n\n const titleBackgroundColor = useMemo(() => (isCustom ? '#128C72' : primarySkinColor), [\n isCustom,\n primarySkinColor\n ]);\n\n const titleBackground = useMemo(() => getGradientBackground(titleBackgroundColor), [\n titleBackgroundColor\n ]);\n\n return (\n <div className={style.skillCardWrapper} data-name=\"skill-card-wrapper\" aria-label={ariaLabel}>\n <div\n data-name=\"skill-title\"\n className={style.skillTitle}\n aria-label={skillAriaLabel || skillTitle}\n style={{\n background: titleBackground\n }}\n >\n {skillTitle}\n </div>\n <div data-name=\"card-content-wrapper\">\n <div\n className={style.questionReviseText}\n data-name=\"questions-to-revise-label\"\n aria-label={reviseAriaLabel || reviseLabel}\n >\n <QuestionIcon className={style.questionReviseIcon} width={16} height={16} />\n {reviseLabel}\n </div>\n <div\n className={style.buttonWrapper}\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n data-name=\"button-wrapper\"\n >\n <ButtonLink {...buttonProps} />\n </div>\n </div>\n </div>\n );\n};\n\nSkillCard.propTypes = {\n 'aria-label': PropTypes.string.isRequired,\n skillTitle: PropTypes.string,\n skillAriaLabel: PropTypes.string,\n buttonLabel: PropTypes.string,\n buttonAriaLabel: PropTypes.string,\n reviseLabel: PropTypes.string,\n reviseAriaLabel: PropTypes.string,\n isCustom: PropTypes.bool,\n onClick: PropTypes.func\n};\n\nexport default SkillCard;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value cm_grey_400 from colors;
|
|
3
|
+
@value white from colors;
|
|
4
|
+
@value box_shadow_light_dark from colors;
|
|
5
|
+
@value box_shadow_medium_dark from colors;
|
|
6
|
+
|
|
7
|
+
.textBase {
|
|
8
|
+
font-family: "Gilroy";
|
|
9
|
+
font-style: normal;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.skillCardWrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
max-width: 353px;
|
|
16
|
+
min-width: 245px;
|
|
17
|
+
height: 242px;
|
|
18
|
+
box-shadow: 0px 4px 16px box_shadow_light_dark;
|
|
19
|
+
transition: box-shadow 0.15s ease-in-out;
|
|
20
|
+
border-radius: 8px 8px 12px 12px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.skillCardWrapper:hover {
|
|
24
|
+
box-shadow: 0px 4px 48px box_shadow_medium_dark;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.skillTitle {
|
|
28
|
+
composes: textBase;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
font-size: 20px;
|
|
31
|
+
line-height: 28px;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
height: 112px;
|
|
35
|
+
border-radius: 8px 8px 0px 0px;
|
|
36
|
+
color: white;
|
|
37
|
+
padding: 0px 24px;
|
|
38
|
+
user-select: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.questionReviseIcon {
|
|
42
|
+
padding-right : 8px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.questionReviseText {
|
|
46
|
+
composes: textBase;
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items : center;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
font-size: 16px;
|
|
51
|
+
line-height: 22px;
|
|
52
|
+
color: cm_grey_400;
|
|
53
|
+
padding: 16px 24px 24px;
|
|
54
|
+
user-select: none;
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.buttonWrapper {
|
|
59
|
+
padding: 0px 24px;
|
|
60
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { defaultProps } from './default';
|
|
4
|
+
export default {
|
|
5
|
+
props: _extends(_extends({}, defaultProps), {}, {
|
|
6
|
+
skillTitle: 'This is a custom skill',
|
|
7
|
+
isCustom: true
|
|
8
|
+
})
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=custom-skill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/custom-skill.js"],"names":["defaultProps","props","skillTitle","isCustom"],"mappings":";;AAAA,SAAQA,YAAR,QAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,wBAAMD,YAAN;AAAoBE,IAAAA,UAAU,EAAE,wBAAhC;AAA0DC,IAAAA,QAAQ,EAAE;AAApE;AADQ,CAAf","sourcesContent":["import {defaultProps} from './default';\n\nexport default {\n props: {...defaultProps, skillTitle: 'This is a custom skill', isCustom: true}\n};\n"],"file":"custom-skill.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const defaultProps = {
|
|
2
|
+
'aria-label': 'Skill Card',
|
|
3
|
+
skillTitle: 'Critical thinking and analysis',
|
|
4
|
+
skillAriaLabel: 'Skill aria label',
|
|
5
|
+
buttonLabel: 'Revise this skill',
|
|
6
|
+
buttonAriaLabel: 'Button aria label',
|
|
7
|
+
reviseLabel: '75 questions to revise',
|
|
8
|
+
reviseAriaLabel: 'revise aria label',
|
|
9
|
+
isCustom: undefined,
|
|
10
|
+
onClick: () => console.log('revise')
|
|
11
|
+
};
|
|
12
|
+
export default {
|
|
13
|
+
props: defaultProps
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/default.js"],"names":["defaultProps","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","isCustom","undefined","onClick","console","log","props"],"mappings":"AAAA,OAAO,MAAMA,YAAY,GAAG;AAC1B,gBAAc,YADY;AAE1BC,EAAAA,UAAU,EAAE,gCAFc;AAG1BC,EAAAA,cAAc,EAAE,kBAHU;AAI1BC,EAAAA,WAAW,EAAE,mBAJa;AAK1BC,EAAAA,eAAe,EAAE,mBALS;AAM1BC,EAAAA,WAAW,EAAE,wBANa;AAO1BC,EAAAA,eAAe,EAAE,mBAPS;AAQ1BC,EAAAA,QAAQ,EAAEC,SARgB;AAS1BC,EAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,QAAZ;AATW,CAArB;AAYP,eAAe;AACbC,EAAAA,KAAK,EAAEZ;AADM,CAAf","sourcesContent":["export const defaultProps = {\n 'aria-label': 'Skill Card',\n skillTitle: 'Critical thinking and analysis',\n skillAriaLabel: 'Skill aria label',\n buttonLabel: 'Revise this skill',\n buttonAriaLabel: 'Button aria label',\n reviseLabel: '75 questions to revise',\n reviseAriaLabel: 'revise aria label',\n isCustom: undefined,\n onClick: () => console.log('revise')\n};\n\nexport default {\n props: defaultProps\n};\n"],"file":"default.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const defaultProps = {
|
|
2
|
+
'aria-label': 'Skill Card',
|
|
3
|
+
skillTitle: 'Critical thinking and analysis',
|
|
4
|
+
buttonLabel: 'Revise this skill',
|
|
5
|
+
reviseLabel: '75 questions to revise',
|
|
6
|
+
isCustom: undefined,
|
|
7
|
+
onClick: () => console.log('revise - no aria')
|
|
8
|
+
};
|
|
9
|
+
export default {
|
|
10
|
+
props: defaultProps
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=no-aria-labels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/no-aria-labels.js"],"names":["defaultProps","skillTitle","buttonLabel","reviseLabel","isCustom","undefined","onClick","console","log","props"],"mappings":"AAAA,OAAO,MAAMA,YAAY,GAAG;AAC1B,gBAAc,YADY;AAE1BC,EAAAA,UAAU,EAAE,gCAFc;AAG1BC,EAAAA,WAAW,EAAE,mBAHa;AAI1BC,EAAAA,WAAW,EAAE,wBAJa;AAK1BC,EAAAA,QAAQ,EAAEC,SALgB;AAM1BC,EAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AANW,CAArB;AASP,eAAe;AACbC,EAAAA,KAAK,EAAET;AADM,CAAf","sourcesContent":["export const defaultProps = {\n 'aria-label': 'Skill Card',\n skillTitle: 'Critical thinking and analysis',\n buttonLabel: 'Revise this skill',\n reviseLabel: '75 questions to revise',\n isCustom: undefined,\n onClick: () => console.log('revise - no aria')\n};\n\nexport default {\n props: defaultProps\n};\n"],"file":"no-aria-labels.js"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { defaultProps } from './default';
|
|
4
|
+
export default {
|
|
5
|
+
props: _extends(_extends({}, defaultProps), {}, {
|
|
6
|
+
skillTitle: 'Agility',
|
|
7
|
+
isCustom: false
|
|
8
|
+
})
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=short-skill-title.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/skill-card/test/fixtures/short-skill-title.js"],"names":["defaultProps","props","skillTitle","isCustom"],"mappings":";;AAAA,SAAQA,YAAR,QAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,wBAAMD,YAAN;AAAoBE,IAAAA,UAAU,EAAE,SAAhC;AAA2CC,IAAAA,QAAQ,EAAE;AAArD;AADQ,CAAf","sourcesContent":["import {defaultProps} from './default';\n\nexport default {\n props: {...defaultProps, skillTitle: 'Agility', isCustom: false}\n};\n"],"file":"short-skill-title.js"}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 browserEnv from 'browser-env';
|
|
4
|
+
import test from 'ava';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { mount, configure } from 'enzyme';
|
|
7
|
+
import Adapter from 'enzyme-adapter-react-16';
|
|
8
|
+
import SkillCard from '..';
|
|
9
|
+
import customSkillFixture from './fixtures/custom-skill';
|
|
10
|
+
import noAriaLabelsFixtures from './fixtures/no-aria-labels';
|
|
11
|
+
browserEnv();
|
|
12
|
+
configure({
|
|
13
|
+
adapter: new Adapter()
|
|
14
|
+
});
|
|
15
|
+
test('onClick should be reachable, should match given aria-label', t => {
|
|
16
|
+
let buttonWasClicked = false;
|
|
17
|
+
customSkillFixture.props = _extends(_extends({}, customSkillFixture.props), {}, {
|
|
18
|
+
onClick: () => {
|
|
19
|
+
buttonWasClicked = true;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const wrapper = mount( /*#__PURE__*/React.createElement(SkillCard, customSkillFixture.props));
|
|
23
|
+
const cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
|
|
24
|
+
t.true(cardWrapper.at(0).exists());
|
|
25
|
+
t.is(cardWrapper.at(0).props()['aria-label'], 'Skill Card');
|
|
26
|
+
const skillTitle = cardWrapper.find('[data-name="skill-title"]');
|
|
27
|
+
t.true(skillTitle.at(0).exists());
|
|
28
|
+
t.is(skillTitle.at(0).props()['aria-label'], 'Skill aria label');
|
|
29
|
+
const questionsLabel = cardWrapper.find('[data-name="questions-to-revise-label"]');
|
|
30
|
+
t.true(questionsLabel.at(0).exists());
|
|
31
|
+
t.is(questionsLabel.at(0).props()['aria-label'], 'revise aria label');
|
|
32
|
+
const buttonLink = cardWrapper.find('[data-name="skill-card-button"]');
|
|
33
|
+
t.true(buttonLink.at(0).exists());
|
|
34
|
+
t.is(buttonLink.at(0).props()['aria-label'], 'Button aria label');
|
|
35
|
+
buttonLink.at(0).simulate('click', {});
|
|
36
|
+
t.true(buttonWasClicked);
|
|
37
|
+
t.pass();
|
|
38
|
+
});
|
|
39
|
+
test('onHover should change button text color && backgroundColor', t => {
|
|
40
|
+
const wrapper = mount( /*#__PURE__*/React.createElement(SkillCard, customSkillFixture.props));
|
|
41
|
+
const expectedStyleNoHover = {
|
|
42
|
+
backgroundColor: 'rgba(0, 176, 255, 0.07)',
|
|
43
|
+
color: '#00B0FF',
|
|
44
|
+
transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
|
|
45
|
+
};
|
|
46
|
+
const expectedStyleOnHover = {
|
|
47
|
+
backgroundColor: '#00B0FF',
|
|
48
|
+
color: '#FFFFFF',
|
|
49
|
+
transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
|
|
50
|
+
};
|
|
51
|
+
let cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
|
|
52
|
+
t.true(cardWrapper.at(0).exists());
|
|
53
|
+
let buttonWrapper = cardWrapper.find('[data-name="button-wrapper"]');
|
|
54
|
+
t.true(buttonWrapper.at(0).exists());
|
|
55
|
+
let buttonLink = buttonWrapper.find('[data-name="skill-card-button"] button');
|
|
56
|
+
t.true(buttonLink.at(0).exists());
|
|
57
|
+
t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover); // hover
|
|
58
|
+
|
|
59
|
+
buttonWrapper.simulate('mouseover');
|
|
60
|
+
wrapper.update();
|
|
61
|
+
cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
|
|
62
|
+
buttonWrapper = cardWrapper.find('[data-name="button-wrapper"]');
|
|
63
|
+
t.true(buttonWrapper.at(0).exists());
|
|
64
|
+
buttonLink = buttonWrapper.find('[data-name="skill-card-button"] button');
|
|
65
|
+
t.true(buttonLink.at(0).exists());
|
|
66
|
+
t.deepEqual(buttonLink.at(0).props().style, expectedStyleOnHover); // leave hover
|
|
67
|
+
|
|
68
|
+
buttonWrapper.simulate('mouseleave');
|
|
69
|
+
wrapper.update();
|
|
70
|
+
buttonLink = wrapper.find('[data-name="skill-card-button"] button');
|
|
71
|
+
t.true(buttonLink.at(0).exists());
|
|
72
|
+
t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover);
|
|
73
|
+
t.pass();
|
|
74
|
+
});
|
|
75
|
+
test('should use default aria-labels if aria-label props are not provided', t => {
|
|
76
|
+
const wrapper = mount( /*#__PURE__*/React.createElement(SkillCard, noAriaLabelsFixtures.props));
|
|
77
|
+
const cardWrapper = wrapper.find('[data-name="skill-card-wrapper"]');
|
|
78
|
+
t.true(cardWrapper.at(0).exists());
|
|
79
|
+
const skillTitle = cardWrapper.find('[data-name="skill-title"]');
|
|
80
|
+
t.true(skillTitle.at(0).exists());
|
|
81
|
+
t.is(skillTitle.at(0).props()['aria-label'], 'Critical thinking and analysis');
|
|
82
|
+
const questionsLabel = cardWrapper.find('[data-name="questions-to-revise-label"]');
|
|
83
|
+
t.true(questionsLabel.at(0).exists());
|
|
84
|
+
t.is(questionsLabel.at(0).props()['aria-label'], '75 questions to revise');
|
|
85
|
+
const buttonLink = cardWrapper.find('[data-name="skill-card-button"] button');
|
|
86
|
+
t.true(buttonLink.at(0).exists());
|
|
87
|
+
t.is(buttonLink.at(0).props()['aria-label'], 'Revise this skill');
|
|
88
|
+
t.pass();
|
|
89
|
+
});
|
|
90
|
+
//# sourceMappingURL=skill-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/skill-card/test/skill-card.js"],"names":["browserEnv","test","React","mount","configure","Adapter","SkillCard","customSkillFixture","noAriaLabelsFixtures","adapter","t","buttonWasClicked","props","onClick","wrapper","cardWrapper","find","true","at","exists","is","skillTitle","questionsLabel","buttonLink","simulate","pass","expectedStyleNoHover","backgroundColor","color","transition","expectedStyleOnHover","buttonWrapper","deepEqual","style","update"],"mappings":"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","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {mount, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport SkillCard from '..';\nimport customSkillFixture from './fixtures/custom-skill';\nimport noAriaLabelsFixtures from './fixtures/no-aria-labels';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('onClick should be reachable, should match given aria-label', t => {\n let buttonWasClicked = false;\n customSkillFixture.props = {\n ...customSkillFixture.props,\n onClick: () => {\n buttonWasClicked = true;\n }\n };\n const wrapper = mount(<SkillCard {...customSkillFixture.props} />);\n\n const cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n t.true(cardWrapper.at(0).exists());\n t.is(cardWrapper.at(0).props()['aria-label'], 'Skill Card');\n\n const skillTitle = cardWrapper.find('[data-name=\"skill-title\"]');\n t.true(skillTitle.at(0).exists());\n t.is(skillTitle.at(0).props()['aria-label'], 'Skill aria label');\n\n const questionsLabel = cardWrapper.find('[data-name=\"questions-to-revise-label\"]');\n t.true(questionsLabel.at(0).exists());\n t.is(questionsLabel.at(0).props()['aria-label'], 'revise aria label');\n\n const buttonLink = cardWrapper.find('[data-name=\"skill-card-button\"]');\n t.true(buttonLink.at(0).exists());\n t.is(buttonLink.at(0).props()['aria-label'], 'Button aria label');\n buttonLink.at(0).simulate('click', {});\n t.true(buttonWasClicked);\n\n t.pass();\n});\n\ntest('onHover should change button text color && backgroundColor', t => {\n const wrapper = mount(<SkillCard {...customSkillFixture.props} />);\n\n const expectedStyleNoHover = {\n backgroundColor: 'rgba(0, 176, 255, 0.07)',\n color: '#00B0FF',\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n };\n\n const expectedStyleOnHover = {\n backgroundColor: '#00B0FF',\n color: '#FFFFFF',\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n };\n\n let cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n t.true(cardWrapper.at(0).exists());\n\n let buttonWrapper = cardWrapper.find('[data-name=\"button-wrapper\"]');\n t.true(buttonWrapper.at(0).exists());\n let buttonLink = buttonWrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover);\n\n // hover\n buttonWrapper.simulate('mouseover');\n\n wrapper.update();\n cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n buttonWrapper = cardWrapper.find('[data-name=\"button-wrapper\"]');\n t.true(buttonWrapper.at(0).exists());\n buttonLink = buttonWrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n\n t.deepEqual(buttonLink.at(0).props().style, expectedStyleOnHover);\n\n // leave hover\n buttonWrapper.simulate('mouseleave');\n\n wrapper.update();\n\n buttonLink = wrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n t.deepEqual(buttonLink.at(0).props().style, expectedStyleNoHover);\n\n t.pass();\n});\n\ntest('should use default aria-labels if aria-label props are not provided', t => {\n const wrapper = mount(<SkillCard {...noAriaLabelsFixtures.props} />);\n\n const cardWrapper = wrapper.find('[data-name=\"skill-card-wrapper\"]');\n t.true(cardWrapper.at(0).exists());\n\n const skillTitle = cardWrapper.find('[data-name=\"skill-title\"]');\n t.true(skillTitle.at(0).exists());\n t.is(skillTitle.at(0).props()['aria-label'], 'Critical thinking and analysis');\n\n const questionsLabel = cardWrapper.find('[data-name=\"questions-to-revise-label\"]');\n t.true(questionsLabel.at(0).exists());\n t.is(questionsLabel.at(0).props()['aria-label'], '75 questions to revise');\n\n const buttonLink = cardWrapper.find('[data-name=\"skill-card-button\"] button');\n t.true(buttonLink.at(0).exists());\n t.is(buttonLink.at(0).props()['aria-label'], 'Revise this skill');\n\n t.pass();\n});\n"],"file":"skill-card.js"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import PropTypes from 'prop-types';
|
|
7
|
+
import classnames from 'classnames';
|
|
8
|
+
import InputTextWithTitledCheckbox from '../../molecule/input-text-with-titled-checkbox';
|
|
9
|
+
import DragAndDropWrapper from '../../molecule/drag-and-drop-wrapper';
|
|
10
|
+
import style from './style.css';
|
|
11
|
+
const ITEM = {
|
|
12
|
+
'input-text': InputTextWithTitledCheckbox,
|
|
13
|
+
'drag-and-drop': DragAndDropWrapper
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const RewardsForm = ({
|
|
17
|
+
items
|
|
18
|
+
}) => {
|
|
19
|
+
const itemsView = items.map((_ref, index) => {
|
|
20
|
+
let {
|
|
21
|
+
type
|
|
22
|
+
} = _ref,
|
|
23
|
+
item = _objectWithoutPropertiesLoose(_ref, ["type"]);
|
|
24
|
+
|
|
25
|
+
const Component = ITEM[type];
|
|
26
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
27
|
+
key: index,
|
|
28
|
+
className: classnames(style.item, type === 'input-text' && style.inputText),
|
|
29
|
+
"data-name": `reward-${index}`
|
|
30
|
+
}, /*#__PURE__*/React.createElement(Component, item));
|
|
31
|
+
});
|
|
32
|
+
return /*#__PURE__*/React.createElement("ul", {
|
|
33
|
+
className: style.list
|
|
34
|
+
}, itemsView);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
RewardsForm.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
38
|
+
items: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape(_extends({}, InputTextWithTitledCheckbox.propTypes)), PropTypes.shape(_extends({}, DragAndDropWrapper.propTypes))]))
|
|
39
|
+
} : {};
|
|
40
|
+
export default RewardsForm;
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/organism/rewards-form/index.js"],"names":["React","PropTypes","classnames","InputTextWithTitledCheckbox","DragAndDropWrapper","style","ITEM","RewardsForm","items","itemsView","map","index","type","item","Component","inputText","list","propTypes","arrayOf","oneOfType","shape"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,2BAAP,MAAwC,gDAAxC;AACA,OAAOC,kBAAP,MAA+B,sCAA/B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,IAAI,GAAG;AACX,gBAAcH,2BADH;AAEX,mBAAiBC;AAFN,CAAb;;AAKA,MAAMG,WAAW,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,KAAa;AAC/B,QAAMC,SAAS,GAAGD,KAAK,CAACE,GAAN,CAAU,OAAkBC,KAAlB,KAA4B;AAAA,QAA3B;AAACC,MAAAA;AAAD,KAA2B;AAAA,QAAjBC,IAAiB;;AACtD,UAAMC,SAAS,GAAGR,IAAI,CAACM,IAAD,CAAtB;AACA,wBACE;AACE,MAAA,GAAG,EAAED,KADP;AAEE,MAAA,SAAS,EAAET,UAAU,CAACG,KAAK,CAACQ,IAAP,EAAaD,IAAI,KAAK,YAAT,IAAyBP,KAAK,CAACU,SAA5C,CAFvB;AAGE,mBAAY,UAASJ,KAAM;AAH7B,oBAKE,oBAAC,SAAD,EAAeE,IAAf,CALF,CADF;AASD,GAXiB,CAAlB;AAYA,sBAAO;AAAI,IAAA,SAAS,EAAER,KAAK,CAACW;AAArB,KAA4BP,SAA5B,CAAP;AACD,CAdD;;AAgBAF,WAAW,CAACU,SAAZ,2CAAwB;AACtBT,EAAAA,KAAK,EAAEP,SAAS,CAACiB,OAAV,CACLjB,SAAS,CAACkB,SAAV,CAAoB,CAClBlB,SAAS,CAACmB,KAAV,cAAoBjB,2BAA2B,CAACc,SAAhD,EADkB,EAElBhB,SAAS,CAACmB,KAAV,cAAoBhB,kBAAkB,CAACa,SAAvC,EAFkB,CAApB,CADK;AADe,CAAxB;AASA,eAAeV,WAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport InputTextWithTitledCheckbox from '../../molecule/input-text-with-titled-checkbox';\nimport DragAndDropWrapper from '../../molecule/drag-and-drop-wrapper';\nimport style from './style.css';\n\nconst ITEM = {\n 'input-text': InputTextWithTitledCheckbox,\n 'drag-and-drop': DragAndDropWrapper\n};\n\nconst RewardsForm = ({items}) => {\n const itemsView = items.map(({type, ...item}, index) => {\n const Component = ITEM[type];\n return (\n <li\n key={index}\n className={classnames(style.item, type === 'input-text' && style.inputText)}\n data-name={`reward-${index}`}\n >\n <Component {...item} />\n </li>\n );\n });\n return <ul className={style.list}>{itemsView}</ul>;\n};\n\nRewardsForm.propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({...InputTextWithTitledCheckbox.propTypes}),\n PropTypes.shape({...DragAndDropWrapper.propTypes})\n ])\n )\n};\n\nexport default RewardsForm;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 checkedInputText from '../../../../molecule/input-text-with-titled-checkbox/test/fixtures/checked';
|
|
4
|
+
import singleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/default';
|
|
5
|
+
import doubleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops';
|
|
6
|
+
export default {
|
|
7
|
+
props: {
|
|
8
|
+
items: [_extends(_extends({}, checkedInputText.props), {}, {
|
|
9
|
+
type: 'input-text'
|
|
10
|
+
}), _extends(_extends({}, singleDragAndDrop.props), {}, {
|
|
11
|
+
type: 'drag-and-drop'
|
|
12
|
+
}), _extends(_extends({}, doubleDragAndDrop.props), {}, {
|
|
13
|
+
type: 'drag-and-drop'
|
|
14
|
+
})]
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/default.js"],"names":["checkedInputText","singleDragAndDrop","doubleDragAndDrop","props","items","type"],"mappings":";;AAAA,OAAOA,gBAAP,MAA6B,4EAA7B;AACA,OAAOC,iBAAP,MAA8B,kEAA9B;AACA,OAAOC,iBAAP,MAA8B,6EAA9B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBACDJ,gBAAgB,CAACG,KADhB;AACuBE,MAAAA,IAAI,EAAE;AAD7B,8BAEDJ,iBAAiB,CAACE,KAFjB;AAEwBE,MAAAA,IAAI,EAAE;AAF9B,8BAGDH,iBAAiB,CAACC,KAHjB;AAGwBE,MAAAA,IAAI,EAAE;AAH9B;AADF;AADM,CAAf","sourcesContent":["import checkedInputText from '../../../../molecule/input-text-with-titled-checkbox/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 {...checkedInputText.props, type: 'input-text'},\n {...singleDragAndDrop.props, type: 'drag-and-drop'},\n {...doubleDragAndDrop.props, type: 'drag-and-drop'}\n ]\n }\n};\n"],"file":"default.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/no-rewards.js"],"names":["props","items"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE;AADF;AADM,CAAf","sourcesContent":["export default {\n props: {\n items: []\n }\n};\n"],"file":"no-rewards.js"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 singleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/default';
|
|
4
|
+
export default {
|
|
5
|
+
props: {
|
|
6
|
+
items: [_extends(_extends({}, singleDragAndDrop.props), {}, {
|
|
7
|
+
type: 'drag-and-drop'
|
|
8
|
+
})]
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=one-reward.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/one-reward.js"],"names":["singleDragAndDrop","props","items","type"],"mappings":";;AAAA,OAAOA,iBAAP,MAA8B,kEAA9B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBAAKF,iBAAiB,CAACC,KAAvB;AAA8BE,MAAAA,IAAI,EAAE;AAApC;AADF;AADM,CAAf","sourcesContent":["import singleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/default';\n\nexport default {\n props: {\n items: [{...singleDragAndDrop.props, type: 'drag-and-drop'}]\n }\n};\n"],"file":"one-reward.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 checkedInputText from '../../../../molecule/input-text-with-titled-checkbox/test/fixtures/checked';
|
|
4
|
+
import doubleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops';
|
|
5
|
+
export default {
|
|
6
|
+
props: {
|
|
7
|
+
items: [_extends(_extends({}, checkedInputText.props), {}, {
|
|
8
|
+
type: 'input-text'
|
|
9
|
+
}), _extends(_extends({}, doubleDragAndDrop.props), {}, {
|
|
10
|
+
type: 'drag-and-drop'
|
|
11
|
+
})]
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=two-rewards.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/rewards-form/test/fixtures/two-rewards.js"],"names":["checkedInputText","doubleDragAndDrop","props","items","type"],"mappings":";;AAAA,OAAOA,gBAAP,MAA6B,4EAA7B;AACA,OAAOC,iBAAP,MAA8B,6EAA9B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,uBACDH,gBAAgB,CAACE,KADhB;AACuBE,MAAAA,IAAI,EAAE;AAD7B,8BAEDH,iBAAiB,CAACC,KAFjB;AAEwBE,MAAAA,IAAI,EAAE;AAF9B;AADF;AADM,CAAf","sourcesContent":["import checkedInputText from '../../../../molecule/input-text-with-titled-checkbox/test/fixtures/checked';\nimport doubleDragAndDrop from '../../../../molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops';\n\nexport default {\n props: {\n items: [\n {...checkedInputText.props, type: 'input-text'},\n {...doubleDragAndDrop.props, type: 'drag-and-drop'}\n ]\n }\n};\n"],"file":"two-rewards.js"}
|