@coorpacademy/components 10.13.13 → 10.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/autocomplete/test/fixtures.js +19 -0
- package/es/atom/autocomplete/test/fixtures.js.map +1 -0
- package/es/atom/avatar/test/fixtures.js +13 -0
- package/es/atom/avatar/test/fixtures.js.map +1 -0
- package/es/atom/button/test/fixtures.js +27 -0
- package/es/atom/button/test/fixtures.js.map +1 -0
- package/es/atom/button-link/test/fixtures.js +31 -0
- package/es/atom/button-link/test/fixtures.js.map +1 -0
- package/es/atom/button-link-icon-only/test/fixtures.js +23 -0
- package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -0
- package/es/atom/button-menu/test/fixtures.js +15 -0
- package/es/atom/button-menu/test/fixtures.js.map +1 -0
- package/es/atom/card-image-preview/test/fixtures.js +15 -0
- package/es/atom/card-image-preview/test/fixtures.js.map +1 -0
- package/es/atom/catalog-section/test/fixtures.js +15 -0
- package/es/atom/catalog-section/test/fixtures.js.map +1 -0
- package/es/atom/centered-text/test/fixtures.js +13 -0
- package/es/atom/centered-text/test/fixtures.js.map +1 -0
- package/es/atom/checkbox/test/fixtures.js +19 -0
- package/es/atom/checkbox/test/fixtures.js.map +1 -0
- package/es/atom/checkbox-with-title/test/fixtures.js +15 -0
- package/es/atom/checkbox-with-title/test/fixtures.js.map +1 -0
- package/es/atom/chips/test/fixtures.js +17 -0
- package/es/atom/chips/test/fixtures.js.map +1 -0
- package/es/atom/clue/test/fixtures.js +17 -0
- package/es/atom/clue/test/fixtures.js.map +1 -0
- package/es/atom/content-badge/test/fixtures.js +29 -0
- package/es/atom/content-badge/test/fixtures.js.map +1 -0
- package/es/atom/cta/test/fixtures.js +37 -0
- package/es/atom/cta/test/fixtures.js.map +1 -0
- package/es/atom/difficulty-level/test/fixtures.js +19 -0
- package/es/atom/difficulty-level/test/fixtures.js.map +1 -0
- package/es/atom/drag-and-drop/index.js +8 -4
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/drag-and-drop/test/fixtures/error.js +3 -1
- package/es/atom/drag-and-drop/test/fixtures/error.js.map +1 -1
- package/es/atom/drag-and-drop/test/fixtures.js +31 -0
- package/es/atom/drag-and-drop/test/fixtures.js.map +1 -0
- package/es/atom/empty-search-result/test/fixtures.js +13 -0
- package/es/atom/empty-search-result/test/fixtures.js.map +1 -0
- package/es/atom/image-upload/test/fixtures.js +31 -0
- package/es/atom/image-upload/test/fixtures.js.map +1 -0
- package/es/atom/input-checkbox/test/fixtures.js +25 -0
- package/es/atom/input-checkbox/test/fixtures.js.map +1 -0
- package/es/atom/input-color/test/fixtures.js +19 -0
- package/es/atom/input-color/test/fixtures.js.map +1 -0
- package/es/atom/input-doublestep/test/fixtures.js +21 -0
- package/es/atom/input-doublestep/test/fixtures.js.map +1 -0
- package/es/atom/input-html/test/fixtures.js +17 -0
- package/es/atom/input-html/test/fixtures.js.map +1 -0
- package/es/atom/input-readonly/test/fixtures.js +13 -0
- package/es/atom/input-readonly/test/fixtures.js.map +1 -0
- package/es/atom/input-search/test/fixtures.js +19 -0
- package/es/atom/input-search/test/fixtures.js.map +1 -0
- package/es/atom/input-switch/test/fixtures.js +33 -0
- package/es/atom/input-switch/test/fixtures.js.map +1 -0
- package/es/atom/input-text/test/fixtures.js +27 -0
- package/es/atom/input-text/test/fixtures.js.map +1 -0
- package/es/atom/input-text-with-title/index.js +2 -2
- package/es/atom/input-text-with-title/index.js.map +1 -1
- package/es/atom/input-text-with-title/test/fixtures.js +15 -0
- package/es/atom/input-text-with-title/test/fixtures.js.map +1 -0
- package/es/atom/input-textarea/test/fixtures.js +21 -0
- package/es/atom/input-textarea/test/fixtures.js.map +1 -0
- package/es/atom/label/test/fixtures.js +15 -0
- package/es/atom/label/test/fixtures.js.map +1 -0
- package/es/atom/life/test/fixtures.js +25 -0
- package/es/atom/life/test/fixtures.js.map +1 -0
- package/es/atom/link/test/fixtures.js +17 -0
- package/es/atom/link/test/fixtures.js.map +1 -0
- package/es/atom/loader/test/fixtures.js +15 -0
- package/es/atom/loader/test/fixtures.js.map +1 -0
- package/es/atom/notification/test/fixtures.js +17 -0
- package/es/atom/notification/test/fixtures.js.map +1 -0
- package/es/atom/picture/test/fixtures.js +19 -0
- package/es/atom/picture/test/fixtures.js.map +1 -0
- package/es/atom/picture-background/test/fixtures.js +19 -0
- package/es/atom/picture-background/test/fixtures.js.map +1 -0
- package/es/atom/promo-code/test/fixtures.js +17 -0
- package/es/atom/promo-code/test/fixtures.js.map +1 -0
- package/es/atom/provider/test/fixtures.js +13 -0
- package/es/atom/provider/test/fixtures.js.map +1 -0
- package/es/atom/radio-group/test/fixtures.js +17 -0
- package/es/atom/radio-group/test/fixtures.js.map +1 -0
- package/es/atom/range/test/fixtures.js +15 -0
- package/es/atom/range/test/fixtures.js.map +1 -0
- package/es/atom/resource-miniature/test/fixtures.js +21 -0
- package/es/atom/resource-miniature/test/fixtures.js.map +1 -0
- package/es/atom/review-header-step-item/test/fixtures.js +19 -0
- package/es/atom/review-header-step-item/test/fixtures.js.map +1 -0
- package/es/atom/review-presentation/index.js +98 -0
- package/es/atom/review-presentation/index.js.map +1 -0
- package/es/atom/review-presentation/style.css +152 -0
- package/es/atom/review-presentation/test/fixtures/default.js +27 -0
- package/es/atom/review-presentation/test/fixtures/default.js.map +1 -0
- package/es/atom/review-presentation/test/fixtures.js +13 -0
- package/es/atom/review-presentation/test/fixtures.js.map +1 -0
- package/es/atom/select/test/fixtures.js +47 -0
- package/es/atom/select/test/fixtures.js.map +1 -0
- package/es/atom/slide/test/fixtures.js +21 -0
- package/es/atom/slide/test/fixtures.js.map +1 -0
- package/es/atom/social-link/test/fixtures.js +17 -0
- package/es/atom/social-link/test/fixtures.js.map +1 -0
- package/es/atom/spinner/test/fixtures.js +13 -0
- package/es/atom/spinner/test/fixtures.js.map +1 -0
- package/es/atom/tab/test/fixtures.js +13 -0
- package/es/atom/tab/test/fixtures.js.map +1 -0
- package/es/atom/tab-content/test/fixtures.js +15 -0
- package/es/atom/tab-content/test/fixtures.js.map +1 -0
- package/es/atom/tag/test/fixtures.js +21 -0
- package/es/atom/tag/test/fixtures.js.map +1 -0
- package/es/atom/title/test/fixtures.js +17 -0
- package/es/atom/title/test/fixtures.js.map +1 -0
- package/es/atom/video-upload/test/fixtures.js +21 -0
- package/es/atom/video-upload/test/fixtures.js.map +1 -0
- package/es/atom/wizard-steps/test/fixtures.js +17 -0
- package/es/atom/wizard-steps/test/fixtures.js.map +1 -0
- package/es/hoc/animation/test/fixtures.js +15 -0
- package/es/hoc/animation/test/fixtures.js.map +1 -0
- package/es/hoc/animation-scheduler/test/fixtures.js +15 -0
- package/es/hoc/animation-scheduler/test/fixtures.js.map +1 -0
- package/es/hoc/swapper/test/fixtures.js +13 -0
- package/es/hoc/swapper/test/fixtures.js.map +1 -0
- package/es/hoc/transition/test/fixtures.js +13 -0
- package/es/hoc/transition/test/fixtures.js.map +1 -0
- package/es/molecule/add-to-my-list/test/fixtures.js +15 -0
- package/es/molecule/add-to-my-list/test/fixtures.js.map +1 -0
- package/es/molecule/answer/test/fixtures.js +35 -0
- package/es/molecule/answer/test/fixtures.js.map +1 -0
- package/es/molecule/audio/test/fixtures.js +15 -0
- package/es/molecule/audio/test/fixtures.js.map +1 -0
- package/es/molecule/banner/test/fixtures.js +23 -0
- package/es/molecule/banner/test/fixtures.js.map +1 -0
- package/es/molecule/battle-request/test/fixtures.js +15 -0
- package/es/molecule/battle-request/test/fixtures.js.map +1 -0
- package/es/molecule/brand-card/test/fixtures.js +15 -0
- package/es/molecule/brand-card/test/fixtures.js.map +1 -0
- package/es/molecule/brand-card-create/test/fixtures.js +13 -0
- package/es/molecule/brand-card-create/test/fixtures.js.map +1 -0
- package/es/molecule/brand-create-form/test/fixtures.js +19 -0
- package/es/molecule/brand-create-form/test/fixtures.js.map +1 -0
- package/es/molecule/brand-download-box/test/fixtures.js +17 -0
- package/es/molecule/brand-download-box/test/fixtures.js.map +1 -0
- package/es/molecule/brand-form-group/index.js +4 -0
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js +16 -0
- package/es/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js.map +1 -0
- package/es/molecule/brand-form-group/test/fixtures.js +37 -0
- package/es/molecule/brand-form-group/test/fixtures.js.map +1 -0
- package/es/molecule/brand-tabs/test/fixtures.js +29 -0
- package/es/molecule/brand-tabs/test/fixtures.js.map +1 -0
- package/es/molecule/brand-upload-box/test/fixtures.js +17 -0
- package/es/molecule/brand-upload-box/test/fixtures.js.map +1 -0
- package/es/molecule/breadcrumbs/test/fixtures.js +13 -0
- package/es/molecule/breadcrumbs/test/fixtures.js.map +1 -0
- package/es/molecule/bullet-point-menu-button/test/fixtures.js +15 -0
- package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
- package/es/molecule/card/test/fixtures.js +45 -0
- package/es/molecule/card/test/fixtures.js.map +1 -0
- package/es/molecule/card-content/test/fixtures.js +27 -0
- package/es/molecule/card-content/test/fixtures.js.map +1 -0
- package/es/molecule/card-with-button/test/fixtures.js +17 -0
- package/es/molecule/card-with-button/test/fixtures.js.map +1 -0
- package/es/molecule/cm-popin/test/fixtures.js +17 -0
- package/es/molecule/cm-popin/test/fixtures.js.map +1 -0
- package/es/molecule/cookie-banner/test/fixtures.js +13 -0
- package/es/molecule/cookie-banner/test/fixtures.js.map +1 -0
- package/es/molecule/coorp-manager-roles/test/fixtures.js +13 -0
- package/es/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
- package/es/molecule/course-section/test/fixtures.js +21 -0
- package/es/molecule/course-section/test/fixtures.js.map +1 -0
- package/es/molecule/course-sections/index.js +15 -8
- package/es/molecule/course-sections/index.js.map +1 -1
- package/es/molecule/course-sections/style.css +0 -4
- package/es/molecule/course-sections/test/fixtures.js +17 -0
- package/es/molecule/course-sections/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/battle-request-list/test/fixtures.js +15 -0
- package/es/molecule/dashboard/battle-request-list/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/cards-list/test/fixtures.js +23 -0
- package/es/molecule/dashboard/cards-list/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/news-list/test/fixtures.js +17 -0
- package/es/molecule/dashboard/news-list/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/review-banner/test/fixtures.js +13 -0
- package/es/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/start-battle/test/fixtures.js +15 -0
- package/es/molecule/dashboard/start-battle/test/fixtures.js.map +1 -0
- package/es/molecule/discipline-cta/test/fixtures.js +15 -0
- package/es/molecule/discipline-cta/test/fixtures.js.map +1 -0
- package/es/molecule/discipline-header/test/fixtures.js +27 -0
- package/es/molecule/discipline-header/test/fixtures.js.map +1 -0
- package/es/molecule/discipline-partners/test/fixtures.js +21 -0
- package/es/molecule/discipline-partners/test/fixtures.js.map +1 -0
- package/es/molecule/discipline-scope/test/fixtures.js +27 -0
- package/es/molecule/discipline-scope/test/fixtures.js.map +1 -0
- package/es/molecule/drag-and-drop/test/fixtures.js +25 -0
- package/es/molecule/drag-and-drop/test/fixtures.js.map +1 -0
- package/es/molecule/drag-and-drop-wrapper/index.js +4 -12
- package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/style.css +0 -4
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js +1 -5
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +3 -2
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js +11 -0
- package/es/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js.map +1 -0
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js +17 -0
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js.map +1 -0
- package/es/molecule/draggable/test/fixtures.js +13 -0
- package/es/molecule/draggable/test/fixtures.js.map +1 -0
- package/es/molecule/draggable-list/test/fixtures.js +15 -0
- package/es/molecule/draggable-list/test/fixtures.js.map +1 -0
- package/es/molecule/external-content-button/test/fixtures.js +19 -0
- package/es/molecule/external-content-button/test/fixtures.js.map +1 -0
- package/es/molecule/external-content-viewer/test/fixtures.js +27 -0
- package/es/molecule/external-content-viewer/test/fixtures.js.map +1 -0
- package/es/molecule/feedback/test/fixtures.js +27 -0
- package/es/molecule/feedback/test/fixtures.js.map +1 -0
- package/es/molecule/filters/test/fixtures.js +33 -0
- package/es/molecule/filters/test/fixtures.js.map +1 -0
- package/es/molecule/forum/forum-comment/test/fixtures.js +17 -0
- package/es/molecule/forum/forum-comment/test/fixtures.js.map +1 -0
- package/es/molecule/forum/forum-post/test/fixtures.js +31 -0
- package/es/molecule/forum/forum-post/test/fixtures.js.map +1 -0
- package/es/molecule/forum/forum-thread/test/fixtures.js +17 -0
- package/es/molecule/forum/forum-thread/test/fixtures.js.map +1 -0
- package/es/molecule/hero/test/fixtures.js +15 -0
- package/es/molecule/hero/test/fixtures.js.map +1 -0
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +15 -0
- package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +1 -0
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js +15 -0
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
- package/es/molecule/list-badges/test/fixtures.js +19 -0
- package/es/molecule/list-badges/test/fixtures.js.map +1 -0
- package/es/molecule/login-alert/test/fixtures.js +13 -0
- package/es/molecule/login-alert/test/fixtures.js.map +1 -0
- package/es/molecule/menu-list/test/fixtures.js +13 -0
- package/es/molecule/menu-list/test/fixtures.js.map +1 -0
- package/es/molecule/message-popin/test/fixtures.js +13 -0
- package/es/molecule/message-popin/test/fixtures.js.map +1 -0
- package/es/molecule/modal/test/fixtures.js +13 -0
- package/es/molecule/modal/test/fixtures.js.map +1 -0
- package/es/molecule/module-bubble/test/fixtures.js +17 -0
- package/es/molecule/module-bubble/test/fixtures.js.map +1 -0
- package/es/molecule/module-card/test/fixtures.js +17 -0
- package/es/molecule/module-card/test/fixtures.js.map +1 -0
- package/es/molecule/news/test/fixtures.js +23 -0
- package/es/molecule/news/test/fixtures.js.map +1 -0
- package/es/molecule/notification-banner/test/fixtures.js +17 -0
- package/es/molecule/notification-banner/test/fixtures.js.map +1 -0
- package/es/molecule/pagination/test/fixtures.js +15 -0
- package/es/molecule/pagination/test/fixtures.js.map +1 -0
- package/es/molecule/payment-form/test/fixtures.js +17 -0
- package/es/molecule/payment-form/test/fixtures.js.map +1 -0
- package/es/molecule/pdf/test/fixtures.js +13 -0
- package/es/molecule/pdf/test/fixtures.js.map +1 -0
- package/es/molecule/popin/test/fixtures.js +21 -0
- package/es/molecule/popin/test/fixtures.js.map +1 -0
- package/es/molecule/product-card/test/fixtures.js +13 -0
- package/es/molecule/product-card/test/fixtures.js.map +1 -0
- package/es/molecule/progress-bar/test/fixtures.js +15 -0
- package/es/molecule/progress-bar/test/fixtures.js.map +1 -0
- package/es/molecule/questions/drop-down/test/fixtures.js +15 -0
- package/es/molecule/questions/drop-down/test/fixtures.js.map +1 -0
- package/es/molecule/questions/free-text/test/fixtures.js +17 -0
- package/es/molecule/questions/free-text/test/fixtures.js.map +1 -0
- package/es/molecule/questions/qcm/test/fixtures.js +19 -0
- package/es/molecule/questions/qcm/test/fixtures.js.map +1 -0
- package/es/molecule/questions/qcm-drag/test/fixtures.js +15 -0
- package/es/molecule/questions/qcm-drag/test/fixtures.js.map +1 -0
- package/es/molecule/questions/qcm-graphic/test/fixtures.js +15 -0
- package/es/molecule/questions/qcm-graphic/test/fixtures.js.map +1 -0
- package/es/molecule/questions/question-range/test/fixtures.js +13 -0
- package/es/molecule/questions/question-range/test/fixtures.js.map +1 -0
- package/es/molecule/questions/template/test/fixtures.js +15 -0
- package/es/molecule/questions/template/test/fixtures.js.map +1 -0
- package/es/molecule/quick-access-card/test/fixtures.js +21 -0
- package/es/molecule/quick-access-card/test/fixtures.js.map +1 -0
- package/es/molecule/quick-access-cards-group/test/fixtures.js +21 -0
- package/es/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
- package/es/molecule/resource-player/test/fixtures.js +25 -0
- package/es/molecule/resource-player/test/fixtures.js.map +1 -0
- package/es/molecule/review-correction-popin/test/fixtures.js +15 -0
- package/es/molecule/review-correction-popin/test/fixtures.js.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures.js +23 -0
- package/es/molecule/review-header-steps/test/fixtures.js.map +1 -0
- package/es/molecule/scope-content/test/fixtures.js +27 -0
- package/es/molecule/scope-content/test/fixtures.js.map +1 -0
- package/es/molecule/scope-tabs/test/fixtures.js +17 -0
- package/es/molecule/scope-tabs/test/fixtures.js.map +1 -0
- package/es/molecule/search/test/fixtures.js +15 -0
- package/es/molecule/search/test/fixtures.js.map +1 -0
- package/es/molecule/search-form/test/fixtures.js +13 -0
- package/es/molecule/search-form/test/fixtures.js.map +1 -0
- package/es/molecule/select-multiple/test/fixtures.js +31 -0
- package/es/molecule/select-multiple/test/fixtures.js.map +1 -0
- package/es/molecule/setup-cohort-item/test/fixtures.js +19 -0
- package/es/molecule/setup-cohort-item/test/fixtures.js.map +1 -0
- package/es/molecule/setup-section/test/fixtures.js +25 -0
- package/es/molecule/setup-section/test/fixtures.js.map +1 -0
- package/es/molecule/setup-sections/test/fixtures.js +19 -0
- package/es/molecule/setup-sections/test/fixtures.js.map +1 -0
- package/es/molecule/setup-slide/test/fixtures.js +25 -0
- package/es/molecule/setup-slide/test/fixtures.js.map +1 -0
- package/es/molecule/setup-slider/test/fixtures.js +15 -0
- package/es/molecule/setup-slider/test/fixtures.js.map +1 -0
- package/es/molecule/share/test/fixtures.js +13 -0
- package/es/molecule/share/test/fixtures.js.map +1 -0
- package/es/molecule/skill-card/test/fixtures.js +19 -0
- package/es/molecule/skill-card/test/fixtures.js.map +1 -0
- package/es/molecule/ssmenu-list/test/fixtures.js +19 -0
- package/es/molecule/ssmenu-list/test/fixtures.js.map +1 -0
- package/es/molecule/subscription-freemium/test/fixtures.js +13 -0
- package/es/molecule/subscription-freemium/test/fixtures.js.map +1 -0
- package/es/molecule/subscription-premium/test/fixtures.js +15 -0
- package/es/molecule/subscription-premium/test/fixtures.js.map +1 -0
- package/es/molecule/table/test/fixtures.js +19 -0
- package/es/molecule/table/test/fixtures.js.map +1 -0
- package/es/molecule/teams-popin/test/fixtures.js +29 -0
- package/es/molecule/teams-popin/test/fixtures.js.map +1 -0
- package/es/molecule/theme-image/test/fixtures.js +13 -0
- package/es/molecule/theme-image/test/fixtures.js.map +1 -0
- package/es/molecule/title-and-checkbox-wrapper/index.js +41 -0
- package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -0
- package/es/molecule/title-and-checkbox-wrapper/style.css +6 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/default.js +11 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/default.js.map +1 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js +13 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js.map +1 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js +11 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js.map +1 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js +14 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js.map +1 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures.js +19 -0
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures.js.map +1 -0
- package/es/molecule/titled-checkbox/test/fixtures.js +17 -0
- package/es/molecule/titled-checkbox/test/fixtures.js.map +1 -0
- package/es/molecule/unsubscribe/test/fixtures.js +15 -0
- package/es/molecule/unsubscribe/test/fixtures.js.map +1 -0
- package/es/molecule/vertical-tabs/test/fixtures.js +17 -0
- package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -0
- package/es/molecule/video-iframe/test/fixtures.js +25 -0
- package/es/molecule/video-iframe/test/fixtures.js.map +1 -0
- package/es/molecule/video-player/test/fixtures.js +29 -0
- package/es/molecule/video-player/test/fixtures.js.map +1 -0
- package/es/molecule/wizard-summary/test/fixtures.js +23 -0
- package/es/molecule/wizard-summary/test/fixtures.js.map +1 -0
- package/es/organism/accordion/container/test/fixtures.js +17 -0
- package/es/organism/accordion/container/test/fixtures.js.map +1 -0
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js +17 -0
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
- package/es/organism/accordion/coorp-manager/test/fixtures.js +13 -0
- package/es/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
- package/es/organism/accordion/part/test/fixtures.js +15 -0
- package/es/organism/accordion/part/test/fixtures.js.map +1 -0
- package/es/organism/accordion/toggler/test/fixtures.js +17 -0
- package/es/organism/accordion/toggler/test/fixtures.js.map +1 -0
- package/es/organism/brand-analytics/test/fixtures.js +23 -0
- package/es/organism/brand-analytics/test/fixtures.js.map +1 -0
- package/es/organism/brand-dashboard/test/fixtures.js +15 -0
- package/es/organism/brand-dashboard/test/fixtures.js.map +1 -0
- package/es/organism/brand-form/test/fixtures/wizard-certification.js +57 -0
- package/es/organism/brand-form/test/fixtures/wizard-certification.js.map +1 -0
- package/es/organism/brand-form/test/fixtures.js +35 -0
- package/es/organism/brand-form/test/fixtures.js.map +1 -0
- package/es/organism/brand-table/test/fixtures.js +19 -0
- package/es/organism/brand-table/test/fixtures.js.map +1 -0
- package/es/organism/brand-upload/test/fixtures.js +15 -0
- package/es/organism/brand-upload/test/fixtures.js.map +1 -0
- package/es/organism/cards-grid/test/fixtures.js +19 -0
- package/es/organism/cards-grid/test/fixtures.js.map +1 -0
- package/es/organism/cart/test/fixtures.js +13 -0
- package/es/organism/cart/test/fixtures.js.map +1 -0
- package/es/organism/content-translation/test/fixtures.js +15 -0
- package/es/organism/content-translation/test/fixtures.js.map +1 -0
- package/es/organism/course-selection/test/fixtures.js +25 -0
- package/es/organism/course-selection/test/fixtures.js.map +1 -0
- package/es/organism/discussion/test/fixtures.js +19 -0
- package/es/organism/discussion/test/fixtures.js.map +1 -0
- package/es/organism/get-the-app/test/fixtures.js +13 -0
- package/es/organism/get-the-app/test/fixtures.js.map +1 -0
- package/es/organism/grid-list/test/fixtures.js +13 -0
- package/es/organism/grid-list/test/fixtures.js.map +1 -0
- package/es/organism/header/test/fixtures.js +13 -0
- package/es/organism/header/test/fixtures.js.map +1 -0
- package/es/organism/hero/test/fixtures.js +17 -0
- package/es/organism/hero/test/fixtures.js.map +1 -0
- package/es/organism/list-item/test/fixtures.js +19 -0
- package/es/organism/list-item/test/fixtures.js.map +1 -0
- package/es/organism/list-items/test/fixtures.js +17 -0
- package/es/organism/list-items/test/fixtures.js.map +1 -0
- package/es/organism/mooc/image-slider/test/fixtures.js +15 -0
- package/es/organism/mooc/image-slider/test/fixtures.js.map +1 -0
- package/es/organism/mooc-footer/test/fixtures.js +23 -0
- package/es/organism/mooc-footer/test/fixtures.js.map +1 -0
- package/es/organism/mooc-header/test/fixtures.js +31 -0
- package/es/organism/mooc-header/test/fixtures.js.map +1 -0
- package/es/organism/playlist-translation/test/fixtures.js +15 -0
- package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/es/organism/popin/test/fixtures.js +13 -0
- package/es/organism/popin/test/fixtures.js.map +1 -0
- package/es/organism/resource-browser/test/fixtures.js +37 -0
- package/es/organism/resource-browser/test/fixtures.js.map +1 -0
- package/es/organism/review-header/test/fixtures.js +23 -0
- package/es/organism/review-header/test/fixtures.js.map +1 -0
- package/es/organism/rewards-form/index.js +6 -14
- package/es/organism/rewards-form/index.js.map +1 -1
- package/es/organism/rewards-form/test/fixtures/default.js +24 -8
- package/es/organism/rewards-form/test/fixtures/default.js.map +1 -1
- package/es/organism/rewards-form/test/fixtures/one-reward.js +5 -3
- package/es/organism/rewards-form/test/fixtures/one-reward.js.map +1 -1
- package/es/organism/rewards-form/test/fixtures/two-rewards.js +10 -6
- package/es/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -1
- package/es/organism/rewards-form/test/fixtures.js +19 -0
- package/es/organism/rewards-form/test/fixtures.js.map +1 -0
- package/es/organism/search-and-chips-results/test/fixtures.js +23 -0
- package/es/organism/search-and-chips-results/test/fixtures.js.map +1 -0
- package/es/organism/settings/test/fixtures.js +19 -0
- package/es/organism/settings/test/fixtures.js.map +1 -0
- package/es/organism/setup-header/test/fixtures.js +15 -0
- package/es/organism/setup-header/test/fixtures.js.map +1 -0
- package/es/organism/sidebar/test/fixtures.js +23 -0
- package/es/organism/sidebar/test/fixtures.js.map +1 -0
- package/es/organism/slider/test/fixtures.js +15 -0
- package/es/organism/slider/test/fixtures.js.map +1 -0
- package/es/organism/user-preferences/test/fixtures.js +13 -0
- package/es/organism/user-preferences/test/fixtures.js.map +1 -0
- package/es/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js +37 -0
- package/es/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js.map +1 -0
- package/es/organism/wizard-contents/test/fixtures.js +27 -0
- package/es/organism/wizard-contents/test/fixtures.js.map +1 -0
- package/es/template/activity/test/fixtures.js +21 -0
- package/es/template/activity/test/fixtures.js.map +1 -0
- package/es/template/app-player/loading/test/fixtures.js +13 -0
- package/es/template/app-player/loading/test/fixtures.js.map +1 -0
- package/es/template/app-player/player/slides/footer/test/fixtures.js +29 -0
- package/es/template/app-player/player/slides/footer/test/fixtures.js.map +1 -0
- package/es/template/app-player/player/slides/header/test/fixtures.js +23 -0
- package/es/template/app-player/player/slides/header/test/fixtures.js.map +1 -0
- package/es/template/app-player/player/slides/test/fixtures.js +79 -0
- package/es/template/app-player/player/slides/test/fixtures.js.map +1 -0
- package/es/template/app-player/player/test/fixtures.js +55 -0
- package/es/template/app-player/player/test/fixtures.js.map +1 -0
- package/es/template/app-player/popin-correction/test/fixtures.js +47 -0
- package/es/template/app-player/popin-correction/test/fixtures.js.map +1 -0
- package/es/template/app-player/popin-end/test/fixtures.js +51 -0
- package/es/template/app-player/popin-end/test/fixtures.js.map +1 -0
- package/es/template/app-player/popin-header/test/fixtures.js +29 -0
- package/es/template/app-player/popin-header/test/fixtures.js.map +1 -0
- package/es/template/back-office/brand-create/test/fixtures.js +19 -0
- package/es/template/back-office/brand-create/test/fixtures.js.map +1 -0
- package/es/template/back-office/brand-list/test/fixtures.js +17 -0
- package/es/template/back-office/brand-list/test/fixtures.js.map +1 -0
- package/es/template/back-office/brand-update/test/fixtures.js +89 -0
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -0
- package/es/template/back-office/dashboard-preview/test/fixtures.js +23 -0
- package/es/template/back-office/dashboard-preview/test/fixtures.js.map +1 -0
- package/es/template/battle-requests/test/fixtures.js +13 -0
- package/es/template/battle-requests/test/fixtures.js.map +1 -0
- package/es/template/cockpit/jw-uploader/test/fixtures.js +13 -0
- package/es/template/cockpit/jw-uploader/test/fixtures.js.map +1 -0
- package/es/template/common/authors/test/fixtures.js +15 -0
- package/es/template/common/authors/test/fixtures.js.map +1 -0
- package/es/template/common/coorp-header/test/fixtures.js +15 -0
- package/es/template/common/coorp-header/test/fixtures.js.map +1 -0
- package/es/template/common/dashboard/test/fixtures.js +17 -0
- package/es/template/common/dashboard/test/fixtures.js.map +1 -0
- package/es/template/common/discipline/test/fixtures.js +47 -0
- package/es/template/common/discipline/test/fixtures.js.map +1 -0
- package/es/template/common/search-page/test/fixtures.js +17 -0
- package/es/template/common/search-page/test/fixtures.js.map +1 -0
- package/es/template/external-course/test/fixtures.js +31 -0
- package/es/template/external-course/test/fixtures.js.map +1 -0
- package/es/template/teams-dashboard/test/fixtures.js +17 -0
- package/es/template/teams-dashboard/test/fixtures.js.map +1 -0
- package/lib/atom/autocomplete/test/fixtures.js +31 -0
- package/lib/atom/autocomplete/test/fixtures.js.map +1 -0
- package/lib/atom/avatar/test/fixtures.js +22 -0
- package/lib/atom/avatar/test/fixtures.js.map +1 -0
- package/lib/atom/button/test/fixtures.js +43 -0
- package/lib/atom/button/test/fixtures.js.map +1 -0
- package/lib/atom/button-link/test/fixtures.js +49 -0
- package/lib/atom/button-link/test/fixtures.js.map +1 -0
- package/lib/atom/button-link-icon-only/test/fixtures.js +37 -0
- package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -0
- package/lib/atom/button-menu/test/fixtures.js +25 -0
- package/lib/atom/button-menu/test/fixtures.js.map +1 -0
- package/lib/atom/card-image-preview/test/fixtures.js +25 -0
- package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
- package/lib/atom/catalog-section/test/fixtures.js +25 -0
- package/lib/atom/catalog-section/test/fixtures.js.map +1 -0
- package/lib/atom/centered-text/test/fixtures.js +22 -0
- package/lib/atom/centered-text/test/fixtures.js.map +1 -0
- package/lib/atom/checkbox/test/fixtures.js +31 -0
- package/lib/atom/checkbox/test/fixtures.js.map +1 -0
- package/lib/atom/checkbox-with-title/test/fixtures.js +25 -0
- package/lib/atom/checkbox-with-title/test/fixtures.js.map +1 -0
- package/lib/atom/chips/test/fixtures.js +28 -0
- package/lib/atom/chips/test/fixtures.js.map +1 -0
- package/lib/atom/clue/test/fixtures.js +28 -0
- package/lib/atom/clue/test/fixtures.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures.js +46 -0
- package/lib/atom/content-badge/test/fixtures.js.map +1 -0
- package/lib/atom/cta/test/fixtures.js +58 -0
- package/lib/atom/cta/test/fixtures.js.map +1 -0
- package/lib/atom/difficulty-level/test/fixtures.js +31 -0
- package/lib/atom/difficulty-level/test/fixtures.js.map +1 -0
- package/lib/atom/drag-and-drop/index.js +8 -4
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/drag-and-drop/test/fixtures/error.js +3 -1
- package/lib/atom/drag-and-drop/test/fixtures/error.js.map +1 -1
- package/lib/atom/drag-and-drop/test/fixtures.js +49 -0
- package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -0
- package/lib/atom/empty-search-result/test/fixtures.js +22 -0
- package/lib/atom/empty-search-result/test/fixtures.js.map +1 -0
- package/lib/atom/image-upload/test/fixtures.js +49 -0
- package/lib/atom/image-upload/test/fixtures.js.map +1 -0
- package/lib/atom/input-checkbox/test/fixtures.js +40 -0
- package/lib/atom/input-checkbox/test/fixtures.js.map +1 -0
- package/lib/atom/input-color/test/fixtures.js +31 -0
- package/lib/atom/input-color/test/fixtures.js.map +1 -0
- package/lib/atom/input-doublestep/test/fixtures.js +34 -0
- package/lib/atom/input-doublestep/test/fixtures.js.map +1 -0
- package/lib/atom/input-html/test/fixtures.js +28 -0
- package/lib/atom/input-html/test/fixtures.js.map +1 -0
- package/lib/atom/input-readonly/test/fixtures.js +22 -0
- package/lib/atom/input-readonly/test/fixtures.js.map +1 -0
- package/lib/atom/input-search/test/fixtures.js +31 -0
- package/lib/atom/input-search/test/fixtures.js.map +1 -0
- package/lib/atom/input-switch/test/fixtures.js +52 -0
- package/lib/atom/input-switch/test/fixtures.js.map +1 -0
- package/lib/atom/input-text/test/fixtures.js +43 -0
- package/lib/atom/input-text/test/fixtures.js.map +1 -0
- package/lib/atom/input-text-with-title/index.js +2 -2
- package/lib/atom/input-text-with-title/index.js.map +1 -1
- package/lib/atom/input-text-with-title/test/fixtures.js +25 -0
- package/lib/atom/input-text-with-title/test/fixtures.js.map +1 -0
- package/lib/atom/input-textarea/test/fixtures.js +34 -0
- package/lib/atom/input-textarea/test/fixtures.js.map +1 -0
- package/lib/atom/label/test/fixtures.js +25 -0
- package/lib/atom/label/test/fixtures.js.map +1 -0
- package/lib/atom/life/test/fixtures.js +40 -0
- package/lib/atom/life/test/fixtures.js.map +1 -0
- package/lib/atom/link/test/fixtures.js +28 -0
- package/lib/atom/link/test/fixtures.js.map +1 -0
- package/lib/atom/loader/test/fixtures.js +25 -0
- package/lib/atom/loader/test/fixtures.js.map +1 -0
- package/lib/atom/notification/test/fixtures.js +28 -0
- package/lib/atom/notification/test/fixtures.js.map +1 -0
- package/lib/atom/picture/test/fixtures.js +31 -0
- package/lib/atom/picture/test/fixtures.js.map +1 -0
- package/lib/atom/picture-background/test/fixtures.js +31 -0
- package/lib/atom/picture-background/test/fixtures.js.map +1 -0
- package/lib/atom/promo-code/test/fixtures.js +28 -0
- package/lib/atom/promo-code/test/fixtures.js.map +1 -0
- package/lib/atom/provider/test/fixtures.js +22 -0
- package/lib/atom/provider/test/fixtures.js.map +1 -0
- package/lib/atom/radio-group/test/fixtures.js +28 -0
- package/lib/atom/radio-group/test/fixtures.js.map +1 -0
- package/lib/atom/range/test/fixtures.js +25 -0
- package/lib/atom/range/test/fixtures.js.map +1 -0
- package/lib/atom/resource-miniature/test/fixtures.js +34 -0
- package/lib/atom/resource-miniature/test/fixtures.js.map +1 -0
- package/lib/atom/review-header-step-item/test/fixtures.js +31 -0
- package/lib/atom/review-header-step-item/test/fixtures.js.map +1 -0
- package/lib/atom/review-presentation/index.js +112 -0
- package/lib/atom/review-presentation/index.js.map +1 -0
- package/lib/atom/review-presentation/style.css +152 -0
- package/lib/atom/review-presentation/test/fixtures/default.js +33 -0
- package/lib/atom/review-presentation/test/fixtures/default.js.map +1 -0
- package/lib/atom/review-presentation/test/fixtures.js +22 -0
- package/lib/atom/review-presentation/test/fixtures.js.map +1 -0
- package/lib/atom/select/test/fixtures.js +73 -0
- package/lib/atom/select/test/fixtures.js.map +1 -0
- package/lib/atom/slide/test/fixtures.js +34 -0
- package/lib/atom/slide/test/fixtures.js.map +1 -0
- package/lib/atom/social-link/test/fixtures.js +28 -0
- package/lib/atom/social-link/test/fixtures.js.map +1 -0
- package/lib/atom/spinner/test/fixtures.js +22 -0
- package/lib/atom/spinner/test/fixtures.js.map +1 -0
- package/lib/atom/tab/test/fixtures.js +22 -0
- package/lib/atom/tab/test/fixtures.js.map +1 -0
- package/lib/atom/tab-content/test/fixtures.js +25 -0
- package/lib/atom/tab-content/test/fixtures.js.map +1 -0
- package/lib/atom/tag/test/fixtures.js +34 -0
- package/lib/atom/tag/test/fixtures.js.map +1 -0
- package/lib/atom/title/test/fixtures.js +28 -0
- package/lib/atom/title/test/fixtures.js.map +1 -0
- package/lib/atom/video-upload/test/fixtures.js +34 -0
- package/lib/atom/video-upload/test/fixtures.js.map +1 -0
- package/lib/atom/wizard-steps/test/fixtures.js +28 -0
- package/lib/atom/wizard-steps/test/fixtures.js.map +1 -0
- package/lib/hoc/animation/test/fixtures.js +25 -0
- package/lib/hoc/animation/test/fixtures.js.map +1 -0
- package/lib/hoc/animation-scheduler/test/fixtures.js +25 -0
- package/lib/hoc/animation-scheduler/test/fixtures.js.map +1 -0
- package/lib/hoc/swapper/test/fixtures.js +22 -0
- package/lib/hoc/swapper/test/fixtures.js.map +1 -0
- package/lib/hoc/transition/test/fixtures.js +22 -0
- package/lib/hoc/transition/test/fixtures.js.map +1 -0
- package/lib/molecule/add-to-my-list/test/fixtures.js +25 -0
- package/lib/molecule/add-to-my-list/test/fixtures.js.map +1 -0
- package/lib/molecule/answer/test/fixtures.js +55 -0
- package/lib/molecule/answer/test/fixtures.js.map +1 -0
- package/lib/molecule/audio/test/fixtures.js +25 -0
- package/lib/molecule/audio/test/fixtures.js.map +1 -0
- package/lib/molecule/banner/test/fixtures.js +37 -0
- package/lib/molecule/banner/test/fixtures.js.map +1 -0
- package/lib/molecule/battle-request/test/fixtures.js +25 -0
- package/lib/molecule/battle-request/test/fixtures.js.map +1 -0
- package/lib/molecule/brand-card/test/fixtures.js +25 -0
- package/lib/molecule/brand-card/test/fixtures.js.map +1 -0
- package/lib/molecule/brand-card-create/test/fixtures.js +22 -0
- package/lib/molecule/brand-card-create/test/fixtures.js.map +1 -0
- package/lib/molecule/brand-create-form/test/fixtures.js +31 -0
- package/lib/molecule/brand-create-form/test/fixtures.js.map +1 -0
- package/lib/molecule/brand-download-box/test/fixtures.js +28 -0
- package/lib/molecule/brand-download-box/test/fixtures.js.map +1 -0
- package/lib/molecule/brand-form-group/index.js +5 -0
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js +25 -0
- package/lib/molecule/brand-form-group/test/fixtures/title-and-checkbox-wrapper.js.map +1 -0
- package/lib/molecule/brand-form-group/test/fixtures.js +58 -0
- package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -0
- package/lib/molecule/brand-tabs/test/fixtures.js +46 -0
- package/lib/molecule/brand-tabs/test/fixtures.js.map +1 -0
- package/lib/molecule/brand-upload-box/test/fixtures.js +28 -0
- package/lib/molecule/brand-upload-box/test/fixtures.js.map +1 -0
- package/lib/molecule/breadcrumbs/test/fixtures.js +22 -0
- package/lib/molecule/breadcrumbs/test/fixtures.js.map +1 -0
- package/lib/molecule/bullet-point-menu-button/test/fixtures.js +25 -0
- package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
- package/lib/molecule/card/test/fixtures.js +70 -0
- package/lib/molecule/card/test/fixtures.js.map +1 -0
- package/lib/molecule/card-content/test/fixtures.js +43 -0
- package/lib/molecule/card-content/test/fixtures.js.map +1 -0
- package/lib/molecule/card-with-button/test/fixtures.js +28 -0
- package/lib/molecule/card-with-button/test/fixtures.js.map +1 -0
- package/lib/molecule/cm-popin/test/fixtures.js +28 -0
- package/lib/molecule/cm-popin/test/fixtures.js.map +1 -0
- package/lib/molecule/cookie-banner/test/fixtures.js +22 -0
- package/lib/molecule/cookie-banner/test/fixtures.js.map +1 -0
- package/lib/molecule/coorp-manager-roles/test/fixtures.js +22 -0
- package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
- package/lib/molecule/course-section/test/fixtures.js +34 -0
- package/lib/molecule/course-section/test/fixtures.js.map +1 -0
- package/lib/molecule/course-sections/index.js +16 -8
- package/lib/molecule/course-sections/index.js.map +1 -1
- package/lib/molecule/course-sections/style.css +0 -4
- package/lib/molecule/course-sections/test/fixtures.js +28 -0
- package/lib/molecule/course-sections/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +25 -0
- package/lib/molecule/dashboard/battle-request-list/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/cards-list/test/fixtures.js +37 -0
- package/lib/molecule/dashboard/cards-list/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/news-list/test/fixtures.js +28 -0
- package/lib/molecule/dashboard/news-list/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/review-banner/test/fixtures.js +22 -0
- package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/start-battle/test/fixtures.js +25 -0
- package/lib/molecule/dashboard/start-battle/test/fixtures.js.map +1 -0
- package/lib/molecule/discipline-cta/test/fixtures.js +25 -0
- package/lib/molecule/discipline-cta/test/fixtures.js.map +1 -0
- package/lib/molecule/discipline-header/test/fixtures.js +43 -0
- package/lib/molecule/discipline-header/test/fixtures.js.map +1 -0
- package/lib/molecule/discipline-partners/test/fixtures.js +34 -0
- package/lib/molecule/discipline-partners/test/fixtures.js.map +1 -0
- package/lib/molecule/discipline-scope/test/fixtures.js +43 -0
- package/lib/molecule/discipline-scope/test/fixtures.js.map +1 -0
- package/lib/molecule/drag-and-drop/test/fixtures.js +40 -0
- package/lib/molecule/drag-and-drop/test/fixtures.js.map +1 -0
- package/lib/molecule/drag-and-drop-wrapper/index.js +4 -12
- package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/style.css +0 -4
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js +1 -6
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/default.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js +4 -2
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js.map +1 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js +20 -0
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures/without-checkbox.js.map +1 -0
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js +28 -0
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js.map +1 -0
- package/lib/molecule/draggable/test/fixtures.js +22 -0
- package/lib/molecule/draggable/test/fixtures.js.map +1 -0
- package/lib/molecule/draggable-list/test/fixtures.js +25 -0
- package/lib/molecule/draggable-list/test/fixtures.js.map +1 -0
- package/lib/molecule/external-content-button/test/fixtures.js +31 -0
- package/lib/molecule/external-content-button/test/fixtures.js.map +1 -0
- package/lib/molecule/external-content-viewer/test/fixtures.js +43 -0
- package/lib/molecule/external-content-viewer/test/fixtures.js.map +1 -0
- package/lib/molecule/feedback/test/fixtures.js +43 -0
- package/lib/molecule/feedback/test/fixtures.js.map +1 -0
- package/lib/molecule/filters/test/fixtures.js +52 -0
- package/lib/molecule/filters/test/fixtures.js.map +1 -0
- package/lib/molecule/forum/forum-comment/test/fixtures.js +28 -0
- package/lib/molecule/forum/forum-comment/test/fixtures.js.map +1 -0
- package/lib/molecule/forum/forum-post/test/fixtures.js +49 -0
- package/lib/molecule/forum/forum-post/test/fixtures.js.map +1 -0
- package/lib/molecule/forum/forum-thread/test/fixtures.js +28 -0
- package/lib/molecule/forum/forum-thread/test/fixtures.js.map +1 -0
- package/lib/molecule/hero/test/fixtures.js +25 -0
- package/lib/molecule/hero/test/fixtures.js.map +1 -0
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js +25 -0
- package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +1 -0
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js +25 -0
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +1 -0
- package/lib/molecule/list-badges/test/fixtures.js +31 -0
- package/lib/molecule/list-badges/test/fixtures.js.map +1 -0
- package/lib/molecule/login-alert/test/fixtures.js +22 -0
- package/lib/molecule/login-alert/test/fixtures.js.map +1 -0
- package/lib/molecule/menu-list/test/fixtures.js +22 -0
- package/lib/molecule/menu-list/test/fixtures.js.map +1 -0
- package/lib/molecule/message-popin/test/fixtures.js +22 -0
- package/lib/molecule/message-popin/test/fixtures.js.map +1 -0
- package/lib/molecule/modal/test/fixtures.js +22 -0
- package/lib/molecule/modal/test/fixtures.js.map +1 -0
- package/lib/molecule/module-bubble/test/fixtures.js +28 -0
- package/lib/molecule/module-bubble/test/fixtures.js.map +1 -0
- package/lib/molecule/module-card/test/fixtures.js +28 -0
- package/lib/molecule/module-card/test/fixtures.js.map +1 -0
- package/lib/molecule/news/test/fixtures.js +37 -0
- package/lib/molecule/news/test/fixtures.js.map +1 -0
- package/lib/molecule/notification-banner/test/fixtures.js +28 -0
- package/lib/molecule/notification-banner/test/fixtures.js.map +1 -0
- package/lib/molecule/pagination/test/fixtures.js +25 -0
- package/lib/molecule/pagination/test/fixtures.js.map +1 -0
- package/lib/molecule/payment-form/test/fixtures.js +28 -0
- package/lib/molecule/payment-form/test/fixtures.js.map +1 -0
- package/lib/molecule/pdf/test/fixtures.js +22 -0
- package/lib/molecule/pdf/test/fixtures.js.map +1 -0
- package/lib/molecule/popin/test/fixtures.js +34 -0
- package/lib/molecule/popin/test/fixtures.js.map +1 -0
- package/lib/molecule/product-card/test/fixtures.js +22 -0
- package/lib/molecule/product-card/test/fixtures.js.map +1 -0
- package/lib/molecule/progress-bar/test/fixtures.js +25 -0
- package/lib/molecule/progress-bar/test/fixtures.js.map +1 -0
- package/lib/molecule/questions/drop-down/test/fixtures.js +25 -0
- package/lib/molecule/questions/drop-down/test/fixtures.js.map +1 -0
- package/lib/molecule/questions/free-text/test/fixtures.js +28 -0
- package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -0
- package/lib/molecule/questions/qcm/test/fixtures.js +31 -0
- package/lib/molecule/questions/qcm/test/fixtures.js.map +1 -0
- package/lib/molecule/questions/qcm-drag/test/fixtures.js +25 -0
- package/lib/molecule/questions/qcm-drag/test/fixtures.js.map +1 -0
- package/lib/molecule/questions/qcm-graphic/test/fixtures.js +25 -0
- package/lib/molecule/questions/qcm-graphic/test/fixtures.js.map +1 -0
- package/lib/molecule/questions/question-range/test/fixtures.js +22 -0
- package/lib/molecule/questions/question-range/test/fixtures.js.map +1 -0
- package/lib/molecule/questions/template/test/fixtures.js +25 -0
- package/lib/molecule/questions/template/test/fixtures.js.map +1 -0
- package/lib/molecule/quick-access-card/test/fixtures.js +34 -0
- package/lib/molecule/quick-access-card/test/fixtures.js.map +1 -0
- package/lib/molecule/quick-access-cards-group/test/fixtures.js +34 -0
- package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
- package/lib/molecule/resource-player/test/fixtures.js +40 -0
- package/lib/molecule/resource-player/test/fixtures.js.map +1 -0
- package/lib/molecule/review-correction-popin/test/fixtures.js +25 -0
- package/lib/molecule/review-correction-popin/test/fixtures.js.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures.js +37 -0
- package/lib/molecule/review-header-steps/test/fixtures.js.map +1 -0
- package/lib/molecule/scope-content/test/fixtures.js +43 -0
- package/lib/molecule/scope-content/test/fixtures.js.map +1 -0
- package/lib/molecule/scope-tabs/test/fixtures.js +28 -0
- package/lib/molecule/scope-tabs/test/fixtures.js.map +1 -0
- package/lib/molecule/search/test/fixtures.js +25 -0
- package/lib/molecule/search/test/fixtures.js.map +1 -0
- package/lib/molecule/search-form/test/fixtures.js +22 -0
- package/lib/molecule/search-form/test/fixtures.js.map +1 -0
- package/lib/molecule/select-multiple/test/fixtures.js +49 -0
- package/lib/molecule/select-multiple/test/fixtures.js.map +1 -0
- package/lib/molecule/setup-cohort-item/test/fixtures.js +31 -0
- package/lib/molecule/setup-cohort-item/test/fixtures.js.map +1 -0
- package/lib/molecule/setup-section/test/fixtures.js +40 -0
- package/lib/molecule/setup-section/test/fixtures.js.map +1 -0
- package/lib/molecule/setup-sections/test/fixtures.js +31 -0
- package/lib/molecule/setup-sections/test/fixtures.js.map +1 -0
- package/lib/molecule/setup-slide/test/fixtures.js +40 -0
- package/lib/molecule/setup-slide/test/fixtures.js.map +1 -0
- package/lib/molecule/setup-slider/test/fixtures.js +25 -0
- package/lib/molecule/setup-slider/test/fixtures.js.map +1 -0
- package/lib/molecule/share/test/fixtures.js +22 -0
- package/lib/molecule/share/test/fixtures.js.map +1 -0
- package/lib/molecule/skill-card/test/fixtures.js +31 -0
- package/lib/molecule/skill-card/test/fixtures.js.map +1 -0
- package/lib/molecule/ssmenu-list/test/fixtures.js +31 -0
- package/lib/molecule/ssmenu-list/test/fixtures.js.map +1 -0
- package/lib/molecule/subscription-freemium/test/fixtures.js +22 -0
- package/lib/molecule/subscription-freemium/test/fixtures.js.map +1 -0
- package/lib/molecule/subscription-premium/test/fixtures.js +25 -0
- package/lib/molecule/subscription-premium/test/fixtures.js.map +1 -0
- package/lib/molecule/table/test/fixtures.js +31 -0
- package/lib/molecule/table/test/fixtures.js.map +1 -0
- package/lib/molecule/teams-popin/test/fixtures.js +46 -0
- package/lib/molecule/teams-popin/test/fixtures.js.map +1 -0
- package/lib/molecule/theme-image/test/fixtures.js +22 -0
- package/lib/molecule/theme-image/test/fixtures.js.map +1 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.js +56 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -0
- package/lib/molecule/title-and-checkbox-wrapper/style.css +6 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/default.js +20 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/default.js.map +1 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js +23 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-checkbox.js.map +1 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js +20 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/drag-drop-without-title.js.map +1 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js +23 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures/input-text-title.js.map +1 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures.js +31 -0
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures.js.map +1 -0
- package/lib/molecule/titled-checkbox/test/fixtures.js +28 -0
- package/lib/molecule/titled-checkbox/test/fixtures.js.map +1 -0
- package/lib/molecule/unsubscribe/test/fixtures.js +25 -0
- package/lib/molecule/unsubscribe/test/fixtures.js.map +1 -0
- package/lib/molecule/vertical-tabs/test/fixtures.js +28 -0
- package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -0
- package/lib/molecule/video-iframe/test/fixtures.js +40 -0
- package/lib/molecule/video-iframe/test/fixtures.js.map +1 -0
- package/lib/molecule/video-player/test/fixtures.js +46 -0
- package/lib/molecule/video-player/test/fixtures.js.map +1 -0
- package/lib/molecule/wizard-summary/test/fixtures.js +37 -0
- package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -0
- package/lib/organism/accordion/container/test/fixtures.js +28 -0
- package/lib/organism/accordion/container/test/fixtures.js.map +1 -0
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +28 -0
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
- package/lib/organism/accordion/coorp-manager/test/fixtures.js +22 -0
- package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
- package/lib/organism/accordion/part/test/fixtures.js +25 -0
- package/lib/organism/accordion/part/test/fixtures.js.map +1 -0
- package/lib/organism/accordion/toggler/test/fixtures.js +28 -0
- package/lib/organism/accordion/toggler/test/fixtures.js.map +1 -0
- package/lib/organism/brand-analytics/test/fixtures.js +37 -0
- package/lib/organism/brand-analytics/test/fixtures.js.map +1 -0
- package/lib/organism/brand-dashboard/test/fixtures.js +25 -0
- package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -0
- package/lib/organism/brand-form/test/fixtures/wizard-certification.js +66 -0
- package/lib/organism/brand-form/test/fixtures/wizard-certification.js.map +1 -0
- package/lib/organism/brand-form/test/fixtures.js +55 -0
- package/lib/organism/brand-form/test/fixtures.js.map +1 -0
- package/lib/organism/brand-table/test/fixtures.js +31 -0
- package/lib/organism/brand-table/test/fixtures.js.map +1 -0
- package/lib/organism/brand-upload/test/fixtures.js +25 -0
- package/lib/organism/brand-upload/test/fixtures.js.map +1 -0
- package/lib/organism/cards-grid/test/fixtures.js +31 -0
- package/lib/organism/cards-grid/test/fixtures.js.map +1 -0
- package/lib/organism/cart/test/fixtures.js +22 -0
- package/lib/organism/cart/test/fixtures.js.map +1 -0
- package/lib/organism/content-translation/test/fixtures.js +25 -0
- package/lib/organism/content-translation/test/fixtures.js.map +1 -0
- package/lib/organism/course-selection/test/fixtures.js +40 -0
- package/lib/organism/course-selection/test/fixtures.js.map +1 -0
- package/lib/organism/discussion/test/fixtures.js +31 -0
- package/lib/organism/discussion/test/fixtures.js.map +1 -0
- package/lib/organism/get-the-app/test/fixtures.js +22 -0
- package/lib/organism/get-the-app/test/fixtures.js.map +1 -0
- package/lib/organism/grid-list/test/fixtures.js +22 -0
- package/lib/organism/grid-list/test/fixtures.js.map +1 -0
- package/lib/organism/header/test/fixtures.js +22 -0
- package/lib/organism/header/test/fixtures.js.map +1 -0
- package/lib/organism/hero/test/fixtures.js +28 -0
- package/lib/organism/hero/test/fixtures.js.map +1 -0
- package/lib/organism/list-item/test/fixtures.js +31 -0
- package/lib/organism/list-item/test/fixtures.js.map +1 -0
- package/lib/organism/list-items/test/fixtures.js +28 -0
- package/lib/organism/list-items/test/fixtures.js.map +1 -0
- package/lib/organism/mooc/image-slider/test/fixtures.js +25 -0
- package/lib/organism/mooc/image-slider/test/fixtures.js.map +1 -0
- package/lib/organism/mooc-footer/test/fixtures.js +37 -0
- package/lib/organism/mooc-footer/test/fixtures.js.map +1 -0
- package/lib/organism/mooc-header/test/fixtures.js +49 -0
- package/lib/organism/mooc-header/test/fixtures.js.map +1 -0
- package/lib/organism/playlist-translation/test/fixtures.js +25 -0
- package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/lib/organism/popin/test/fixtures.js +22 -0
- package/lib/organism/popin/test/fixtures.js.map +1 -0
- package/lib/organism/resource-browser/test/fixtures.js +58 -0
- package/lib/organism/resource-browser/test/fixtures.js.map +1 -0
- package/lib/organism/review-header/test/fixtures.js +37 -0
- package/lib/organism/review-header/test/fixtures.js.map +1 -0
- package/lib/organism/rewards-form/index.js +6 -16
- package/lib/organism/rewards-form/index.js.map +1 -1
- package/lib/organism/rewards-form/test/fixtures/default.js +25 -8
- package/lib/organism/rewards-form/test/fixtures/default.js.map +1 -1
- package/lib/organism/rewards-form/test/fixtures/one-reward.js +5 -3
- package/lib/organism/rewards-form/test/fixtures/one-reward.js.map +1 -1
- package/lib/organism/rewards-form/test/fixtures/two-rewards.js +10 -6
- package/lib/organism/rewards-form/test/fixtures/two-rewards.js.map +1 -1
- package/lib/organism/rewards-form/test/fixtures.js +31 -0
- package/lib/organism/rewards-form/test/fixtures.js.map +1 -0
- package/lib/organism/search-and-chips-results/test/fixtures.js +37 -0
- package/lib/organism/search-and-chips-results/test/fixtures.js.map +1 -0
- package/lib/organism/settings/test/fixtures.js +31 -0
- package/lib/organism/settings/test/fixtures.js.map +1 -0
- package/lib/organism/setup-header/test/fixtures.js +25 -0
- package/lib/organism/setup-header/test/fixtures.js.map +1 -0
- package/lib/organism/sidebar/test/fixtures.js +37 -0
- package/lib/organism/sidebar/test/fixtures.js.map +1 -0
- package/lib/organism/slider/test/fixtures.js +25 -0
- package/lib/organism/slider/test/fixtures.js.map +1 -0
- package/lib/organism/user-preferences/test/fixtures.js +22 -0
- package/lib/organism/user-preferences/test/fixtures.js.map +1 -0
- package/lib/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js +46 -0
- package/lib/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js.map +1 -0
- package/lib/organism/wizard-contents/test/fixtures.js +43 -0
- package/lib/organism/wizard-contents/test/fixtures.js.map +1 -0
- package/lib/template/activity/test/fixtures.js +34 -0
- package/lib/template/activity/test/fixtures.js.map +1 -0
- package/lib/template/app-player/loading/test/fixtures.js +22 -0
- package/lib/template/app-player/loading/test/fixtures.js.map +1 -0
- package/lib/template/app-player/player/slides/footer/test/fixtures.js +46 -0
- package/lib/template/app-player/player/slides/footer/test/fixtures.js.map +1 -0
- package/lib/template/app-player/player/slides/header/test/fixtures.js +37 -0
- package/lib/template/app-player/player/slides/header/test/fixtures.js.map +1 -0
- package/lib/template/app-player/player/slides/test/fixtures.js +121 -0
- package/lib/template/app-player/player/slides/test/fixtures.js.map +1 -0
- package/lib/template/app-player/player/test/fixtures.js +85 -0
- package/lib/template/app-player/player/test/fixtures.js.map +1 -0
- package/lib/template/app-player/popin-correction/test/fixtures.js +73 -0
- package/lib/template/app-player/popin-correction/test/fixtures.js.map +1 -0
- package/lib/template/app-player/popin-end/test/fixtures.js +79 -0
- package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -0
- package/lib/template/app-player/popin-header/test/fixtures.js +46 -0
- package/lib/template/app-player/popin-header/test/fixtures.js.map +1 -0
- package/lib/template/back-office/brand-create/test/fixtures.js +31 -0
- package/lib/template/back-office/brand-create/test/fixtures.js.map +1 -0
- package/lib/template/back-office/brand-list/test/fixtures.js +28 -0
- package/lib/template/back-office/brand-list/test/fixtures.js.map +1 -0
- package/lib/template/back-office/brand-update/test/fixtures.js +136 -0
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -0
- package/lib/template/back-office/dashboard-preview/test/fixtures.js +37 -0
- package/lib/template/back-office/dashboard-preview/test/fixtures.js.map +1 -0
- package/lib/template/battle-requests/test/fixtures.js +22 -0
- package/lib/template/battle-requests/test/fixtures.js.map +1 -0
- package/lib/template/cockpit/jw-uploader/test/fixtures.js +22 -0
- package/lib/template/cockpit/jw-uploader/test/fixtures.js.map +1 -0
- package/lib/template/common/authors/test/fixtures.js +25 -0
- package/lib/template/common/authors/test/fixtures.js.map +1 -0
- package/lib/template/common/coorp-header/test/fixtures.js +25 -0
- package/lib/template/common/coorp-header/test/fixtures.js.map +1 -0
- package/lib/template/common/dashboard/test/fixtures.js +28 -0
- package/lib/template/common/dashboard/test/fixtures.js.map +1 -0
- package/lib/template/common/discipline/test/fixtures.js +73 -0
- package/lib/template/common/discipline/test/fixtures.js.map +1 -0
- package/lib/template/common/search-page/test/fixtures.js +28 -0
- package/lib/template/common/search-page/test/fixtures.js.map +1 -0
- package/lib/template/external-course/test/fixtures.js +49 -0
- package/lib/template/external-course/test/fixtures.js.map +1 -0
- package/lib/template/teams-dashboard/test/fixtures.js +28 -0
- package/lib/template/teams-dashboard/test/fixtures.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/coorp-manager-roles/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCoorpManagerRoles","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,oEAAD,EAAuEK,CAAC,IAAI;AAC9EA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,yBAAyB,CAACI,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,8DAA6DF,GAAI,mEAA1F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,yBAA9F,EAAyHC,cAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCoorpManagerRoles from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('Molecule › MoleculeCoorpManagerRoles > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCoorpManagerRoles.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCoorpManagerRoles.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCoorpManagerRoles › Default › should be rendered', renderComponentMacro, MoleculeCoorpManagerRoles, fixtureDefault);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeCourseSection from '..';
|
|
5
|
+
import fixtureAdvancedLevel from './fixtures/advanced-level';
|
|
6
|
+
import fixtureBaseLevel from './fixtures/base-level';
|
|
7
|
+
import fixtureChapter from './fixtures/chapter';
|
|
8
|
+
import fixtureCoachLevel from './fixtures/coach-level';
|
|
9
|
+
import fixtureCourse from './fixtures/course';
|
|
10
|
+
test('Molecule › MoleculeCourseSection > should have valid propTypes', t => {
|
|
11
|
+
t.pass();
|
|
12
|
+
forEach(MoleculeCourseSection.propTypes, (value, key) => {
|
|
13
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeCourseSection.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
test('Molecule › MoleculeCourseSection › AdvancedLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureAdvancedLevel);
|
|
17
|
+
test('Molecule › MoleculeCourseSection › BaseLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureBaseLevel);
|
|
18
|
+
test('Molecule › MoleculeCourseSection › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);
|
|
19
|
+
test('Molecule › MoleculeCourseSection › CoachLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCoachLevel);
|
|
20
|
+
test('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);
|
|
21
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/course-section/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCourseSection","fixtureAdvancedLevel","fixtureBaseLevel","fixtureChapter","fixtureCoachLevel","fixtureCourse","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,qBAAP,MAAkC,IAAlC;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AAEAR,IAAI,CAAC,gEAAD,EAAmES,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,qBAAqB,CAACQ,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,qBAAhG,EAAuHC,oBAAvH,CAAJ;AACAJ,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,qBAA5F,EAAmHE,gBAAnH,CAAJ;AACAL,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHG,cAAjH,CAAJ;AACAN,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,qBAA7F,EAAoHI,iBAApH,CAAJ;AACAP,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,qBAAzF,EAAgHK,aAAhH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCourseSection from '..';\nimport fixtureAdvancedLevel from './fixtures/advanced-level';\nimport fixtureBaseLevel from './fixtures/base-level';\nimport fixtureChapter from './fixtures/chapter';\nimport fixtureCoachLevel from './fixtures/coach-level';\nimport fixtureCourse from './fixtures/course';\n\ntest('Molecule › MoleculeCourseSection > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCourseSection.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCourseSection.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCourseSection › AdvancedLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureAdvancedLevel);\ntest('Molecule › MoleculeCourseSection › BaseLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureBaseLevel);\ntest('Molecule › MoleculeCourseSection › Chapter › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureChapter);\ntest('Molecule › MoleculeCourseSection › CoachLevel › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCoachLevel);\ntest('Molecule › MoleculeCourseSection › Course › should be rendered', renderComponentMacro, MoleculeCourseSection, fixtureCourse);\n"],"file":"fixtures.js"}
|
|
@@ -1,3 +1,5 @@
|
|
|
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
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import PropTypes from 'prop-types';
|
|
3
5
|
import InputTextWithTitle from '../../atom/input-text-with-title';
|
|
@@ -5,6 +7,7 @@ import CourseSection from '../course-section';
|
|
|
5
7
|
import DraggableList from '../draggable-list';
|
|
6
8
|
import Loader from '../../atom/loader';
|
|
7
9
|
import Title from '../../atom/title';
|
|
10
|
+
import TitleAndCheckBoxWrapper from '../title-and-checkbox-wrapper';
|
|
8
11
|
import style from './style.css';
|
|
9
12
|
|
|
10
13
|
const Loading = () => /*#__PURE__*/React.createElement("div", {
|
|
@@ -23,15 +26,19 @@ const CourseSections = ({
|
|
|
23
26
|
inputTitle
|
|
24
27
|
}) => {
|
|
25
28
|
if (isLoading) return /*#__PURE__*/React.createElement(Loading, null);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
|
|
30
|
+
const child = _extends(_extends({}, mandatoryCoursesInput), {}, {
|
|
31
|
+
childType: 'input-text'
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
const sectionTitle = {
|
|
29
35
|
title: inputTitle,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
'data-name': 'mandatory-courses-input-title'
|
|
37
|
+
};
|
|
38
|
+
return /*#__PURE__*/React.createElement("div", null, mandatoryCoursesInput && sectionTitle ? /*#__PURE__*/React.createElement(TitleAndCheckBoxWrapper, {
|
|
39
|
+
child: child,
|
|
40
|
+
sectionTitle: sectionTitle
|
|
41
|
+
}) : null, title ? /*#__PURE__*/React.createElement("div", {
|
|
35
42
|
className: style.title
|
|
36
43
|
}, /*#__PURE__*/React.createElement(Title, {
|
|
37
44
|
title: title,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/molecule/course-sections/index.js"],"names":["React","PropTypes","InputTextWithTitle","CourseSection","DraggableList","Loader","Title","style","Loading","loaderContainer","loader","CourseSections","sections","onDrop","isLoading","title","mandatoryCoursesInput","inputTitle","propTypes","string","arrayOf","shape","func","bool"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,OAAO,GAAG,mBACd;AAAK,EAAA,SAAS,EAAED,KAAK,CAACE;AAAtB,gBACE,oBAAC,MAAD;AAAQ,EAAA,SAAS,EAAEF,KAAK,CAACG,MAAzB;AAAiC,EAAA,KAAK,EAAC;AAAvC,EADF,CADF;;AAMA,MAAMC,cAAc,GAAG,CAAC;AACtBC,EAAAA,QADsB;AAEtBC,EAAAA,MAFsB;AAGtBC,EAAAA,SAHsB;AAItBC,EAAAA,KAJsB;AAKtBC,EAAAA,qBALsB;AAMtBC,EAAAA;AANsB,CAAD,KAOjB;AACJ,MAAIH,SAAJ,EAAe,oBAAO,oBAAC,OAAD,OAAP
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/course-sections/index.js"],"names":["React","PropTypes","InputTextWithTitle","CourseSection","DraggableList","Loader","Title","TitleAndCheckBoxWrapper","style","Loading","loaderContainer","loader","CourseSections","sections","onDrop","isLoading","title","mandatoryCoursesInput","inputTitle","child","childType","sectionTitle","propTypes","string","arrayOf","shape","func","bool"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,OAAO,GAAG,mBACd;AAAK,EAAA,SAAS,EAAED,KAAK,CAACE;AAAtB,gBACE,oBAAC,MAAD;AAAQ,EAAA,SAAS,EAAEF,KAAK,CAACG,MAAzB;AAAiC,EAAA,KAAK,EAAC;AAAvC,EADF,CADF;;AAMA,MAAMC,cAAc,GAAG,CAAC;AACtBC,EAAAA,QADsB;AAEtBC,EAAAA,MAFsB;AAGtBC,EAAAA,SAHsB;AAItBC,EAAAA,KAJsB;AAKtBC,EAAAA,qBALsB;AAMtBC,EAAAA;AANsB,CAAD,KAOjB;AACJ,MAAIH,SAAJ,EAAe,oBAAO,oBAAC,OAAD,OAAP;;AAEf,QAAMI,KAAK,yBAAOF,qBAAP;AAA8BG,IAAAA,SAAS,EAAE;AAAzC,IAAX;;AACA,QAAMC,YAAY,GAAG;AAACL,IAAAA,KAAK,EAAEE,UAAR;AAAoB,iBAAa;AAAjC,GAArB;AACA,sBACE,iCACGD,qBAAqB,IAAII,YAAzB,gBACC,oBAAC,uBAAD;AAAyB,IAAA,KAAK,EAAEF,KAAhC;AAAuC,IAAA,YAAY,EAAEE;AAArD,IADD,GAEG,IAHN,EAIGL,KAAK,gBACJ;AAAK,IAAA,SAAS,EAAER,KAAK,CAACQ;AAAtB,kBACE,oBAAC,KAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADI,GAIF,IARN,eASE,oBAAC,aAAD;AAAe,IAAA,QAAQ,EAAC,gBAAxB;AAAyC,IAAA,KAAK,EAAEH,QAAhD;AAA0D,IAAA,MAAM,EAAEC;AAAlE,IATF,CADF;AAaD,CAzBD;;AA2BAF,cAAc,CAACU,SAAf,2CAA2B;AACzBJ,EAAAA,UAAU,EAAEjB,SAAS,CAACsB,MADG;AAEzBP,EAAAA,KAAK,EAAEf,SAAS,CAACsB,MAFQ;AAGzBV,EAAAA,QAAQ,EAAEZ,SAAS,CAACuB,OAAV,CAAkBvB,SAAS,CAACwB,KAAV,CAAgBtB,aAAa,CAACmB,SAA9B,CAAlB,CAHe;AAIzBR,EAAAA,MAAM,EAAEb,SAAS,CAACyB,IAJO;AAKzBX,EAAAA,SAAS,EAAEd,SAAS,CAAC0B,IALI;AAMzBV,EAAAA,qBAAqB,EAAEhB,SAAS,CAACwB,KAAV,CAAgBvB,kBAAkB,CAACoB,SAAnC;AANE,CAA3B;AASA,eAAeV,cAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputTextWithTitle from '../../atom/input-text-with-title';\nimport CourseSection from '../course-section';\nimport DraggableList from '../draggable-list';\nimport Loader from '../../atom/loader';\nimport Title from '../../atom/title';\nimport TitleAndCheckBoxWrapper from '../title-and-checkbox-wrapper';\nimport style from './style.css';\n\nconst Loading = () => (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n);\n\nconst CourseSections = ({\n sections,\n onDrop,\n isLoading,\n title,\n mandatoryCoursesInput,\n inputTitle\n}) => {\n if (isLoading) return <Loading />;\n\n const child = {...mandatoryCoursesInput, childType: 'input-text'};\n const sectionTitle = {title: inputTitle, 'data-name': 'mandatory-courses-input-title'};\n return (\n <div>\n {mandatoryCoursesInput && sectionTitle ? (\n <TitleAndCheckBoxWrapper child={child} sectionTitle={sectionTitle} />\n ) : null}\n {title ? (\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'course-sections-title'} />\n </div>\n ) : null}\n <DraggableList itemType=\"course-section\" items={sections} onDrop={onDrop} />\n </div>\n );\n};\n\nCourseSections.propTypes = {\n inputTitle: PropTypes.string,\n title: PropTypes.string,\n sections: PropTypes.arrayOf(PropTypes.shape(CourseSection.propTypes)),\n onDrop: PropTypes.func,\n isLoading: PropTypes.bool,\n mandatoryCoursesInput: PropTypes.shape(InputTextWithTitle.propTypes)\n};\n\nexport default CourseSections;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeCourseSections from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureLoading from './fixtures/loading';
|
|
7
|
+
import fixtureWithMandatoryCoursesInput from './fixtures/with-mandatory-courses-input';
|
|
8
|
+
test('Molecule › MoleculeCourseSections > should have valid propTypes', t => {
|
|
9
|
+
t.pass();
|
|
10
|
+
forEach(MoleculeCourseSections.propTypes, (value, key) => {
|
|
11
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeCourseSections.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
test('Molecule › MoleculeCourseSections › Default › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureDefault);
|
|
15
|
+
test('Molecule › MoleculeCourseSections › Loading › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureLoading);
|
|
16
|
+
test('Molecule › MoleculeCourseSections › WithMandatoryCoursesInput › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureWithMandatoryCoursesInput);
|
|
17
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/course-sections/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCourseSections","fixtureDefault","fixtureLoading","fixtureWithMandatoryCoursesInput","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gCAAP,MAA6C,yCAA7C;AAEAN,IAAI,CAAC,iEAAD,EAAoEO,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,sBAAsB,CAACM,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHE,cAAnH,CAAJ;AACAL,IAAI,CAAC,oFAAD,EAAuFE,oBAAvF,EAA6GC,sBAA7G,EAAqIG,gCAArI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCourseSections from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureWithMandatoryCoursesInput from './fixtures/with-mandatory-courses-input';\n\ntest('Molecule › MoleculeCourseSections > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCourseSections.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCourseSections.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCourseSections › Default › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureDefault);\ntest('Molecule › MoleculeCourseSections › Loading › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureLoading);\ntest('Molecule › MoleculeCourseSections › WithMandatoryCoursesInput › should be rendered', renderComponentMacro, MoleculeCourseSections, fixtureWithMandatoryCoursesInput);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDashboardBattleRequestList from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureEmpty from './fixtures/empty';
|
|
7
|
+
test('MoleculeDashboard › MoleculeDashboardBattleRequestList > should have valid propTypes', t => {
|
|
8
|
+
t.pass();
|
|
9
|
+
forEach(MoleculeDashboardBattleRequestList.propTypes, (value, key) => {
|
|
10
|
+
t.not(value, undefined, `PropType for "MoleculeDashboard.MoleculeDashboardBattleRequestList.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
test('MoleculeDashboard › MoleculeDashboardBattleRequestList › Default › should be rendered', renderComponentMacro, MoleculeDashboardBattleRequestList, fixtureDefault);
|
|
14
|
+
test('MoleculeDashboard › MoleculeDashboardBattleRequestList › Empty › should be rendered', renderComponentMacro, MoleculeDashboardBattleRequestList, fixtureEmpty);
|
|
15
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/dashboard/battle-request-list/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDashboardBattleRequestList","fixtureDefault","fixtureEmpty","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,kCAAP,MAA+C,IAA/C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AAEAL,IAAI,CAAC,sFAAD,EAAyFM,CAAC,IAAI;AAChGA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,kCAAkC,CAACK,SAApC,EAA+C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACpEJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gFAA+EF,GAAI,mEAA5G;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,kCAAhH,EAAoJC,cAApJ,CAAJ;AACAJ,IAAI,CAAC,qFAAD,EAAwFE,oBAAxF,EAA8GC,kCAA9G,EAAkJE,YAAlJ,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeDashboardBattleRequestList from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureEmpty from './fixtures/empty';\n\ntest('MoleculeDashboard › MoleculeDashboardBattleRequestList > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDashboardBattleRequestList.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeDashboard.MoleculeDashboardBattleRequestList.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeDashboard › MoleculeDashboardBattleRequestList › Default › should be rendered', renderComponentMacro, MoleculeDashboardBattleRequestList, fixtureDefault);\ntest('MoleculeDashboard › MoleculeDashboardBattleRequestList › Empty › should be rendered', renderComponentMacro, MoleculeDashboardBattleRequestList, fixtureEmpty);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDashboardCardsList from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureManyEmpty from './fixtures/many-empty';
|
|
7
|
+
import fixtureMany from './fixtures/many';
|
|
8
|
+
import fixtureMicrolearning from './fixtures/microlearning';
|
|
9
|
+
import fixtureNoIcon from './fixtures/no-icon';
|
|
10
|
+
import fixturePerformance from './fixtures/performance';
|
|
11
|
+
test('MoleculeDashboard › MoleculeDashboardCardsList > should have valid propTypes', t => {
|
|
12
|
+
t.pass();
|
|
13
|
+
forEach(MoleculeDashboardCardsList.propTypes, (value, key) => {
|
|
14
|
+
t.not(value, undefined, `PropType for "MoleculeDashboard.MoleculeDashboardCardsList.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
test('MoleculeDashboard › MoleculeDashboardCardsList › Default › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureDefault);
|
|
18
|
+
test('MoleculeDashboard › MoleculeDashboardCardsList › ManyEmpty › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureManyEmpty);
|
|
19
|
+
test('MoleculeDashboard › MoleculeDashboardCardsList › Many › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureMany);
|
|
20
|
+
test('MoleculeDashboard › MoleculeDashboardCardsList › Microlearning › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureMicrolearning);
|
|
21
|
+
test('MoleculeDashboard › MoleculeDashboardCardsList › NoIcon › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureNoIcon);
|
|
22
|
+
test('MoleculeDashboard › MoleculeDashboardCardsList › Performance › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixturePerformance);
|
|
23
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/dashboard/cards-list/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDashboardCardsList","fixtureDefault","fixtureManyEmpty","fixtureMany","fixtureMicrolearning","fixtureNoIcon","fixturePerformance","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,0BAAP,MAAuC,IAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,WAAP,MAAwB,iBAAxB;AACA,OAAOC,oBAAP,MAAiC,0BAAjC;AACA,OAAOC,aAAP,MAA0B,oBAA1B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AAEAT,IAAI,CAAC,8EAAD,EAAiFU,CAAC,IAAI;AACxFA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,0BAA0B,CAACS,SAA5B,EAAuC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC5DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,wEAAuEF,GAAI,mEAApG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,+EAAD,EAAkFE,oBAAlF,EAAwGC,0BAAxG,EAAoIC,cAApI,CAAJ;AACAJ,IAAI,CAAC,iFAAD,EAAoFE,oBAApF,EAA0GC,0BAA1G,EAAsIE,gBAAtI,CAAJ;AACAL,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,0BAArG,EAAiIG,WAAjI,CAAJ;AACAN,IAAI,CAAC,qFAAD,EAAwFE,oBAAxF,EAA8GC,0BAA9G,EAA0II,oBAA1I,CAAJ;AACAP,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,0BAAvG,EAAmIK,aAAnI,CAAJ;AACAR,IAAI,CAAC,mFAAD,EAAsFE,oBAAtF,EAA4GC,0BAA5G,EAAwIM,kBAAxI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeDashboardCardsList from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureManyEmpty from './fixtures/many-empty';\nimport fixtureMany from './fixtures/many';\nimport fixtureMicrolearning from './fixtures/microlearning';\nimport fixtureNoIcon from './fixtures/no-icon';\nimport fixturePerformance from './fixtures/performance';\n\ntest('MoleculeDashboard › MoleculeDashboardCardsList > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDashboardCardsList.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeDashboard.MoleculeDashboardCardsList.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeDashboard › MoleculeDashboardCardsList › Default › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureDefault);\ntest('MoleculeDashboard › MoleculeDashboardCardsList › ManyEmpty › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureManyEmpty);\ntest('MoleculeDashboard › MoleculeDashboardCardsList › Many › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureMany);\ntest('MoleculeDashboard › MoleculeDashboardCardsList › Microlearning › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureMicrolearning);\ntest('MoleculeDashboard › MoleculeDashboardCardsList › NoIcon › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixtureNoIcon);\ntest('MoleculeDashboard › MoleculeDashboardCardsList › Performance › should be rendered', renderComponentMacro, MoleculeDashboardCardsList, fixturePerformance);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDashboardNewsList from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureLoading from './fixtures/loading';
|
|
7
|
+
import fixtureMore from './fixtures/more';
|
|
8
|
+
test('MoleculeDashboard › MoleculeDashboardNewsList > should have valid propTypes', t => {
|
|
9
|
+
t.pass();
|
|
10
|
+
forEach(MoleculeDashboardNewsList.propTypes, (value, key) => {
|
|
11
|
+
t.not(value, undefined, `PropType for "MoleculeDashboard.MoleculeDashboardNewsList.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
test('MoleculeDashboard › MoleculeDashboardNewsList › Default › should be rendered', renderComponentMacro, MoleculeDashboardNewsList, fixtureDefault);
|
|
15
|
+
test('MoleculeDashboard › MoleculeDashboardNewsList › Loading › should be rendered', renderComponentMacro, MoleculeDashboardNewsList, fixtureLoading);
|
|
16
|
+
test('MoleculeDashboard › MoleculeDashboardNewsList › More › should be rendered', renderComponentMacro, MoleculeDashboardNewsList, fixtureMore);
|
|
17
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/dashboard/news-list/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDashboardNewsList","fixtureDefault","fixtureLoading","fixtureMore","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,WAAP,MAAwB,iBAAxB;AAEAN,IAAI,CAAC,6EAAD,EAAgFO,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,yBAAyB,CAACM,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,yBAAvG,EAAkIC,cAAlI,CAAJ;AACAJ,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,yBAAvG,EAAkIE,cAAlI,CAAJ;AACAL,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,yBAApG,EAA+HG,WAA/H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeDashboardNewsList from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureMore from './fixtures/more';\n\ntest('MoleculeDashboard › MoleculeDashboardNewsList > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDashboardNewsList.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeDashboard.MoleculeDashboardNewsList.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeDashboard › MoleculeDashboardNewsList › Default › should be rendered', renderComponentMacro, MoleculeDashboardNewsList, fixtureDefault);\ntest('MoleculeDashboard › MoleculeDashboardNewsList › Loading › should be rendered', renderComponentMacro, MoleculeDashboardNewsList, fixtureLoading);\ntest('MoleculeDashboard › MoleculeDashboardNewsList › More › should be rendered', renderComponentMacro, MoleculeDashboardNewsList, fixtureMore);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDashboardReviewBanner from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
test('MoleculeDashboard › MoleculeDashboardReviewBanner > should have valid propTypes', t => {
|
|
7
|
+
t.pass();
|
|
8
|
+
forEach(MoleculeDashboardReviewBanner.propTypes, (value, key) => {
|
|
9
|
+
t.not(value, undefined, `PropType for "MoleculeDashboard.MoleculeDashboardReviewBanner.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
test('MoleculeDashboard › MoleculeDashboardReviewBanner › Default › should be rendered', renderComponentMacro, MoleculeDashboardReviewBanner, fixtureDefault);
|
|
13
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/dashboard/review-banner/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDashboardReviewBanner","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,iFAAD,EAAoFK,CAAC,IAAI;AAC3FA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,6BAA6B,CAACI,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2EAA0EF,GAAI,mEAAvG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,kFAAD,EAAqFE,oBAArF,EAA2GC,6BAA3G,EAA0IC,cAA1I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeDashboardReviewBanner from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('MoleculeDashboard › MoleculeDashboardReviewBanner > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDashboardReviewBanner.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeDashboard.MoleculeDashboardReviewBanner.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeDashboard › MoleculeDashboardReviewBanner › Default › should be rendered', renderComponentMacro, MoleculeDashboardReviewBanner, fixtureDefault);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDashboardStartBattle from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureHref from './fixtures/href';
|
|
7
|
+
test('MoleculeDashboard › MoleculeDashboardStartBattle > should have valid propTypes', t => {
|
|
8
|
+
t.pass();
|
|
9
|
+
forEach(MoleculeDashboardStartBattle.propTypes, (value, key) => {
|
|
10
|
+
t.not(value, undefined, `PropType for "MoleculeDashboard.MoleculeDashboardStartBattle.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
test('MoleculeDashboard › MoleculeDashboardStartBattle › Default › should be rendered', renderComponentMacro, MoleculeDashboardStartBattle, fixtureDefault);
|
|
14
|
+
test('MoleculeDashboard › MoleculeDashboardStartBattle › Href › should be rendered', renderComponentMacro, MoleculeDashboardStartBattle, fixtureHref);
|
|
15
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/dashboard/start-battle/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDashboardStartBattle","fixtureDefault","fixtureHref","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,4BAAP,MAAyC,IAAzC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,WAAP,MAAwB,iBAAxB;AAEAL,IAAI,CAAC,gFAAD,EAAmFM,CAAC,IAAI;AAC1FA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,4BAA4B,CAACK,SAA9B,EAAyC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC9DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0EAAyEF,GAAI,mEAAtG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,iFAAD,EAAoFE,oBAApF,EAA0GC,4BAA1G,EAAwIC,cAAxI,CAAJ;AACAJ,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,4BAAvG,EAAqIE,WAArI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeDashboardStartBattle from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureHref from './fixtures/href';\n\ntest('MoleculeDashboard › MoleculeDashboardStartBattle > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDashboardStartBattle.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeDashboard.MoleculeDashboardStartBattle.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeDashboard › MoleculeDashboardStartBattle › Default › should be rendered', renderComponentMacro, MoleculeDashboardStartBattle, fixtureDefault);\ntest('MoleculeDashboard › MoleculeDashboardStartBattle › Href › should be rendered', renderComponentMacro, MoleculeDashboardStartBattle, fixtureHref);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDisciplineCta from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureNoStart from './fixtures/no-start';
|
|
7
|
+
test('Molecule › MoleculeDisciplineCta > should have valid propTypes', t => {
|
|
8
|
+
t.pass();
|
|
9
|
+
forEach(MoleculeDisciplineCta.propTypes, (value, key) => {
|
|
10
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeDisciplineCta.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
test('Molecule › MoleculeDisciplineCta › Default › should be rendered', renderComponentMacro, MoleculeDisciplineCta, fixtureDefault);
|
|
14
|
+
test('Molecule › MoleculeDisciplineCta › NoStart › should be rendered', renderComponentMacro, MoleculeDisciplineCta, fixtureNoStart);
|
|
15
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/discipline-cta/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDisciplineCta","fixtureDefault","fixtureNoStart","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,qBAAP,MAAkC,IAAlC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AAEAL,IAAI,CAAC,gEAAD,EAAmEM,CAAC,IAAI;AAC1EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,qBAAqB,CAACK,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0DAAyDF,GAAI,mEAAtF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHC,cAAjH,CAAJ;AACAJ,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,qBAA1F,EAAiHE,cAAjH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDisciplineCta from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNoStart from './fixtures/no-start';\n\ntest('Molecule › MoleculeDisciplineCta > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDisciplineCta.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDisciplineCta.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDisciplineCta › Default › should be rendered', renderComponentMacro, MoleculeDisciplineCta, fixtureDefault);\ntest('Molecule › MoleculeDisciplineCta › NoStart › should be rendered', renderComponentMacro, MoleculeDisciplineCta, fixtureNoStart);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDisciplineHeader from '..';
|
|
5
|
+
import fixtureArabic from './fixtures/arabic';
|
|
6
|
+
import fixtureDefault from './fixtures/default';
|
|
7
|
+
import fixtureJwplayer from './fixtures/jwplayer';
|
|
8
|
+
import fixtureLongDescription from './fixtures/long-description';
|
|
9
|
+
import fixtureNoVideoNoImage from './fixtures/no-video-no-image';
|
|
10
|
+
import fixtureNoVideo from './fixtures/no-video';
|
|
11
|
+
import fixturePortaitRatio from './fixtures/portait-ratio';
|
|
12
|
+
import fixtureVimeo from './fixtures/vimeo';
|
|
13
|
+
test('Molecule › MoleculeDisciplineHeader > should have valid propTypes', t => {
|
|
14
|
+
t.pass();
|
|
15
|
+
forEach(MoleculeDisciplineHeader.propTypes, (value, key) => {
|
|
16
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeDisciplineHeader.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
test('Molecule › MoleculeDisciplineHeader › Arabic › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureArabic);
|
|
20
|
+
test('Molecule › MoleculeDisciplineHeader › Default › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureDefault);
|
|
21
|
+
test('Molecule › MoleculeDisciplineHeader › Jwplayer › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureJwplayer);
|
|
22
|
+
test('Molecule › MoleculeDisciplineHeader › LongDescription › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureLongDescription);
|
|
23
|
+
test('Molecule › MoleculeDisciplineHeader › NoVideoNoImage › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureNoVideoNoImage);
|
|
24
|
+
test('Molecule › MoleculeDisciplineHeader › NoVideo › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureNoVideo);
|
|
25
|
+
test('Molecule › MoleculeDisciplineHeader › PortaitRatio › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixturePortaitRatio);
|
|
26
|
+
test('Molecule › MoleculeDisciplineHeader › Vimeo › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureVimeo);
|
|
27
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/discipline-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDisciplineHeader","fixtureArabic","fixtureDefault","fixtureJwplayer","fixtureLongDescription","fixtureNoVideoNoImage","fixtureNoVideo","fixturePortaitRatio","fixtureVimeo","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,wBAAP,MAAqC,IAArC;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,qBAAP,MAAkC,8BAAlC;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AAEAX,IAAI,CAAC,mEAAD,EAAsEY,CAAC,IAAI;AAC7EA,EAAAA,CAAC,CAACC,IAAF;AACAZ,EAAAA,OAAO,CAACE,wBAAwB,CAACW,SAA1B,EAAqC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC1DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,6DAA4DF,GAAI,mEAAzF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAhB,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,wBAA5F,EAAsHC,aAAtH,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,wBAA7F,EAAuHE,cAAvH,CAAJ;AACAL,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,wBAA9F,EAAwHG,eAAxH,CAAJ;AACAN,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,wBAArG,EAA+HI,sBAA/H,CAAJ;AACAP,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,wBAApG,EAA8HK,qBAA9H,CAAJ;AACAR,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,wBAA7F,EAAuHM,cAAvH,CAAJ;AACAT,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,wBAAlG,EAA4HO,mBAA5H,CAAJ;AACAV,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,wBAA3F,EAAqHQ,YAArH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDisciplineHeader from '..';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureDefault from './fixtures/default';\nimport fixtureJwplayer from './fixtures/jwplayer';\nimport fixtureLongDescription from './fixtures/long-description';\nimport fixtureNoVideoNoImage from './fixtures/no-video-no-image';\nimport fixtureNoVideo from './fixtures/no-video';\nimport fixturePortaitRatio from './fixtures/portait-ratio';\nimport fixtureVimeo from './fixtures/vimeo';\n\ntest('Molecule › MoleculeDisciplineHeader > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDisciplineHeader.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDisciplineHeader.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDisciplineHeader › Arabic › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureArabic);\ntest('Molecule › MoleculeDisciplineHeader › Default › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureDefault);\ntest('Molecule › MoleculeDisciplineHeader › Jwplayer › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureJwplayer);\ntest('Molecule › MoleculeDisciplineHeader › LongDescription › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureLongDescription);\ntest('Molecule › MoleculeDisciplineHeader › NoVideoNoImage › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureNoVideoNoImage);\ntest('Molecule › MoleculeDisciplineHeader › NoVideo › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureNoVideo);\ntest('Molecule › MoleculeDisciplineHeader › PortaitRatio › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixturePortaitRatio);\ntest('Molecule › MoleculeDisciplineHeader › Vimeo › should be rendered', renderComponentMacro, MoleculeDisciplineHeader, fixtureVimeo);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDisciplinePartners from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureDoubleAuthors from './fixtures/double-authors';
|
|
7
|
+
import fixtureMoreInfo from './fixtures/more-info';
|
|
8
|
+
import fixtureNoAuthor from './fixtures/no-author';
|
|
9
|
+
import fixtureNosite from './fixtures/nosite';
|
|
10
|
+
test('Molecule › MoleculeDisciplinePartners > should have valid propTypes', t => {
|
|
11
|
+
t.pass();
|
|
12
|
+
forEach(MoleculeDisciplinePartners.propTypes, (value, key) => {
|
|
13
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeDisciplinePartners.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
test('Molecule › MoleculeDisciplinePartners › Default › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureDefault);
|
|
17
|
+
test('Molecule › MoleculeDisciplinePartners › DoubleAuthors › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureDoubleAuthors);
|
|
18
|
+
test('Molecule › MoleculeDisciplinePartners › MoreInfo › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureMoreInfo);
|
|
19
|
+
test('Molecule › MoleculeDisciplinePartners › NoAuthor › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureNoAuthor);
|
|
20
|
+
test('Molecule › MoleculeDisciplinePartners › Nosite › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureNosite);
|
|
21
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/discipline-partners/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDisciplinePartners","fixtureDefault","fixtureDoubleAuthors","fixtureMoreInfo","fixtureNoAuthor","fixtureNosite","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,0BAAP,MAAuC,IAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AAEAR,IAAI,CAAC,qEAAD,EAAwES,CAAC,IAAI;AAC/EA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,0BAA0B,CAACQ,SAA5B,EAAuC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC5DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,+DAA8DF,GAAI,mEAA3F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,0BAA/F,EAA2HC,cAA3H,CAAJ;AACAJ,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,0BAArG,EAAiIE,oBAAjI,CAAJ;AACAL,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,0BAAhG,EAA4HG,eAA5H,CAAJ;AACAN,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,0BAAhG,EAA4HI,eAA5H,CAAJ;AACAP,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,0BAA9F,EAA0HK,aAA1H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDisciplinePartners from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoubleAuthors from './fixtures/double-authors';\nimport fixtureMoreInfo from './fixtures/more-info';\nimport fixtureNoAuthor from './fixtures/no-author';\nimport fixtureNosite from './fixtures/nosite';\n\ntest('Molecule › MoleculeDisciplinePartners > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDisciplinePartners.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDisciplinePartners.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDisciplinePartners › Default › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureDefault);\ntest('Molecule › MoleculeDisciplinePartners › DoubleAuthors › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureDoubleAuthors);\ntest('Molecule › MoleculeDisciplinePartners › MoreInfo › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureMoreInfo);\ntest('Molecule › MoleculeDisciplinePartners › NoAuthor › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureNoAuthor);\ntest('Molecule › MoleculeDisciplinePartners › Nosite › should be rendered', renderComponentMacro, MoleculeDisciplinePartners, fixtureNosite);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDisciplineScope from '..';
|
|
5
|
+
import fixtureArabic from './fixtures/arabic';
|
|
6
|
+
import fixtureAudio from './fixtures/audio';
|
|
7
|
+
import fixtureDefault from './fixtures/default';
|
|
8
|
+
import fixtureEmpty from './fixtures/empty';
|
|
9
|
+
import fixtureMedias from './fixtures/medias';
|
|
10
|
+
import fixturePdf from './fixtures/pdf';
|
|
11
|
+
import fixtureVimeo from './fixtures/vimeo';
|
|
12
|
+
import fixtureWithOnclick from './fixtures/with-onclick';
|
|
13
|
+
test('Molecule › MoleculeDisciplineScope > should have valid propTypes', t => {
|
|
14
|
+
t.pass();
|
|
15
|
+
forEach(MoleculeDisciplineScope.propTypes, (value, key) => {
|
|
16
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeDisciplineScope.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
test('Molecule › MoleculeDisciplineScope › Arabic › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureArabic);
|
|
20
|
+
test('Molecule › MoleculeDisciplineScope › Audio › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureAudio);
|
|
21
|
+
test('Molecule › MoleculeDisciplineScope › Default › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureDefault);
|
|
22
|
+
test('Molecule › MoleculeDisciplineScope › Empty › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureEmpty);
|
|
23
|
+
test('Molecule › MoleculeDisciplineScope › Medias › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureMedias);
|
|
24
|
+
test('Molecule › MoleculeDisciplineScope › Pdf › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixturePdf);
|
|
25
|
+
test('Molecule › MoleculeDisciplineScope › Vimeo › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureVimeo);
|
|
26
|
+
test('Molecule › MoleculeDisciplineScope › WithOnclick › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureWithOnclick);
|
|
27
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/discipline-scope/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDisciplineScope","fixtureArabic","fixtureAudio","fixtureDefault","fixtureEmpty","fixtureMedias","fixturePdf","fixtureVimeo","fixtureWithOnclick","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,uBAAP,MAAoC,IAApC;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AAEAX,IAAI,CAAC,kEAAD,EAAqEY,CAAC,IAAI;AAC5EA,EAAAA,CAAC,CAACC,IAAF;AACAZ,EAAAA,OAAO,CAACE,uBAAuB,CAACW,SAAzB,EAAoC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACzDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,4DAA2DF,GAAI,mEAAxF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAhB,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,uBAA3F,EAAoHC,aAApH,CAAJ;AACAJ,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,uBAA1F,EAAmHE,YAAnH,CAAJ;AACAL,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,uBAA5F,EAAqHG,cAArH,CAAJ;AACAN,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,uBAA1F,EAAmHI,YAAnH,CAAJ;AACAP,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,uBAA3F,EAAoHK,aAApH,CAAJ;AACAR,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,uBAAxF,EAAiHM,UAAjH,CAAJ;AACAT,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,uBAA1F,EAAmHO,YAAnH,CAAJ;AACAV,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,uBAAhG,EAAyHQ,kBAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDisciplineScope from '..';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureAudio from './fixtures/audio';\nimport fixtureDefault from './fixtures/default';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureMedias from './fixtures/medias';\nimport fixturePdf from './fixtures/pdf';\nimport fixtureVimeo from './fixtures/vimeo';\nimport fixtureWithOnclick from './fixtures/with-onclick';\n\ntest('Molecule › MoleculeDisciplineScope > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDisciplineScope.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDisciplineScope.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDisciplineScope › Arabic › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureArabic);\ntest('Molecule › MoleculeDisciplineScope › Audio › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureAudio);\ntest('Molecule › MoleculeDisciplineScope › Default › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureDefault);\ntest('Molecule › MoleculeDisciplineScope › Empty › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureEmpty);\ntest('Molecule › MoleculeDisciplineScope › Medias › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureMedias);\ntest('Molecule › MoleculeDisciplineScope › Pdf › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixturePdf);\ntest('Molecule › MoleculeDisciplineScope › Vimeo › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureVimeo);\ntest('Molecule › MoleculeDisciplineScope › WithOnclick › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureWithOnclick);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import test from 'ava';
|
|
2
|
+
import forEach from 'lodash/forEach';
|
|
3
|
+
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
+
import MoleculeDragAndDrop from '..';
|
|
5
|
+
import fixtureDefault from './fixtures/default';
|
|
6
|
+
import fixtureError from './fixtures/error';
|
|
7
|
+
import fixtureLoading from './fixtures/loading';
|
|
8
|
+
import fixtureReadyInvalid from './fixtures/ready-invalid';
|
|
9
|
+
import fixtureReady from './fixtures/ready';
|
|
10
|
+
import fixtureSuccessVideo from './fixtures/success-video';
|
|
11
|
+
import fixtureSuccess from './fixtures/success';
|
|
12
|
+
test('Molecule › MoleculeDragAndDrop > should have valid propTypes', t => {
|
|
13
|
+
t.pass();
|
|
14
|
+
forEach(MoleculeDragAndDrop.propTypes, (value, key) => {
|
|
15
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeDragAndDrop.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
test('Molecule › MoleculeDragAndDrop › Default › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureDefault);
|
|
19
|
+
test('Molecule › MoleculeDragAndDrop › Error › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureError);
|
|
20
|
+
test('Molecule › MoleculeDragAndDrop › Loading › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureLoading);
|
|
21
|
+
test('Molecule › MoleculeDragAndDrop › ReadyInvalid › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureReadyInvalid);
|
|
22
|
+
test('Molecule › MoleculeDragAndDrop › Ready › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureReady);
|
|
23
|
+
test('Molecule › MoleculeDragAndDrop › SuccessVideo › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureSuccessVideo);
|
|
24
|
+
test('Molecule › MoleculeDragAndDrop › Success › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureSuccess);
|
|
25
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/drag-and-drop/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeDragAndDrop","fixtureDefault","fixtureError","fixtureLoading","fixtureReadyInvalid","fixtureReady","fixtureSuccessVideo","fixtureSuccess","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,mBAAP,MAAgC,IAAhC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAV,IAAI,CAAC,8DAAD,EAAiEW,CAAC,IAAI;AACxEA,EAAAA,CAAC,CAACC,IAAF;AACAX,EAAAA,OAAO,CAACE,mBAAmB,CAACU,SAArB,EAAgC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACrDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,wDAAuDF,GAAI,mEAApF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAf,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,mBAAxF,EAA6GC,cAA7G,CAAJ;AACAJ,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,mBAAtF,EAA2GE,YAA3G,CAAJ;AACAL,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,mBAAxF,EAA6GG,cAA7G,CAAJ;AACAN,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,mBAA7F,EAAkHI,mBAAlH,CAAJ;AACAP,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,mBAAtF,EAA2GK,YAA3G,CAAJ;AACAR,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,mBAA7F,EAAkHM,mBAAlH,CAAJ;AACAT,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,mBAAxF,EAA6GO,cAA7G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDragAndDrop from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureError from './fixtures/error';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureReadyInvalid from './fixtures/ready-invalid';\nimport fixtureReady from './fixtures/ready';\nimport fixtureSuccessVideo from './fixtures/success-video';\nimport fixtureSuccess from './fixtures/success';\n\ntest('Molecule › MoleculeDragAndDrop > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDragAndDrop.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDragAndDrop.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDragAndDrop › Default › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureDefault);\ntest('Molecule › MoleculeDragAndDrop › Error › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureError);\ntest('Molecule › MoleculeDragAndDrop › Loading › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureLoading);\ntest('Molecule › MoleculeDragAndDrop › ReadyInvalid › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureReadyInvalid);\ntest('Molecule › MoleculeDragAndDrop › Ready › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureReady);\ntest('Molecule › MoleculeDragAndDrop › SuccessVideo › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureSuccessVideo);\ntest('Molecule › MoleculeDragAndDrop › Success › should be rendered', renderComponentMacro, MoleculeDragAndDrop, fixtureSuccess);\n"],"file":"fixtures.js"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import _map from "lodash/fp/map";
|
|
2
|
-
|
|
3
|
-
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); }
|
|
4
|
-
|
|
5
2
|
import React from 'react';
|
|
6
3
|
import PropTypes from 'prop-types';
|
|
7
|
-
import
|
|
8
|
-
import CheckboxWithTitle from '../../atom/checkbox-with-title';
|
|
4
|
+
import ImageUpload from '../../atom/image-upload';
|
|
9
5
|
import style from './style.css';
|
|
10
6
|
|
|
11
7
|
const DragAndDropWrapper = props => {
|
|
12
8
|
const {
|
|
13
9
|
list = [],
|
|
14
|
-
checkBoxTitle,
|
|
15
10
|
'data-name': dataName
|
|
16
11
|
} = props;
|
|
17
12
|
|
|
@@ -19,20 +14,17 @@ const DragAndDropWrapper = props => {
|
|
|
19
14
|
return /*#__PURE__*/React.createElement("li", {
|
|
20
15
|
className: style.dragAndDrop,
|
|
21
16
|
key: `dragAndDrop-${dragAndDropProps.title}`
|
|
22
|
-
}, /*#__PURE__*/React.createElement(
|
|
17
|
+
}, /*#__PURE__*/React.createElement(ImageUpload, dragAndDropProps));
|
|
23
18
|
}, list);
|
|
24
19
|
|
|
25
|
-
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("
|
|
26
|
-
className: style.title
|
|
27
|
-
}, /*#__PURE__*/React.createElement(CheckboxWithTitle, checkBoxTitle)), /*#__PURE__*/React.createElement("ul", {
|
|
20
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("ul", {
|
|
28
21
|
className: style.group,
|
|
29
22
|
"data-name": dataName
|
|
30
23
|
}, dragAndDropList));
|
|
31
24
|
};
|
|
32
25
|
|
|
33
26
|
DragAndDropWrapper.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
34
|
-
list: PropTypes.arrayOf(PropTypes.shape(
|
|
35
|
-
checkBoxTitle: PropTypes.shape(_extends({}, CheckboxWithTitle.propTypes)),
|
|
27
|
+
list: PropTypes.arrayOf(PropTypes.shape(ImageUpload.propTypes)),
|
|
36
28
|
'data-name': PropTypes.string
|
|
37
29
|
} : {};
|
|
38
30
|
export default DragAndDropWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/molecule/drag-and-drop-wrapper/index.js"],"names":["React","PropTypes","
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/drag-and-drop-wrapper/index.js"],"names":["React","PropTypes","ImageUpload","style","DragAndDropWrapper","props","list","dataName","dragAndDropList","dragAndDropProps","dragAndDrop","title","group","propTypes","arrayOf","shape","string"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,kBAAkB,GAAGC,KAAK,IAAI;AAClC,QAAM;AAACC,IAAAA,IAAI,GAAG,EAAR;AAAY,iBAAaC;AAAzB,MAAqCF,KAA3C;;AAEA,QAAMG,eAAe,GAAG,KAAIC,gBAAgB,IAAI;AAC9C,wBACE;AAAI,MAAA,SAAS,EAAEN,KAAK,CAACO,WAArB;AAAkC,MAAA,GAAG,EAAG,eAAcD,gBAAgB,CAACE,KAAM;AAA7E,oBACE,oBAAC,WAAD,EAAiBF,gBAAjB,CADF,CADF;AAKD,GANuB,EAMrBH,IANqB,CAAxB;;AAQA,sBACE,8CACE;AAAI,IAAA,SAAS,EAAEH,KAAK,CAACS,KAArB;AAA4B,iBAAWL;AAAvC,KACGC,eADH,CADF,CADF;AAOD,CAlBD;;AAoBAJ,kBAAkB,CAACS,SAAnB,2CAA+B;AAC7BP,EAAAA,IAAI,EAAEL,SAAS,CAACa,OAAV,CAAkBb,SAAS,CAACc,KAAV,CAAgBb,WAAW,CAACW,SAA5B,CAAlB,CADuB;AAE7B,eAAaZ,SAAS,CAACe;AAFM,CAA/B;AAKA,eAAeZ,kBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport ImageUpload from '../../atom/image-upload';\nimport style from './style.css';\n\nconst DragAndDropWrapper = props => {\n const {list = [], 'data-name': dataName} = props;\n\n const dragAndDropList = map(dragAndDropProps => {\n return (\n <li className={style.dragAndDrop} key={`dragAndDrop-${dragAndDropProps.title}`}>\n <ImageUpload {...dragAndDropProps} />\n </li>\n );\n }, list);\n\n return (\n <div>\n <ul className={style.group} data-name={dataName}>\n {dragAndDropList}\n </ul>\n </div>\n );\n};\n\nDragAndDropWrapper.propTypes = {\n list: PropTypes.arrayOf(PropTypes.shape(ImageUpload.propTypes)),\n 'data-name': PropTypes.string\n};\n\nexport default DragAndDropWrapper;\n"],"file":"index.js"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
import firstdDragAndDrop from '../../../../atom/
|
|
4
|
-
import checkBoxTitle from '../../../../atom/checkbox-with-title/test/fixtures/checked';
|
|
3
|
+
import firstdDragAndDrop from '../../../../atom/image-upload/test/fixtures/default';
|
|
5
4
|
export default {
|
|
6
5
|
props: {
|
|
7
|
-
checkBoxTitle: _extends(_extends({}, checkBoxTitle.props), {}, {
|
|
8
|
-
title: 'Create badge'
|
|
9
|
-
}),
|
|
10
6
|
list: [_extends(_extends({}, firstdDragAndDrop.props), {}, {
|
|
11
7
|
title: 'Add a badge'
|
|
12
8
|
})]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/molecule/drag-and-drop-wrapper/test/fixtures/default.js"],"names":["firstdDragAndDrop","
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/drag-and-drop-wrapper/test/fixtures/default.js"],"names":["firstdDragAndDrop","props","list","title"],"mappings":";;AAAA,OAAOA,iBAAP,MAA8B,qDAA9B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,uBAAKF,iBAAiB,CAACC,KAAvB;AAA8BE,MAAAA,KAAK,EAAE;AAArC;AADD;AADM,CAAf","sourcesContent":["import firstdDragAndDrop from '../../../../atom/image-upload/test/fixtures/default';\n\nexport default {\n props: {\n list: [{...firstdDragAndDrop.props, title: 'Add a badge'}]\n }\n};\n"],"file":"default.js"}
|
|
@@ -3,14 +3,15 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
import firstdDragAndDrop from '../../../../atom/drag-and-drop/test/fixtures/default';
|
|
4
4
|
import secondDragAndDrop from '../../../../atom/drag-and-drop/test/fixtures/clean-and-modified';
|
|
5
5
|
import checkBoxTitle from '../../../../atom/checkbox-with-title/test/fixtures/checked';
|
|
6
|
+
import dragAndDrop from '../../../../atom/image-upload/test/fixtures/default';
|
|
6
7
|
export default {
|
|
7
8
|
props: {
|
|
8
9
|
checkBoxTitle: _extends(_extends({}, checkBoxTitle.props), {}, {
|
|
9
10
|
title: 'Create diploma'
|
|
10
11
|
}),
|
|
11
|
-
list: [_extends(_extends({}, firstdDragAndDrop.props), {}, {
|
|
12
|
+
list: [_extends(_extends(_extends({}, dragAndDrop.props), firstdDragAndDrop.props), {}, {
|
|
12
13
|
title: 'Upload Company logo'
|
|
13
|
-
}), _extends(_extends({}, secondDragAndDrop.props), {}, {
|
|
14
|
+
}), _extends(_extends(_extends({}, dragAndDrop.props), secondDragAndDrop.props), {}, {
|
|
14
15
|
title: 'Upload digital signature'
|
|
15
16
|
})]
|
|
16
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js"],"names":["firstdDragAndDrop","secondDragAndDrop","checkBoxTitle","props","title","list"],"mappings":";;AAAA,OAAOA,iBAAP,MAA8B,sDAA9B;AACA,OAAOC,iBAAP,MAA8B,iEAA9B;AACA,OAAOC,aAAP,MAA0B,4DAA1B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/drag-and-drop-wrapper/test/fixtures/two-drag-and-drops.js"],"names":["firstdDragAndDrop","secondDragAndDrop","checkBoxTitle","dragAndDrop","props","title","list"],"mappings":";;AAAA,OAAOA,iBAAP,MAA8B,sDAA9B;AACA,OAAOC,iBAAP,MAA8B,iEAA9B;AACA,OAAOC,aAAP,MAA0B,4DAA1B;AACA,OAAOC,WAAP,MAAwB,qDAAxB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLF,IAAAA,aAAa,wBAAMA,aAAa,CAACE,KAApB;AAA2BC,MAAAA,KAAK,EAAE;AAAlC,MADR;AAELC,IAAAA,IAAI,EAAE,gCACAH,WAAW,CAACC,KADZ,GACsBJ,iBAAiB,CAACI,KADxC;AAC+CC,MAAAA,KAAK,EAAE;AADtD,uCAEAF,WAAW,CAACC,KAFZ,GAEsBH,iBAAiB,CAACG,KAFxC;AAE+CC,MAAAA,KAAK,EAAE;AAFtD;AAFD;AADM,CAAf","sourcesContent":["import firstdDragAndDrop from '../../../../atom/drag-and-drop/test/fixtures/default';\nimport secondDragAndDrop from '../../../../atom/drag-and-drop/test/fixtures/clean-and-modified';\nimport checkBoxTitle from '../../../../atom/checkbox-with-title/test/fixtures/checked';\nimport dragAndDrop from '../../../../atom/image-upload/test/fixtures/default';\n\nexport default {\n props: {\n checkBoxTitle: {...checkBoxTitle.props, title: 'Create diploma'},\n list: [\n {...dragAndDrop.props, ...firstdDragAndDrop.props, title: 'Upload Company logo'},\n {...dragAndDrop.props, ...secondDragAndDrop.props, title: 'Upload digital signature'}\n ]\n }\n};\n"],"file":"two-drag-and-drops.js"}
|