@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/atom/button/index.js"],"names":["ButtonContent","props","color","submitValue","disabled","download","href","target","onClick","className","cssStyle","button","children","type","style","dataName","anchorClassName","disabledAnchor","anchorOnClick","anchorHref","inputClassName","buttonDisabled","propTypes","ColorPropType","PropTypes","string","bool","oneOf","func","node","shape","Button","isLinkDisabled","cNames","buttonContent"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,aAAa,GAAGC,KAAK,IAAI;AAC7B,QAAM;AACJC,IAAAA,KADI;AAEJC,IAAAA,WAFI;AAGJC,IAAAA,QAHI;AAIJC,IAAAA,QAJI;AAKJC,IAAAA,IALI;AAMJC,IAAAA,MANI;AAOJC,IAAAA,OAPI;AAQJC,IAAAA,SAAS,GAAGC,eAASC,MARjB;AASJC,IAAAA,QATI;AAUJC,IAAAA,IAVI;AAWJC,IAAAA,KAXI;AAYJ,iBAAaC;AAZT,MAaFd,KAbJ;AAcA,QAAMe,eAAe,GAAIZ,QAAQ,IAAK,GAAEK,SAAU,IAAGC,eAASO,cAAe,EAArD,IAA2DR,SAAnF;AACA,QAAMS,aAAa,GAAId,QAAQ,IAAI,IAAb,IAAsBI,OAA5C;AACA,QAAMW,UAAU,GAAIf,QAAQ,IAAI,IAAb,IAAsBE,IAAzC;AACA,QAAMc,cAAc,GAAIhB,QAAQ,IAAK,GAAEK,SAAU,IAAGC,eAASW,cAAe,EAArD,IAA2DZ,SAAlF;;AAEA,UAAQI,IAAR;AACE,SAAK,MAAL;AACE,0BACE,6BAAC,aAAD;AACE,qBAAWE,QADb;AAEE,QAAA,IAAI,EAAEI,UAFR;AAGE,QAAA,QAAQ,EAAEd,QAHZ;AAIE,QAAA,OAAO,EAAEa,aAJX;AAKE,QAAA,MAAM,EAAEX,MALV;AAME,QAAA,SAAS,EAAES,eANb;AAOE,QAAA,KAAK,EAAEF;AAPT,SASGX,WAAW,IAAIS,QAAf,IAA2B,QAT9B,CADF;;AAcF,SAAK,GAAL;AACE,0BACE;AACE,qBAAWG,QADb;AAEE,QAAA,IAAI,EAAEI,UAFR;AAGE,QAAA,MAAM,EAAEZ,MAHV;AAIE,QAAA,SAAS,EAAES,eAJb;AAKE,QAAA,OAAO,EAAEE,aALX;AAME,QAAA,KAAK,EAAEJ;AANT,SAQGX,WAAW,IAAIS,QARlB,CADF;;AAaF;AACE,0BACE;AACE,qBAAWG,QADb;AAEE,QAAA,IAAI,EAAEF,IAFR;AAGE,QAAA,KAAK,EAAEV,WAHT;AAIE,QAAA,QAAQ,EAAEC,QAJZ;AAKE,QAAA,OAAO,EAAEI,OALX;AAME,QAAA,SAAS,EAAEY,cANb;AAOE,QAAA,KAAK;AACHlB,UAAAA;AADG,WAEAY,KAFA;AAPP,QADF;AA/BJ;AA8CD,CAlED;;AAoEAd,aAAa,CAACsB,SAAd,2CAA0B;AACxBpB,EAAAA,KAAK,EAAEqB,wBADiB;AAExBpB,EAAAA,WAAW,EAAEqB,mBAAUC,MAFC;AAGxBrB,EAAAA,QAAQ,EAAEoB,mBAAUE,IAHI;AAIxBpB,EAAAA,IAAI,EAAEkB,mBAAUC,MAJQ;AAKxBpB,EAAAA,QAAQ,EAAEmB,mBAAUE,IALI;AAMxBnB,EAAAA,MAAM,EAAEiB,mBAAUG,KAAV,CAAgB,CAAC,OAAD,EAAU,QAAV,EAAoB,SAApB,EAA+B,MAA/B,CAAhB,CANgB;AAOxBd,EAAAA,IAAI,EAAEW,mBAAUC,MAPQ;AAQxBjB,EAAAA,OAAO,EAAEgB,mBAAUI,IARK;AASxBhB,EAAAA,QAAQ,EAAEY,mBAAUK,IATI;AAUxBpB,EAAAA,SAAS,EAAEe,mBAAUC,MAVG;AAWxBX,EAAAA,KAAK,EAAEU,mBAAUM,KAAV,CAAgB,EAAhB,CAXiB;AAYxB,eAAaN,mBAAUC;AAZC,CAA1B;;AAeA,MAAMM,MAAM,GAAG9B,KAAK,IAAI;AACtB,QAAM;
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/button/index.js"],"names":["ButtonContent","props","color","submitValue","disabled","download","href","target","onClick","className","cssStyle","button","children","type","style","dataName","anchorClassName","disabledAnchor","anchorOnClick","anchorHref","inputClassName","buttonDisabled","propTypes","ColorPropType","PropTypes","string","bool","oneOf","func","node","shape","Button","buttonContentClassName","isLinkDisabled","cNames","buttonContent"],"mappings":"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","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {ColorPropType} from '../../util/proptypes';\nimport Link from '../link';\nimport cssStyle from './style.css';\n\nconst ButtonContent = props => {\n const {\n color,\n submitValue,\n disabled,\n download,\n href,\n target,\n onClick,\n className = cssStyle.button,\n children,\n type,\n style,\n 'data-name': dataName\n } = props;\n const anchorClassName = (disabled && `${className} ${cssStyle.disabledAnchor}`) || className;\n const anchorOnClick = (disabled && null) || onClick;\n const anchorHref = (disabled && null) || href;\n const inputClassName = (disabled && `${className} ${cssStyle.buttonDisabled}`) || className;\n\n switch (type) {\n case 'link':\n return (\n <Link\n data-name={dataName}\n href={anchorHref}\n download={download}\n onClick={anchorOnClick}\n target={target}\n className={anchorClassName}\n style={style}\n >\n {submitValue || children || 'submit'}\n </Link>\n );\n\n case 'a':\n return (\n <a\n data-name={dataName}\n href={anchorHref}\n target={target}\n className={anchorClassName}\n onClick={anchorOnClick}\n style={style}\n >\n {submitValue || children}\n </a>\n );\n\n default:\n return (\n <input\n data-name={dataName}\n type={type}\n value={submitValue}\n disabled={disabled}\n onClick={onClick}\n className={inputClassName}\n style={{\n color,\n ...style\n }}\n />\n );\n }\n};\n\nButtonContent.propTypes = {\n color: ColorPropType,\n submitValue: PropTypes.string,\n disabled: PropTypes.bool,\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top']),\n type: PropTypes.string,\n onClick: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n style: PropTypes.shape({}),\n 'data-name': PropTypes.string\n};\n\nconst Button = props => {\n const {\n className,\n buttonContentClassName,\n isLinkDisabled,\n type = 'submit',\n children,\n style\n } = props;\n const cNames =\n (isLinkDisabled && classnames([cssStyle.disabledAnchor, className])) ||\n classnames([cssStyle.button, className]);\n return (\n <div className={cNames}>\n <ButtonContent\n {...props}\n type={type}\n className={buttonContentClassName ? buttonContentClassName : cssStyle.buttonContent}\n style={{\n ...style\n }}\n >\n {children}\n </ButtonContent>\n </div>\n );\n};\n\nButton.propTypes = {\n color: ColorPropType,\n submitValue: PropTypes.string,\n disabled: PropTypes.bool,\n isLinkDisabled: PropTypes.bool,\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top']),\n type: PropTypes.string,\n onClick: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n buttonContentClassName: PropTypes.string,\n style: PropTypes.shape({}),\n 'data-name': PropTypes.string\n};\n\nexport default Button;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 _a = _interopRequireDefault(require("./fixtures/a"));
|
|
12
|
+
|
|
13
|
+
var _className = _interopRequireDefault(require("./fixtures/class-name"));
|
|
14
|
+
|
|
15
|
+
var _clear = _interopRequireDefault(require("./fixtures/clear"));
|
|
16
|
+
|
|
17
|
+
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
18
|
+
|
|
19
|
+
var _disabled = _interopRequireDefault(require("./fixtures/disabled"));
|
|
20
|
+
|
|
21
|
+
var _download = _interopRequireDefault(require("./fixtures/download"));
|
|
22
|
+
|
|
23
|
+
var _link = _interopRequireDefault(require("./fixtures/link"));
|
|
24
|
+
|
|
25
|
+
var _sso = _interopRequireDefault(require("./fixtures/sso"));
|
|
26
|
+
|
|
27
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
28
|
+
|
|
29
|
+
(0, _ava.default)('Atom › AtomButton > should have valid propTypes', t => {
|
|
30
|
+
t.pass();
|
|
31
|
+
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
32
|
+
t.not(value, undefined, `PropType for "Atom.AtomButton.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
(0, _ava.default)('Atom › AtomButton › A › should be rendered', _renderComponent.default, _.default, _a.default);
|
|
36
|
+
(0, _ava.default)('Atom › AtomButton › ClassName › should be rendered', _renderComponent.default, _.default, _className.default);
|
|
37
|
+
(0, _ava.default)('Atom › AtomButton › Clear › should be rendered', _renderComponent.default, _.default, _clear.default);
|
|
38
|
+
(0, _ava.default)('Atom › AtomButton › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
39
|
+
(0, _ava.default)('Atom › AtomButton › Disabled › should be rendered', _renderComponent.default, _.default, _disabled.default);
|
|
40
|
+
(0, _ava.default)('Atom › AtomButton › Download › should be rendered', _renderComponent.default, _.default, _download.default);
|
|
41
|
+
(0, _ava.default)('Atom › AtomButton › Link › should be rendered', _renderComponent.default, _.default, _link.default);
|
|
42
|
+
(0, _ava.default)('Atom › AtomButton › Sso › should be rendered', _renderComponent.default, _.default, _sso.default);
|
|
43
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/button/test/fixtures.js"],"names":["t","pass","AtomButton","propTypes","value","key","not","undefined","renderComponentMacro","fixtureA","fixtureClassName","fixtureClear","fixtureDefault","fixtureDisabled","fixtureDownload","fixtureLink","fixtureSso"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iDAAL,EAAwDA,CAAC,IAAI;AAC3DA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAWC,SAAnB,EAA8B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC5CL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2CAA0CF,GAAI,mEAAvE;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,4CAAL,EAAmDG,wBAAnD,EAAyEN,SAAzE,EAAqFO,UAArF;AACA,kBAAK,oDAAL,EAA2DD,wBAA3D,EAAiFN,SAAjF,EAA6FQ,kBAA7F;AACA,kBAAK,gDAAL,EAAuDF,wBAAvD,EAA6EN,SAA7E,EAAyFS,cAAzF;AACA,kBAAK,kDAAL,EAAyDH,wBAAzD,EAA+EN,SAA/E,EAA2FU,gBAA3F;AACA,kBAAK,mDAAL,EAA0DJ,wBAA1D,EAAgFN,SAAhF,EAA4FW,iBAA5F;AACA,kBAAK,mDAAL,EAA0DL,wBAA1D,EAAgFN,SAAhF,EAA4FY,iBAA5F;AACA,kBAAK,+CAAL,EAAsDN,wBAAtD,EAA4EN,SAA5E,EAAwFa,aAAxF;AACA,kBAAK,8CAAL,EAAqDP,wBAArD,EAA2EN,SAA3E,EAAuFc,YAAvF","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButton from '..';\nimport fixtureA from './fixtures/a';\nimport fixtureClassName from './fixtures/class-name';\nimport fixtureClear from './fixtures/clear';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureDownload from './fixtures/download';\nimport fixtureLink from './fixtures/link';\nimport fixtureSso from './fixtures/sso';\n\ntest('Atom › AtomButton > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButton.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButton.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButton › A › should be rendered', renderComponentMacro, AtomButton, fixtureA);\ntest('Atom › AtomButton › ClassName › should be rendered', renderComponentMacro, AtomButton, fixtureClassName);\ntest('Atom › AtomButton › Clear › should be rendered', renderComponentMacro, AtomButton, fixtureClear);\ntest('Atom › AtomButton › Default › should be rendered', renderComponentMacro, AtomButton, fixtureDefault);\ntest('Atom › AtomButton › Disabled › should be rendered', renderComponentMacro, AtomButton, fixtureDisabled);\ntest('Atom › AtomButton › Download › should be rendered', renderComponentMacro, AtomButton, fixtureDownload);\ntest('Atom › AtomButton › Link › should be rendered', renderComponentMacro, AtomButton, fixtureLink);\ntest('Atom › AtomButton › Sso › should be rendered', renderComponentMacro, AtomButton, fixtureSso);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _getOr2 = _interopRequireDefault(require("lodash/fp/getOr"));
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(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("../link"));
|
|
17
|
+
|
|
18
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
21
|
+
|
|
22
|
+
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; }
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
+
|
|
26
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
27
|
+
|
|
28
|
+
const ICONS = {
|
|
29
|
+
analytics: _novaIcons.NovaCompositionCoorpacademyAnalytics,
|
|
30
|
+
'chevron-left': _novaIcons.NovaCompositionNavigationArrowLeft,
|
|
31
|
+
'chevron-right': _novaIcons.NovaCompositionNavigationArrowRight,
|
|
32
|
+
close: _novaIcons.NovaCompositionCoorpacademyNext,
|
|
33
|
+
save: _novaIcons.NovaSolidComputersSdCard,
|
|
34
|
+
see: _novaIcons.NovaCompositionCoorpacademyEye
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const getButtonContent = (icon, label) => {
|
|
38
|
+
const {
|
|
39
|
+
type,
|
|
40
|
+
position
|
|
41
|
+
} = icon;
|
|
42
|
+
const Icon = (0, _getOr2.default)(null, type, ICONS);
|
|
43
|
+
|
|
44
|
+
if (!Icon) {
|
|
45
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
46
|
+
className: _style.default.buttonContent
|
|
47
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
48
|
+
className: _style.default.label
|
|
49
|
+
}, label));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (position === 'center' && Icon) {
|
|
53
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
54
|
+
className: _style.default.buttonContent
|
|
55
|
+
}, /*#__PURE__*/_react.default.createElement(Icon, {
|
|
56
|
+
className: _style.default.icon
|
|
57
|
+
}));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
61
|
+
className: _style.default.buttonContent
|
|
62
|
+
}, position === 'left' ? /*#__PURE__*/_react.default.createElement(Icon, {
|
|
63
|
+
className: _style.default.icon
|
|
64
|
+
}) : null, /*#__PURE__*/_react.default.createElement("span", {
|
|
65
|
+
className: _style.default.label
|
|
66
|
+
}, label), position === 'right' ? /*#__PURE__*/_react.default.createElement(Icon, {
|
|
67
|
+
className: _style.default.icon
|
|
68
|
+
}) : null);
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const ButtonLink = props => {
|
|
72
|
+
const {
|
|
73
|
+
type,
|
|
74
|
+
label,
|
|
75
|
+
disabled,
|
|
76
|
+
icon = {},
|
|
77
|
+
'data-name': dataName,
|
|
78
|
+
'aria-label': ariaLabel,
|
|
79
|
+
link,
|
|
80
|
+
onClick
|
|
81
|
+
} = props;
|
|
82
|
+
const contentView = getButtonContent(icon, label);
|
|
83
|
+
const styleButton = (0, _classnames.default)(_style.default.button, type === 'primary' && _style.default.primary, type === 'secondary' && _style.default.secondary, type === 'tertiary' && _style.default.tertiary, type === 'text' && _style.default.text, type === 'dangerous' && _style.default.dangerous, link && _style.default.link, disabled && _style.default.disabled);
|
|
84
|
+
|
|
85
|
+
if (link) {
|
|
86
|
+
return /*#__PURE__*/_react.default.createElement(_link.default, _extends({}, link, {
|
|
87
|
+
className: styleButton,
|
|
88
|
+
"data-name": dataName,
|
|
89
|
+
"aria-label": ariaLabel || label,
|
|
90
|
+
title: ariaLabel || label
|
|
91
|
+
}), contentView);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const handleOnClick = (0, _react.useMemo)(() => () => onClick(), [onClick]);
|
|
95
|
+
return /*#__PURE__*/_react.default.createElement("button", {
|
|
96
|
+
type: "button",
|
|
97
|
+
"aria-label": ariaLabel || label,
|
|
98
|
+
title: ariaLabel || label,
|
|
99
|
+
className: styleButton,
|
|
100
|
+
onClick: handleOnClick
|
|
101
|
+
}, contentView);
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
ButtonLink.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
105
|
+
type: _propTypes.default.oneOf(['primary', 'secondary', 'tertiary', 'text', 'dangerous']),
|
|
106
|
+
label: _propTypes.default.string,
|
|
107
|
+
'aria-label': _propTypes.default.string,
|
|
108
|
+
'data-name': _propTypes.default.string,
|
|
109
|
+
icon: _propTypes.default.shape({
|
|
110
|
+
position: _propTypes.default.oneOf(['right', 'left', 'center']),
|
|
111
|
+
type: _propTypes.default.string
|
|
112
|
+
}),
|
|
113
|
+
onClick: _propTypes.default.func,
|
|
114
|
+
link: _propTypes.default.shape({
|
|
115
|
+
href: _propTypes.default.string,
|
|
116
|
+
download: _propTypes.default.bool,
|
|
117
|
+
target: _propTypes.default.oneOf(['_self', '_blank', '_parent', '_top'])
|
|
118
|
+
}),
|
|
119
|
+
disabled: _propTypes.default.bool
|
|
120
|
+
} : {};
|
|
121
|
+
var _default = ButtonLink;
|
|
122
|
+
exports.default = _default;
|
|
123
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/button-link/index.js"],"names":["ICONS","analytics","AnalyticsIcon","ChevronLeftIcon","ChevronRightIcon","close","CloseIcon","save","SaveIcon","see","EyeIcon","getButtonContent","icon","label","type","position","Icon","style","buttonContent","ButtonLink","props","disabled","dataName","ariaLabel","link","onClick","contentView","styleButton","button","primary","secondary","tertiary","text","dangerous","handleOnClick","propTypes","PropTypes","oneOf","string","shape","func","href","download","bool","target"],"mappings":"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","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {\n NovaCompositionNavigationArrowLeft as ChevronLeftIcon,\n NovaCompositionNavigationArrowRight as ChevronRightIcon,\n NovaCompositionCoorpacademyEye as EyeIcon,\n NovaCompositionCoorpacademyAnalytics as AnalyticsIcon,\n NovaCompositionCoorpacademyNext as CloseIcon,\n NovaSolidComputersSdCard as SaveIcon\n} from '@coorpacademy/nova-icons';\nimport Link from '../link';\nimport style from './style.css';\n\nconst ICONS = {\n analytics: AnalyticsIcon,\n 'chevron-left': ChevronLeftIcon,\n 'chevron-right': ChevronRightIcon,\n close: CloseIcon,\n save: SaveIcon,\n see: EyeIcon\n};\n\nconst getButtonContent = (icon, label) => {\n const {type, position} = icon;\n const Icon = getOr(null, type, ICONS);\n\n if (!Icon) {\n return (\n <div className={style.buttonContent}>\n <span className={style.label}>{label}</span>\n </div>\n );\n }\n\n if (position === 'center' && Icon) {\n return (\n <div className={style.buttonContent}>\n <Icon className={style.icon} />\n </div>\n );\n }\n\n return (\n <div className={style.buttonContent}>\n {position === 'left' ? <Icon className={style.icon} /> : null}\n <span className={style.label}>{label}</span>\n {position === 'right' ? <Icon className={style.icon} /> : null}\n </div>\n );\n};\n\nconst ButtonLink = props => {\n const {\n type,\n label,\n disabled,\n icon = {},\n 'data-name': dataName,\n 'aria-label': ariaLabel,\n link,\n onClick\n } = props;\n const contentView = getButtonContent(icon, label);\n const styleButton = classnames(\n style.button,\n type === 'primary' && style.primary,\n type === 'secondary' && style.secondary,\n type === 'tertiary' && style.tertiary,\n type === 'text' && style.text,\n type === 'dangerous' && style.dangerous,\n link && style.link,\n disabled && style.disabled\n );\n\n if (link) {\n return (\n <Link\n {...link}\n className={styleButton}\n data-name={dataName}\n aria-label={ariaLabel || label}\n title={ariaLabel || label}\n >\n {contentView}\n </Link>\n );\n }\n\n const handleOnClick = useMemo(() => () => onClick(), [onClick]);\n return (\n <button\n type=\"button\"\n aria-label={ariaLabel || label}\n title={ariaLabel || label}\n className={styleButton}\n onClick={handleOnClick}\n >\n {contentView}\n </button>\n );\n};\n\nButtonLink.propTypes = {\n type: PropTypes.oneOf(['primary', 'secondary', 'tertiary', 'text', 'dangerous']),\n label: PropTypes.string,\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.oneOf(['right', 'left', 'center']),\n type: PropTypes.string\n }),\n onClick: PropTypes.func,\n link: PropTypes.shape({\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])\n }),\n disabled: PropTypes.bool\n};\n\nexport default ButtonLink;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value cm_primary_blue from colors;
|
|
3
|
+
@value cm_blue_600 from colors;
|
|
4
|
+
@value cm_grey_50 from colors;
|
|
5
|
+
@value cm_grey_100 from colors;
|
|
6
|
+
@value cm_grey_200 from colors;
|
|
7
|
+
@value cm_grey_900 from colors;
|
|
8
|
+
@value cm_negative_100 from colors;
|
|
9
|
+
@value cm_negative_200 from colors;
|
|
10
|
+
@value white from colors;
|
|
11
|
+
|
|
12
|
+
.button {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 44px;
|
|
15
|
+
border-radius: 7px;
|
|
16
|
+
font-family: Gilroy;
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
border: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.disabled {
|
|
27
|
+
opacity: 0.1;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.buttonContent {
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.link {
|
|
38
|
+
color: inherit;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.icon {
|
|
43
|
+
width: 12px;
|
|
44
|
+
height: 12px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.label {
|
|
48
|
+
margin: 0 8px 0 8px;
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.primary {
|
|
53
|
+
background-color: cm_primary_blue;
|
|
54
|
+
color: white;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.primary:hover {
|
|
58
|
+
background-color: cm_blue_600;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.secondary {
|
|
62
|
+
background-color: cm_grey_100;
|
|
63
|
+
color: cm_grey_900;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.secondary:hover {
|
|
67
|
+
background-color: cm_grey_200;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.tertiary {
|
|
71
|
+
background-color: cm_grey_50;
|
|
72
|
+
color: cm_grey_900;
|
|
73
|
+
border-radius: 0px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.tertiary:hover {
|
|
77
|
+
background-color: cm_grey_100;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.dangerous {
|
|
81
|
+
background-color: cm_negative_100;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.dangerous:hover {
|
|
85
|
+
background-color: cm_negative_200;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.text {
|
|
89
|
+
background: transparent;
|
|
90
|
+
color: cm_grey_900;
|
|
91
|
+
border-radius: 0px;
|
|
92
|
+
height: auto;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.text:hover {
|
|
96
|
+
color: cm_primary_blue;
|
|
97
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'dangerous',
|
|
8
|
+
label: 'Delete',
|
|
9
|
+
'aria-label': 'aria button',
|
|
10
|
+
'data-name': 'default-button',
|
|
11
|
+
onClick: () => console.log('click')
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.default = _default;
|
|
15
|
+
//# sourceMappingURL=button-dangerous-no-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/button-dangerous-no-icon.js"],"names":["props","type","label","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,WADD;AAELC,IAAAA,KAAK,EAAE,QAFF;AAGL,kBAAc,aAHT;AAIL,iBAAa,gBAJR;AAKLC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AALV;AADM,C","sourcesContent":["export default {\n props: {\n type: 'dangerous',\n label: 'Delete',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n onClick: () => console.log('click')\n }\n};\n"],"file":"button-dangerous-no-icon.js"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'primary',
|
|
8
|
+
label: 'See my platform',
|
|
9
|
+
'aria-label': 'aria button',
|
|
10
|
+
'data-name': 'default-button',
|
|
11
|
+
icon: {
|
|
12
|
+
position: 'left',
|
|
13
|
+
type: 'chevron-left'
|
|
14
|
+
},
|
|
15
|
+
onClick: () => console.log('click')
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
exports.default = _default;
|
|
19
|
+
//# sourceMappingURL=button-primary-icon-left.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/button-primary-icon-left.js"],"names":["props","type","label","icon","position","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,SADD;AAELC,IAAAA,KAAK,EAAE,iBAFF;AAGL,kBAAc,aAHT;AAIL,iBAAa,gBAJR;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,MADN;AAEJH,MAAAA,IAAI,EAAE;AAFF,KALD;AASLI,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AATV;AADM,C","sourcesContent":["export default {\n props: {\n type: 'primary',\n label: 'See my platform',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n icon: {\n position: 'left',\n type: 'chevron-left'\n },\n onClick: () => console.log('click')\n }\n};\n"],"file":"button-primary-icon-left.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'primary',
|
|
8
|
+
label: 'See my platform',
|
|
9
|
+
'aria-label': 'aria button',
|
|
10
|
+
'data-name': 'default-button',
|
|
11
|
+
onClick: () => console.log('click')
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.default = _default;
|
|
15
|
+
//# sourceMappingURL=button-primary-no-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/button-primary-no-icon.js"],"names":["props","type","label","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,SADD;AAELC,IAAAA,KAAK,EAAE,iBAFF;AAGL,kBAAc,aAHT;AAIL,iBAAa,gBAJR;AAKLC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AALV;AADM,C","sourcesContent":["export default {\n props: {\n type: 'primary',\n label: 'See my platform',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n onClick: () => console.log('click')\n }\n};\n"],"file":"button-primary-no-icon.js"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'secondary',
|
|
8
|
+
label: 'See my platform',
|
|
9
|
+
'aria-label': 'aria button',
|
|
10
|
+
'data-name': 'default-button',
|
|
11
|
+
onClick: () => console.log('click'),
|
|
12
|
+
disabled: true
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
exports.default = _default;
|
|
16
|
+
//# sourceMappingURL=button-secondary-no-icon-disabled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js"],"names":["props","type","label","onClick","console","log","disabled"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,WADD;AAELC,IAAAA,KAAK,EAAE,iBAFF;AAGL,kBAAc,aAHT;AAIL,iBAAa,gBAJR;AAKLC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ,CALV;AAMLC,IAAAA,QAAQ,EAAE;AANL;AADM,C","sourcesContent":["export default {\n props: {\n type: 'secondary',\n label: 'See my platform',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n onClick: () => console.log('click'),\n disabled: true\n }\n};\n"],"file":"button-secondary-no-icon-disabled.js"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'tertiary',
|
|
8
|
+
label: 'Button',
|
|
9
|
+
'aria-label': 'aria button',
|
|
10
|
+
'data-name': 'default-button',
|
|
11
|
+
icon: {
|
|
12
|
+
position: 'left',
|
|
13
|
+
type: 'see'
|
|
14
|
+
},
|
|
15
|
+
onClick: () => console.log('click')
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
exports.default = _default;
|
|
19
|
+
//# sourceMappingURL=button-tertiary-icon-left.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/button-tertiary-icon-left.js"],"names":["props","type","label","icon","position","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,UADD;AAELC,IAAAA,KAAK,EAAE,QAFF;AAGL,kBAAc,aAHT;AAIL,iBAAa,gBAJR;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,MADN;AAEJH,MAAAA,IAAI,EAAE;AAFF,KALD;AASLI,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AATV;AADM,C","sourcesContent":["export default {\n props: {\n type: 'tertiary',\n label: 'Button',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n icon: {\n position: 'left',\n type: 'see'\n },\n onClick: () => console.log('click')\n }\n};\n"],"file":"button-tertiary-icon-left.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'secondary',
|
|
8
|
+
'data-name': 'default-button',
|
|
9
|
+
'aria-label': 'aria button',
|
|
10
|
+
icon: {
|
|
11
|
+
position: 'center',
|
|
12
|
+
type: 'close'
|
|
13
|
+
},
|
|
14
|
+
onClick: () => console.log('click')
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
exports.default = _default;
|
|
18
|
+
//# sourceMappingURL=icon-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/icon-button.js"],"names":["props","type","icon","position","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,WADD;AAEL,iBAAa,gBAFR;AAGL,kBAAc,aAHT;AAILC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,QADN;AAEJF,MAAAA,IAAI,EAAE;AAFF,KAJD;AAQLG,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AARV;AADM,C","sourcesContent":["export default {\n props: {\n type: 'secondary',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n icon: {\n position: 'center',\n type: 'close'\n },\n onClick: () => console.log('click')\n }\n};\n"],"file":"icon-button.js"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'primary',
|
|
8
|
+
disabled: true,
|
|
9
|
+
label: 'Global Analytics',
|
|
10
|
+
'aria-label': 'aria button',
|
|
11
|
+
'data-name': 'default-button',
|
|
12
|
+
icon: {
|
|
13
|
+
position: 'right',
|
|
14
|
+
type: 'analytics'
|
|
15
|
+
},
|
|
16
|
+
link: {
|
|
17
|
+
href: 'https://www.google.com'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
exports.default = _default;
|
|
22
|
+
//# sourceMappingURL=link-primary-disabled-icon-right.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js"],"names":["props","type","disabled","label","icon","position","link","href"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,SADD;AAELC,IAAAA,QAAQ,EAAE,IAFL;AAGLC,IAAAA,KAAK,EAAE,kBAHF;AAIL,kBAAc,aAJT;AAKL,iBAAa,gBALR;AAMLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,OADN;AAEJJ,MAAAA,IAAI,EAAE;AAFF,KAND;AAULK,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF;AAVD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'primary',\n disabled: true,\n label: 'Global Analytics',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n icon: {\n position: 'right',\n type: 'analytics'\n },\n link: {\n href: 'https://www.google.com'\n }\n }\n};\n"],"file":"link-primary-disabled-icon-right.js"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'secondary',
|
|
8
|
+
label: 'Global Analytics',
|
|
9
|
+
'data-name': 'default-button',
|
|
10
|
+
'aria-label': 'aria button',
|
|
11
|
+
icon: {
|
|
12
|
+
position: 'right',
|
|
13
|
+
type: 'analytics'
|
|
14
|
+
},
|
|
15
|
+
onClick: () => {
|
|
16
|
+
console.log('Click on link');
|
|
17
|
+
return;
|
|
18
|
+
},
|
|
19
|
+
link: {
|
|
20
|
+
href: 'https://www.google.com'
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.default = _default;
|
|
25
|
+
//# sourceMappingURL=link-secondary-icon-right.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-secondary-icon-right.js"],"names":["props","type","label","icon","position","onClick","console","log","link","href"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,WADD;AAELC,IAAAA,KAAK,EAAE,kBAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,OADN;AAEJH,MAAAA,IAAI,EAAE;AAFF,KALD;AASLI,IAAAA,OAAO,EAAE,MAAM;AACbC,MAAAA,OAAO,CAACC,GAAR,CAAY,eAAZ;AACA;AACD,KAZI;AAaLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF;AAbD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'secondary',\n label: 'Global Analytics',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n icon: {\n position: 'right',\n type: 'analytics'\n },\n onClick: () => {\n console.log('Click on link');\n return;\n },\n link: {\n href: 'https://www.google.com'\n }\n }\n};\n"],"file":"link-secondary-icon-right.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'tertiary',
|
|
8
|
+
label: 'Go to google',
|
|
9
|
+
'data-name': 'default-button',
|
|
10
|
+
'aria-label': 'aria button',
|
|
11
|
+
onClick: () => {
|
|
12
|
+
console.log('Click on link');
|
|
13
|
+
return;
|
|
14
|
+
},
|
|
15
|
+
link: {
|
|
16
|
+
href: 'https://www.google.com'
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.default = _default;
|
|
21
|
+
//# sourceMappingURL=link-tertiary-no-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-tertiary-no-icon.js"],"names":["props","type","label","onClick","console","log","link","href"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,UADD;AAELC,IAAAA,KAAK,EAAE,cAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,OAAO,EAAE,MAAM;AACbC,MAAAA,OAAO,CAACC,GAAR,CAAY,eAAZ;AACA;AACD,KARI;AASLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF;AATD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'tertiary',\n label: 'Go to google',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n onClick: () => {\n console.log('Click on link');\n return;\n },\n link: {\n href: 'https://www.google.com'\n }\n }\n};\n"],"file":"link-tertiary-no-icon.js"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'text',
|
|
8
|
+
label: 'Button',
|
|
9
|
+
'data-name': 'default-button',
|
|
10
|
+
'aria-label': 'aria button',
|
|
11
|
+
icon: {
|
|
12
|
+
position: 'right',
|
|
13
|
+
type: 'chevron-left'
|
|
14
|
+
},
|
|
15
|
+
link: {
|
|
16
|
+
href: 'http://www.google.com',
|
|
17
|
+
target: '_blank'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
exports.default = _default;
|
|
22
|
+
//# sourceMappingURL=link-text-icon-right-target-blank.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js"],"names":["props","type","label","icon","position","link","href","target"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,MADD;AAELC,IAAAA,KAAK,EAAE,QAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,OADN;AAEJH,MAAAA,IAAI,EAAE;AAFF,KALD;AASLI,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE,uBADF;AAEJC,MAAAA,MAAM,EAAE;AAFJ;AATD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'text',\n label: 'Button',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n icon: {\n position: 'right',\n type: 'chevron-left'\n },\n link: {\n href: 'http://www.google.com',\n target: '_blank'\n }\n }\n};\n"],"file":"link-text-icon-right-target-blank.js"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
type: 'text',
|
|
8
|
+
label: 'Download',
|
|
9
|
+
'data-name': 'default-button',
|
|
10
|
+
'aria-label': 'aria button',
|
|
11
|
+
link: {
|
|
12
|
+
href: 'https://setup.coorpacademy.com/assets/templates/import-users-template.xlsx',
|
|
13
|
+
download: true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
exports.default = _default;
|
|
18
|
+
//# sourceMappingURL=link-text-no-icon-download.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-text-no-icon-download.js"],"names":["props","type","label","link","href","download"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,MADD;AAELC,IAAAA,KAAK,EAAE,UAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE,4EADF;AAEJC,MAAAA,QAAQ,EAAE;AAFN;AALD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'text',\n label: 'Download',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n link: {\n href: 'https://setup.coorpacademy.com/assets/templates/import-users-template.xlsx',\n download: true\n }\n }\n};\n"],"file":"link-text-no-icon-download.js"}
|
|
@@ -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 _list = _interopRequireDefault(require("./fixtures/list"));
|
|
12
|
+
|
|
13
|
+
var _picture = _interopRequireDefault(require("./fixtures/picture"));
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
(0, _ava.default)('Atom › AtomCatalogSection > should have valid propTypes', t => {
|
|
18
|
+
t.pass();
|
|
19
|
+
(0, _forEach.default)(_.default.propTypes, (value, key) => {
|
|
20
|
+
t.not(value, undefined, `PropType for "Atom.AtomCatalogSection.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
(0, _ava.default)('Atom › AtomCatalogSection › List › should be rendered', _renderComponent.default, _.default, _list.default);
|
|
24
|
+
(0, _ava.default)('Atom › AtomCatalogSection › Picture › should be rendered', _renderComponent.default, _.default, _picture.default);
|
|
25
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/catalog-section/test/fixtures.js"],"names":["t","pass","AtomCatalogSection","propTypes","value","key","not","undefined","renderComponentMacro","fixtureList","fixturePicture"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,yDAAL,EAAgEA,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAmBC,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACpDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uDAAL,EAA8DG,wBAA9D,EAAoFN,SAApF,EAAwGO,aAAxG;AACA,kBAAK,0DAAL,EAAiED,wBAAjE,EAAuFN,SAAvF,EAA2GQ,gBAA3G","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomCatalogSection from '..';\nimport fixtureList from './fixtures/list';\nimport fixturePicture from './fixtures/picture';\n\ntest('Atom › AtomCatalogSection > should have valid propTypes', t => {\n t.pass();\n forEach(AtomCatalogSection.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomCatalogSection.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomCatalogSection › List › should be rendered', renderComponentMacro, AtomCatalogSection, fixtureList);\ntest('Atom › AtomCatalogSection › Picture › should be rendered', renderComponentMacro, AtomCatalogSection, fixturePicture);\n"],"file":"fixtures.js"}
|