@coorpacademy/components 10.7.0 → 10.7.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 +0 -0
- package/es/atom/avatar/test/fixtures.js +0 -0
- package/es/atom/button/test/fixtures.js +0 -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 +0 -0
- package/es/atom/centered-text/test/fixtures.js +0 -0
- package/es/atom/checkbox/test/fixtures.js +0 -0
- package/es/atom/clue/test/fixtures.js +0 -0
- package/es/atom/cta/test/fixtures.js +0 -0
- package/es/atom/difficulty-level/test/fixtures.js +0 -0
- package/es/atom/drag-and-drop/test/fixtures.js +0 -0
- package/es/atom/image-upload/test/fixtures.js +0 -0
- package/es/atom/input-checkbox/test/fixtures.js +0 -0
- package/es/atom/input-color/test/fixtures.js +0 -0
- package/es/atom/input-doublestep/test/fixtures.js +0 -0
- package/es/atom/input-html/test/fixtures.js +0 -0
- package/es/atom/input-readonly/test/fixtures.js +0 -0
- package/es/atom/input-switch/test/fixtures.js +0 -0
- package/es/atom/input-text/test/fixtures.js +0 -0
- package/es/atom/input-textarea/test/fixtures.js +0 -0
- package/es/atom/label/test/fixtures.js +0 -0
- package/es/atom/life/test/fixtures.js +0 -0
- package/es/atom/link/test/fixtures.js +0 -0
- package/es/atom/loader/test/fixtures.js +0 -0
- package/es/atom/notification/test/fixtures.js +0 -0
- package/es/atom/picture/test/fixtures.js +0 -0
- package/es/atom/picture-background/test/fixtures.js +0 -0
- package/es/atom/promo-code/test/fixtures.js +0 -0
- package/es/atom/provider/test/fixtures.js +0 -0
- package/es/atom/radio-group/test/fixtures.js +0 -0
- package/es/atom/range/test/fixtures.js +0 -0
- package/es/atom/resource-miniature/test/fixtures.js +0 -0
- package/es/atom/select/test/fixtures.js +0 -0
- package/es/atom/slide/test/fixtures.js +0 -0
- package/es/atom/social-link/test/fixtures.js +0 -0
- package/es/atom/spinner/test/fixtures.js +0 -0
- package/es/atom/tab/test/fixtures.js +0 -0
- package/es/atom/tab-content/test/fixtures.js +0 -0
- package/es/atom/tag/index.js +1 -1
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/title/test/fixtures.js +0 -0
- package/es/atom/video-upload/test/fixtures.js +0 -0
- package/es/hoc/animation/test/fixtures.js +0 -0
- package/es/hoc/animation-scheduler/test/fixtures.js +0 -0
- package/es/hoc/swapper/test/fixtures.js +0 -0
- package/es/hoc/transition/test/fixtures.js +0 -0
- package/es/molecule/add-to-my-list/test/fixtures.js +0 -0
- package/es/molecule/answer/test/fixtures.js +0 -0
- package/es/molecule/audio/test/fixtures.js +0 -0
- package/es/molecule/battle-request/test/fixtures.js +0 -0
- package/es/molecule/brand-card/test/fixtures.js +0 -0
- package/es/molecule/brand-card-create/test/fixtures.js +0 -0
- package/es/molecule/brand-create-form/test/fixtures.js +0 -0
- package/es/molecule/brand-download-box/test/fixtures.js +0 -0
- package/es/molecule/brand-form-group/test/fixtures.js +0 -0
- package/es/molecule/brand-tabs/test/fixtures.js +0 -0
- package/es/molecule/brand-upload-box/test/fixtures.js +0 -0
- package/es/molecule/breadcrumbs/test/fixtures.js +0 -0
- package/es/molecule/card/test/fixtures.js +0 -0
- package/es/molecule/card-content/test/fixtures.js +0 -0
- package/es/molecule/card-with-button/test/fixtures.js +0 -0
- package/es/molecule/cookie-banner/test/fixtures.js +0 -0
- package/es/molecule/course-section/test/fixtures.js +15 -0
- package/es/molecule/course-section/test/fixtures.js.map +1 -0
- package/es/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
- package/es/molecule/dashboard/cards-list/test/fixtures.js +0 -0
- package/es/molecule/dashboard/news-list/test/fixtures.js +0 -0
- package/es/molecule/dashboard/start-battle/test/fixtures.js +0 -0
- package/es/molecule/discipline-cta/test/fixtures.js +0 -0
- package/es/molecule/discipline-header/test/fixtures.js +0 -0
- package/es/molecule/discipline-partners/test/fixtures.js +0 -0
- package/es/molecule/discipline-scope/test/fixtures.js +0 -0
- package/es/molecule/drag-and-drop/test/fixtures.js +0 -0
- package/es/molecule/draggable/test/fixtures.js +13 -0
- package/es/molecule/draggable/test/fixtures.js.map +1 -0
- package/es/molecule/draggable-list/test/fixtures.js +13 -0
- package/es/molecule/draggable-list/test/fixtures.js.map +1 -0
- package/es/molecule/external-content-button/test/fixtures.js +0 -0
- package/es/molecule/external-content-viewer/test/fixtures.js +0 -0
- package/es/molecule/feedback/test/fixtures.js +0 -0
- package/es/molecule/filters/test/fixtures.js +0 -0
- package/es/molecule/forum/forum-comment/test/fixtures.js +0 -0
- package/es/molecule/forum/forum-post/test/fixtures.js +0 -0
- package/es/molecule/forum/forum-thread/test/fixtures.js +0 -0
- package/es/molecule/hero/test/fixtures.js +0 -0
- package/es/molecule/login-alert/test/fixtures.js +0 -0
- package/es/molecule/menu-list/test/fixtures.js +0 -0
- package/es/molecule/message-popin/test/fixtures.js +0 -0
- package/es/molecule/modal/test/fixtures.js +0 -0
- package/es/molecule/module-bubble/test/fixtures.js +0 -0
- package/es/molecule/module-card/test/fixtures.js +0 -0
- package/es/molecule/news/test/fixtures.js +0 -0
- package/es/molecule/notification-banner/test/fixtures.js +0 -0
- package/es/molecule/pagination/test/fixtures.js +0 -0
- package/es/molecule/payment-form/test/fixtures.js +0 -0
- package/es/molecule/pdf/test/fixtures.js +0 -0
- package/es/molecule/product-card/test/fixtures.js +0 -0
- package/es/molecule/progress-bar/test/fixtures.js +0 -0
- package/es/molecule/questions/drop-down/test/fixtures.js +0 -0
- package/es/molecule/questions/free-text/test/fixtures.js +0 -0
- package/es/molecule/questions/qcm/test/fixtures.js +0 -0
- package/es/molecule/questions/qcm-drag/test/fixtures.js +0 -0
- package/es/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
- package/es/molecule/questions/question-range/test/fixtures.js +0 -0
- package/es/molecule/questions/template/test/fixtures.js +0 -0
- package/es/molecule/resource-player/test/fixtures.js +0 -0
- package/es/molecule/scope-content/test/fixtures.js +0 -0
- package/es/molecule/scope-tabs/test/fixtures.js +0 -0
- package/es/molecule/search/test/fixtures.js +0 -0
- package/es/molecule/search-form/test/fixtures.js +0 -0
- package/es/molecule/select-multiple/test/fixtures.js +0 -0
- package/es/molecule/setup-cohort-item/test/fixtures.js +0 -0
- package/es/molecule/setup-section/test/fixtures.js +0 -0
- package/es/molecule/setup-sections/test/fixtures.js +0 -0
- package/es/molecule/setup-slide/test/fixtures.js +0 -0
- package/es/molecule/setup-slider/test/fixtures.js +0 -0
- package/es/molecule/share/test/fixtures.js +0 -0
- package/es/molecule/ssmenu-list/test/fixtures.js +0 -0
- package/es/molecule/subscription-freemium/test/fixtures.js +0 -0
- package/es/molecule/subscription-premium/test/fixtures.js +0 -0
- package/es/molecule/table/test/fixtures.js +0 -0
- package/es/molecule/teams-popin/test/fixtures.js +0 -0
- package/es/molecule/theme-image/test/fixtures.js +0 -0
- package/es/molecule/titled-checkbox/test/fixtures.js +0 -0
- package/es/molecule/unsubscribe/test/fixtures.js +0 -0
- package/es/molecule/video-iframe/test/fixtures.js +0 -0
- package/es/molecule/video-player/test/fixtures.js +0 -0
- package/es/organism/accordion/container/test/fixtures.js +0 -0
- package/es/organism/accordion/part/test/fixtures.js +0 -0
- package/es/organism/accordion/toggler/test/fixtures.js +0 -0
- package/es/organism/brand-dashboard/test/fixtures.js +0 -0
- package/es/organism/brand-form/test/fixtures.js +0 -0
- package/es/organism/brand-table/test/fixtures.js +0 -0
- package/es/organism/brand-upload/test/fixtures.js +0 -0
- package/es/organism/cards-grid/test/fixtures.js +0 -0
- package/es/organism/cart/test/fixtures.js +0 -0
- package/es/organism/discussion/test/fixtures.js +0 -0
- package/es/organism/get-the-app/test/fixtures.js +0 -0
- package/es/organism/grid-list/test/fixtures.js +0 -0
- package/es/organism/header/test/fixtures.js +0 -0
- package/es/organism/hero/test/fixtures.js +0 -0
- package/es/organism/list-items/index.js +2 -2
- package/es/organism/list-items/index.js.map +1 -1
- package/es/organism/mooc/image-slider/test/fixtures.js +0 -0
- package/es/organism/mooc-footer/test/fixtures.js +0 -0
- package/es/organism/mooc-header/test/fixtures.js +0 -0
- package/es/organism/playlist-translation/test/fixtures.js +15 -0
- package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/es/organism/popin/test/fixtures.js +0 -0
- package/es/organism/resource-browser/test/fixtures.js +0 -0
- package/es/organism/settings/test/fixtures.js +0 -0
- package/es/organism/setup-header/test/fixtures.js +0 -0
- package/es/organism/sidebar/test/fixtures.js +0 -0
- package/es/organism/slider/test/fixtures.js +0 -0
- package/es/organism/user-preferences/test/fixtures.js +0 -0
- package/es/organism/wizard-contents/index.js +2 -2
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/template/activity/test/fixtures.js +0 -0
- package/es/template/app-player/loading/test/fixtures.js +0 -0
- package/es/template/app-player/player/slides/footer/test/fixtures.js +0 -0
- package/es/template/app-player/player/slides/header/test/fixtures.js +0 -0
- package/es/template/app-player/player/slides/test/fixtures.js +0 -0
- package/es/template/app-player/player/test/fixtures.js +0 -0
- package/es/template/app-player/popin-correction/test/fixtures.js +0 -0
- package/es/template/app-player/popin-end/test/fixtures.js +0 -0
- package/es/template/app-player/popin-header/test/fixtures.js +0 -0
- package/es/template/back-office/brand-create/test/fixtures.js +0 -0
- package/es/template/back-office/brand-list/test/fixtures.js +0 -0
- package/es/template/back-office/brand-update/test/fixtures.js +0 -0
- package/es/template/back-office/dashboard-preview/test/fixtures.js +0 -0
- package/es/template/battle-requests/test/fixtures.js +0 -0
- package/es/template/cockpit/jw-uploader/test/fixtures.js +0 -0
- package/es/template/common/authors/test/fixtures.js +0 -0
- package/es/template/common/coorp-header/test/fixtures.js +0 -0
- package/es/template/common/dashboard/test/fixtures.js +0 -0
- package/es/template/common/discipline/test/fixtures.js +0 -0
- package/es/template/common/search-page/test/fixtures.js +0 -0
- package/es/template/external-course/test/fixtures.js +0 -0
- package/es/template/teams-dashboard/test/fixtures.js +0 -0
- package/lib/atom/autocomplete/test/fixtures.js +0 -0
- package/lib/atom/avatar/test/fixtures.js +0 -0
- package/lib/atom/button/test/fixtures.js +0 -0
- package/lib/atom/card-image-preview/test/fixtures.js +25 -0
- package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
- package/lib/atom/catalog-section/test/fixtures.js +0 -0
- package/lib/atom/centered-text/test/fixtures.js +0 -0
- package/lib/atom/checkbox/test/fixtures.js +0 -0
- package/lib/atom/clue/test/fixtures.js +0 -0
- package/lib/atom/cta/test/fixtures.js +0 -0
- package/lib/atom/difficulty-level/test/fixtures.js +0 -0
- package/lib/atom/drag-and-drop/test/fixtures.js +0 -0
- package/lib/atom/image-upload/test/fixtures.js +0 -0
- package/lib/atom/input-checkbox/test/fixtures.js +0 -0
- package/lib/atom/input-color/test/fixtures.js +0 -0
- package/lib/atom/input-doublestep/test/fixtures.js +0 -0
- package/lib/atom/input-html/test/fixtures.js +0 -0
- package/lib/atom/input-readonly/test/fixtures.js +0 -0
- package/lib/atom/input-switch/test/fixtures.js +0 -0
- package/lib/atom/input-text/test/fixtures.js +0 -0
- package/lib/atom/input-textarea/test/fixtures.js +0 -0
- package/lib/atom/label/test/fixtures.js +0 -0
- package/lib/atom/life/test/fixtures.js +0 -0
- package/lib/atom/link/test/fixtures.js +0 -0
- package/lib/atom/loader/test/fixtures.js +0 -0
- package/lib/atom/notification/test/fixtures.js +0 -0
- package/lib/atom/picture/test/fixtures.js +0 -0
- package/lib/atom/picture-background/test/fixtures.js +0 -0
- package/lib/atom/promo-code/test/fixtures.js +0 -0
- package/lib/atom/provider/test/fixtures.js +0 -0
- package/lib/atom/radio-group/test/fixtures.js +0 -0
- package/lib/atom/range/test/fixtures.js +0 -0
- package/lib/atom/resource-miniature/test/fixtures.js +0 -0
- package/lib/atom/select/test/fixtures.js +0 -0
- package/lib/atom/slide/test/fixtures.js +0 -0
- package/lib/atom/social-link/test/fixtures.js +0 -0
- package/lib/atom/spinner/test/fixtures.js +0 -0
- package/lib/atom/tab/test/fixtures.js +0 -0
- package/lib/atom/tab-content/test/fixtures.js +0 -0
- package/lib/atom/tag/index.js +1 -1
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/title/test/fixtures.js +0 -0
- package/lib/atom/video-upload/test/fixtures.js +0 -0
- package/lib/hoc/animation/test/fixtures.js +0 -0
- package/lib/hoc/animation-scheduler/test/fixtures.js +0 -0
- package/lib/hoc/swapper/test/fixtures.js +0 -0
- package/lib/hoc/transition/test/fixtures.js +0 -0
- package/lib/molecule/add-to-my-list/test/fixtures.js +0 -0
- package/lib/molecule/answer/test/fixtures.js +0 -0
- package/lib/molecule/audio/test/fixtures.js +0 -0
- package/lib/molecule/battle-request/test/fixtures.js +0 -0
- package/lib/molecule/brand-card/test/fixtures.js +0 -0
- package/lib/molecule/brand-card-create/test/fixtures.js +0 -0
- package/lib/molecule/brand-create-form/test/fixtures.js +0 -0
- package/lib/molecule/brand-download-box/test/fixtures.js +0 -0
- package/lib/molecule/brand-form-group/test/fixtures.js +0 -0
- package/lib/molecule/brand-tabs/test/fixtures.js +0 -0
- package/lib/molecule/brand-upload-box/test/fixtures.js +0 -0
- package/lib/molecule/breadcrumbs/test/fixtures.js +0 -0
- package/lib/molecule/card/test/fixtures.js +0 -0
- package/lib/molecule/card-content/test/fixtures.js +0 -0
- package/lib/molecule/card-with-button/test/fixtures.js +0 -0
- package/lib/molecule/cookie-banner/test/fixtures.js +0 -0
- package/lib/molecule/course-section/test/fixtures.js +25 -0
- package/lib/molecule/course-section/test/fixtures.js.map +1 -0
- package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
- package/lib/molecule/dashboard/cards-list/test/fixtures.js +0 -0
- package/lib/molecule/dashboard/news-list/test/fixtures.js +0 -0
- package/lib/molecule/dashboard/start-battle/test/fixtures.js +0 -0
- package/lib/molecule/discipline-cta/test/fixtures.js +0 -0
- package/lib/molecule/discipline-header/test/fixtures.js +0 -0
- package/lib/molecule/discipline-partners/test/fixtures.js +0 -0
- package/lib/molecule/discipline-scope/test/fixtures.js +0 -0
- package/lib/molecule/drag-and-drop/test/fixtures.js +0 -0
- package/lib/molecule/draggable/test/fixtures.js +22 -0
- package/lib/molecule/draggable/test/fixtures.js.map +1 -0
- package/lib/molecule/draggable-list/test/fixtures.js +22 -0
- package/lib/molecule/draggable-list/test/fixtures.js.map +1 -0
- package/lib/molecule/external-content-button/test/fixtures.js +0 -0
- package/lib/molecule/external-content-viewer/test/fixtures.js +0 -0
- package/lib/molecule/feedback/test/fixtures.js +0 -0
- package/lib/molecule/filters/test/fixtures.js +0 -0
- package/lib/molecule/forum/forum-comment/test/fixtures.js +0 -0
- package/lib/molecule/forum/forum-post/test/fixtures.js +0 -0
- package/lib/molecule/forum/forum-thread/test/fixtures.js +0 -0
- package/lib/molecule/hero/test/fixtures.js +0 -0
- package/lib/molecule/login-alert/test/fixtures.js +0 -0
- package/lib/molecule/menu-list/test/fixtures.js +0 -0
- package/lib/molecule/message-popin/test/fixtures.js +0 -0
- package/lib/molecule/modal/test/fixtures.js +0 -0
- package/lib/molecule/module-bubble/test/fixtures.js +0 -0
- package/lib/molecule/module-card/test/fixtures.js +0 -0
- package/lib/molecule/news/test/fixtures.js +0 -0
- package/lib/molecule/notification-banner/test/fixtures.js +0 -0
- package/lib/molecule/pagination/test/fixtures.js +0 -0
- package/lib/molecule/payment-form/test/fixtures.js +0 -0
- package/lib/molecule/pdf/test/fixtures.js +0 -0
- package/lib/molecule/product-card/test/fixtures.js +0 -0
- package/lib/molecule/progress-bar/test/fixtures.js +0 -0
- package/lib/molecule/questions/drop-down/test/fixtures.js +0 -0
- package/lib/molecule/questions/free-text/test/fixtures.js +0 -0
- package/lib/molecule/questions/qcm/test/fixtures.js +0 -0
- package/lib/molecule/questions/qcm-drag/test/fixtures.js +0 -0
- package/lib/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
- package/lib/molecule/questions/question-range/test/fixtures.js +0 -0
- package/lib/molecule/questions/template/test/fixtures.js +0 -0
- package/lib/molecule/resource-player/test/fixtures.js +0 -0
- package/lib/molecule/scope-content/test/fixtures.js +0 -0
- package/lib/molecule/scope-tabs/test/fixtures.js +0 -0
- package/lib/molecule/search/test/fixtures.js +0 -0
- package/lib/molecule/search-form/test/fixtures.js +0 -0
- package/lib/molecule/select-multiple/test/fixtures.js +0 -0
- package/lib/molecule/setup-cohort-item/test/fixtures.js +0 -0
- package/lib/molecule/setup-section/test/fixtures.js +0 -0
- package/lib/molecule/setup-sections/test/fixtures.js +0 -0
- package/lib/molecule/setup-slide/test/fixtures.js +0 -0
- package/lib/molecule/setup-slider/test/fixtures.js +0 -0
- package/lib/molecule/share/test/fixtures.js +0 -0
- package/lib/molecule/ssmenu-list/test/fixtures.js +0 -0
- package/lib/molecule/subscription-freemium/test/fixtures.js +0 -0
- package/lib/molecule/subscription-premium/test/fixtures.js +0 -0
- package/lib/molecule/table/test/fixtures.js +0 -0
- package/lib/molecule/teams-popin/test/fixtures.js +0 -0
- package/lib/molecule/theme-image/test/fixtures.js +0 -0
- package/lib/molecule/titled-checkbox/test/fixtures.js +0 -0
- package/lib/molecule/unsubscribe/test/fixtures.js +0 -0
- package/lib/molecule/video-iframe/test/fixtures.js +0 -0
- package/lib/molecule/video-player/test/fixtures.js +0 -0
- package/lib/organism/accordion/container/test/fixtures.js +0 -0
- package/lib/organism/accordion/part/test/fixtures.js +0 -0
- package/lib/organism/accordion/toggler/test/fixtures.js +0 -0
- package/lib/organism/brand-dashboard/test/fixtures.js +0 -0
- package/lib/organism/brand-form/test/fixtures.js +0 -0
- package/lib/organism/brand-table/test/fixtures.js +0 -0
- package/lib/organism/brand-upload/test/fixtures.js +0 -0
- package/lib/organism/cards-grid/test/fixtures.js +0 -0
- package/lib/organism/cart/test/fixtures.js +0 -0
- package/lib/organism/discussion/test/fixtures.js +0 -0
- package/lib/organism/get-the-app/test/fixtures.js +0 -0
- package/lib/organism/grid-list/test/fixtures.js +0 -0
- package/lib/organism/header/test/fixtures.js +0 -0
- package/lib/organism/hero/test/fixtures.js +0 -0
- package/lib/organism/list-items/index.js +2 -2
- package/lib/organism/list-items/index.js.map +1 -1
- package/lib/organism/mooc/image-slider/test/fixtures.js +0 -0
- package/lib/organism/mooc-footer/test/fixtures.js +0 -0
- package/lib/organism/mooc-header/test/fixtures.js +0 -0
- package/lib/organism/playlist-translation/test/fixtures.js +25 -0
- package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/lib/organism/popin/test/fixtures.js +0 -0
- package/lib/organism/resource-browser/test/fixtures.js +0 -0
- package/lib/organism/settings/test/fixtures.js +0 -0
- package/lib/organism/setup-header/test/fixtures.js +0 -0
- package/lib/organism/sidebar/test/fixtures.js +0 -0
- package/lib/organism/slider/test/fixtures.js +0 -0
- package/lib/organism/user-preferences/test/fixtures.js +0 -0
- package/lib/organism/wizard-contents/index.js +2 -2
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/template/activity/test/fixtures.js +0 -0
- package/lib/template/app-player/loading/test/fixtures.js +0 -0
- package/lib/template/app-player/player/slides/footer/test/fixtures.js +0 -0
- package/lib/template/app-player/player/slides/header/test/fixtures.js +0 -0
- package/lib/template/app-player/player/slides/test/fixtures.js +0 -0
- package/lib/template/app-player/player/test/fixtures.js +0 -0
- package/lib/template/app-player/popin-correction/test/fixtures.js +0 -0
- package/lib/template/app-player/popin-end/test/fixtures.js +0 -0
- package/lib/template/app-player/popin-header/test/fixtures.js +0 -0
- package/lib/template/back-office/brand-create/test/fixtures.js +0 -0
- package/lib/template/back-office/brand-list/test/fixtures.js +0 -0
- package/lib/template/back-office/brand-update/test/fixtures.js +0 -0
- package/lib/template/back-office/dashboard-preview/test/fixtures.js +0 -0
- package/lib/template/battle-requests/test/fixtures.js +0 -0
- package/lib/template/cockpit/jw-uploader/test/fixtures.js +0 -0
- package/lib/template/common/authors/test/fixtures.js +0 -0
- package/lib/template/common/coorp-header/test/fixtures.js +0 -0
- package/lib/template/common/dashboard/test/fixtures.js +0 -0
- package/lib/template/common/discipline/test/fixtures.js +0 -0
- package/lib/template/common/search-page/test/fixtures.js +0 -0
- package/lib/template/external-course/test/fixtures.js +0 -0
- package/lib/template/teams-dashboard/test/fixtures.js +0 -0
- package/package.json +2 -2
- package/es/molecule/cockpit-popin/test/fixtures.js +0 -17
- package/es/molecule/cockpit-popin/test/fixtures.js.map +0 -1
- package/lib/molecule/cockpit-popin/test/fixtures.js +0 -28
- package/lib/molecule/cockpit-popin/test/fixtures.js.map +0 -1
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -26,7 +26,7 @@ const ListItems = ({
|
|
|
26
26
|
const itemsView = items.map((item, index) => /*#__PURE__*/_react.default.createElement("li", {
|
|
27
27
|
key: item.id,
|
|
28
28
|
className: _style.default.item,
|
|
29
|
-
"data-name": `
|
|
29
|
+
"data-name": `content-${index}`
|
|
30
30
|
}, /*#__PURE__*/_react.default.createElement(_listItem.default, item)));
|
|
31
31
|
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
|
|
32
32
|
className: _style.default.header
|
|
@@ -41,7 +41,7 @@ const ListItems = ({
|
|
|
41
41
|
}, /*#__PURE__*/_react.default.createElement(_buttonLink.default, buttonLink))), /*#__PURE__*/_react.default.createElement("ul", {
|
|
42
42
|
className: _style.default.list,
|
|
43
43
|
"aria-label": ariaLabel,
|
|
44
|
-
"data-name": '
|
|
44
|
+
"data-name": 'content-list'
|
|
45
45
|
}, itemsView));
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","style","header","buttonCreate","list","propTypes","PropTypes","string","shape","ButtonLink","arrayOf","ListItem"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEC,eAAMH,IAAnC;AAAyC,iBAAY,
|
|
1
|
+
{"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","style","header","buttonCreate","list","propTypes","PropTypes","string","shape","ButtonLink","arrayOf","ListItem"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEC,eAAMH,IAAnC;AAAyC,iBAAY,WAAUC,KAAM;AAArE,kBACE,6BAAC,iBAAD,EAAcD,IAAd,CADF,CADgB,CAAlB;AAMA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEG,eAAMC;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAED,eAAMT;AAAtB,kBACE,6BAAC,cAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAES,eAAME;AAAtB,kBACE,6BAAC,mBAAD,EAAgBV,UAAhB,CADF,CAJF,CADF,eASE;AAAI,IAAA,SAAS,EAAEQ,eAAMG,IAArB;AAA2B,kBAAYT,SAAvC;AAAkD,iBAAW;AAA7D,KACGC,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAL,SAAS,CAACc,SAAV,2CAAsB;AACpB,gBAAcC,mBAAUC,MADJ;AAEpBd,EAAAA,UAAU,EAAEa,mBAAUE,KAAV,CAAgBC,oBAAWJ,SAA3B,CAFQ;AAGpBX,EAAAA,KAAK,EAAEY,mBAAUI,OAAV,CAAkBJ,mBAAUE,KAAV,CAAgBG,kBAASN,SAAzB,CAAlB,CAHa;AAIpBb,EAAAA,KAAK,EAAEc,mBAAUC;AAJG,CAAtB;eAOehB,S","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'content-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"file":"index.js"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _ava = _interopRequireDefault(require("ava"));
|
|
4
|
+
|
|
5
|
+
var _forEach = _interopRequireDefault(require("lodash/forEach"));
|
|
6
|
+
|
|
7
|
+
var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
|
|
8
|
+
|
|
9
|
+
var _ = _interopRequireDefault(require(".."));
|
|
10
|
+
|
|
11
|
+
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
12
|
+
|
|
13
|
+
var _delete = _interopRequireDefault(require("./fixtures/delete"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
(0, _ava.default)('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {
|
|
18
|
+
t.pass();
|
|
19
|
+
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
20
|
+
t.not(value, undefined, `PropType for "Organism.OrganismPlaylistTranslation.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
(0, _ava.default)('Organism › OrganismPlaylistTranslation › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
24
|
+
(0, _ava.default)('Organism › OrganismPlaylistTranslation › Delete › should be rendered', _renderComponent.default, _.default, _delete.default);
|
|
25
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/playlist-translation/test/fixtures.js"],"names":["t","pass","OrganismPlaylistTranslation","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureDelete"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,sEAAL,EAA6EA,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA4BC,SAApC,EAA+C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uEAAL,EAA8EG,wBAA9E,EAAoGN,SAApG,EAAiIO,gBAAjI;AACA,kBAAK,sEAAL,EAA6ED,wBAA7E,EAAmGN,SAAnG,EAAgIQ,eAAhI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismPlaylistTranslation from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDelete from './fixtures/delete';\n\ntest('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismPlaylistTranslation.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);\ntest('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);\n"],"file":"fixtures.js"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -49,7 +49,7 @@ const buildHeader = (wizardHeader, steps) => {
|
|
|
49
49
|
className: _style.default.header
|
|
50
50
|
}, /*#__PURE__*/_react.default.createElement(_buttonLinkIconOnly.default, buttonCloseIcon), /*#__PURE__*/_react.default.createElement("div", {
|
|
51
51
|
className: _style.default.headerTitle,
|
|
52
|
-
"data-name": '
|
|
52
|
+
"data-name": 'content-title'
|
|
53
53
|
}, title)), /*#__PURE__*/_react.default.createElement(_wizardSteps.default, {
|
|
54
54
|
steps: steps
|
|
55
55
|
}));
|
|
@@ -139,7 +139,7 @@ const WizardContents = props => {
|
|
|
139
139
|
const footerActionView = buildActionZone(previousStep, nextStep, 'footer');
|
|
140
140
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
141
141
|
className: _style.default.container,
|
|
142
|
-
"data-name": "
|
|
142
|
+
"data-name": "content-summary"
|
|
143
143
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
144
144
|
className: _style.default.leftSection
|
|
145
145
|
}, headerView, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;AAC3C,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAmBH,YAAzB;AAEA,QAAMI,eAAe,GAAG;AACtBC,IAAAA,IAAI,EAAE,OADgB;AAEtB,iBAAa,cAFS;AAGtB,kBAAc,cAHQ;AAItBC,IAAAA,IAAI,EAAE,OAJgB;AAKtBH,IAAAA;AALsB,GAAxB;AAQA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEI,eAAMC;AAAtB,kBACE,6BAAC,2BAAD,EAAwBJ,eAAxB,CADF,eAEE;AAAK,IAAA,SAAS,EAAEG,eAAME,WAAtB;AAAmC,iBAAW;AAA9C,KACGP,KADH,CAFF,CADF,eAOE,6BAAC,oBAAD;AAAa,IAAA,KAAK,EAAED;AAApB,IAPF,CADF;AAWD,CAtBD;;AAwBA,MAAMS,SAAS,GAAGC,OAAO,IAAI;AAC3B,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;;AACA,UAAQC,IAAR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gB,CAAC,WAAD,CAAhB;AAFR,KAL2B,EAS3BV,mBAAUE,KAAV,uBACKU,+BAA8Bb,SADnC;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,aAAD,CAAhB;AAFR,KAT2B,EAa3BV,mBAAUE,KAAV,uBACKW,yBAAgBd,SADrB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,SAAD,CAAhB;AAFR,KAb2B,EAiB3BV,mBAAUE,KAAV,uBACKY,wBAAef,SADpB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,kBAAD,CAAhB;AAFR,KAjB2B,CAApB,CAVgB;AAgCzBnC,EAAAA,YAAY,EAAEyB,mBAAUE,KAAV,CAAgB;AAC5B9B,IAAAA,KAAK,EAAE4B,mBAAUG,MADW;AAE5BjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAFS,GAAhB,CAhCW;AAoCzB5B,EAAAA,QAAQ,EAAEwB,mBAAUE,KAAV,CAAgB;AACxBvC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBtC,IAAAA,KAAK,EAAE4B,mBAAUG,MAFO;AAGxBjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAHK,GAAhB;AApCe,CAA3B;eA2CetB,c","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'custom-playlist-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"custom-playlist-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;AAC3C,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAmBH,YAAzB;AAEA,QAAMI,eAAe,GAAG;AACtBC,IAAAA,IAAI,EAAE,OADgB;AAEtB,iBAAa,cAFS;AAGtB,kBAAc,cAHQ;AAItBC,IAAAA,IAAI,EAAE,OAJgB;AAKtBH,IAAAA;AALsB,GAAxB;AAQA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEI,eAAMC;AAAtB,kBACE,6BAAC,2BAAD,EAAwBJ,eAAxB,CADF,eAEE;AAAK,IAAA,SAAS,EAAEG,eAAME,WAAtB;AAAmC,iBAAW;AAA9C,KACGP,KADH,CAFF,CADF,eAOE,6BAAC,oBAAD;AAAa,IAAA,KAAK,EAAED;AAApB,IAPF,CADF;AAWD,CAtBD;;AAwBA,MAAMS,SAAS,GAAGC,OAAO,IAAI;AAC3B,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;;AACA,UAAQC,IAAR;AACE,SAAK,MAAL;AACE,0BAAO,6BAAC,kBAAD,EAAeD,OAAf,CAAP;;AACF,SAAK,WAAL;AACE,0BAAO,6BAAC,2BAAD,EAAsBA,OAAtB,CAAP;;AACF,SAAK,aAAL;AACE,0BAAO,6BAAC,8BAAD,EAAmCA,OAAnC,CAAP;;AACF,SAAK,SAAL;AACE,0BAAO,6BAAC,wBAAD,EAAqBA,OAArB,CAAP;;AACF,SAAK,kBAAL;AACE,0BAAO,6BAAC,uBAAD,EAAoBA,OAApB,CAAP;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,wBAAef,SADpB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,kBAAD,CAAhB;AAFR,KAjB2B,CAApB,CAVgB;AAgCzBnC,EAAAA,YAAY,EAAEyB,mBAAUE,KAAV,CAAgB;AAC5B9B,IAAAA,KAAK,EAAE4B,mBAAUG,MADW;AAE5BjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAFS,GAAhB,CAhCW;AAoCzB5B,EAAAA,QAAQ,EAAEwB,mBAAUE,KAAV,CAAgB;AACxBvC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBtC,IAAAA,KAAK,EAAE4B,mBAAUG,MAFO;AAGxBjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAHK,GAAhB;AApCe,CAA3B;eA2CetB,c","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"content-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "10.7.
|
|
3
|
+
"version": "10.7.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"webpack-hot-middleware": "^2.25.0"
|
|
120
120
|
},
|
|
121
121
|
"author": "CoorpAcademy",
|
|
122
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "4f7b0eda64d005199d3a23f383deca00f2c93286"
|
|
123
123
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import test from 'ava';
|
|
2
|
-
import forEach from 'lodash/forEach';
|
|
3
|
-
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
-
import MoleculeCockpitPopin from '..';
|
|
5
|
-
import fixtureDefault from './fixtures/default';
|
|
6
|
-
import fixtureLoading from './fixtures/loading';
|
|
7
|
-
import fixtureVideoTranslate from './fixtures/video-translate';
|
|
8
|
-
test('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {
|
|
9
|
-
t.pass();
|
|
10
|
-
forEach(MoleculeCockpitPopin.propTypes, (value, key) => {
|
|
11
|
-
t.not(value, undefined, `PropType for "Molecule.MoleculeCockpitPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
test('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);
|
|
15
|
-
test('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);
|
|
16
|
-
test('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);
|
|
17
|
-
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/cockpit-popin/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCockpitPopin","fixtureDefault","fixtureLoading","fixtureVideoTranslate","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,oBAAP,MAAiC,IAAjC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AAEAN,IAAI,CAAC,+DAAD,EAAkEO,CAAC,IAAI;AACzEA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,oBAAoB,CAACM,SAAtB,EAAiC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yDAAwDF,GAAI,mEAArF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,oBAAzF,EAA+GC,cAA/G,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,oBAAzF,EAA+GE,cAA/G,CAAJ;AACAL,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,oBAAhG,EAAsHG,qBAAtH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCockpitPopin from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureVideoTranslate from './fixtures/video-translate';\n\ntest('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCockpitPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCockpitPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);\ntest('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);\ntest('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);\n"],"file":"fixtures.js"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _ava = _interopRequireDefault(require("ava"));
|
|
4
|
-
|
|
5
|
-
var _forEach = _interopRequireDefault(require("lodash/forEach"));
|
|
6
|
-
|
|
7
|
-
var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
|
|
8
|
-
|
|
9
|
-
var _ = _interopRequireDefault(require(".."));
|
|
10
|
-
|
|
11
|
-
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
12
|
-
|
|
13
|
-
var _loading = _interopRequireDefault(require("./fixtures/loading"));
|
|
14
|
-
|
|
15
|
-
var _videoTranslate = _interopRequireDefault(require("./fixtures/video-translate"));
|
|
16
|
-
|
|
17
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
-
|
|
19
|
-
(0, _ava.default)('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {
|
|
20
|
-
t.pass();
|
|
21
|
-
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
22
|
-
t.not(value, undefined, `PropType for "Molecule.MoleculeCockpitPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
(0, _ava.default)('Molecule › MoleculeCockpitPopin › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
26
|
-
(0, _ava.default)('Molecule › MoleculeCockpitPopin › Loading › should be rendered', _renderComponent.default, _.default, _loading.default);
|
|
27
|
-
(0, _ava.default)('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', _renderComponent.default, _.default, _videoTranslate.default);
|
|
28
|
-
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/cockpit-popin/test/fixtures.js"],"names":["t","pass","MoleculeCockpitPopin","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureLoading","fixtureVideoTranslate"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,+DAAL,EAAsEA,CAAC,IAAI;AACzEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAqBC,SAA7B,EAAwC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yDAAwDF,GAAI,mEAArF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,gEAAL,EAAuEG,wBAAvE,EAA6FN,SAA7F,EAAmHO,gBAAnH;AACA,kBAAK,gEAAL,EAAuED,wBAAvE,EAA6FN,SAA7F,EAAmHQ,gBAAnH;AACA,kBAAK,uEAAL,EAA8EF,wBAA9E,EAAoGN,SAApG,EAA0HS,uBAA1H","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCockpitPopin from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureVideoTranslate from './fixtures/video-translate';\n\ntest('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCockpitPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCockpitPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);\ntest('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);\ntest('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);\n"],"file":"fixtures.js"}
|