@coorpacademy/components 10.1.1 → 10.1.5
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/button/index.js +3 -1
- package/es/atom/button/index.js.map +1 -1
- package/es/atom/button-link/index.js +108 -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/chips/index.js +8 -4
- package/es/atom/chips/index.js.map +1 -1
- package/es/atom/chips/style.css +17 -2
- package/es/atom/chips/test/fixtures/long-text.js +9 -0
- package/es/atom/chips/test/fixtures/long-text.js.map +1 -0
- package/es/atom/content-badge/index.js +4 -4
- package/es/atom/content-badge/index.js.map +1 -1
- 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 +202 -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-text/index.js +1 -1
- package/es/atom/input-text/index.js.map +1 -1
- package/es/atom/input-text/style.css +22 -13
- 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/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/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/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/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-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/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/feedback/test/fixtures.js +2 -0
- package/es/molecule/feedback/test/fixtures.js.map +1 -1
- package/es/molecule/search-form/index.js +1 -1
- package/es/molecule/search-form/index.js.map +1 -1
- package/es/molecule/select-multiple/index.js +113 -146
- package/es/molecule/select-multiple/index.js.map +1 -1
- package/es/molecule/select-multiple/test/index.js +20 -79
- package/es/molecule/select-multiple/test/index.js.map +1 -1
- package/es/molecule/wizard-summary/index.js +60 -25
- package/es/molecule/wizard-summary/index.js.map +1 -1
- package/es/molecule/wizard-summary/style.css +100 -20
- package/es/molecule/wizard-summary/test/fixtures/default.js +11 -4
- package/es/molecule/wizard-summary/test/fixtures/default.js.map +1 -1
- package/es/molecule/wizard-summary/test/fixtures/one-section.js +2 -1
- package/es/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -1
- 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 +2 -1
- package/es/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -1
- package/es/molecule/wizard-summary/test/fixtures/two-sections.js +2 -1
- package/es/molecule/wizard-summary/test/fixtures/two-sections.js.map +1 -1
- package/es/organism/brand-table/index.js +1 -1
- package/es/organism/brand-table/index.js.map +1 -1
- 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/search-and-chips-results/index.js +91 -0
- package/es/organism/search-and-chips-results/index.js.map +1 -0
- package/es/organism/search-and-chips-results/style.css +57 -0
- package/es/organism/search-and-chips-results/test/fixtures/default.js +46 -0
- package/es/organism/search-and-chips-results/test/fixtures/default.js.map +1 -0
- package/es/organism/search-and-chips-results/test/fixtures/empty.js +23 -0
- package/es/organism/search-and-chips-results/test/fixtures/empty.js.map +1 -0
- package/es/organism/search-and-chips-results/test/fixtures/filtered.js +26 -0
- package/es/organism/search-and-chips-results/test/fixtures/filtered.js.map +1 -0
- package/es/organism/search-and-chips-results/test/fixtures/sorted-selected.js +49 -0
- package/es/organism/search-and-chips-results/test/fixtures/sorted-selected.js.map +1 -0
- package/es/organism/search-and-chips-results/test/fixtures/unsorted-selected.js +49 -0
- package/es/organism/search-and-chips-results/test/fixtures/unsorted-selected.js.map +1 -0
- package/es/template/app-player/popin-end/test/fixtures.js +2 -0
- package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
- 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/variables/colors.css +7 -3
- package/lib/atom/button/index.js +3 -1
- package/lib/atom/button/index.js.map +1 -1
- package/lib/atom/button-link/index.js +125 -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/chips/index.js +8 -4
- package/lib/atom/chips/index.js.map +1 -1
- package/lib/atom/chips/style.css +17 -2
- package/lib/atom/chips/test/fixtures/long-text.js +14 -0
- package/lib/atom/chips/test/fixtures/long-text.js.map +1 -0
- package/lib/atom/content-badge/index.js +4 -4
- package/lib/atom/content-badge/index.js.map +1 -1
- 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 +202 -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-text/index.js +1 -1
- package/lib/atom/input-text/index.js.map +1 -1
- package/lib/atom/input-text/style.css +22 -13
- 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/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/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/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/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-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/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/feedback/test/fixtures.js +3 -0
- package/lib/molecule/feedback/test/fixtures.js.map +1 -1
- package/lib/molecule/search-form/index.js +3 -3
- package/lib/molecule/search-form/index.js.map +1 -1
- package/lib/molecule/select-multiple/index.js +117 -143
- package/lib/molecule/select-multiple/index.js.map +1 -1
- package/lib/molecule/select-multiple/test/index.js +25 -79
- package/lib/molecule/select-multiple/test/index.js.map +1 -1
- package/lib/molecule/wizard-summary/index.js +59 -23
- package/lib/molecule/wizard-summary/index.js.map +1 -1
- package/lib/molecule/wizard-summary/style.css +100 -20
- package/lib/molecule/wizard-summary/test/fixtures/default.js +11 -4
- package/lib/molecule/wizard-summary/test/fixtures/default.js.map +1 -1
- package/lib/molecule/wizard-summary/test/fixtures/one-section.js +2 -1
- package/lib/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -1
- 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 +2 -1
- package/lib/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -1
- package/lib/molecule/wizard-summary/test/fixtures/two-sections.js +2 -1
- package/lib/molecule/wizard-summary/test/fixtures/two-sections.js.map +1 -1
- package/lib/organism/brand-table/index.js +3 -3
- package/lib/organism/brand-table/index.js.map +1 -1
- 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/search-and-chips-results/index.js +104 -0
- package/lib/organism/search-and-chips-results/index.js.map +1 -0
- package/lib/organism/search-and-chips-results/style.css +57 -0
- package/lib/organism/search-and-chips-results/test/fixtures/default.js +51 -0
- package/lib/organism/search-and-chips-results/test/fixtures/default.js.map +1 -0
- package/lib/organism/search-and-chips-results/test/fixtures/empty.js +28 -0
- package/lib/organism/search-and-chips-results/test/fixtures/empty.js.map +1 -0
- package/lib/organism/search-and-chips-results/test/fixtures/filtered.js +31 -0
- package/lib/organism/search-and-chips-results/test/fixtures/filtered.js.map +1 -0
- package/lib/organism/search-and-chips-results/test/fixtures/sorted-selected.js +54 -0
- package/lib/organism/search-and-chips-results/test/fixtures/sorted-selected.js.map +1 -0
- package/lib/organism/search-and-chips-results/test/fixtures/unsorted-selected.js +54 -0
- package/lib/organism/search-and-chips-results/test/fixtures/unsorted-selected.js.map +1 -0
- package/lib/template/app-player/popin-end/test/fixtures.js +3 -0
- package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
- 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/variables/colors.css +7 -3
- package/package.json +3 -3
- package/es/atom/chips/test/fixtures.js +0 -15
- package/es/atom/chips/test/fixtures.js.map +0 -1
- package/es/atom/content-badge/test/fixtures.js +0 -27
- package/es/atom/content-badge/test/fixtures.js.map +0 -1
- package/es/atom/wizard-steps/test/fixtures.js +0 -17
- package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
- package/es/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/es/molecule/vertical-tabs/test/fixtures.js +0 -15
- package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
- package/es/molecule/wizard-summary/test/fixtures.js +0 -19
- package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
- package/lib/atom/chips/test/fixtures.js +0 -25
- package/lib/atom/chips/test/fixtures.js.map +0 -1
- package/lib/atom/content-badge/test/fixtures.js +0 -43
- package/lib/atom/content-badge/test/fixtures.js.map +0 -1
- package/lib/atom/wizard-steps/test/fixtures.js +0 -28
- package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
- package/lib/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
- package/lib/molecule/vertical-tabs/test/fixtures.js +0 -25
- package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
- package/lib/molecule/wizard-summary/test/fixtures.js +0 -31
- package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
selectAllButton: {
|
|
8
|
+
label: 'Select All',
|
|
9
|
+
onClick: () => console.log('Select All')
|
|
10
|
+
},
|
|
11
|
+
search: {
|
|
12
|
+
title: 'Search...',
|
|
13
|
+
placeholder: 'Search...',
|
|
14
|
+
value: 'Human',
|
|
15
|
+
description: 'Type to filter the populations',
|
|
16
|
+
onChange: value => console.log(value)
|
|
17
|
+
},
|
|
18
|
+
'results-aria-label': 'Population results',
|
|
19
|
+
results: [{
|
|
20
|
+
text: 'Population Human resourses filiale Singapour',
|
|
21
|
+
information: '15739 users',
|
|
22
|
+
onClick: () => console.log('click Population Human resourses filiale Singapour')
|
|
23
|
+
}, {
|
|
24
|
+
text: 'Population managed by othes Human resources in some country',
|
|
25
|
+
information: '10 users',
|
|
26
|
+
onClick: () => console.log('click Population managed by othes RH in some country')
|
|
27
|
+
}]
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.default = _default;
|
|
31
|
+
//# sourceMappingURL=filtered.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/filtered.js"],"names":["props","selectAllButton","label","onClick","console","log","search","title","placeholder","value","description","onChange","results","text","information"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,eAAe,EAAE;AACfC,MAAAA,KAAK,EAAE,YADQ;AAEfC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ;AAFA,KADZ;AAKLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,OAHD;AAINC,MAAAA,WAAW,EAAE,gCAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIL,OAAO,CAACC,GAAR,CAAYI,KAAZ;AALb,KALH;AAYL,0BAAsB,oBAZjB;AAaLG,IAAAA,OAAO,EAAE,CACP;AACEC,MAAAA,IAAI,EAAE,8CADR;AAEEC,MAAAA,WAAW,EAAE,aAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oDAAZ;AAHjB,KADO,EAMP;AACEQ,MAAAA,IAAI,EAAE,6DADR;AAEEC,MAAAA,WAAW,EAAE,UAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,sDAAZ;AAHjB,KANO;AAbJ;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All')\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: 'Human',\n description: 'Type to filter the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [\n {\n text: 'Population Human resourses filiale Singapour',\n information: '15739 users',\n onClick: () => console.log('click Population Human resourses filiale Singapour')\n },\n {\n text: 'Population managed by othes Human resources in some country',\n information: '10 users',\n onClick: () => console.log('click Population managed by othes RH in some country')\n }\n ]\n }\n};\n"],"file":"filtered.js"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
selectAllButton: {
|
|
8
|
+
label: 'Select All',
|
|
9
|
+
onClick: () => console.log('Select All')
|
|
10
|
+
},
|
|
11
|
+
search: {
|
|
12
|
+
title: 'Search...',
|
|
13
|
+
placeholder: 'Search...',
|
|
14
|
+
value: '',
|
|
15
|
+
description: 'Type to filter the populations',
|
|
16
|
+
onChange: value => console.log(value)
|
|
17
|
+
},
|
|
18
|
+
'results-aria-label': 'Population results',
|
|
19
|
+
results: [{
|
|
20
|
+
text: 'Population 1',
|
|
21
|
+
information: '345 users',
|
|
22
|
+
onClick: () => console.log('click Population 1'),
|
|
23
|
+
selected: true
|
|
24
|
+
}, {
|
|
25
|
+
text: 'P',
|
|
26
|
+
information: '1 p',
|
|
27
|
+
onClick: () => console.log('click P'),
|
|
28
|
+
selected: true
|
|
29
|
+
}, {
|
|
30
|
+
text: 'Population a long with a long name',
|
|
31
|
+
information: '105 users',
|
|
32
|
+
onClick: () => console.log('click Population a long with a long name'),
|
|
33
|
+
selected: true
|
|
34
|
+
}, {
|
|
35
|
+
text: 'Population Human resourses filiale Singapour',
|
|
36
|
+
information: '15739 users',
|
|
37
|
+
onClick: () => console.log('click Population Human resourses filiale Singapour')
|
|
38
|
+
}, {
|
|
39
|
+
text: 'Population managed by othes RH in some country',
|
|
40
|
+
information: '10 users',
|
|
41
|
+
onClick: () => console.log('click Population managed by othes RH in some country')
|
|
42
|
+
}, {
|
|
43
|
+
text: 'Population 4',
|
|
44
|
+
information: '106728 users',
|
|
45
|
+
onClick: () => console.log('click Population 4')
|
|
46
|
+
}, {
|
|
47
|
+
text: 'Result bit that long',
|
|
48
|
+
information: '1067 users',
|
|
49
|
+
onClick: () => console.log('click Result bit that long')
|
|
50
|
+
}]
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
exports.default = _default;
|
|
54
|
+
//# sourceMappingURL=sorted-selected.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/sorted-selected.js"],"names":["props","selectAllButton","label","onClick","console","log","search","title","placeholder","value","description","onChange","results","text","information","selected"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,eAAe,EAAE;AACfC,MAAAA,KAA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BP;AACEQ,MAAAA,IAAI,EAAE,cADR;AAEEC,MAAAA,WAAW,EAAE,cAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oBAAZ;AAHjB,KA7BO,EAkCP;AACEQ,MAAAA,IAAI,EAAE,sBADR;AAEEC,MAAAA,WAAW,EAAE,YAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,4BAAZ;AAHjB,KAlCO;AAbJ;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All')\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [\n {\n text: 'Population 1',\n information: '345 users',\n onClick: () => console.log('click Population 1'),\n selected: true\n },\n {\n text: 'P',\n information: '1 p',\n onClick: () => console.log('click P'),\n selected: true\n },\n {\n text: 'Population a long with a long name',\n information: '105 users',\n onClick: () => console.log('click Population a long with a long name'),\n selected: true\n },\n {\n text: 'Population Human resourses filiale Singapour',\n information: '15739 users',\n onClick: () => console.log('click Population Human resourses filiale Singapour')\n },\n {\n text: 'Population managed by othes RH in some country',\n information: '10 users',\n onClick: () => console.log('click Population managed by othes RH in some country')\n },\n {\n text: 'Population 4',\n information: '106728 users',\n onClick: () => console.log('click Population 4')\n },\n {\n text: 'Result bit that long',\n information: '1067 users',\n onClick: () => console.log('click Result bit that long')\n }\n ]\n }\n};\n"],"file":"sorted-selected.js"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
selectAllButton: {
|
|
8
|
+
label: 'Select All',
|
|
9
|
+
onClick: () => console.log('Select All')
|
|
10
|
+
},
|
|
11
|
+
search: {
|
|
12
|
+
title: 'Search...',
|
|
13
|
+
placeholder: 'Search...',
|
|
14
|
+
value: '',
|
|
15
|
+
description: 'Type to filter the populations',
|
|
16
|
+
onChange: value => console.log(value)
|
|
17
|
+
},
|
|
18
|
+
'results-aria-label': 'Population results',
|
|
19
|
+
results: [{
|
|
20
|
+
text: 'Population Human resourses filiale Singapour',
|
|
21
|
+
information: '15739 users',
|
|
22
|
+
onClick: () => console.log('click Population Human resourses filiale Singapour')
|
|
23
|
+
}, {
|
|
24
|
+
text: 'Population 1',
|
|
25
|
+
information: '345 users',
|
|
26
|
+
onClick: () => console.log('click Population 1'),
|
|
27
|
+
selected: true
|
|
28
|
+
}, {
|
|
29
|
+
text: 'P',
|
|
30
|
+
information: '1 p',
|
|
31
|
+
onClick: () => console.log('click P'),
|
|
32
|
+
selected: true
|
|
33
|
+
}, {
|
|
34
|
+
text: 'Population managed by othes RH in some country',
|
|
35
|
+
information: '10 users',
|
|
36
|
+
onClick: () => console.log('click Population managed by othes RH in some country')
|
|
37
|
+
}, {
|
|
38
|
+
text: 'Population 4',
|
|
39
|
+
information: '106728 users',
|
|
40
|
+
onClick: () => console.log('click Population 4')
|
|
41
|
+
}, {
|
|
42
|
+
text: 'Population a long with a long name',
|
|
43
|
+
information: '105 users',
|
|
44
|
+
onClick: () => console.log('click Population a long with a long name'),
|
|
45
|
+
selected: true
|
|
46
|
+
}, {
|
|
47
|
+
text: 'Result bit that long',
|
|
48
|
+
information: '1067 users',
|
|
49
|
+
onClick: () => console.log('click Result bit that long')
|
|
50
|
+
}]
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
exports.default = _default;
|
|
54
|
+
//# sourceMappingURL=unsorted-selected.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/unsorted-selected.js"],"names":["props","selectAllButton","label","onClick","console","log","search","title","placeholder","value","description","onChange","results","text","information","selected"],"mappings":";;;;eAAe;AACbA,EAAAA,KAA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jB,KAvBO,EA4BP;AACEQ,MAAAA,IAAI,EAAE,oCADR;AAEEC,MAAAA,WAAW,EAAE,WAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,0CAAZ,CAHjB;AAIEU,MAAAA,QAAQ,EAAE;AAJZ,KA5BO,EAkCP;AACEF,MAAAA,IAAI,EAAE,sBADR;AAEEC,MAAAA,WAAW,EAAE,YAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,4BAAZ;AAHjB,KAlCO;AAbJ;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All')\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [\n {\n text: 'Population Human resourses filiale Singapour',\n information: '15739 users',\n onClick: () => console.log('click Population Human resourses filiale Singapour')\n },\n {\n text: 'Population 1',\n information: '345 users',\n onClick: () => console.log('click Population 1'),\n selected: true\n },\n {\n text: 'P',\n information: '1 p',\n onClick: () => console.log('click P'),\n selected: true\n },\n {\n text: 'Population managed by othes RH in some country',\n information: '10 users',\n onClick: () => console.log('click Population managed by othes RH in some country')\n },\n {\n text: 'Population 4',\n information: '106728 users',\n onClick: () => console.log('click Population 4')\n },\n {\n text: 'Population a long with a long name',\n information: '105 users',\n onClick: () => console.log('click Population a long with a long name'),\n selected: true\n },\n {\n text: 'Result bit that long',\n information: '1067 users',\n onClick: () => console.log('click Result bit that long')\n }\n ]\n }\n};\n"],"file":"unsorted-selected.js"}
|
|
@@ -38,6 +38,8 @@ var _nextCourse = _interopRequireDefault(require("./fixtures/next-course"));
|
|
|
38
38
|
|
|
39
39
|
var _nextLevelAdaptiveImg = _interopRequireDefault(require("./fixtures/next-level-adaptive-img"));
|
|
40
40
|
|
|
41
|
+
var _nextLevelAdaptiveVideo = _interopRequireDefault(require("./fixtures/next-level-adaptive-video"));
|
|
42
|
+
|
|
41
43
|
var _simpleAction = _interopRequireDefault(require("./fixtures/simple-action"));
|
|
42
44
|
|
|
43
45
|
var _subscribe = _interopRequireDefault(require("./fixtures/subscribe"));
|
|
@@ -69,6 +71,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
69
71
|
(0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', _renderComponent.default, _.default, _negativeRank.default);
|
|
70
72
|
(0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', _renderComponent.default, _.default, _nextCourse.default);
|
|
71
73
|
(0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', _renderComponent.default, _.default, _nextLevelAdaptiveImg.default);
|
|
74
|
+
(0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveVideo › should be rendered', _renderComponent.default, _.default, _nextLevelAdaptiveVideo.default);
|
|
72
75
|
(0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', _renderComponent.default, _.default, _simpleAction.default);
|
|
73
76
|
(0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', _renderComponent.default, _.default, _subscribe.default);
|
|
74
77
|
(0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', _renderComponent.default, _.default, _withLoadingRecommendations.default);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["t","pass","TemplateAppPlayerPopinEnd","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6EAAL,EAAoFA,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA0BC,SAAlC,EAA6C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,+EAAL,EAAsFG,wBAAtF,EAA4GN,SAA5G,EAAuIO,iBAAvI;AACA,kBAAK,oFAAL,EAA2FD,wBAA3F,EAAiHN,SAAjH,EAA4IQ,sBAA5I;AACA,kBAAK,iGAAL,EAAwGF,wBAAxG,EAA8HN,SAA9H,EAAyJS,mCAAzJ;AACA,kBAAK,gGAAL,EAAuGH,wBAAvG,EAA6HN,SAA7H,EAAwJU,kCAAxJ;AACA,kBAAK,uFAAL,EAA8FJ,wBAA9F,EAAoHN,SAApH,EAA+IW,yBAA/I;AACA,kBAAK,kFAAL,EAAyFL,wBAAzF,EAA+GN,SAA/G,EAA0IY,oBAA1I;AACA,kBAAK,8EAAL,EAAqFN,wBAArF,EAA2GN,SAA3G,EAAsIa,gBAAtI;AACA,kBAAK,8EAAL,EAAqFP,wBAArF,EAA2GN,SAA3G,EAAsIc,gBAAtI;AACA,kBAAK,8EAAL,EAAqFR,wBAArF,EAA2GN,SAA3G,EAAsIe,gBAAtI;AACA,kBAAK,2EAAL,EAAkFT,wBAAlF,EAAwGN,SAAxG,EAAmIgB,aAAnI;AACA,kBAAK,oFAAL,EAA2FV,wBAA3F,EAAiHN,SAAjH,EAA4IiB,sBAA5I;AACA,kBAAK,8EAAL,EAAqFX,wBAArF,EAA2GN,SAA3G,EAAsIkB,gBAAtI;AACA,kBAAK,mFAAL,EAA0FZ,wBAA1F,EAAgHN,SAAhH,EAA2ImB,qBAA3I;AACA,kBAAK,iFAAL,EAAwFb,wBAAxF,EAA8GN,SAA9G,EAAyIoB,mBAAzI;AACA,kBAAK,2FAAL,EAAkGd,wBAAlG,EAAwHN,SAAxH,EAAmJqB,6BAAnJ;AACA,kBAAK,mFAAL,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["t","pass","TemplateAppPlayerPopinEnd","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureNextLevelAdaptiveVideo","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6EAAL,EAAoFA,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA0BC,SAAlC,EAA6C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,+EAAL,EAAsFG,wBAAtF,EAA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lB,wBAAxG,EAA8HN,SAA9H,EAAyJyB,mCAAzJ;AACA,kBAAK,0FAAL,EAAiGnB,wBAAjG,EAAuHN,SAAvH,EAAkJ0B,4BAAlJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateAppPlayerPopinEnd from '..';\nimport fixtureAdaptive from './fixtures/adaptive';\nimport fixtureArabicCorrect from './fixtures/arabic-correct';\nimport fixtureArabicNextLevelAdaptiveImg from './fixtures/arabic-next-level-adaptive-img';\nimport fixtureArabicWithRecommendations from './fixtures/arabic-with-recommendations';\nimport fixtureCommentIsLoading from './fixtures/comment-is-loading';\nimport fixtureCommentSent from './fixtures/comment-sent';\nimport fixtureComment from './fixtures/comment';\nimport fixtureCorrect from './fixtures/correct';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFail from './fixtures/fail';\nimport fixtureInfiniteLives from './fixtures/infinite-lives';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNegativeRank from './fixtures/negative-rank';\nimport fixtureNextCourse from './fixtures/next-course';\nimport fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';\nimport fixtureNextLevelAdaptiveVideo from './fixtures/next-level-adaptive-video';\nimport fixtureSimpleAction from './fixtures/simple-action';\nimport fixtureSubscribe from './fixtures/subscribe';\nimport fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';\nimport fixtureWithRecommendations from './fixtures/with-recommendations';\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateAppPlayer.TemplateAppPlayerPopinEnd.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Adaptive › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureAdaptive);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicCorrect › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicNextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicWithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentIsLoading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentIsLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentSent › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentSent);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Comment › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureComment);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Correct › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Default › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureDefault);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Fail › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureFail);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › InfiniteLives › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureInfiniteLives);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveVideo › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveVideo);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);\n"],"file":"fixtures.js"}
|
|
@@ -13,7 +13,7 @@ var _brandCard = _interopRequireDefault(require("../../../molecule/brand-card"))
|
|
|
13
13
|
|
|
14
14
|
var _brandCardCreate = _interopRequireDefault(require("../../../molecule/brand-card-create"));
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _inputSearch = _interopRequireDefault(require("../../../atom/input-search"));
|
|
17
17
|
|
|
18
18
|
var _layout = _interopRequireDefault(require("../layout"));
|
|
19
19
|
|
|
@@ -21,6 +21,8 @@ var _style = _interopRequireDefault(require("./style.css"));
|
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
|
|
24
|
+
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); }
|
|
25
|
+
|
|
24
26
|
const BrandList = (0, _layout.default)(props => {
|
|
25
27
|
const {
|
|
26
28
|
brands = [],
|
|
@@ -45,13 +47,15 @@ const BrandList = (0, _layout.default)(props => {
|
|
|
45
47
|
className: _style.default.container
|
|
46
48
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
47
49
|
className: _style.default.searchBar
|
|
48
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement(_inputSearch.default, _extends({}, search, {
|
|
51
|
+
theme: "coorpmanager"
|
|
52
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
49
53
|
className: _style.default.wrapper
|
|
50
54
|
}, /*#__PURE__*/_react.default.createElement(_gridList.default, null, brandCards)));
|
|
51
55
|
});
|
|
52
56
|
BrandList.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
53
57
|
brands: _propTypes.default.arrayOf(_propTypes.default.shape(_brandCard.default.propTypes)),
|
|
54
|
-
search: _propTypes.default.shape(
|
|
58
|
+
search: _propTypes.default.shape(_inputSearch.default.propTypes),
|
|
55
59
|
create: _propTypes.default.shape(_brandCardCreate.default.propTypes)
|
|
56
60
|
} : {};
|
|
57
61
|
var _default = BrandList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/template/back-office/brand-list/index.js"],"names":["BrandList","props","brands","create","search","brandCards","map","brand","index","title","style","push","container","searchBar","wrapper","propTypes","PropTypes","arrayOf","shape","BrandCard","Search","BrandCardCreate"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/back-office/brand-list/index.js"],"names":["BrandList","props","brands","create","search","brandCards","map","brand","index","title","style","push","container","searchBar","wrapper","propTypes","PropTypes","arrayOf","shape","BrandCard","Search","BrandCardCreate"],"mappings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cesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport GridList from '../../../organism/grid-list';\nimport BrandCard from '../../../molecule/brand-card';\nimport BrandCardCreate from '../../../molecule/brand-card-create';\nimport Search from '../../../atom/input-search';\nimport Layout from '../layout';\nimport style from './style.css';\n\nconst BrandList = Layout(props => {\n const {brands = [], create, search} = props;\n\n const brandCards = brands.map((brand, index) => {\n return (\n <div key={brand.title} className={style.brand}>\n <BrandCard {...brand} />\n </div>\n );\n });\n\n if (create) {\n brandCards.push(\n <div key=\"new\" className={style.brand}>\n <BrandCardCreate {...create} />\n </div>\n );\n }\n\n return (\n <div className={style.container}>\n <div className={style.searchBar}>\n <Search {...search} theme=\"coorpmanager\" />\n </div>\n <div className={style.wrapper}>\n <GridList>{brandCards}</GridList>\n </div>\n </div>\n );\n});\n\nBrandList.propTypes = {\n brands: PropTypes.arrayOf(PropTypes.shape(BrandCard.propTypes)),\n search: PropTypes.shape(Search.propTypes),\n create: PropTypes.shape(BrandCardCreate.propTypes)\n};\n\nexport default BrandList;\n"],"file":"index.js"}
|
package/lib/variables/colors.css
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
@value cm_blue_50: #f1f6fe;
|
|
31
31
|
@value cm_blue_200: #74A5F6;
|
|
32
32
|
@value cm_blue_600: #0051d6;
|
|
33
|
+
@value cm_bleu_article: #365FCD;
|
|
33
34
|
@value cm_grey_50: #FAFAFA;
|
|
34
35
|
@value cm_grey_100: #EAEAEB;
|
|
35
36
|
@value cm_grey_150: #E1E1E3;
|
|
@@ -38,17 +39,20 @@
|
|
|
38
39
|
@value cm_grey_400: #9999A8;
|
|
39
40
|
@value cm_grey_500: #515161;
|
|
40
41
|
@value cm_grey_700: #1D1D2B;
|
|
42
|
+
@value cm_grey_800: #3a3a4a;
|
|
41
43
|
@value cm_grey_900: #111117;
|
|
42
44
|
@value cm_positive_100: #35CC7F;
|
|
43
45
|
@value cm_negative_100: #ed3436;
|
|
44
46
|
@value cm_negative_200: #b81400;
|
|
47
|
+
@value cm_negative_50: #ffe5e6;
|
|
48
|
+
@value cm_green_50: #e8fcf8;
|
|
49
|
+
@value cm_green_200: #16ac8c;
|
|
45
50
|
@value cm_orange_200: #FF7043;
|
|
46
51
|
@value cm_orange_700: #ff4105;
|
|
47
|
-
@value cm_green_200: #16ac8c;
|
|
48
|
-
@value cm_green_50: #e8fcf8;
|
|
49
52
|
@value cm_pink_50: #ffefeb;
|
|
50
53
|
@value cm_purple_200: #7340FF;
|
|
51
54
|
@value cm_yellow_scorm: #FFB800;
|
|
52
|
-
@value
|
|
55
|
+
@value cm_yellow_200: #DB9200;
|
|
53
56
|
@value cm_red_video: #E8335E;
|
|
54
57
|
@value cm_violet_podcast: #432ba7;
|
|
58
|
+
@value cm_warning_50: rgba(255, 192, 67, 0.13);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"Soualmi Djamel <djamel.soualmi@coorpacademy.com>"
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@coorpacademy/nova-icons": "3.9.
|
|
53
|
+
"@coorpacademy/nova-icons": "3.9.33",
|
|
54
54
|
"autoprefixer": "^9.8.0",
|
|
55
55
|
"classnames": "^2.2.6",
|
|
56
56
|
"css-color-function": "^1.3.3",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"webpack-hot-middleware": "^2.25.0"
|
|
119
119
|
},
|
|
120
120
|
"author": "CoorpAcademy",
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "f5b23da8f3385216148b937d375d766f1c8cff9a"
|
|
122
122
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import test from 'ava';
|
|
2
|
-
import forEach from 'lodash/forEach';
|
|
3
|
-
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
-
import AtomChips from '..';
|
|
5
|
-
import fixtureDefault from './fixtures/default';
|
|
6
|
-
import fixtureNonSelected from './fixtures/non-selected';
|
|
7
|
-
test('Atom › AtomChips > should have valid propTypes', t => {
|
|
8
|
-
t.pass();
|
|
9
|
-
forEach(AtomChips.propTypes, (value, key) => {
|
|
10
|
-
t.not(value, undefined, `PropType for "Atom.AtomChips.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
test('Atom › AtomChips › Default › should be rendered', renderComponentMacro, AtomChips, fixtureDefault);
|
|
14
|
-
test('Atom › AtomChips › NonSelected › should be rendered', renderComponentMacro, AtomChips, fixtureNonSelected);
|
|
15
|
-
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/chips/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomChips","fixtureDefault","fixtureNonSelected","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,SAAP,MAAsB,IAAtB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AAEAL,IAAI,CAAC,gDAAD,EAAmDM,CAAC,IAAI;AAC1DA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,SAAS,CAACK,SAAX,EAAsB,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0CAAyCF,GAAI,mEAAtE;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,iDAAD,EAAoDE,oBAApD,EAA0EC,SAA1E,EAAqFC,cAArF,CAAJ;AACAJ,IAAI,CAAC,qDAAD,EAAwDE,oBAAxD,EAA8EC,SAA9E,EAAyFE,kBAAzF,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomChips from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNonSelected from './fixtures/non-selected';\n\ntest('Atom › AtomChips > should have valid propTypes', t => {\n t.pass();\n forEach(AtomChips.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomChips.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomChips › Default › should be rendered', renderComponentMacro, AtomChips, fixtureDefault);\ntest('Atom › AtomChips › NonSelected › should be rendered', renderComponentMacro, AtomChips, fixtureNonSelected);\n"],"file":"fixtures.js"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import test from 'ava';
|
|
2
|
-
import forEach from 'lodash/forEach';
|
|
3
|
-
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
-
import AtomContentBadge from '..';
|
|
5
|
-
import fixtureAdvanced from './fixtures/advanced';
|
|
6
|
-
import fixtureArticle from './fixtures/article';
|
|
7
|
-
import fixtureChapter from './fixtures/chapter';
|
|
8
|
-
import fixtureCoach from './fixtures/coach';
|
|
9
|
-
import fixtureDefault from './fixtures/default';
|
|
10
|
-
import fixturePodcast from './fixtures/podcast';
|
|
11
|
-
import fixtureScorm from './fixtures/scorm';
|
|
12
|
-
import fixtureVideo from './fixtures/video';
|
|
13
|
-
test('Atom › AtomContentBadge > should have valid propTypes', t => {
|
|
14
|
-
t.pass();
|
|
15
|
-
forEach(AtomContentBadge.propTypes, (value, key) => {
|
|
16
|
-
t.not(value, undefined, `PropType for "Atom.AtomContentBadge.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
test('Atom › AtomContentBadge › Advanced › should be rendered', renderComponentMacro, AtomContentBadge, fixtureAdvanced);
|
|
20
|
-
test('Atom › AtomContentBadge › Article › should be rendered', renderComponentMacro, AtomContentBadge, fixtureArticle);
|
|
21
|
-
test('Atom › AtomContentBadge › Chapter › should be rendered', renderComponentMacro, AtomContentBadge, fixtureChapter);
|
|
22
|
-
test('Atom › AtomContentBadge › Coach › should be rendered', renderComponentMacro, AtomContentBadge, fixtureCoach);
|
|
23
|
-
test('Atom › AtomContentBadge › Default › should be rendered', renderComponentMacro, AtomContentBadge, fixtureDefault);
|
|
24
|
-
test('Atom › AtomContentBadge › Podcast › should be rendered', renderComponentMacro, AtomContentBadge, fixturePodcast);
|
|
25
|
-
test('Atom › AtomContentBadge › Scorm › should be rendered', renderComponentMacro, AtomContentBadge, fixtureScorm);
|
|
26
|
-
test('Atom › AtomContentBadge › Video › should be rendered', renderComponentMacro, AtomContentBadge, fixtureVideo);
|
|
27
|
-
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/content-badge/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomContentBadge","fixtureAdvanced","fixtureArticle","fixtureChapter","fixtureCoach","fixtureDefault","fixturePodcast","fixtureScorm","fixtureVideo","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,gBAAP,MAA6B,IAA7B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AAEAX,IAAI,CAAC,uDAAD,EAA0DY,CAAC,IAAI;AACjEA,EAAAA,CAAC,CAACC,IAAF;AACAZ,EAAAA,OAAO,CAACE,gBAAgB,CAACW,SAAlB,EAA6B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAClDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,iDAAgDF,GAAI,mEAA7E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAhB,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,gBAAlF,EAAoGC,eAApG,CAAJ;AACAJ,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,gBAAjF,EAAmGE,cAAnG,CAAJ;AACAL,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,gBAAjF,EAAmGG,cAAnG,CAAJ;AACAN,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,gBAA/E,EAAiGI,YAAjG,CAAJ;AACAP,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,gBAAjF,EAAmGK,cAAnG,CAAJ;AACAR,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,gBAAjF,EAAmGM,cAAnG,CAAJ;AACAT,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,gBAA/E,EAAiGO,YAAjG,CAAJ;AACAV,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,gBAA/E,EAAiGQ,YAAjG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomContentBadge from '..';\nimport fixtureAdvanced from './fixtures/advanced';\nimport fixtureArticle from './fixtures/article';\nimport fixtureChapter from './fixtures/chapter';\nimport fixtureCoach from './fixtures/coach';\nimport fixtureDefault from './fixtures/default';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureScorm from './fixtures/scorm';\nimport fixtureVideo from './fixtures/video';\n\ntest('Atom › AtomContentBadge > should have valid propTypes', t => {\n t.pass();\n forEach(AtomContentBadge.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomContentBadge.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomContentBadge › Advanced › should be rendered', renderComponentMacro, AtomContentBadge, fixtureAdvanced);\ntest('Atom › AtomContentBadge › Article › should be rendered', renderComponentMacro, AtomContentBadge, fixtureArticle);\ntest('Atom › AtomContentBadge › Chapter › should be rendered', renderComponentMacro, AtomContentBadge, fixtureChapter);\ntest('Atom › AtomContentBadge › Coach › should be rendered', renderComponentMacro, AtomContentBadge, fixtureCoach);\ntest('Atom › AtomContentBadge › Default › should be rendered', renderComponentMacro, AtomContentBadge, fixtureDefault);\ntest('Atom › AtomContentBadge › Podcast › should be rendered', renderComponentMacro, AtomContentBadge, fixturePodcast);\ntest('Atom › AtomContentBadge › Scorm › should be rendered', renderComponentMacro, AtomContentBadge, fixtureScorm);\ntest('Atom › AtomContentBadge › Video › should be rendered', renderComponentMacro, AtomContentBadge, fixtureVideo);\n"],"file":"fixtures.js"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import test from 'ava';
|
|
2
|
-
import forEach from 'lodash/forEach';
|
|
3
|
-
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
-
import AtomWizardSteps from '..';
|
|
5
|
-
import fixtureDefault from './fixtures/default';
|
|
6
|
-
import fixtureFirstStep from './fixtures/first-step';
|
|
7
|
-
import fixtureLastStep from './fixtures/last-step';
|
|
8
|
-
test('Atom › AtomWizardSteps > should have valid propTypes', t => {
|
|
9
|
-
t.pass();
|
|
10
|
-
forEach(AtomWizardSteps.propTypes, (value, key) => {
|
|
11
|
-
t.not(value, undefined, `PropType for "Atom.AtomWizardSteps.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
test('Atom › AtomWizardSteps › Default › should be rendered', renderComponentMacro, AtomWizardSteps, fixtureDefault);
|
|
15
|
-
test('Atom › AtomWizardSteps › FirstStep › should be rendered', renderComponentMacro, AtomWizardSteps, fixtureFirstStep);
|
|
16
|
-
test('Atom › AtomWizardSteps › LastStep › should be rendered', renderComponentMacro, AtomWizardSteps, fixtureLastStep);
|
|
17
|
-
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/wizard-steps/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomWizardSteps","fixtureDefault","fixtureFirstStep","fixtureLastStep","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,eAAP,MAA4B,IAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AAEAN,IAAI,CAAC,sDAAD,EAAyDO,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,eAAe,CAACM,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGC,cAAjG,CAAJ;AACAJ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGE,gBAAnG,CAAJ;AACAL,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,eAAjF,EAAkGG,eAAlG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomWizardSteps from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFirstStep from './fixtures/first-step';\nimport fixtureLastStep from './fixtures/last-step';\n\ntest('Atom › AtomWizardSteps > should have valid propTypes', t => {\n t.pass();\n forEach(AtomWizardSteps.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomWizardSteps.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomWizardSteps › Default › should be rendered', renderComponentMacro, AtomWizardSteps, fixtureDefault);\ntest('Atom › AtomWizardSteps › FirstStep › should be rendered', renderComponentMacro, AtomWizardSteps, fixtureFirstStep);\ntest('Atom › AtomWizardSteps › LastStep › should be rendered', renderComponentMacro, AtomWizardSteps, fixtureLastStep);\n"],"file":"fixtures.js"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import _noop from "lodash/fp/noop";
|
|
2
|
-
import _get from "lodash/fp/get";
|
|
3
|
-
import React, { useMemo } from 'react';
|
|
4
|
-
import PropTypes from 'prop-types';
|
|
5
|
-
import { NovaCompositionCoorpacademySearch as SearchIcon } from '@coorpacademy/nova-icons';
|
|
6
|
-
import Provider from '../../atom/provider';
|
|
7
|
-
import style from './style.css';
|
|
8
|
-
|
|
9
|
-
const Search = (props, context) => {
|
|
10
|
-
const {
|
|
11
|
-
value,
|
|
12
|
-
placeholder,
|
|
13
|
-
onChange = _noop,
|
|
14
|
-
onFocus,
|
|
15
|
-
onBlur
|
|
16
|
-
} = props;
|
|
17
|
-
const {
|
|
18
|
-
skin
|
|
19
|
-
} = context;
|
|
20
|
-
|
|
21
|
-
const dark = _get('common.dark', skin);
|
|
22
|
-
|
|
23
|
-
const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);
|
|
24
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
25
|
-
className: style.wrapperSearch
|
|
26
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
27
|
-
htmlFor: "search"
|
|
28
|
-
}, /*#__PURE__*/React.createElement(SearchIcon, {
|
|
29
|
-
color: dark,
|
|
30
|
-
className: style.icon
|
|
31
|
-
})), /*#__PURE__*/React.createElement("input", {
|
|
32
|
-
"data-name": "search-input",
|
|
33
|
-
className: style.search,
|
|
34
|
-
type: "text",
|
|
35
|
-
name: "search",
|
|
36
|
-
id: "search",
|
|
37
|
-
placeholder: placeholder,
|
|
38
|
-
value: value,
|
|
39
|
-
onChange: _noop,
|
|
40
|
-
onInput: handleChange,
|
|
41
|
-
onFocus: onFocus,
|
|
42
|
-
onBlur: onBlur
|
|
43
|
-
}));
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
Search.contextTypes = {
|
|
47
|
-
skin: Provider.childContextTypes.skin
|
|
48
|
-
};
|
|
49
|
-
Search.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
50
|
-
value: PropTypes.string,
|
|
51
|
-
placeholder: PropTypes.string.isRequired,
|
|
52
|
-
onChange: PropTypes.func,
|
|
53
|
-
onFocus: PropTypes.func,
|
|
54
|
-
onBlur: PropTypes.func
|
|
55
|
-
} : {};
|
|
56
|
-
export default Search;
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/molecule/search/index.js"],"names":["React","useMemo","PropTypes","NovaCompositionCoorpacademySearch","SearchIcon","Provider","style","Search","props","context","value","placeholder","onChange","onFocus","onBlur","skin","dark","handleChange","e","target","wrapperSearch","icon","search","contextTypes","childContextTypes","propTypes","string","isRequired","func"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAAQC,iCAAiC,IAAIC,UAA7C,QAA8D,0BAA9D;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,KAAP,M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ET,SAAS,CAACwB,MAAV,CAAiBC,UAFb;AAGjBf,EAAAA,QAAQ,EAAEV,SAAS,CAAC0B,IAHH;AAIjBf,EAAAA,OAAO,EAAEX,SAAS,CAAC0B,IAJF;AAKjBd,EAAAA,MAAM,EAAEZ,SAAS,CAAC0B;AALD,CAAnB;AAQA,eAAerB,MAAf","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {get, noop} from 'lodash/fp';\nimport {NovaCompositionCoorpacademySearch as SearchIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst Search = (props, context) => {\n const {value, placeholder, onChange = noop, onFocus, onBlur} = props;\n const {skin} = context;\n const dark = get('common.dark', skin);\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n\n return (\n <div className={style.wrapperSearch}>\n <label htmlFor=\"search\">\n <SearchIcon color={dark} className={style.icon} />\n </label>\n <input\n data-name=\"search-input\"\n className={style.search}\n type=\"text\"\n name=\"search\"\n id=\"search\"\n placeholder={placeholder}\n value={value}\n onChange={noop}\n onInput={handleChange}\n onFocus={onFocus}\n onBlur={onBlur}\n />\n </div>\n );\n};\n\nSearch.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearch.propTypes = {\n value: PropTypes.string,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func\n};\n\nexport default Search;\n"],"file":"index.js"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
@value breakpoints: "../../variables/breakpoints.css";
|
|
2
|
-
@value tablet from breakpoints;
|
|
3
|
-
@value mobile from breakpoints;
|
|
4
|
-
@value colors: "../../variables/colors.css";
|
|
5
|
-
@value medium from colors;
|
|
6
|
-
@value light from colors;
|
|
7
|
-
@value white from colors;
|
|
8
|
-
@value dark from colors;
|
|
9
|
-
|
|
10
|
-
.wrapperSearch {
|
|
11
|
-
display: flex;
|
|
12
|
-
width: 100%;
|
|
13
|
-
flex-flow: nowrap;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
align-items: center;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.icon {
|
|
20
|
-
position: relative;
|
|
21
|
-
margin: 0 0 -3px -20px;
|
|
22
|
-
width: 19px;
|
|
23
|
-
height: 19px;
|
|
24
|
-
left: 35px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.search {
|
|
28
|
-
font-family: "Open Sans";
|
|
29
|
-
text-transform: none;
|
|
30
|
-
margin: 0 3px;
|
|
31
|
-
padding: 0 15px 0 45px;
|
|
32
|
-
border: 0;
|
|
33
|
-
height: 50px;
|
|
34
|
-
border-radius: 0;
|
|
35
|
-
font-size: 14px;
|
|
36
|
-
color: dark;
|
|
37
|
-
width: 100%;
|
|
38
|
-
outline: none;
|
|
39
|
-
font-weight: bold;
|
|
40
|
-
white-space: nowrap;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
text-overflow: ellipsis;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.search::placeholder {
|
|
46
|
-
color: medium;
|
|
47
|
-
font-size: 14px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.search:focus {
|
|
51
|
-
outline: none;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
input:-webkit-autofill,
|
|
55
|
-
textarea:-webkit-autofill,
|
|
56
|
-
select:-webkit-autofill {
|
|
57
|
-
background-color: white;
|
|
58
|
-
background-image: none;
|
|
59
|
-
color: medium;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
input::placeholder {
|
|
63
|
-
color: medium;
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@media tablet {
|
|
68
|
-
.search,
|
|
69
|
-
input {
|
|
70
|
-
font-size: 12px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.search::placeholder {
|
|
74
|
-
font-size: 12px;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@media mobile {
|
|
79
|
-
.search {
|
|
80
|
-
font-size: 12px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.search::placeholder {
|
|
84
|
-
font-size: 12px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/search/test/change.js"],"names":["browserEnv","test","React","shallow","configure","Adapter","Search","adapter","t","plan","onChange","value","is","wrapper","find","simulate","target"],"mappings":"AAAA,OAAOA,UAAP,MAAuB,aAAvB;AACA,OAAOC,IAAP,MAAiB,KAAjB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,SAAQC,OAAR,EAAiBC,SAAjB,QAAiC,QAAjC;AACA,OAAOC,OAAP,MAAoB,yBAApB;AACA,OAAOC,MAAP,MAAmB,IAAnB;AAEAN,UAAU;AACVI,SAAS,CAAC;AAACG,EAAAA,OAAO,EAAE,IAAIF,OAAJ;AAAV,CAAD,CAAT;AAEAJ,IAAI,CAAC,6EAAD,EAAgFO,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;;AAEA,QAAMC,QAAQ,GAAGC,KAAK,IAAI;AACxBH,IAAAA,CAAC,CAACI,EAAF,CAAKD,KAAL,EAAY,mBAAZ;AACD,GAFD;;AAIA,QAAME,OAAO,GAAGV,OAAO,eACrB,oBAAC,MAAD;AAAQ,IAAA,WAAW,EAAC,eAApB;AAAoC,IAAA,KAAK,EAAC,kBAA1C;AAA6D,IAAA,QAAQ,EAAEO;AAAvE,IADqB,CAAvB;AAIAG,EAAAA,OAAO,CAACC,IAAR,CAAa,OAAb,EAAsBC,QAAtB,CAA+B,OAA/B,EAAwC;AAACC,IAAAA,MAAM,EAAE;AAACL,MAAAA,KAAK,EAAE;AAAR;AAAT,GAAxC;AACD,CAZG,CAAJ","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {shallow, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Search from '..';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should call onChange with new value when user try to change the input value', t => {\n t.plan(1);\n\n const onChange = value => {\n t.is(value, 'my name is murphy');\n };\n\n const wrapper = shallow(\n <Search placeholder=\"say your name\" value=\"my name is murph\" onChange={onChange} />\n );\n\n wrapper.find('input').simulate('input', {target: {value: 'my name is murphy'}});\n});\n"],"file":"change.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/molecule/search/test/fixtures/default.js"],"names":["props","value","placeholder","onChange","console","log","onFocus","onBlur"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,EADF;AAELC,IAAAA,WAAW,EAAE,qBAFR;AAGLC,IAAAA,QAAQ,EAAEF,KAAK,IAAI;AACjBG,MAAAA,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AACD,KALI;AAMLK,IAAAA,OAAO,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,SAAZ,CANV;AAOLE,IAAAA,MAAM,EAAE,MAAMH,OAAO,CAACC,GAAR,CAAY,MAAZ;AAPT;AADM,CAAf","sourcesContent":["export default {\n props: {\n value: '',\n placeholder: 'Search for a course',\n onChange: value => {\n console.log(value);\n },\n onFocus: () => console.log('onFocus'),\n onBlur: () => console.log('blur')\n }\n};\n"],"file":"default.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/molecule/search/test/fixtures/with-value.js"],"names":["props","value","placeholder","onChange","console","log","onEnter","onFocus"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,sBADF;AAELC,IAAAA,WAAW,EAAE,qBAFR;AAGLC,IAAAA,QAAQ,EAAEF,KAAK,IAAI;AACjBG,MAAAA,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AACD,KALI;AAMLK,IAAAA,OAAO,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,eAAZ,CANV;AAOLE,IAAAA,OAAO,EAAE,MAAMH,OAAO,CAACC,GAAR,CAAY,SAAZ;AAPV;AADM,CAAf","sourcesContent":["export default {\n props: {\n value: 'big data - le retour',\n placeholder: 'Search for a course',\n onChange: value => {\n console.log(value);\n },\n onEnter: () => console.log('pressed enter'),\n onFocus: () => console.log('onFocus')\n }\n};\n"],"file":"with-value.js"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import test from 'ava';
|
|
2
|
-
import forEach from 'lodash/forEach';
|
|
3
|
-
import renderComponentMacro from '../../../test/helpers/render-component';
|
|
4
|
-
import MoleculeVerticalTabs from '..';
|
|
5
|
-
import fixtureDefault from './fixtures/default';
|
|
6
|
-
import fixtureWithSelectedItem from './fixtures/with-selected-item';
|
|
7
|
-
test('Molecule › MoleculeVerticalTabs > should have valid propTypes', t => {
|
|
8
|
-
t.pass();
|
|
9
|
-
forEach(MoleculeVerticalTabs.propTypes, (value, key) => {
|
|
10
|
-
t.not(value, undefined, `PropType for "Molecule.MoleculeVerticalTabs.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
test('Molecule › MoleculeVerticalTabs › Default › should be rendered', renderComponentMacro, MoleculeVerticalTabs, fixtureDefault);
|
|
14
|
-
test('Molecule › MoleculeVerticalTabs › WithSelectedItem › should be rendered', renderComponentMacro, MoleculeVerticalTabs, fixtureWithSelectedItem);
|
|
15
|
-
//# sourceMappingURL=fixtures.js.map
|