@coorpacademy/components 10.0.50 → 10.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/atom/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/index.js +3 -1
- package/es/atom/button/index.js.map +1 -1
- package/es/atom/button/test/fixtures.js +27 -0
- package/es/atom/button/test/fixtures.js.map +1 -0
- package/es/atom/button-link/index.js +106 -0
- package/es/atom/button-link/index.js.map +1 -0
- package/es/atom/button-link/style.css +97 -0
- package/es/atom/button-link/test/fixtures/button-dangerous-no-icon.js +10 -0
- package/es/atom/button-link/test/fixtures/button-dangerous-no-icon.js.map +1 -0
- package/es/atom/button-link/test/fixtures/button-primary-icon-left.js +14 -0
- package/es/atom/button-link/test/fixtures/button-primary-icon-left.js.map +1 -0
- package/es/atom/button-link/test/fixtures/button-primary-no-icon.js +10 -0
- package/es/atom/button-link/test/fixtures/button-primary-no-icon.js.map +1 -0
- package/es/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js +11 -0
- package/es/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js.map +1 -0
- package/es/atom/button-link/test/fixtures/button-tertiary-icon-left.js +14 -0
- package/es/atom/button-link/test/fixtures/button-tertiary-icon-left.js.map +1 -0
- package/es/atom/button-link/test/fixtures/icon-button.js +13 -0
- package/es/atom/button-link/test/fixtures/icon-button.js.map +1 -0
- package/es/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js +17 -0
- package/es/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js.map +1 -0
- package/es/atom/button-link/test/fixtures/link-secondary-icon-right.js +20 -0
- package/es/atom/button-link/test/fixtures/link-secondary-icon-right.js.map +1 -0
- package/es/atom/button-link/test/fixtures/link-tertiary-no-icon.js +16 -0
- package/es/atom/button-link/test/fixtures/link-tertiary-no-icon.js.map +1 -0
- package/es/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js +17 -0
- package/es/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js.map +1 -0
- package/es/atom/button-link/test/fixtures/link-text-no-icon-download.js +13 -0
- package/es/atom/button-link/test/fixtures/link-text-no-icon-download.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/chips/index.js +36 -0
- package/es/atom/chips/index.js.map +1 -0
- package/es/atom/chips/style.css +66 -0
- package/es/atom/chips/test/fixtures/default.js +9 -0
- package/es/atom/chips/test/fixtures/default.js.map +1 -0
- package/es/atom/chips/test/fixtures/non-selected.js +9 -0
- package/es/atom/chips/test/fixtures/non-selected.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/index.js +21 -0
- package/es/atom/content-badge/index.js.map +1 -0
- package/es/atom/content-badge/style.css +59 -0
- package/es/atom/content-badge/test/fixtures/advanced.js +7 -0
- package/es/atom/content-badge/test/fixtures/advanced.js.map +1 -0
- package/es/atom/content-badge/test/fixtures/article.js +7 -0
- package/es/atom/content-badge/test/fixtures/article.js.map +1 -0
- package/es/atom/content-badge/test/fixtures/chapter.js +7 -0
- package/es/atom/content-badge/test/fixtures/chapter.js.map +1 -0
- package/es/atom/content-badge/test/fixtures/coach.js +7 -0
- package/es/atom/content-badge/test/fixtures/coach.js.map +1 -0
- package/es/atom/content-badge/test/fixtures/default.js +7 -0
- package/es/atom/content-badge/test/fixtures/default.js.map +1 -0
- package/es/atom/content-badge/test/fixtures/podcast.js +7 -0
- package/es/atom/content-badge/test/fixtures/podcast.js.map +1 -0
- package/es/atom/content-badge/test/fixtures/scorm.js +7 -0
- package/es/atom/content-badge/test/fixtures/scorm.js.map +1 -0
- package/es/atom/content-badge/test/fixtures/video.js +7 -0
- package/es/atom/content-badge/test/fixtures/video.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/test/fixtures.js +23 -0
- package/es/atom/drag-and-drop/test/fixtures.js.map +1 -0
- package/es/atom/image-upload/test/fixtures.js +29 -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/index.js +65 -0
- package/es/atom/input-search/index.js.map +1 -0
- package/es/atom/input-search/style.css +201 -0
- package/es/{molecule/search → atom/input-search}/test/change.js +0 -0
- package/es/atom/input-search/test/change.js.map +1 -0
- package/es/atom/input-search/test/fixtures/coorpmanager-with-value.js +14 -0
- package/es/atom/input-search/test/fixtures/coorpmanager-with-value.js.map +1 -0
- package/es/atom/input-search/test/fixtures/coorpmanager.js +13 -0
- package/es/atom/input-search/test/fixtures/coorpmanager.js.map +1 -0
- package/es/{molecule/search → atom/input-search}/test/fixtures/default.js +0 -0
- package/es/atom/input-search/test/fixtures/default.js.map +1 -0
- package/es/{molecule/search → atom/input-search}/test/fixtures/with-value.js +0 -0
- package/es/atom/input-search/test/fixtures/with-value.js.map +1 -0
- package/es/atom/input-switch/test/fixtures.js +23 -0
- package/es/atom/input-switch/test/fixtures.js.map +1 -0
- package/es/atom/input-text/index.js +34 -6
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text/style.css +229 -1
- package/es/atom/input-text/test/fixtures/cm-default.js +17 -0
- package/es/atom/input-text/test/fixtures/cm-default.js.map +1 -0
- package/es/atom/input-text/test/fixtures.js +25 -0
- package/es/atom/input-text/test/fixtures.js.map +1 -0
- package/es/atom/input-textarea/index.js +36 -11
- package/es/atom/input-textarea/index.js.map +1 -1
- package/es/atom/input-textarea/style.css +265 -0
- package/es/atom/input-textarea/test/fixtures/cm-default.js +17 -0
- package/es/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
- package/es/atom/input-textarea/test/fixtures/cm-empty.js +17 -0
- package/es/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
- package/es/atom/input-textarea/test/fixtures.js +17 -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 +13 -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/select/test/fixtures.js +43 -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/index.js +27 -0
- package/es/atom/tag/index.js.map +1 -0
- package/es/atom/tag/style.css +38 -0
- package/es/atom/tag/test/fixtures/archived.js +7 -0
- package/es/atom/tag/test/fixtures/archived.js.map +1 -0
- package/es/atom/tag/test/fixtures/default.js +7 -0
- package/es/atom/tag/test/fixtures/default.js.map +1 -0
- package/es/atom/tag/test/fixtures/published.js +7 -0
- package/es/atom/tag/test/fixtures/published.js.map +1 -0
- package/es/atom/tag/test/fixtures/revision.js +7 -0
- package/es/atom/tag/test/fixtures/revision.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/index.js +38 -0
- package/es/atom/wizard-steps/index.js.map +1 -0
- package/es/atom/wizard-steps/style.css +150 -0
- package/es/atom/wizard-steps/test/fixtures/default.js +28 -0
- package/es/atom/wizard-steps/test/fixtures/default.js.map +1 -0
- package/es/atom/wizard-steps/test/fixtures/first-step.js +28 -0
- package/es/atom/wizard-steps/test/fixtures/first-step.js.map +1 -0
- package/es/atom/wizard-steps/test/fixtures/last-step.js +28 -0
- package/es/atom/wizard-steps/test/fixtures/last-step.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/index.js +46 -0
- package/es/molecule/banner/index.js.map +1 -0
- package/es/molecule/banner/style.css +63 -0
- package/es/molecule/banner/test/fixtures/default.js +11 -0
- package/es/molecule/banner/test/fixtures/default.js.map +1 -0
- package/es/molecule/banner/test/fixtures/error-banner.js +7 -0
- package/es/molecule/banner/test/fixtures/error-banner.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/test/fixtures/cm-default.js +51 -0
- package/es/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
- package/es/molecule/brand-form-group/test/fixtures/default.js +12 -3
- package/es/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures.js +33 -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/card/index.js +16 -5
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/selectable.css +71 -0
- package/es/molecule/card/selectable.js +32 -0
- package/es/molecule/card/selectable.js.map +1 -0
- package/es/molecule/card/test/fixtures/default.js +1 -0
- package/es/molecule/card/test/fixtures/default.js.map +1 -1
- package/es/molecule/card/test/fixtures/selectable-false.js +16 -0
- package/es/molecule/card/test/fixtures/selectable-false.js.map +1 -0
- package/es/molecule/card/test/fixtures/selectable-true.js +17 -0
- package/es/molecule/card/test/fixtures/selectable-true.js.map +1 -0
- package/es/molecule/card/test/fixtures.js +39 -0
- package/es/molecule/card/test/fixtures.js.map +1 -0
- package/es/molecule/card-content/index.js +13 -3
- package/es/molecule/card-content/index.js.map +1 -1
- package/es/molecule/card-content/style.css +13 -3
- 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/index.js +82 -0
- package/es/molecule/cm-popin/index.js.map +1 -0
- package/es/molecule/cm-popin/style.css +115 -0
- package/es/molecule/cm-popin/test/fixtures/dangerous.js +19 -0
- package/es/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
- package/es/molecule/cm-popin/test/fixtures/default.js +19 -0
- package/es/molecule/cm-popin/test/fixtures/default.js.map +1 -0
- package/es/molecule/cm-popin/test/fixtures/warning-with-close.js +20 -0
- package/es/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
- package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
- package/es/molecule/cockpit-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/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/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/index.js +5 -2
- package/es/molecule/discipline-partners/index.js.map +1 -1
- 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/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 +29 -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/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 +15 -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/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/index.js +1 -1
- package/es/molecule/search-form/index.js.map +1 -1
- 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 +23 -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 +23 -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/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/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/index.js +51 -0
- package/es/molecule/vertical-tabs/index.js.map +1 -0
- package/es/molecule/vertical-tabs/style.css +69 -0
- package/es/molecule/vertical-tabs/test/fixtures/default.js +41 -0
- package/es/molecule/vertical-tabs/test/fixtures/default.js.map +1 -0
- package/es/molecule/vertical-tabs/test/fixtures/with-selected-item.js +81 -0
- package/es/molecule/vertical-tabs/test/fixtures/with-selected-item.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/index.js +195 -0
- package/es/molecule/wizard-summary/index.js.map +1 -0
- package/es/molecule/wizard-summary/style.css +230 -0
- package/es/molecule/wizard-summary/test/fixtures/default.js +124 -0
- package/es/molecule/wizard-summary/test/fixtures/default.js.map +1 -0
- package/es/molecule/wizard-summary/test/fixtures/one-section.js +23 -0
- package/es/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -0
- package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js +118 -0
- package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
- package/es/molecule/wizard-summary/test/fixtures/three-sections.js +42 -0
- package/es/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -0
- package/es/molecule/wizard-summary/test/fixtures/two-sections.js +35 -0
- package/es/molecule/wizard-summary/test/fixtures/two-sections.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.js +31 -0
- package/es/organism/brand-form/test/fixtures.js.map +1 -0
- package/es/organism/brand-table/index.js +1 -1
- package/es/organism/brand-table/index.js.map +1 -1
- 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/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/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/index.js +1 -1
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures/default.js +1 -1
- package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
- package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures.js +31 -0
- package/es/organism/mooc-header/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/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/style.css +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/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/index.js +6 -2
- package/es/template/back-office/brand-list/index.js.map +1 -1
- package/es/template/back-office/brand-list/style.css +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 +67 -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/es/variables/colors.css +18 -2
- 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/index.js +3 -1
- package/lib/atom/button/index.js.map +1 -1
- package/lib/atom/button/test/fixtures.js +43 -0
- package/lib/atom/button/test/fixtures.js.map +1 -0
- package/lib/atom/button-link/index.js +123 -0
- package/lib/atom/button-link/index.js.map +1 -0
- package/lib/atom/button-link/style.css +97 -0
- package/lib/atom/button-link/test/fixtures/button-dangerous-no-icon.js +15 -0
- package/lib/atom/button-link/test/fixtures/button-dangerous-no-icon.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/button-primary-icon-left.js +19 -0
- package/lib/atom/button-link/test/fixtures/button-primary-icon-left.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/button-primary-no-icon.js +15 -0
- package/lib/atom/button-link/test/fixtures/button-primary-no-icon.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js +16 -0
- package/lib/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/button-tertiary-icon-left.js +19 -0
- package/lib/atom/button-link/test/fixtures/button-tertiary-icon-left.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/icon-button.js +18 -0
- package/lib/atom/button-link/test/fixtures/icon-button.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js +22 -0
- package/lib/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/link-secondary-icon-right.js +25 -0
- package/lib/atom/button-link/test/fixtures/link-secondary-icon-right.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/link-tertiary-no-icon.js +21 -0
- package/lib/atom/button-link/test/fixtures/link-tertiary-no-icon.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js +22 -0
- package/lib/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js.map +1 -0
- package/lib/atom/button-link/test/fixtures/link-text-no-icon-download.js +18 -0
- package/lib/atom/button-link/test/fixtures/link-text-no-icon-download.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/chips/index.js +52 -0
- package/lib/atom/chips/index.js.map +1 -0
- package/lib/atom/chips/style.css +66 -0
- package/lib/atom/chips/test/fixtures/default.js +14 -0
- package/lib/atom/chips/test/fixtures/default.js.map +1 -0
- package/lib/atom/chips/test/fixtures/non-selected.js +14 -0
- package/lib/atom/chips/test/fixtures/non-selected.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/index.js +32 -0
- package/lib/atom/content-badge/index.js.map +1 -0
- package/lib/atom/content-badge/style.css +59 -0
- package/lib/atom/content-badge/test/fixtures/advanced.js +12 -0
- package/lib/atom/content-badge/test/fixtures/advanced.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures/article.js +12 -0
- package/lib/atom/content-badge/test/fixtures/article.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures/chapter.js +12 -0
- package/lib/atom/content-badge/test/fixtures/chapter.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures/coach.js +12 -0
- package/lib/atom/content-badge/test/fixtures/coach.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures/default.js +12 -0
- package/lib/atom/content-badge/test/fixtures/default.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures/podcast.js +12 -0
- package/lib/atom/content-badge/test/fixtures/podcast.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures/scorm.js +12 -0
- package/lib/atom/content-badge/test/fixtures/scorm.js.map +1 -0
- package/lib/atom/content-badge/test/fixtures/video.js +12 -0
- package/lib/atom/content-badge/test/fixtures/video.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/test/fixtures.js +37 -0
- package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -0
- package/lib/atom/image-upload/test/fixtures.js +46 -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/{molecule/search → atom/input-search}/index.js +29 -18
- package/lib/atom/input-search/index.js.map +1 -0
- package/lib/atom/input-search/style.css +201 -0
- package/lib/{molecule/search → atom/input-search}/test/change.js +0 -0
- package/lib/atom/input-search/test/change.js.map +1 -0
- package/lib/atom/input-search/test/fixtures/coorpmanager-with-value.js +19 -0
- package/lib/atom/input-search/test/fixtures/coorpmanager-with-value.js.map +1 -0
- package/lib/atom/input-search/test/fixtures/coorpmanager.js +18 -0
- package/lib/atom/input-search/test/fixtures/coorpmanager.js.map +1 -0
- package/lib/{molecule/search → atom/input-search}/test/fixtures/default.js +0 -0
- package/lib/atom/input-search/test/fixtures/default.js.map +1 -0
- package/lib/{molecule/search → atom/input-search}/test/fixtures/with-value.js +0 -0
- package/lib/atom/input-search/test/fixtures/with-value.js.map +1 -0
- package/lib/atom/input-switch/test/fixtures.js +37 -0
- package/lib/atom/input-switch/test/fixtures.js.map +1 -0
- package/lib/atom/input-text/index.js +36 -6
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text/style.css +229 -1
- package/lib/atom/input-text/test/fixtures/cm-default.js +22 -0
- package/lib/atom/input-text/test/fixtures/cm-default.js.map +1 -0
- package/lib/atom/input-text/test/fixtures.js +40 -0
- package/lib/atom/input-text/test/fixtures.js.map +1 -0
- package/lib/atom/input-textarea/index.js +38 -11
- package/lib/atom/input-textarea/index.js.map +1 -1
- package/lib/atom/input-textarea/style.css +265 -0
- package/lib/atom/input-textarea/test/fixtures/cm-default.js +22 -0
- package/lib/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
- package/lib/atom/input-textarea/test/fixtures/cm-empty.js +22 -0
- package/lib/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
- package/lib/atom/input-textarea/test/fixtures.js +28 -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 +22 -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/select/test/fixtures.js +67 -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/index.js +39 -0
- package/lib/atom/tag/index.js.map +1 -0
- package/lib/atom/tag/style.css +38 -0
- package/lib/atom/tag/test/fixtures/archived.js +12 -0
- package/lib/atom/tag/test/fixtures/archived.js.map +1 -0
- package/lib/atom/tag/test/fixtures/default.js +12 -0
- package/lib/atom/tag/test/fixtures/default.js.map +1 -0
- package/lib/atom/tag/test/fixtures/published.js +12 -0
- package/lib/atom/tag/test/fixtures/published.js.map +1 -0
- package/lib/atom/tag/test/fixtures/revision.js +12 -0
- package/lib/atom/tag/test/fixtures/revision.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/index.js +49 -0
- package/lib/atom/wizard-steps/index.js.map +1 -0
- package/lib/atom/wizard-steps/style.css +150 -0
- package/lib/atom/wizard-steps/test/fixtures/default.js +33 -0
- package/lib/atom/wizard-steps/test/fixtures/default.js.map +1 -0
- package/lib/atom/wizard-steps/test/fixtures/first-step.js +33 -0
- package/lib/atom/wizard-steps/test/fixtures/first-step.js.map +1 -0
- package/lib/atom/wizard-steps/test/fixtures/last-step.js +33 -0
- package/lib/atom/wizard-steps/test/fixtures/last-step.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/index.js +59 -0
- package/lib/molecule/banner/index.js.map +1 -0
- package/lib/molecule/banner/style.css +63 -0
- package/lib/molecule/banner/test/fixtures/default.js +16 -0
- package/lib/molecule/banner/test/fixtures/default.js.map +1 -0
- package/lib/molecule/banner/test/fixtures/error-banner.js +12 -0
- package/lib/molecule/banner/test/fixtures/error-banner.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/test/fixtures/cm-default.js +56 -0
- package/lib/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
- package/lib/molecule/brand-form-group/test/fixtures/default.js +12 -3
- package/lib/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures.js +52 -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/card/index.js +17 -5
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/selectable.css +71 -0
- package/lib/molecule/card/selectable.js +45 -0
- package/lib/molecule/card/selectable.js.map +1 -0
- package/lib/molecule/card/test/fixtures/default.js +1 -0
- package/lib/molecule/card/test/fixtures/default.js.map +1 -1
- package/lib/molecule/card/test/fixtures/selectable-false.js +26 -0
- package/lib/molecule/card/test/fixtures/selectable-false.js.map +1 -0
- package/lib/molecule/card/test/fixtures/selectable-true.js +27 -0
- package/lib/molecule/card/test/fixtures/selectable-true.js.map +1 -0
- package/lib/molecule/card/test/fixtures.js +61 -0
- package/lib/molecule/card/test/fixtures.js.map +1 -0
- package/lib/molecule/card-content/index.js +14 -3
- package/lib/molecule/card-content/index.js.map +1 -1
- package/lib/molecule/card-content/style.css +13 -3
- 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/index.js +94 -0
- package/lib/molecule/cm-popin/index.js.map +1 -0
- package/lib/molecule/cm-popin/style.css +115 -0
- package/lib/molecule/cm-popin/test/fixtures/dangerous.js +24 -0
- package/lib/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
- package/lib/molecule/cm-popin/test/fixtures/default.js +24 -0
- package/lib/molecule/cm-popin/test/fixtures/default.js.map +1 -0
- package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js +25 -0
- package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
- package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
- package/lib/molecule/cockpit-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/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/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/index.js +5 -2
- package/lib/molecule/discipline-partners/index.js.map +1 -1
- 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/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 +46 -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/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 +25 -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/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/index.js +3 -3
- package/lib/molecule/search-form/index.js.map +1 -1
- 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 +37 -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 +37 -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/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/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/index.js +66 -0
- package/lib/molecule/vertical-tabs/index.js.map +1 -0
- package/lib/molecule/vertical-tabs/style.css +69 -0
- package/lib/molecule/vertical-tabs/test/fixtures/default.js +46 -0
- package/lib/molecule/vertical-tabs/test/fixtures/default.js.map +1 -0
- package/lib/molecule/vertical-tabs/test/fixtures/with-selected-item.js +86 -0
- package/lib/molecule/vertical-tabs/test/fixtures/with-selected-item.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/index.js +213 -0
- package/lib/molecule/wizard-summary/index.js.map +1 -0
- package/lib/molecule/wizard-summary/style.css +230 -0
- package/lib/molecule/wizard-summary/test/fixtures/default.js +129 -0
- package/lib/molecule/wizard-summary/test/fixtures/default.js.map +1 -0
- package/lib/molecule/wizard-summary/test/fixtures/one-section.js +28 -0
- package/lib/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -0
- package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js +123 -0
- package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
- package/lib/molecule/wizard-summary/test/fixtures/three-sections.js +47 -0
- package/lib/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -0
- package/lib/molecule/wizard-summary/test/fixtures/two-sections.js +40 -0
- package/lib/molecule/wizard-summary/test/fixtures/two-sections.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.js +49 -0
- package/lib/organism/brand-form/test/fixtures.js.map +1 -0
- package/lib/organism/brand-table/index.js +3 -3
- package/lib/organism/brand-table/index.js.map +1 -1
- 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/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/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/index.js +2 -2
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
- package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
- package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures.js +49 -0
- package/lib/organism/mooc-header/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/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/style.css +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/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/index.js +7 -3
- package/lib/template/back-office/brand-list/index.js.map +1 -1
- package/lib/template/back-office/brand-list/style.css +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 +103 -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/lib/variables/colors.css +18 -2
- package/package.json +3 -3
- package/es/molecule/search/index.js +0 -57
- package/es/molecule/search/index.js.map +0 -1
- package/es/molecule/search/style.css +0 -86
- package/es/molecule/search/test/change.js.map +0 -1
- package/es/molecule/search/test/fixtures/default.js.map +0 -1
- package/es/molecule/search/test/fixtures/with-value.js.map +0 -1
- package/lib/molecule/search/index.js.map +0 -1
- package/lib/molecule/search/style.css +0 -86
- package/lib/molecule/search/test/change.js.map +0 -1
- package/lib/molecule/search/test/fixtures/default.js.map +0 -1
- package/lib/molecule/search/test/fixtures/with-value.js.map +0 -1
|
@@ -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 _subscribed = _interopRequireDefault(require("./fixtures/subscribed"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
(0, _ava.default)('Molecule › MoleculeUnsubscribe > should have valid propTypes', t => {
|
|
18
|
+
t.pass();
|
|
19
|
+
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
20
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeUnsubscribe.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
(0, _ava.default)('Molecule › MoleculeUnsubscribe › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
24
|
+
(0, _ava.default)('Molecule › MoleculeUnsubscribe › Subscribed › should be rendered', _renderComponent.default, _.default, _subscribed.default);
|
|
25
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/unsubscribe/test/fixtures.js"],"names":["t","pass","MoleculeUnsubscribe","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureSubscribed"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,8DAAL,EAAqEA,CAAC,IAAI;AACxEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAoBC,SAA5B,EAAuC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACrDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,wDAAuDF,GAAI,mEAApF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,+DAAL,EAAsEG,wBAAtE,EAA4FN,SAA5F,EAAiHO,gBAAjH;AACA,kBAAK,kEAAL,EAAyED,wBAAzE,EAA+FN,SAA/F,EAAoHQ,mBAApH","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeUnsubscribe from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureSubscribed from './fixtures/subscribed';\n\ntest('Molecule › MoleculeUnsubscribe > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeUnsubscribe.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeUnsubscribe.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeUnsubscribe › Default › should be rendered', renderComponentMacro, MoleculeUnsubscribe, fixtureDefault);\ntest('Molecule › MoleculeUnsubscribe › Subscribed › should be rendered', renderComponentMacro, MoleculeUnsubscribe, fixtureSubscribed);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _snakeCase2 = _interopRequireDefault(require("lodash/fp/snakeCase"));
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
|
|
14
|
+
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
15
|
+
|
|
16
|
+
var _link = _interopRequireDefault(require("../../atom/link"));
|
|
17
|
+
|
|
18
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
+
|
|
22
|
+
const LeftIcons = {
|
|
23
|
+
BlueValidatedCircle: _novaIcons.NovaSolidStatusCheckCircle2
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const buildTab = (tab, index) => {
|
|
27
|
+
const {
|
|
28
|
+
title,
|
|
29
|
+
selected,
|
|
30
|
+
onClick,
|
|
31
|
+
leftIcon
|
|
32
|
+
} = tab;
|
|
33
|
+
const LeftIcon = LeftIcons[leftIcon];
|
|
34
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
35
|
+
"data-name": `vertical_tab_${(0, _snakeCase2.default)(title)}`,
|
|
36
|
+
className: (0, _classnames.default)(_style.default.tab, selected && _style.default.selected),
|
|
37
|
+
key: index,
|
|
38
|
+
onClick: onClick
|
|
39
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
40
|
+
className: _style.default.title
|
|
41
|
+
}, title), LeftIcon ? /*#__PURE__*/_react.default.createElement(LeftIcon, {
|
|
42
|
+
className: _style.default.leftIcon
|
|
43
|
+
}) : null);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const VerticalTabs = props => {
|
|
47
|
+
const {
|
|
48
|
+
tabs
|
|
49
|
+
} = props;
|
|
50
|
+
const tabsList = tabs.map(buildTab);
|
|
51
|
+
return /*#__PURE__*/_react.default.createElement("ul", {
|
|
52
|
+
className: _style.default.wrapper
|
|
53
|
+
}, tabsList);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
VerticalTabs.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
57
|
+
tabs: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
58
|
+
title: _link.default.propTypes.children,
|
|
59
|
+
selected: _propTypes.default.bool,
|
|
60
|
+
leftIcon: _propTypes.default.string,
|
|
61
|
+
onClick: _propTypes.default.func
|
|
62
|
+
}))
|
|
63
|
+
} : {};
|
|
64
|
+
var _default = VerticalTabs;
|
|
65
|
+
exports.default = _default;
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/vertical-tabs/index.js"],"names":["LeftIcons","BlueValidatedCircle","CheckIcon","buildTab","tab","index","title","selected","onClick","leftIcon","LeftIcon","style","VerticalTabs","props","tabs","tabsList","map","wrapper","propTypes","PropTypes","arrayOf","shape","Link","children","bool","string","func"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AAEA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG;AAChBC,EAAAA,mBAAmB,EAAEC;AADL,CAAlB;;AAIA,MAAMC,QAAQ,GAAG,CAACC,GAAD,EAAMC,KAAN,KAAgB;AAC/B,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA,QAAR;AAAkBC,IAAAA,OAAlB;AAA2BC,IAAAA;AAA3B,MAAuCL,GAA7C;AAEA,QAAMM,QAAQ,GAAGV,SAAS,CAACS,QAAD,CAA1B;AACA,sBACE;AACE,iBAAY,gBAAe,yBAAUH,KAAV,CAAiB,EAD9C;AAEE,IAAA,SAAS,EAAE,yBAAWK,eAAMP,GAAjB,EAAsBG,QAAQ,IAAII,eAAMJ,QAAxC,CAFb;AAGE,IAAA,GAAG,EAAEF,KAHP;AAIE,IAAA,OAAO,EAAEG;AAJX,kBAME;AAAM,IAAA,SAAS,EAAEG,eAAML;AAAvB,KAA+BA,KAA/B,CANF,EAOGI,QAAQ,gBAAG,6BAAC,QAAD;AAAU,IAAA,SAAS,EAAEC,eAAMF;AAA3B,IAAH,GAA6C,IAPxD,CADF;AAWD,CAfD;;AAiBA,MAAMG,YAAY,GAAGC,KAAK,IAAI;AAC5B,QAAM;AAACC,IAAAA;AAAD,MAASD,KAAf;AACA,QAAME,QAAQ,GAAGD,IAAI,CAACE,GAAL,CAASb,QAAT,CAAjB;AAEA,sBAAO;AAAI,IAAA,SAAS,EAAEQ,eAAMM;AAArB,KAA+BF,QAA/B,CAAP;AACD,CALD;;AAOAH,YAAY,CAACM,SAAb,2CAAyB;AACvBJ,EAAAA,IAAI,EAAEK,mBAAUC,OAAV,CACJD,mBAAUE,KAAV,CAAgB;AACdf,IAAAA,KAAK,EAAEgB,cAAKJ,SAAL,CAAeK,QADR;AAEdhB,IAAAA,QAAQ,EAAEY,mBAAUK,IAFN;AAGdf,IAAAA,QAAQ,EAAEU,mBAAUM,MAHN;AAIdjB,IAAAA,OAAO,EAAEW,mBAAUO;AAJL,GAAhB,CADI;AADiB,CAAzB;eAUed,Y","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {NovaSolidStatusCheckCircle2 as CheckIcon} from '@coorpacademy/nova-icons';\nimport {snakeCase} from 'lodash/fp';\nimport Link from '../../atom/link';\nimport style from './style.css';\n\nconst LeftIcons = {\n BlueValidatedCircle: CheckIcon\n};\n\nconst buildTab = (tab, index) => {\n const {title, selected, onClick, leftIcon} = tab;\n\n const LeftIcon = LeftIcons[leftIcon];\n return (\n <li\n data-name={`vertical_tab_${snakeCase(title)}`}\n className={classnames(style.tab, selected && style.selected)}\n key={index}\n onClick={onClick}\n >\n <span className={style.title}>{title}</span>\n {LeftIcon ? <LeftIcon className={style.leftIcon} /> : null}\n </li>\n );\n};\n\nconst VerticalTabs = props => {\n const {tabs} = props;\n const tabsList = tabs.map(buildTab);\n\n return <ul className={style.wrapper}>{tabsList}</ul>;\n};\n\nVerticalTabs.propTypes = {\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: Link.propTypes.children,\n selected: PropTypes.bool,\n leftIcon: PropTypes.string,\n onClick: PropTypes.func\n })\n )\n};\nexport default VerticalTabs;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value white from colors;
|
|
3
|
+
@value light from colors;
|
|
4
|
+
@value cm_grey_400 from colors;
|
|
5
|
+
@value medium from colors;
|
|
6
|
+
@value cm_blue_50 from colors;
|
|
7
|
+
@value cm_primary_blue from colors;
|
|
8
|
+
|
|
9
|
+
.wrapper {
|
|
10
|
+
background-color: white;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
height: 100%;
|
|
14
|
+
margin: 0px;
|
|
15
|
+
padding: 0px;
|
|
16
|
+
overflow: hidden scroll;
|
|
17
|
+
list-style: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tab {
|
|
21
|
+
display: flex;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 36px;
|
|
24
|
+
flex-grow: 0;
|
|
25
|
+
flex-direction: row;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
padding: 8px;
|
|
29
|
+
border-radius: 5px;
|
|
30
|
+
margin-bottom: 16px;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.title {
|
|
36
|
+
font-family: Gilroy;
|
|
37
|
+
font-size: 14px;
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
font-stretch: normal;
|
|
40
|
+
font-style: normal;
|
|
41
|
+
line-height: 1.43;
|
|
42
|
+
letter-spacing: normal;
|
|
43
|
+
text-align: left;
|
|
44
|
+
margin-left: 6px;
|
|
45
|
+
color: cm_grey_400;
|
|
46
|
+
flex: 0 1 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.leftIcon {
|
|
50
|
+
width: 20px;
|
|
51
|
+
height: 15px;
|
|
52
|
+
color: cm_primary_blue
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.tab:hover {
|
|
56
|
+
color: cm_blue_50;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.tab:hover a {
|
|
60
|
+
color: cm_primary_blue;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.tab.selected {
|
|
64
|
+
background-color: cm_blue_50;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.tab.selected a {
|
|
68
|
+
color: cm_primary_blue;
|
|
69
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
tabs: [{
|
|
8
|
+
title: '🇫🇷 French',
|
|
9
|
+
leftIcon: 'BlueValidatedCircle',
|
|
10
|
+
onClick: () => console.log('click'),
|
|
11
|
+
selected: false
|
|
12
|
+
}, {
|
|
13
|
+
title: '🇪🇸 Spanish',
|
|
14
|
+
leftIcon: 'BlueValidatedCircle',
|
|
15
|
+
onClick: () => console.log('click'),
|
|
16
|
+
selected: false
|
|
17
|
+
}, {
|
|
18
|
+
title: '🇮🇹 Italian',
|
|
19
|
+
leftIcon: 'BlueValidatedCircle',
|
|
20
|
+
onClick: () => console.log('click'),
|
|
21
|
+
selected: false
|
|
22
|
+
}, {
|
|
23
|
+
title: '🇩🇪 German',
|
|
24
|
+
leftIcon: '',
|
|
25
|
+
onClick: () => console.log('click'),
|
|
26
|
+
selected: false
|
|
27
|
+
}, {
|
|
28
|
+
title: '🇷🇺 Russian',
|
|
29
|
+
leftIcon: '',
|
|
30
|
+
onClick: () => console.log('click'),
|
|
31
|
+
selected: false
|
|
32
|
+
}, {
|
|
33
|
+
title: '🇵🇱 Polish',
|
|
34
|
+
leftIcon: '',
|
|
35
|
+
onClick: () => console.log('click'),
|
|
36
|
+
selected: false
|
|
37
|
+
}, {
|
|
38
|
+
title: '🇹🇷 Turkish',
|
|
39
|
+
leftIcon: '',
|
|
40
|
+
onClick: () => console.log('click'),
|
|
41
|
+
selected: false
|
|
42
|
+
}]
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.default = _default;
|
|
46
|
+
//# sourceMappingURL=default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/vertical-tabs/test/fixtures/default.js"],"names":["props","tabs","title","leftIcon","onClick","console","log","selected"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,CACJ;AACEC,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,qBAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KADI,EAOJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,qBAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAPI,EAaJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,qBAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAbI,EAmBJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAnBI,EAyBJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAzBI,EA+BJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KA/BI,EAqCJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KArCI;AADD;AADM,C","sourcesContent":["export default {\n props: {\n tabs: [\n {\n title: '🇫🇷 French',\n leftIcon: 'BlueValidatedCircle',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇪🇸 Spanish',\n leftIcon: 'BlueValidatedCircle',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇮🇹 Italian',\n leftIcon: 'BlueValidatedCircle',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇩🇪 German',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇷🇺 Russian',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇵🇱 Polish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇹🇷 Turkish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n }\n ]\n }\n};\n"],"file":"default.js"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
tabs: [{
|
|
8
|
+
title: '🇫🇷 French',
|
|
9
|
+
leftIcon: 'BlueValidatedCircle',
|
|
10
|
+
onClick: () => console.log('click'),
|
|
11
|
+
selected: true
|
|
12
|
+
}, {
|
|
13
|
+
title: '🇪🇸 Spanish',
|
|
14
|
+
leftIcon: 'BlueValidatedCircle',
|
|
15
|
+
onClick: () => console.log('click'),
|
|
16
|
+
selected: false
|
|
17
|
+
}, {
|
|
18
|
+
title: '🇮🇹 Italian',
|
|
19
|
+
leftIcon: 'BlueValidatedCircle',
|
|
20
|
+
onClick: () => console.log('click'),
|
|
21
|
+
selected: false
|
|
22
|
+
}, {
|
|
23
|
+
title: '🇩🇪 German',
|
|
24
|
+
leftIcon: '',
|
|
25
|
+
onClick: () => console.log('click'),
|
|
26
|
+
selected: false
|
|
27
|
+
}, {
|
|
28
|
+
title: '🇷🇺 Russian',
|
|
29
|
+
leftIcon: '',
|
|
30
|
+
onClick: () => console.log('click'),
|
|
31
|
+
selected: false
|
|
32
|
+
}, {
|
|
33
|
+
title: '🇵🇱 Polish',
|
|
34
|
+
leftIcon: '',
|
|
35
|
+
onClick: () => console.log('click'),
|
|
36
|
+
selected: false
|
|
37
|
+
}, {
|
|
38
|
+
title: '🇹🇷 Turkish',
|
|
39
|
+
leftIcon: '',
|
|
40
|
+
onClick: () => console.log('click'),
|
|
41
|
+
selected: false
|
|
42
|
+
}, {
|
|
43
|
+
title: '🇩🇪 German',
|
|
44
|
+
leftIcon: '',
|
|
45
|
+
onClick: () => console.log('click'),
|
|
46
|
+
selected: false
|
|
47
|
+
}, {
|
|
48
|
+
title: '🇷🇺 Russian',
|
|
49
|
+
leftIcon: '',
|
|
50
|
+
onClick: () => console.log('click'),
|
|
51
|
+
selected: false
|
|
52
|
+
}, {
|
|
53
|
+
title: '🇵🇱 Polish',
|
|
54
|
+
leftIcon: '',
|
|
55
|
+
onClick: () => console.log('click'),
|
|
56
|
+
selected: false
|
|
57
|
+
}, {
|
|
58
|
+
title: '🇹🇷 Turkish',
|
|
59
|
+
leftIcon: '',
|
|
60
|
+
onClick: () => console.log('click'),
|
|
61
|
+
selected: false
|
|
62
|
+
}, {
|
|
63
|
+
title: '🇩🇪 German',
|
|
64
|
+
leftIcon: '',
|
|
65
|
+
onClick: () => console.log('click'),
|
|
66
|
+
selected: false
|
|
67
|
+
}, {
|
|
68
|
+
title: '🇷🇺 Russian',
|
|
69
|
+
leftIcon: '',
|
|
70
|
+
onClick: () => console.log('click'),
|
|
71
|
+
selected: false
|
|
72
|
+
}, {
|
|
73
|
+
title: '🇵🇱 Polish',
|
|
74
|
+
leftIcon: '',
|
|
75
|
+
onClick: () => console.log('click'),
|
|
76
|
+
selected: false
|
|
77
|
+
}, {
|
|
78
|
+
title: '🇹🇷 Turkish',
|
|
79
|
+
leftIcon: '',
|
|
80
|
+
onClick: () => console.log('click'),
|
|
81
|
+
selected: false
|
|
82
|
+
}]
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
exports.default = _default;
|
|
86
|
+
//# sourceMappingURL=with-selected-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/vertical-tabs/test/fixtures/with-selected-item.js"],"names":["props","tabs","title","leftIcon","onClick","console","log","selected"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,CACJ;AACEC,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,qBAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KADI,EAOJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,qBAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAPI,EAaJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,qBAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAbI,EAmBJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAnBI,EAyBJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAzBI,EA+BJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KA/BI,EAqCJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KArCI,EA2CJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KA3CI,EAiDJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAjDI,EAuDJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAvDI,EA6DJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KA7DI,EAmEJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAnEI,EAyEJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KAzEI,EA+EJ;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KA/EI,EAqFJ;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEC,MAAAA,QAAQ,EAAE,EAFZ;AAGEC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CAHjB;AAIEC,MAAAA,QAAQ,EAAE;AAJZ,KArFI;AADD;AADM,C","sourcesContent":["export default {\n props: {\n tabs: [\n {\n title: '🇫🇷 French',\n leftIcon: 'BlueValidatedCircle',\n onClick: () => console.log('click'),\n selected: true\n },\n {\n title: '🇪🇸 Spanish',\n leftIcon: 'BlueValidatedCircle',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇮🇹 Italian',\n leftIcon: 'BlueValidatedCircle',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇩🇪 German',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇷🇺 Russian',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇵🇱 Polish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇹🇷 Turkish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇩🇪 German',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇷🇺 Russian',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇵🇱 Polish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇹🇷 Turkish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇩🇪 German',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇷🇺 Russian',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇵🇱 Polish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n },\n {\n title: '🇹🇷 Turkish',\n leftIcon: '',\n onClick: () => console.log('click'),\n selected: false\n }\n ]\n }\n};\n"],"file":"with-selected-item.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 _empty = _interopRequireDefault(require("./fixtures/empty"));
|
|
12
|
+
|
|
13
|
+
var _h5p = _interopRequireDefault(require("./fixtures/h5p"));
|
|
14
|
+
|
|
15
|
+
var _imagePlaceholder = _interopRequireDefault(require("./fixtures/image-placeholder"));
|
|
16
|
+
|
|
17
|
+
var _jwplayer = _interopRequireDefault(require("./fixtures/jwplayer"));
|
|
18
|
+
|
|
19
|
+
var _omniPlayer = _interopRequireDefault(require("./fixtures/omni-player"));
|
|
20
|
+
|
|
21
|
+
var _uptale = _interopRequireDefault(require("./fixtures/uptale"));
|
|
22
|
+
|
|
23
|
+
var _youtube = _interopRequireDefault(require("./fixtures/youtube"));
|
|
24
|
+
|
|
25
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26
|
+
|
|
27
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe > should have valid propTypes', t => {
|
|
28
|
+
t.pass();
|
|
29
|
+
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
30
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeVideoIframe.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe › Empty › should be rendered', _renderComponent.default, _.default, _empty.default);
|
|
34
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe › H5P › should be rendered', _renderComponent.default, _.default, _h5p.default);
|
|
35
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe › ImagePlaceholder › should be rendered', _renderComponent.default, _.default, _imagePlaceholder.default);
|
|
36
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe › Jwplayer › should be rendered', _renderComponent.default, _.default, _jwplayer.default);
|
|
37
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe › OmniPlayer › should be rendered', _renderComponent.default, _.default, _omniPlayer.default);
|
|
38
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe › Uptale › should be rendered', _renderComponent.default, _.default, _uptale.default);
|
|
39
|
+
(0, _ava.default)('Molecule › MoleculeVideoIframe › Youtube › should be rendered', _renderComponent.default, _.default, _youtube.default);
|
|
40
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/video-iframe/test/fixtures.js"],"names":["t","pass","MoleculeVideoIframe","propTypes","value","key","not","undefined","renderComponentMacro","fixtureEmpty","fixtureH5P","fixtureImagePlaceholder","fixtureJwplayer","fixtureOmniPlayer","fixtureUptale","fixtureYoutube"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,8DAAL,EAAqEA,CAAC,IAAI;AACxEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAoBC,SAA5B,EAAuC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACrDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,wDAAuDF,GAAI,mEAApF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,6DAAL,EAAoEG,wBAApE,EAA0FN,SAA1F,EAA+GO,cAA/G;AACA,kBAAK,2DAAL,EAAkED,wBAAlE,EAAwFN,SAAxF,EAA6GQ,YAA7G;AACA,kBAAK,wEAAL,EAA+EF,wBAA/E,EAAqGN,SAArG,EAA0HS,yBAA1H;AACA,kBAAK,gEAAL,EAAuEH,wBAAvE,EAA6FN,SAA7F,EAAkHU,iBAAlH;AACA,kBAAK,kEAAL,EAAyEJ,wBAAzE,EAA+FN,SAA/F,EAAoHW,mBAApH;AACA,kBAAK,8DAAL,EAAqEL,wBAArE,EAA2FN,SAA3F,EAAgHY,eAAhH;AACA,kBAAK,+DAAL,EAAsEN,wBAAtE,EAA4FN,SAA5F,EAAiHa,gBAAjH","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeVideoIframe from '..';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureH5P from './fixtures/h5p';\nimport fixtureImagePlaceholder from './fixtures/image-placeholder';\nimport fixtureJwplayer from './fixtures/jwplayer';\nimport fixtureOmniPlayer from './fixtures/omni-player';\nimport fixtureUptale from './fixtures/uptale';\nimport fixtureYoutube from './fixtures/youtube';\n\ntest('Molecule › MoleculeVideoIframe > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeVideoIframe.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeVideoIframe.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeVideoIframe › Empty › should be rendered', renderComponentMacro, MoleculeVideoIframe, fixtureEmpty);\ntest('Molecule › MoleculeVideoIframe › H5P › should be rendered', renderComponentMacro, MoleculeVideoIframe, fixtureH5P);\ntest('Molecule › MoleculeVideoIframe › ImagePlaceholder › should be rendered', renderComponentMacro, MoleculeVideoIframe, fixtureImagePlaceholder);\ntest('Molecule › MoleculeVideoIframe › Jwplayer › should be rendered', renderComponentMacro, MoleculeVideoIframe, fixtureJwplayer);\ntest('Molecule › MoleculeVideoIframe › OmniPlayer › should be rendered', renderComponentMacro, MoleculeVideoIframe, fixtureOmniPlayer);\ntest('Molecule › MoleculeVideoIframe › Uptale › should be rendered', renderComponentMacro, MoleculeVideoIframe, fixtureUptale);\ntest('Molecule › MoleculeVideoIframe › Youtube › should be rendered', renderComponentMacro, MoleculeVideoIframe, fixtureYoutube);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 _h5p = _interopRequireDefault(require("./fixtures/h5p"));
|
|
12
|
+
|
|
13
|
+
var _jwplayerWithSubtitles = _interopRequireDefault(require("./fixtures/jwplayer-with-subtitles"));
|
|
14
|
+
|
|
15
|
+
var _jwplayer = _interopRequireDefault(require("./fixtures/jwplayer"));
|
|
16
|
+
|
|
17
|
+
var _kontiki = _interopRequireDefault(require("./fixtures/kontiki"));
|
|
18
|
+
|
|
19
|
+
var _mp = _interopRequireDefault(require("./fixtures/mp4"));
|
|
20
|
+
|
|
21
|
+
var _omniPlayer = _interopRequireDefault(require("./fixtures/omni-player"));
|
|
22
|
+
|
|
23
|
+
var _uptale = _interopRequireDefault(require("./fixtures/uptale"));
|
|
24
|
+
|
|
25
|
+
var _vimeo = _interopRequireDefault(require("./fixtures/vimeo"));
|
|
26
|
+
|
|
27
|
+
var _youtube = _interopRequireDefault(require("./fixtures/youtube"));
|
|
28
|
+
|
|
29
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
30
|
+
|
|
31
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer > should have valid propTypes', t => {
|
|
32
|
+
t.pass();
|
|
33
|
+
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
34
|
+
t.not(value, undefined, `PropType for "Molecule.MoleculeVideoPlayer.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › H5P › should be rendered', _renderComponent.default, _.default, _h5p.default);
|
|
38
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › JwplayerWithSubtitles › should be rendered', _renderComponent.default, _.default, _jwplayerWithSubtitles.default);
|
|
39
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › Jwplayer › should be rendered', _renderComponent.default, _.default, _jwplayer.default);
|
|
40
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › Kontiki › should be rendered', _renderComponent.default, _.default, _kontiki.default);
|
|
41
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › Mp4 › should be rendered', _renderComponent.default, _.default, _mp.default);
|
|
42
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › OmniPlayer › should be rendered', _renderComponent.default, _.default, _omniPlayer.default);
|
|
43
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › Uptale › should be rendered', _renderComponent.default, _.default, _uptale.default);
|
|
44
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › Vimeo › should be rendered', _renderComponent.default, _.default, _vimeo.default);
|
|
45
|
+
(0, _ava.default)('Molecule › MoleculeVideoPlayer › Youtube › should be rendered', _renderComponent.default, _.default, _youtube.default);
|
|
46
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/video-player/test/fixtures.js"],"names":["t","pass","MoleculeVideoPlayer","propTypes","value","key","not","undefined","renderComponentMacro","fixtureH5P","fixtureJwplayerWithSubtitles","fixtureJwplayer","fixtureKontiki","fixtureMp4","fixtureOmniPlayer","fixtureUptale","fixtureVimeo","fixtureYoutube"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,8DAAL,EAAqEA,CAAC,IAAI;AACxEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAoBC,SAA5B,EAAuC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACrDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,wDAAuDF,GAAI,mEAApF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,2DAAL,EAAkEG,wBAAlE,EAAwFN,SAAxF,EAA6GO,YAA7G;AACA,kBAAK,6EAAL,EAAoFD,wBAApF,EAA0GN,SAA1G,EAA+HQ,8BAA/H;AACA,kBAAK,gEAAL,EAAuEF,wBAAvE,EAA6FN,SAA7F,EAAkHS,iBAAlH;AACA,kBAAK,+DAAL,EAAsEH,wBAAtE,EAA4FN,SAA5F,EAAiHU,gBAAjH;AACA,kBAAK,2DAAL,EAAkEJ,wBAAlE,EAAwFN,SAAxF,EAA6GW,WAA7G;AACA,kBAAK,kEAAL,EAAyEL,wBAAzE,EAA+FN,SAA/F,EAAoHY,mBAApH;AACA,kBAAK,8DAAL,EAAqEN,wBAArE,EAA2FN,SAA3F,EAAgHa,eAAhH;AACA,kBAAK,6DAAL,EAAoEP,wBAApE,EAA0FN,SAA1F,EAA+Gc,cAA/G;AACA,kBAAK,+DAAL,EAAsER,wBAAtE,EAA4FN,SAA5F,EAAiHe,gBAAjH","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeVideoPlayer from '..';\nimport fixtureH5P from './fixtures/h5p';\nimport fixtureJwplayerWithSubtitles from './fixtures/jwplayer-with-subtitles';\nimport fixtureJwplayer from './fixtures/jwplayer';\nimport fixtureKontiki from './fixtures/kontiki';\nimport fixtureMp4 from './fixtures/mp4';\nimport fixtureOmniPlayer from './fixtures/omni-player';\nimport fixtureUptale from './fixtures/uptale';\nimport fixtureVimeo from './fixtures/vimeo';\nimport fixtureYoutube from './fixtures/youtube';\n\ntest('Molecule › MoleculeVideoPlayer > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeVideoPlayer.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeVideoPlayer.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeVideoPlayer › H5P › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureH5P);\ntest('Molecule › MoleculeVideoPlayer › JwplayerWithSubtitles › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureJwplayerWithSubtitles);\ntest('Molecule › MoleculeVideoPlayer › Jwplayer › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureJwplayer);\ntest('Molecule › MoleculeVideoPlayer › Kontiki › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureKontiki);\ntest('Molecule › MoleculeVideoPlayer › Mp4 › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureMp4);\ntest('Molecule › MoleculeVideoPlayer › OmniPlayer › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureOmniPlayer);\ntest('Molecule › MoleculeVideoPlayer › Uptale › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureUptale);\ntest('Molecule › MoleculeVideoPlayer › Vimeo › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureVimeo);\ntest('Molecule › MoleculeVideoPlayer › Youtube › should be rendered', renderComponentMacro, MoleculeVideoPlayer, fixtureYoutube);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
13
|
+
|
|
14
|
+
var _contentBadge = _interopRequireDefault(require("../../atom/content-badge"));
|
|
15
|
+
|
|
16
|
+
var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
|
|
17
|
+
|
|
18
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
+
|
|
22
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
23
|
+
|
|
24
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
|
|
26
|
+
const buildItemsOfSection = items => {
|
|
27
|
+
return items.map((item, index) => {
|
|
28
|
+
const {
|
|
29
|
+
type
|
|
30
|
+
} = item;
|
|
31
|
+
|
|
32
|
+
switch (type) {
|
|
33
|
+
case 'mainElement':
|
|
34
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
35
|
+
key: `${item.title}-${index}`
|
|
36
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
37
|
+
className: _style.default.title
|
|
38
|
+
}, item.title), /*#__PURE__*/_react.default.createElement("span", {
|
|
39
|
+
className: _style.default.value
|
|
40
|
+
}, item.value));
|
|
41
|
+
|
|
42
|
+
case 'content':
|
|
43
|
+
{
|
|
44
|
+
const {
|
|
45
|
+
category,
|
|
46
|
+
label,
|
|
47
|
+
title,
|
|
48
|
+
author,
|
|
49
|
+
unsaved = false
|
|
50
|
+
} = item;
|
|
51
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
52
|
+
className: _style.default.contentWrapper,
|
|
53
|
+
key: `${title}-${index}`
|
|
54
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
55
|
+
className: _style.default.contentCounter
|
|
56
|
+
}, index + 1), /*#__PURE__*/_react.default.createElement("div", {
|
|
57
|
+
className: _style.default.contentItem
|
|
58
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
59
|
+
className: _style.default.content
|
|
60
|
+
}, /*#__PURE__*/_react.default.createElement(_contentBadge.default, {
|
|
61
|
+
category: category,
|
|
62
|
+
label: label
|
|
63
|
+
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
64
|
+
className: (0, _classnames.default)(_style.default.contentTitle, unsaved && _style.default.unsaved),
|
|
65
|
+
title: title // eslint-disable-next-line react/no-danger
|
|
66
|
+
,
|
|
67
|
+
dangerouslySetInnerHTML: {
|
|
68
|
+
__html: title
|
|
69
|
+
}
|
|
70
|
+
})), author ? /*#__PURE__*/_react.default.createElement("span", {
|
|
71
|
+
className: _style.default.author
|
|
72
|
+
}, author) : null));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
case 'text':
|
|
76
|
+
default:
|
|
77
|
+
{
|
|
78
|
+
const {
|
|
79
|
+
text,
|
|
80
|
+
unsaved = false
|
|
81
|
+
} = item;
|
|
82
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
83
|
+
key: `${item.text}-${index}`
|
|
84
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
85
|
+
className: (0, _classnames.default)(_style.default.valueSimpleText, unsaved && _style.default.unsaved)
|
|
86
|
+
}, text));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
const buildSectionHeader = section => {
|
|
93
|
+
const {
|
|
94
|
+
title,
|
|
95
|
+
counterText
|
|
96
|
+
} = section;
|
|
97
|
+
|
|
98
|
+
if (!title) {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
103
|
+
className: _style.default.sectionHeader
|
|
104
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
105
|
+
className: _style.default.title
|
|
106
|
+
}, title), counterText ? /*#__PURE__*/_react.default.createElement("span", {
|
|
107
|
+
className: _style.default.counterText
|
|
108
|
+
}, counterText) : null);
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const buildSections = sections => {
|
|
112
|
+
return sections.map((section, index) => {
|
|
113
|
+
const sectionHeader = buildSectionHeader(section);
|
|
114
|
+
const itemsView = buildItemsOfSection(section.items);
|
|
115
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
116
|
+
key: `summary-section-${index}`,
|
|
117
|
+
"data-step": index,
|
|
118
|
+
className: _style.default.sectionWrapper
|
|
119
|
+
}, sectionHeader, /*#__PURE__*/_react.default.createElement("ul", null, itemsView));
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
const buildAction = action => {
|
|
124
|
+
if (!action) return null;
|
|
125
|
+
const {
|
|
126
|
+
onClick,
|
|
127
|
+
text,
|
|
128
|
+
icon,
|
|
129
|
+
'aria-label': ariaLabel
|
|
130
|
+
} = action;
|
|
131
|
+
const handleClick = (0, _react.useMemo)(() => () => onClick(), [onClick]);
|
|
132
|
+
const buttonProps = {
|
|
133
|
+
type: 'text',
|
|
134
|
+
label: text,
|
|
135
|
+
'aria-label': ariaLabel,
|
|
136
|
+
'data-name': `${icon}-button`,
|
|
137
|
+
onClick: handleClick,
|
|
138
|
+
icon: {
|
|
139
|
+
position: 'left',
|
|
140
|
+
type: icon
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_buttonLink.default, buttonProps));
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
const WizardSummary = props => {
|
|
147
|
+
const {
|
|
148
|
+
title,
|
|
149
|
+
sections,
|
|
150
|
+
action
|
|
151
|
+
} = props;
|
|
152
|
+
const sectionsView = buildSections(sections);
|
|
153
|
+
const actionView = buildAction(action);
|
|
154
|
+
const idSwitch = 'open-summary-wizard';
|
|
155
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
156
|
+
className: _style.default.container
|
|
157
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
158
|
+
className: _style.default.desktopSummaryTitle
|
|
159
|
+
}, title), /*#__PURE__*/_react.default.createElement("input", {
|
|
160
|
+
type: "checkbox",
|
|
161
|
+
id: idSwitch,
|
|
162
|
+
name: "toogle",
|
|
163
|
+
title: idSwitch,
|
|
164
|
+
className: _style.default.checkbox
|
|
165
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
166
|
+
className: _style.default.summary
|
|
167
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
168
|
+
className: _style.default.tabletSummaryHeader
|
|
169
|
+
}, /*#__PURE__*/_react.default.createElement("label", {
|
|
170
|
+
htmlFor: idSwitch
|
|
171
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
172
|
+
className: _style.default.tabletSummaryTitle
|
|
173
|
+
}, title), /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionNavigationArrowDown, {
|
|
174
|
+
className: _style.default.tabletSummaryIcon
|
|
175
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
176
|
+
className: _style.default.summarySections
|
|
177
|
+
}, sectionsView)), /*#__PURE__*/_react.default.createElement("div", {
|
|
178
|
+
className: _style.default.actionZone
|
|
179
|
+
}, actionView));
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
WizardSummary.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
183
|
+
title: _propTypes.default.string,
|
|
184
|
+
sections: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
185
|
+
title: _propTypes.default.string,
|
|
186
|
+
items: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape({
|
|
187
|
+
type: _propTypes.default.string,
|
|
188
|
+
title: _propTypes.default.string,
|
|
189
|
+
value: _propTypes.default.string
|
|
190
|
+
}), _propTypes.default.shape({
|
|
191
|
+
type: _propTypes.default.string,
|
|
192
|
+
text: _propTypes.default.string,
|
|
193
|
+
unsaved: _propTypes.default.bool
|
|
194
|
+
}), _propTypes.default.shape({
|
|
195
|
+
type: _propTypes.default.string,
|
|
196
|
+
category: _propTypes.default.oneOf(['base', 'advanced', 'coach', 'chapter', 'scorm', 'video', 'article', 'podcast']),
|
|
197
|
+
title: _propTypes.default.string,
|
|
198
|
+
label: _propTypes.default.string,
|
|
199
|
+
author: _propTypes.default.string,
|
|
200
|
+
unsaved: _propTypes.default.bool
|
|
201
|
+
})])),
|
|
202
|
+
counterText: _propTypes.default.string
|
|
203
|
+
})),
|
|
204
|
+
action: _propTypes.default.shape({
|
|
205
|
+
icon: _propTypes.default.string,
|
|
206
|
+
text: _propTypes.default.string,
|
|
207
|
+
onClick: _propTypes.default.func,
|
|
208
|
+
'aria-label': _propTypes.default.string
|
|
209
|
+
})
|
|
210
|
+
} : {};
|
|
211
|
+
var _default = WizardSummary;
|
|
212
|
+
exports.default = _default;
|
|
213
|
+
//# sourceMappingURL=index.js.map
|