@coorpacademy/components 10.19.7 → 10.19.10
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-link-icon-only/test/fixtures.js +0 -2
- package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -1
- package/es/atom/cta/index.js +2 -1
- package/es/atom/cta/index.js.map +1 -1
- package/es/atom/cta/test/cta.js +93 -0
- package/es/atom/cta/test/cta.js.map +1 -0
- package/es/atom/drag-and-drop/test/fixtures.js +0 -12
- package/es/atom/drag-and-drop/test/fixtures.js.map +1 -1
- package/es/atom/image-upload/test/fixtures.js +2 -6
- package/es/atom/image-upload/test/fixtures.js.map +1 -1
- package/es/atom/review-presentation/style.css +1 -1
- package/es/atom/review-presentation/test/fixtures/default.js +2 -2
- package/es/atom/review-presentation/test/fixtures/default.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures.js +0 -2
- package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/es/molecule/checkbox-with-title/test/fixtures.js +15 -0
- package/es/molecule/checkbox-with-title/test/fixtures.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/course-section/test/fixtures.js +0 -6
- package/es/molecule/course-section/test/fixtures.js.map +1 -1
- package/es/molecule/course-sections/test/fixtures.js +0 -2
- package/es/molecule/course-sections/test/fixtures.js.map +1 -1
- package/es/molecule/news/index.js +1 -2
- package/es/molecule/news/index.js.map +1 -1
- package/es/molecule/popin/index.js +2 -2
- package/es/molecule/popin/index.js.map +1 -1
- package/es/molecule/questions/qcm/index.js +1 -2
- package/es/molecule/questions/qcm/index.js.map +1 -1
- package/es/molecule/questions/qcm/style.css +4 -0
- package/es/molecule/questions/qcm/test/qcm.js +2 -2
- package/es/molecule/questions/qcm/test/qcm.js.map +1 -1
- package/es/molecule/questions/qcm-drag/index.js +2 -3
- package/es/molecule/questions/qcm-drag/index.js.map +1 -1
- package/es/molecule/questions/qcm-drag/style.css +4 -0
- package/es/molecule/questions/qcm-graphic/index.js +1 -2
- package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/es/molecule/questions/qcm-graphic/style.css +5 -1
- package/es/molecule/questions/question-range/index.js +3 -4
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/question-range/style.css +4 -0
- package/es/molecule/review-card-congrats/index.js +1 -1
- package/es/molecule/review-card-congrats/index.js.map +1 -1
- package/es/molecule/search/test/fixtures.js +15 -0
- package/es/molecule/search/test/fixtures.js.map +1 -0
- package/es/molecule/setup-slide/test/fixtures.js +0 -2
- package/es/molecule/setup-slide/test/fixtures.js.map +1 -1
- package/es/molecule/share/index.js +1 -1
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/skill-card/style.css +9 -1
- package/es/organism/brand-form/test/fixtures.js +0 -4
- package/es/organism/brand-form/test/fixtures.js.map +1 -1
- package/es/organism/course-selection/test/fixtures.js +0 -2
- package/es/organism/course-selection/test/fixtures.js.map +1 -1
- package/es/organism/playlist-translation/test/fixtures.js +15 -0
- package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/es/organism/review-skills/style.css +10 -1
- package/es/organism/search-and-chips-results/test/fixtures.js +0 -2
- package/es/organism/search-and-chips-results/test/fixtures.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/certification-rewards.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-organize-courses.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-organize-courses.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +0 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures.js +0 -4
- package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
- package/es/template/app-review/root-view/common.js +6 -0
- package/es/template/app-review/root-view/common.js.map +1 -0
- package/es/template/app-review/root-view/prop-types.js +11 -3
- package/es/template/app-review/root-view/prop-types.js.map +1 -1
- package/es/template/app-review/root-view/root-view.js +4 -38
- package/es/template/app-review/root-view/root-view.js.map +1 -1
- package/es/template/app-review/root-view/root-view.native.js +6 -5
- package/es/template/app-review/root-view/root-view.native.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures.js +0 -2
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/es/template/external-course/test/fixtures.js +0 -4
- package/es/template/external-course/test/fixtures.js.map +1 -1
- package/es/template/{app-review/review-dashboard-skills → review-dashboard-skills}/index.js +2 -2
- package/es/template/review-dashboard-skills/index.js.map +1 -0
- package/{lib/template/app-review → es/template}/review-dashboard-skills/style.css +2 -3
- package/es/template/review-dashboard-skills/test/fixtures/loading.js +10 -0
- package/es/template/review-dashboard-skills/test/fixtures/loading.js.map +1 -0
- package/es/template/review-dashboard-skills/test/fixtures/many-skills.js +10 -0
- package/es/template/review-dashboard-skills/test/fixtures/many-skills.js.map +1 -0
- package/es/template/review-dashboard-skills/test/fixtures/no-skills.js +10 -0
- package/es/template/review-dashboard-skills/test/fixtures/no-skills.js.map +1 -0
- package/lib/atom/button-link-icon-only/test/fixtures.js +0 -3
- package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -1
- package/lib/atom/cta/index.js +2 -1
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/cta/test/cta.js +115 -0
- package/lib/atom/cta/test/cta.js.map +1 -0
- package/lib/atom/drag-and-drop/test/fixtures.js +0 -18
- package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures.js +3 -9
- package/lib/atom/image-upload/test/fixtures.js.map +1 -1
- package/lib/atom/review-presentation/style.css +1 -1
- package/lib/atom/review-presentation/test/fixtures/default.js +2 -2
- package/lib/atom/review-presentation/test/fixtures/default.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures.js +0 -3
- package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
- package/lib/{atom → molecule}/checkbox-with-title/test/fixtures.js +4 -4
- package/lib/molecule/checkbox-with-title/test/fixtures.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/course-section/test/fixtures.js +0 -9
- package/lib/molecule/course-section/test/fixtures.js.map +1 -1
- package/lib/molecule/course-sections/test/fixtures.js +0 -3
- package/lib/molecule/course-sections/test/fixtures.js.map +1 -1
- package/lib/molecule/news/index.js +1 -2
- package/lib/molecule/news/index.js.map +1 -1
- package/lib/molecule/popin/index.js +2 -2
- package/lib/molecule/popin/index.js.map +1 -1
- package/lib/molecule/questions/qcm/index.js +7 -9
- package/lib/molecule/questions/qcm/index.js.map +1 -1
- package/lib/molecule/questions/qcm/style.css +4 -0
- package/lib/molecule/questions/qcm/test/qcm.js +2 -2
- package/lib/molecule/questions/qcm/test/qcm.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/index.js +12 -14
- package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
- package/lib/molecule/questions/qcm-drag/style.css +4 -0
- package/lib/molecule/questions/qcm-graphic/index.js +8 -10
- package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
- package/lib/molecule/questions/qcm-graphic/style.css +5 -1
- package/lib/molecule/questions/question-range/index.js +6 -8
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/question-range/style.css +4 -0
- package/lib/molecule/review-card-congrats/index.js +1 -1
- package/lib/molecule/review-card-congrats/index.js.map +1 -1
- package/lib/molecule/search/test/fixtures.js +25 -0
- package/lib/molecule/search/test/fixtures.js.map +1 -0
- package/lib/molecule/setup-slide/test/fixtures.js +0 -3
- package/lib/molecule/setup-slide/test/fixtures.js.map +1 -1
- package/lib/molecule/share/index.js +1 -1
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/skill-card/style.css +9 -1
- package/lib/organism/brand-form/test/fixtures.js +0 -6
- package/lib/organism/brand-form/test/fixtures.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures.js +0 -3
- package/lib/organism/course-selection/test/fixtures.js.map +1 -1
- package/lib/organism/playlist-translation/test/fixtures.js +25 -0
- package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
- package/lib/organism/review-skills/style.css +10 -1
- package/lib/organism/search-and-chips-results/test/fixtures.js +0 -3
- package/lib/organism/search-and-chips-results/test/fixtures.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/certification-general-settings-edit.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/certification-rewards.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-organize-courses.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures.js +0 -6
- package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
- package/lib/template/app-review/root-view/common.js +11 -0
- package/lib/template/app-review/root-view/common.js.map +1 -0
- package/lib/template/app-review/root-view/prop-types.js +15 -3
- package/lib/template/app-review/root-view/prop-types.js.map +1 -1
- package/lib/template/app-review/root-view/root-view.js +4 -38
- package/lib/template/app-review/root-view/root-view.js.map +1 -1
- package/lib/template/app-review/root-view/root-view.native.js +6 -4
- package/lib/template/app-review/root-view/root-view.native.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures.js +0 -3
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/template/external-course/test/fixtures.js +0 -6
- package/lib/template/external-course/test/fixtures.js.map +1 -1
- package/lib/template/{app-review/review-dashboard-skills → review-dashboard-skills}/index.js +2 -2
- package/lib/template/review-dashboard-skills/index.js.map +1 -0
- package/{es/template/app-review → lib/template}/review-dashboard-skills/style.css +2 -3
- package/lib/template/{app-review/review-dashboard-skills → review-dashboard-skills}/test/fixtures/loading.js +2 -2
- package/lib/template/review-dashboard-skills/test/fixtures/loading.js.map +1 -0
- package/lib/template/{app-review/review-dashboard-skills → review-dashboard-skills}/test/fixtures/many-skills.js +2 -2
- package/lib/template/review-dashboard-skills/test/fixtures/many-skills.js.map +1 -0
- package/lib/template/{app-review/review-dashboard-skills → review-dashboard-skills}/test/fixtures/no-skills.js +2 -2
- package/lib/template/review-dashboard-skills/test/fixtures/no-skills.js.map +1 -0
- package/package.json +3 -3
- package/es/atom/checkbox-with-title/test/fixtures.js +0 -15
- package/es/atom/checkbox-with-title/test/fixtures.js.map +0 -1
- package/es/atom/cta/test/hover.js +0 -42
- package/es/atom/cta/test/hover.js.map +0 -1
- package/es/atom/input-text-with-title/test/fixtures.js +0 -15
- package/es/atom/input-text-with-title/test/fixtures.js.map +0 -1
- package/es/atom/lottie-wrapper/test/fixtures.js +0 -19
- package/es/atom/lottie-wrapper/test/fixtures.js.map +0 -1
- package/es/atom/review-background/test/fixtures.js +0 -13
- package/es/atom/review-background/test/fixtures.js.map +0 -1
- package/es/atom/review-presentation/test/fixtures.js +0 -13
- package/es/atom/review-presentation/test/fixtures.js.map +0 -1
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -17
- package/es/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js +0 -15
- package/es/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +0 -1
- package/es/molecule/list-badges/test/fixtures.js +0 -19
- package/es/molecule/list-badges/test/fixtures.js.map +0 -1
- package/es/molecule/review-card-congrats/test/fixtures.js +0 -15
- package/es/molecule/review-card-congrats/test/fixtures.js.map +0 -1
- package/es/molecule/skill-card/test/fixtures.js +0 -19
- package/es/molecule/skill-card/test/fixtures.js.map +0 -1
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures.js +0 -19
- package/es/molecule/title-and-checkbox-wrapper/test/fixtures.js.map +0 -1
- package/es/organism/review-congrats/test/fixtures.js +0 -13
- package/es/organism/review-congrats/test/fixtures.js.map +0 -1
- package/es/organism/review-header/test/fixtures.js +0 -25
- package/es/organism/review-header/test/fixtures.js.map +0 -1
- package/es/organism/review-skills/test/fixtures.js +0 -17
- package/es/organism/review-skills/test/fixtures.js.map +0 -1
- package/es/organism/rewards-form/test/fixtures.js +0 -19
- package/es/organism/rewards-form/test/fixtures.js.map +0 -1
- package/es/template/app-review/review-dashboard-skills/index.js.map +0 -1
- package/es/template/app-review/review-dashboard-skills/test/fixtures/loading.js +0 -10
- package/es/template/app-review/review-dashboard-skills/test/fixtures/loading.js.map +0 -1
- package/es/template/app-review/review-dashboard-skills/test/fixtures/many-skills.js +0 -10
- package/es/template/app-review/review-dashboard-skills/test/fixtures/many-skills.js.map +0 -1
- package/es/template/app-review/review-dashboard-skills/test/fixtures/no-skills.js +0 -10
- package/es/template/app-review/review-dashboard-skills/test/fixtures/no-skills.js.map +0 -1
- package/es/template/app-review/review-dashboard-skills/test/fixtures.js +0 -17
- package/es/template/app-review/review-dashboard-skills/test/fixtures.js.map +0 -1
- package/es/template/app-review/slides-review/test/fixtures.js +0 -19
- package/es/template/app-review/slides-review/test/fixtures.js.map +0 -1
- package/es/template/review-dashboard-skills/test/fixtures.js +0 -17
- package/es/template/review-dashboard-skills/test/fixtures.js.map +0 -1
- package/es/template/slides-review/test/fixtures.js +0 -19
- package/es/template/slides-review/test/fixtures.js.map +0 -1
- package/lib/atom/checkbox-with-title/test/fixtures.js.map +0 -1
- package/lib/atom/cta/test/hover.js +0 -54
- package/lib/atom/cta/test/hover.js.map +0 -1
- package/lib/atom/input-text-with-title/test/fixtures.js +0 -25
- package/lib/atom/input-text-with-title/test/fixtures.js.map +0 -1
- package/lib/atom/lottie-wrapper/test/fixtures.js +0 -31
- package/lib/atom/lottie-wrapper/test/fixtures.js.map +0 -1
- package/lib/atom/review-background/test/fixtures.js +0 -22
- package/lib/atom/review-background/test/fixtures.js.map +0 -1
- package/lib/atom/review-presentation/test/fixtures.js +0 -22
- package/lib/atom/review-presentation/test/fixtures.js.map +0 -1
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js +0 -28
- package/lib/molecule/drag-and-drop-wrapper/test/fixtures.js.map +0 -1
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js +0 -25
- package/lib/molecule/input-text-with-titled-checkbox/test/fixtures.js.map +0 -1
- package/lib/molecule/list-badges/test/fixtures.js +0 -31
- package/lib/molecule/list-badges/test/fixtures.js.map +0 -1
- package/lib/molecule/review-card-congrats/test/fixtures.js +0 -25
- package/lib/molecule/review-card-congrats/test/fixtures.js.map +0 -1
- package/lib/molecule/skill-card/test/fixtures.js +0 -31
- package/lib/molecule/skill-card/test/fixtures.js.map +0 -1
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures.js +0 -31
- package/lib/molecule/title-and-checkbox-wrapper/test/fixtures.js.map +0 -1
- package/lib/organism/review-congrats/test/fixtures.js +0 -22
- package/lib/organism/review-congrats/test/fixtures.js.map +0 -1
- package/lib/organism/review-header/test/fixtures.js +0 -40
- package/lib/organism/review-header/test/fixtures.js.map +0 -1
- package/lib/organism/review-skills/test/fixtures.js +0 -28
- package/lib/organism/review-skills/test/fixtures.js.map +0 -1
- package/lib/organism/rewards-form/test/fixtures.js +0 -31
- package/lib/organism/rewards-form/test/fixtures.js.map +0 -1
- package/lib/template/app-review/review-dashboard-skills/index.js.map +0 -1
- package/lib/template/app-review/review-dashboard-skills/test/fixtures/loading.js.map +0 -1
- package/lib/template/app-review/review-dashboard-skills/test/fixtures/many-skills.js.map +0 -1
- package/lib/template/app-review/review-dashboard-skills/test/fixtures/no-skills.js.map +0 -1
- package/lib/template/app-review/review-dashboard-skills/test/fixtures.js +0 -28
- package/lib/template/app-review/review-dashboard-skills/test/fixtures.js.map +0 -1
- package/lib/template/app-review/slides-review/test/fixtures.js +0 -31
- package/lib/template/app-review/slides-review/test/fixtures.js.map +0 -1
- package/lib/template/review-dashboard-skills/test/fixtures.js +0 -28
- package/lib/template/review-dashboard-skills/test/fixtures.js.map +0 -1
- package/lib/template/slides-review/test/fixtures.js +0 -31
- package/lib/template/slides-review/test/fixtures.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/template/app-review/root-view/root-view.native.js"],"names":["React","useEffect","Text","StyleSheet","Pressable","View","BackHandler","propTypes","styles","create","rootView","flex","alignItems","justifyContent","NavText","viewName","navigateTo","handlePress","v","RootView","navigateBack","backAction","backHandler","addEventListener","remove"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,SAAf,QAA+B,OAA/B;AACA,SAAQC,IAAR,EAAcC,UAAd,EAA0BC,SAA1B,EAAqCC,IAArC,EAA2CC,WAA3C,QAA6D,cAA7D;AACA,OAAOC,SAAP,MAAsB,cAAtB,C,CAEA;;AAEA,MAAMC,MAAM,
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/app-review/root-view/root-view.native.js"],"names":["React","useEffect","Text","StyleSheet","Pressable","View","BackHandler","propTypes","ViewNames","styles","create","rootView","flex","alignItems","justifyContent","NavText","viewName","navigateTo","handlePress","v","home","onboarding","slides","RootView","navigateBack","backAction","backHandler","addEventListener","remove"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,SAAf,QAA+B,OAA/B;AACA,SAAQC,IAAR,EAAcC,UAAd,EAA0BC,SAA1B,EAAqCC,IAArC,EAA2CC,WAA3C,QAA6D,cAA7D;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,SAAQC,SAAR,QAAwB,UAAxB,C,CAEA;;AAEA,MAAMC,MAAM,GAAGN,UAAU,CAACO,MAAX,CAAkB;AAC/BC,EAAAA,QAAQ,EAAE;AACRC,IAAAA,IAAI,EAAE,CADE;AAERC,IAAAA,UAAU,EAAE,QAFJ;AAGRC,IAAAA,cAAc,EAAE;AAHR;AADqB,CAAlB,CAAf,C,CAQA;;AAEA,MAAMC,OAAO,GAAG,CAAC;AAACC,EAAAA,QAAD;AAAWC,EAAAA;AAAX,CAAD,KAA4B;AAC1C,QAAMC,WAAW,GAAGC,CAAC,IAAI,MAAMF,UAAU,CAACE,CAAD,CAAzC;;AAEA,UAAQH,QAAR;AACE,SAAKR,SAAS,CAACY,IAAf;AACE,0BACE,oBAAC,SAAD;AAAW,QAAA,OAAO,EAAEF,WAAW,CAAC,YAAD;AAA/B,sBACE,oBAAC,IAAD,oBADF,CADF;;AAKF,SAAKV,SAAS,CAACa,UAAf;AACE,0BACE,oBAAC,SAAD;AAAW,QAAA,OAAO,EAAEH,WAAW,CAAC,SAAD;AAA/B,sBACE,oBAAC,IAAD,0BADF,CADF;;AAKF,SAAKV,SAAS,CAACc,MAAf;AACE,0BACE,oBAAC,SAAD;AAAW,QAAA,OAAO,EAAEJ,WAAW,CAAC,MAAD;AAA/B,sBACE,oBAAC,IAAD,uBADF,CADF;;AAKF;AACE,0BAAO,oBAAC,IAAD,+BAAP;AApBJ;AAsBD,CAzBD,C,CA2BA;;;AAEA,MAAMK,QAAQ,GAAG,CAAC;AAACP,EAAAA,QAAD;AAAWQ,EAAAA,YAAX;AAAyBP,EAAAA;AAAzB,CAAD,KAA0C;AACzDhB,EAAAA,SAAS,CAAC,MAAM;AACd,UAAMwB,UAAU,GAAG,MAAM;AACvBD,MAAAA,YAAY;AACZ,aAAO,IAAP;AACD,KAHD,CADc,CAMd;;;AACA,UAAME,WAAW,GAAGpB,WAAW,CAACqB,gBAAZ,CAA6B,mBAA7B,EAAkDF,UAAlD,CAApB;AAEA,WAAO,MAAMC,WAAW,CAACE,MAAZ,EAAb;AACD,GAVQ,EAUN,CAACJ,YAAD,CAVM,CAAT;AAYA,sBACE,oBAAC,IAAD;AAAM,IAAA,KAAK,EAAEf,MAAM,CAACE;AAApB,kBACE,oBAAC,OAAD;AAAS,IAAA,QAAQ,EAAEK,QAAnB;AAA6B,IAAA,UAAU,EAAEC;AAAzC,IADF,CADF;AAKD,CAlBD,C,CAoBA;;;AAEAM,QAAQ,CAAChB,SAAT,2CAAqBA,SAArB;AACAQ,OAAO,CAACR,SAAR,2CAAoBgB,QAAQ,CAAChB,SAA7B,M,CAEA;;AAEA,eAAegB,QAAf","sourcesContent":["import React, {useEffect} from 'react';\nimport {Text, StyleSheet, Pressable, View, BackHandler} from 'react-native';\nimport propTypes from './prop-types';\nimport {ViewNames} from './common';\n\n// -----------------------------------------------------------------------------\n\nconst styles = StyleSheet.create({\n rootView: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center'\n }\n});\n\n// -----------------------------------------------------------------------------\n\nconst NavText = ({viewName, navigateTo}) => {\n const handlePress = v => () => navigateTo(v);\n\n switch (viewName) {\n case ViewNames.home:\n return (\n <Pressable onPress={handlePress('onboarding')}>\n <Text>view home</Text>\n </Pressable>\n );\n case ViewNames.onboarding:\n return (\n <Pressable onPress={handlePress('quizzer')}>\n <Text>view onboarding</Text>\n </Pressable>\n );\n case ViewNames.slides:\n return (\n <Pressable onPress={handlePress('home')}>\n <Text>view quizzer</Text>\n </Pressable>\n );\n default:\n return <Text>view (none selected)</Text>;\n }\n};\n\n// -----------------------------------------------------------------------------\n\nconst RootView = ({viewName, navigateBack, navigateTo}) => {\n useEffect(() => {\n const backAction = () => {\n navigateBack();\n return true;\n };\n\n // https://reactnative.dev/docs/backhandler\n const backHandler = BackHandler.addEventListener('hardwareBackPress', backAction);\n\n return () => backHandler.remove();\n }, [navigateBack]);\n\n return (\n <View style={styles.rootView}>\n <NavText viewName={viewName} navigateTo={navigateTo} />\n </View>\n );\n};\n\n// -----------------------------------------------------------------------------\n\nRootView.propTypes = propTypes;\nNavText.propTypes = RootView.propTypes;\n\n// -----------------------------------------------------------------------------\n\nexport default RootView;\n"],"file":"root-view.native.js"}
|
|
@@ -39,7 +39,6 @@ import fixtureWizardFormEditPlaylist from './fixtures/wizard-form-edit-playlist'
|
|
|
39
39
|
import fixtureWizardOrganizeCoursesPlaylist from './fixtures/wizard-organize-courses-playlist';
|
|
40
40
|
import fixtureWizardPopulationsPlaylistWithPopin from './fixtures/wizard-populations-playlist-with-popin';
|
|
41
41
|
import fixtureWizardPopulationsPlaylist from './fixtures/wizard-populations-playlist';
|
|
42
|
-
import fixtureWizardRewardsCertification from './fixtures/wizard-rewards-certification';
|
|
43
42
|
import fixtureWizardTranslatePlaylist from './fixtures/wizard-translate-playlist';
|
|
44
43
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {
|
|
45
44
|
t.pass();
|
|
@@ -84,6 +83,5 @@ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPla
|
|
|
84
83
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardOrganizeCoursesPlaylist);
|
|
85
84
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylistWithPopin);
|
|
86
85
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylist);
|
|
87
|
-
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardRewardsCertification › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardRewardsCertification);
|
|
88
86
|
test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardTranslatePlaylist);
|
|
89
87
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandUpdate","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureListItemsArchived","fixtureListItemsDraft","fixtureListItemsPublishedWithPopin","fixtureListItemsPublished","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureQuickAccess","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","fixtureWizardAddCoursesPlaylist","fixtureWizardFormCreatePlaylist","fixtureWizardFormEditPlaylist","fixtureWizardOrganizeCoursesPlaylist","fixtureWizardPopulationsPlaylistWithPopin","fixtureWizardPopulationsPlaylist","fixtureWizardRewardsCertification","fixtureWizardTranslatePlaylist","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAA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/H,EAA8JsC,iCAA9J,CAAJ;AACAzC,IAAI,CAAC,mGAAD,EAAsGE,oBAAtG,EAA4HC,6BAA5H,EAA2JuC,8BAA3J,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureListItemsArchived from './fixtures/list-items-archived';\nimport fixtureListItemsDraft from './fixtures/list-items-draft';\nimport fixtureListItemsPublishedWithPopin from './fixtures/list-items-published-with-popin';\nimport fixtureListItemsPublished from './fixtures/list-items-published';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureQuickAccess from './fixtures/quick-access';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\nimport fixtureWizardAddCoursesPlaylist from './fixtures/wizard-add-courses-playlist';\nimport fixtureWizardFormCreatePlaylist from './fixtures/wizard-form-create-playlist';\nimport fixtureWizardFormEditPlaylist from './fixtures/wizard-form-edit-playlist';\nimport fixtureWizardOrganizeCoursesPlaylist from './fixtures/wizard-organize-courses-playlist';\nimport fixtureWizardPopulationsPlaylistWithPopin from './fixtures/wizard-populations-playlist-with-popin';\nimport fixtureWizardPopulationsPlaylist from './fixtures/wizard-populations-playlist';\nimport fixtureWizardRewardsCertification from './fixtures/wizard-rewards-certification';\nimport fixtureWizardTranslatePlaylist from './fixtures/wizard-translate-playlist';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsArchived › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsArchived);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsDraft › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsDraft);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublishedWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublishedWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublished › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublished);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardAddCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormCreatePlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormEditPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardOrganizeCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylistWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardRewardsCertification › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardRewardsCertification);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardTranslatePlaylist);\n"],"file":"fixtures.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandUpdate","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureListItemsArchived","fixtureListItemsDraft","fixtureListItemsPublishedWithPopin","fixtureListItemsPublished","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureQuickAccess","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","fixtureWizardAddCoursesPlaylist","fixtureWizardFormCreatePlaylist","fixtureWizardFormEditPlaylist","fixtureWizardOrganizeCoursesPlaylist","fixtureWizardPopulationsPlaylistWithPopin","fixtureWizardPopulationsPlaylist","fixtureWizardTranslatePlaylist","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,6BAAP,MAA0C,qCAA1C;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,wBAAP,MAAqC,gCAArC;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AACA,OAAOC,kCAAP,MAA+C,4CAA/C;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,iBAAP,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AACAlC,IAAI,CAAC,oGAAD,EAAuGE,oBAAvG,EAA6HC,6BAA7H,EAA4JgC,+BAA5J,CAAJ;AACAnC,IAAI,CAAC,oGAAD,EAAuGE,oBAAvG,EAA6HC,6BAA7H,EAA4JiC,+BAA5J,CAAJ;AACApC,IAAI,CAAC,kGAAD,EAAqGE,oBAArG,EAA2HC,6BAA3H,EAA0JkC,6BAA1J,CAAJ;AACArC,IAAI,CAAC,yGAAD,EAA4GE,oBAA5G,EAAkIC,6BAAlI,EAAiKmC,oCAAjK,CAAJ;AACAtC,IAAI,CAAC,8GAAD,EAAiHE,oBAAjH,EAAuIC,6BAAvI,EAAsKoC,yCAAtK,CAAJ;AACAvC,IAAI,CAAC,qGAAD,EAAwGE,oBAAxG,EAA8HC,6BAA9H,EAA6JqC,gCAA7J,CAAJ;AACAxC,IAAI,CAAC,mGAAD,EAAsGE,oBAAtG,EAA4HC,6BAA5H,EAA2JsC,8BAA3J,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureListItemsArchived from './fixtures/list-items-archived';\nimport fixtureListItemsDraft from './fixtures/list-items-draft';\nimport fixtureListItemsPublishedWithPopin from './fixtures/list-items-published-with-popin';\nimport fixtureListItemsPublished from './fixtures/list-items-published';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureQuickAccess from './fixtures/quick-access';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\nimport fixtureWizardAddCoursesPlaylist from './fixtures/wizard-add-courses-playlist';\nimport fixtureWizardFormCreatePlaylist from './fixtures/wizard-form-create-playlist';\nimport fixtureWizardFormEditPlaylist from './fixtures/wizard-form-edit-playlist';\nimport fixtureWizardOrganizeCoursesPlaylist from './fixtures/wizard-organize-courses-playlist';\nimport fixtureWizardPopulationsPlaylistWithPopin from './fixtures/wizard-populations-playlist-with-popin';\nimport fixtureWizardPopulationsPlaylist from './fixtures/wizard-populations-playlist';\nimport fixtureWizardTranslatePlaylist from './fixtures/wizard-translate-playlist';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsArchived › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsArchived);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsDraft › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsDraft);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublishedWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublishedWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublished › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublished);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardAddCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormCreatePlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormEditPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardOrganizeCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylistWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardTranslatePlaylist);\n"],"file":"fixtures.js"}
|
|
@@ -7,8 +7,6 @@ import fixtureArticle from './fixtures/article';
|
|
|
7
7
|
import fixtureDefault from './fixtures/default';
|
|
8
8
|
import fixtureH5P from './fixtures/h5p';
|
|
9
9
|
import fixtureLoading from './fixtures/loading';
|
|
10
|
-
import fixturePdfMobile from './fixtures/pdf-mobile';
|
|
11
|
-
import fixturePdfNoMobile from './fixtures/pdf-no-mobile';
|
|
12
10
|
import fixturePodcastCockpitMode from './fixtures/podcast-cockpit-mode';
|
|
13
11
|
import fixturePodcastNoBackground from './fixtures/podcast-no-background';
|
|
14
12
|
import fixturePodcast from './fixtures/podcast';
|
|
@@ -25,8 +23,6 @@ test('Template › TemplateExternalCourse › Article › should be rendered', r
|
|
|
25
23
|
test('Template › TemplateExternalCourse › Default › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureDefault);
|
|
26
24
|
test('Template › TemplateExternalCourse › H5P › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureH5P);
|
|
27
25
|
test('Template › TemplateExternalCourse › Loading › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureLoading);
|
|
28
|
-
test('Template › TemplateExternalCourse › PdfMobile › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePdfMobile);
|
|
29
|
-
test('Template › TemplateExternalCourse › PdfNoMobile › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePdfNoMobile);
|
|
30
26
|
test('Template › TemplateExternalCourse › PodcastCockpitMode › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastCockpitMode);
|
|
31
27
|
test('Template › TemplateExternalCourse › PodcastNoBackground › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastNoBackground);
|
|
32
28
|
test('Template › TemplateExternalCourse › Podcast › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcast);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/template/external-course/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateExternalCourse","fixtureArabic","fixtureArticle","fixtureDefault","fixtureH5P","fixtureLoading","
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/external-course/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateExternalCourse","fixtureArabic","fixtureArticle","fixtureDefault","fixtureH5P","fixtureLoading","fixturePodcastCockpitMode","fixturePodcastNoBackground","fixturePodcast","fixtureVideo","fixtureYoutubePodcast","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,0BAAP,MAAuC,kCAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AAEAb,IAAI,CAAC,iEAAD,EAAoEc,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAd,EAAAA,OAAO,CAACE,sBAAsB,CAACa,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAlB,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHC,aAAlH,CAAJ;AACAJ,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHE,cAAnH,CAAJ;AACAL,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHG,cAAnH,CAAJ;AACAN,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GI,UAA/G,CAAJ;AACAP,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHK,cAAnH,CAAJ;AACAR,IAAI,CAAC,6EAAD,EAAgFE,oBAAhF,EAAsGC,sBAAtG,EAA8HM,yBAA9H,CAAJ;AACAT,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,sBAAvG,EAA+HO,0BAA/H,CAAJ;AACAV,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHQ,cAAnH,CAAJ;AACAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHS,YAAjH,CAAJ;AACAZ,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,sBAAlG,EAA0HU,qBAA1H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateExternalCourse from '..';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureArticle from './fixtures/article';\nimport fixtureDefault from './fixtures/default';\nimport fixtureH5P from './fixtures/h5p';\nimport fixtureLoading from './fixtures/loading';\nimport fixturePodcastCockpitMode from './fixtures/podcast-cockpit-mode';\nimport fixturePodcastNoBackground from './fixtures/podcast-no-background';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureVideo from './fixtures/video';\nimport fixtureYoutubePodcast from './fixtures/youtube-podcast';\n\ntest('Template › TemplateExternalCourse > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateExternalCourse.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateExternalCourse.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateExternalCourse › Arabic › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureArabic);\ntest('Template › TemplateExternalCourse › Article › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureArticle);\ntest('Template › TemplateExternalCourse › Default › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureDefault);\ntest('Template › TemplateExternalCourse › H5P › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureH5P);\ntest('Template › TemplateExternalCourse › Loading › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureLoading);\ntest('Template › TemplateExternalCourse › PodcastCockpitMode › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastCockpitMode);\ntest('Template › TemplateExternalCourse › PodcastNoBackground › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcastNoBackground);\ntest('Template › TemplateExternalCourse › Podcast › should be rendered', renderComponentMacro, TemplateExternalCourse, fixturePodcast);\ntest('Template › TemplateExternalCourse › Video › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureVideo);\ntest('Template › TemplateExternalCourse › YoutubePodcast › should be rendered', renderComponentMacro, TemplateExternalCourse, fixtureYoutubePodcast);\n"],"file":"fixtures.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import ReviewPresentation from '
|
|
4
|
-
import ReviewSkills from '
|
|
3
|
+
import ReviewPresentation from '../../atom/review-presentation';
|
|
4
|
+
import ReviewSkills from '../../organism/review-skills';
|
|
5
5
|
import style from './style.css';
|
|
6
6
|
|
|
7
7
|
const ReviewDashboardSkills = props => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/template/review-dashboard-skills/index.js"],"names":["React","PropTypes","ReviewPresentation","ReviewSkills","style","ReviewDashboardSkills","props","ariaLabel","reviewPresentation","reviewSkills","reviewDashboardContainer","reviewPresentationContainer","reviewSkillsContainer","propTypes","string","shape"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,kBAAP,MAA+B,gCAA/B;AACA,OAAOC,YAAP,MAAyB,8BAAzB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,qBAAqB,GAAGC,KAAK,IAAI;AACrC,QAAM;AAAC,kBAAcC,SAAf;AAA0BC,IAAAA,kBAA1B;AAA8CC,IAAAA;AAA9C,MAA8DH,KAApE;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACM,wBAAtB;AAAgD,kBAAYH;AAA5D,kBACE;AAAK,IAAA,SAAS,EAAEH,KAAK,CAACO;AAAtB,kBACE,oBAAC,kBAAD,EAAwBH,kBAAxB,CADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAEJ,KAAK,CAACQ;AAAtB,kBACE,oBAAC,YAAD,EAAkBH,YAAlB,CADF,CAJF,CADF;AAUD,CAbD;;AAeAJ,qBAAqB,CAACQ,SAAtB,2CAAkC;AAChC,gBAAcZ,SAAS,CAACa,MADQ;AAEhCN,EAAAA,kBAAkB,EAAEP,SAAS,CAACc,KAAV,CAAgBb,kBAAkB,CAACW,SAAnC,CAFY;AAGhCJ,EAAAA,YAAY,EAAER,SAAS,CAACc,KAAV,CAAgBZ,YAAY,CAACU,SAA7B;AAHkB,CAAlC;AAKA,eAAeR,qBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ReviewPresentation from '../../atom/review-presentation';\nimport ReviewSkills from '../../organism/review-skills';\nimport style from './style.css';\n\nconst ReviewDashboardSkills = props => {\n const {'aria-label': ariaLabel, reviewPresentation, reviewSkills} = props;\n\n return (\n <div className={style.reviewDashboardContainer} aria-label={ariaLabel}>\n <div className={style.reviewPresentationContainer}>\n <ReviewPresentation {...reviewPresentation} />\n </div>\n <div className={style.reviewSkillsContainer}>\n <ReviewSkills {...reviewSkills} />\n </div>\n </div>\n );\n};\n\nReviewDashboardSkills.propTypes = {\n 'aria-label': PropTypes.string,\n reviewPresentation: PropTypes.shape(ReviewPresentation.propTypes),\n reviewSkills: PropTypes.shape(ReviewSkills.propTypes)\n};\nexport default ReviewDashboardSkills;\n"],"file":"index.js"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@value breakpoints: "
|
|
1
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
2
2
|
@value tablet from breakpoints;
|
|
3
3
|
@value mobile from breakpoints;
|
|
4
4
|
|
|
5
5
|
.reviewDashboardContainer {
|
|
6
6
|
display: flex;
|
|
7
|
-
margin: 48px 64px;
|
|
7
|
+
margin: 48px 24px 48px 64px;
|
|
8
8
|
position: relative;
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
overflow: auto;
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
.reviewPresentationContainer {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
height: 100%;
|
|
17
|
-
margin-right: 40px;
|
|
18
17
|
max-width: 348px;
|
|
19
18
|
min-width: 348px;
|
|
20
19
|
position: sticky;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';
|
|
2
|
+
import reviewSkills from '../../../../organism/review-skills/test/fixtures/loading';
|
|
3
|
+
export default {
|
|
4
|
+
props: {
|
|
5
|
+
'aria-label': 'Review Skills Template',
|
|
6
|
+
reviewPresentation: reviewPresentation.props,
|
|
7
|
+
reviewSkills: reviewSkills.props
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=loading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/review-dashboard-skills/test/fixtures/loading.js"],"names":["reviewPresentation","reviewSkills","props"],"mappings":"AAAA,OAAOA,kBAAP,MAA+B,4DAA/B;AACA,OAAOC,YAAP,MAAyB,0DAAzB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACL,kBAAc,wBADT;AAELF,IAAAA,kBAAkB,EAAEA,kBAAkB,CAACE,KAFlC;AAGLD,IAAAA,YAAY,EAAEA,YAAY,CAACC;AAHtB;AADM,CAAf","sourcesContent":["import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';\nimport reviewSkills from '../../../../organism/review-skills/test/fixtures/loading';\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Template',\n reviewPresentation: reviewPresentation.props,\n reviewSkills: reviewSkills.props\n }\n};\n"],"file":"loading.js"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';
|
|
2
|
+
import reviewSkills from '../../../../organism/review-skills/test/fixtures/many-skills';
|
|
3
|
+
export default {
|
|
4
|
+
props: {
|
|
5
|
+
'aria-label': 'Review Skills Template',
|
|
6
|
+
reviewPresentation: reviewPresentation.props,
|
|
7
|
+
reviewSkills: reviewSkills.props
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=many-skills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/review-dashboard-skills/test/fixtures/many-skills.js"],"names":["reviewPresentation","reviewSkills","props"],"mappings":"AAAA,OAAOA,kBAAP,MAA+B,4DAA/B;AACA,OAAOC,YAAP,MAAyB,8DAAzB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACL,kBAAc,wBADT;AAELF,IAAAA,kBAAkB,EAAEA,kBAAkB,CAACE,KAFlC;AAGLD,IAAAA,YAAY,EAAEA,YAAY,CAACC;AAHtB;AADM,CAAf","sourcesContent":["import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';\nimport reviewSkills from '../../../../organism/review-skills/test/fixtures/many-skills';\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Template',\n reviewPresentation: reviewPresentation.props,\n reviewSkills: reviewSkills.props\n }\n};\n"],"file":"many-skills.js"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';
|
|
2
|
+
import reviewSkills from '../../../../organism/review-skills/test/fixtures/no-skills';
|
|
3
|
+
export default {
|
|
4
|
+
props: {
|
|
5
|
+
'aria-label': 'Review Skills Template',
|
|
6
|
+
reviewPresentation: reviewPresentation.props,
|
|
7
|
+
reviewSkills: reviewSkills.props
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=no-skills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/review-dashboard-skills/test/fixtures/no-skills.js"],"names":["reviewPresentation","reviewSkills","props"],"mappings":"AAAA,OAAOA,kBAAP,MAA+B,4DAA/B;AACA,OAAOC,YAAP,MAAyB,4DAAzB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACL,kBAAc,wBADT;AAELF,IAAAA,kBAAkB,EAAEA,kBAAkB,CAACE,KAFlC;AAGLD,IAAAA,YAAY,EAAEA,YAAY,CAACC;AAHtB;AADM,CAAf","sourcesContent":["import reviewPresentation from '../../../../atom/review-presentation/test/fixtures/default';\nimport reviewSkills from '../../../../organism/review-skills/test/fixtures/no-skills';\n\nexport default {\n props: {\n 'aria-label': 'Review Skills Template',\n reviewPresentation: reviewPresentation.props,\n reviewSkills: reviewSkills.props\n }\n};\n"],"file":"no-skills.js"}
|
|
@@ -14,8 +14,6 @@ var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
|
14
14
|
|
|
15
15
|
var _noIcon = _interopRequireDefault(require("./fixtures/no-icon"));
|
|
16
16
|
|
|
17
|
-
var _reviewHeader = _interopRequireDefault(require("./fixtures/review-header"));
|
|
18
|
-
|
|
19
17
|
var _smallButtonDisabled = _interopRequireDefault(require("./fixtures/small-button-disabled"));
|
|
20
18
|
|
|
21
19
|
var _smallLinkDownload = _interopRequireDefault(require("./fixtures/small-link-download"));
|
|
@@ -31,7 +29,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
31
29
|
(0, _ava.default)('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', _renderComponent.default, _.default, _buttonIconBullet.default);
|
|
32
30
|
(0, _ava.default)('Atom › AtomButtonLinkIconOnly › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
33
31
|
(0, _ava.default)('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', _renderComponent.default, _.default, _noIcon.default);
|
|
34
|
-
(0, _ava.default)('Atom › AtomButtonLinkIconOnly › ReviewHeader › should be rendered', _renderComponent.default, _.default, _reviewHeader.default);
|
|
35
32
|
(0, _ava.default)('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', _renderComponent.default, _.default, _smallButtonDisabled.default);
|
|
36
33
|
(0, _ava.default)('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', _renderComponent.default, _.default, _smallLinkDownload.default);
|
|
37
34
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/button-link-icon-only/test/fixtures.js"],"names":["t","pass","AtomButtonLinkIconOnly","propTypes","value","key","not","undefined","renderComponentMacro","fixtureButtonIconBullet","fixtureDefault","fixtureNoIcon","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/button-link-icon-only/test/fixtures.js"],"names":["t","pass","AtomButtonLinkIconOnly","propTypes","value","key","not","undefined","renderComponentMacro","fixtureButtonIconBullet","fixtureDefault","fixtureNoIcon","fixtureSmallButtonDisabled","fixtureSmallLinkDownload"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6DAAL,EAAoEA,CAAC,IAAI;AACvEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uDAAsDF,GAAI,mEAAnF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uEAAL,EAA8EG,wBAA9E,EAAoGN,SAApG,EAA4HO,yBAA5H;AACA,kBAAK,8DAAL,EAAqED,wBAArE,EAA2FN,SAA3F,EAAmHQ,gBAAnH;AACA,kBAAK,6DAAL,EAAoEF,wBAApE,EAA0FN,SAA1F,EAAkHS,eAAlH;AACA,kBAAK,0EAAL,EAAiFH,wBAAjF,EAAuGN,SAAvG,EAA+HU,4BAA/H;AACA,kBAAK,wEAAL,EAA+EJ,wBAA/E,EAAqGN,SAArG,EAA6HW,0BAA7H","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomButtonLinkIconOnly from '..';\nimport fixtureButtonIconBullet from './fixtures/button-icon-bullet';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNoIcon from './fixtures/no-icon';\nimport fixtureSmallButtonDisabled from './fixtures/small-button-disabled';\nimport fixtureSmallLinkDownload from './fixtures/small-link-download';\n\ntest('Atom › AtomButtonLinkIconOnly > should have valid propTypes', t => {\n t.pass();\n forEach(AtomButtonLinkIconOnly.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomButtonLinkIconOnly.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomButtonLinkIconOnly › ButtonIconBullet › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureButtonIconBullet);\ntest('Atom › AtomButtonLinkIconOnly › Default › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureDefault);\ntest('Atom › AtomButtonLinkIconOnly › NoIcon › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureNoIcon);\ntest('Atom › AtomButtonLinkIconOnly › SmallButtonDisabled › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallButtonDisabled);\ntest('Atom › AtomButtonLinkIconOnly › SmallLinkDownload › should be rendered', renderComponentMacro, AtomButtonLinkIconOnly, fixtureSmallLinkDownload);\n"],"file":"fixtures.js"}
|
package/lib/atom/cta/index.js
CHANGED
|
@@ -122,7 +122,8 @@ class CTA extends _react.default.Component {
|
|
|
122
122
|
"data-name": ctaName || 'cta',
|
|
123
123
|
style: this.getStyle()
|
|
124
124
|
}, logout ? /*#__PURE__*/_react.default.createElement("div", {
|
|
125
|
-
className: _style.default.logoutWrapper
|
|
125
|
+
className: _style.default.logoutWrapper,
|
|
126
|
+
"data-name": "cta-logout-label"
|
|
126
127
|
}, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyLogout, {
|
|
127
128
|
height: 15,
|
|
128
129
|
width: 15,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/atom/cta/index.js"],"names":["CTA","React","Component","constructor","props","state","hovered","handleMouseEnter","bind","handleMouseLeave","setState","getStyle","skin","context","disabled","light","secondary","logout","color","grey","backgroundColor","borderColor","opacity","darkenColor","render","submitValue","name","ctaName","href","target","small","onClick","className","rectangular","fullWidth","certificationButton","style","button","smallButton","lightButton","secondaryButton","logoutButton","rectangularButton","logoutWrapper","logoutIcon","Provider","childContextTypes","propTypes","Link","children","PropTypes","string","bool"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,GAAN,SAAkBC,eAAMC,SAAxB,CAAkC;AAsBhCC,EAAAA,WAAW,CAACC,KAAD,EAAQ;AACjB,UAAMA,KAAN;AACA,SAAKC,KAAL,GAAa;AACXC,MAAAA,OAAO,EAAE;AADE,KAAb;AAGA,SAAKC,gBAAL,GAAwB,KAAKA,gBAAL,CAAsBC,IAAtB,C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,CANb;AAkBE,mBAAWL,OAAO,IAAI,KAlBxB;AAmBE,MAAA,KAAK,EAAE,KAAKhB,QAAL;AAnBT,OAqBGM,MAAM,gBACL;AAAK,MAAA,SAAS,EAAEmB,eAAMO;
|
|
1
|
+
{"version":3,"sources":["../../../src/atom/cta/index.js"],"names":["CTA","React","Component","constructor","props","state","hovered","handleMouseEnter","bind","handleMouseLeave","setState","getStyle","skin","context","disabled","light","secondary","logout","color","grey","backgroundColor","borderColor","opacity","darkenColor","render","submitValue","name","ctaName","href","target","small","onClick","className","rectangular","fullWidth","certificationButton","style","button","smallButton","lightButton","secondaryButton","logoutButton","rectangularButton","logoutWrapper","logoutIcon","Provider","childContextTypes","propTypes","Link","children","PropTypes","string","bool"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,GAAN,SAAkBC,eAAMC,SAAxB,CAAkC;AAsBhCC,EAAAA,WAAW,CAACC,KAAD,EAAQ;AACjB,UAAMA,KAAN;AACA,SAAKC,KAAL,GAAa;AACXC,MAAAA,OAAO,EAAE;AADE,KAAb;AAGA,SAAKC,gBAAL,GAAwB,KAAKA,gBAAL,CAAsBC,IAAtB,CAA2B,IAA3B,CAAxB;AACA,SAAKC,gBAAL,GAAwB,KAAKA,gBAAL,CAAsBD,IAAtB,CAA2B,IAA3B,CAAxB;AACD;;AAEDD,EAAAA,gBAAgB,GAAG;AACjB,WAAO,KAAKG,QAAL,CAAc;AACnBJ,MAAAA,OAAO,EAAE;AADU,KAAd,CAAP;AAGD;;AAEDG,EAAAA,gBAAgB,GAAG;AACjB,WAAO,KAAKC,QAAL,CAAc;AACnBJ,MAAAA,OAAO,EAAE;AADU,KAAd,CAAP;AAGD;;AAEDK,EAAAA,QAAQ,GAAG;AACT,UAAM;AAACC,MAAAA;AAAD,QAAS,KAAKC,OAApB;AACA,UAAM;AAACP,MAAAA;AAAD,QAAY,KAAKD,KAAvB;AACA,UAAM;AAACS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;AACjBtB,EAAAA,WAAW,EAAEuB,cAAKD,SAAL,CAAeE,QADX;AAEjBrB,EAAAA,IAAI,EAAEoB,cAAKD,SAAL,CAAenB,IAFJ;AAGjBG,EAAAA,OAAO,EAAEiB,cAAKD,SAAL,CAAehB,OAHP;AAIjBF,EAAAA,MAAM,EAAEmB,cAAKD,SAAL,CAAelB,MAJN;AAKjBH,EAAAA,IAAI,EAAEwB,mBAAUC,MALC;AAMjBrC,EAAAA,QAAQ,EAAEoC,mBAAUE,IANH;AAOjBrC,EAAAA,KAAK,EAAEmC,mBAAUE,IAPA;AAQjBpC,EAAAA,SAAS,EAAEkC,mBAAUE,IARJ;AASjBtB,EAAAA,KAAK,EAAEoB,mBAAUE,IATA;AAUjBpB,EAAAA,SAAS,EAAEkB,mBAAUC,MAVJ;AAWjBlC,EAAAA,MAAM,EAAEiC,mBAAUE,IAXD;AAYjBnB,EAAAA,WAAW,EAAEiB,mBAAUE,IAZN;AAajBlB,EAAAA,SAAS,EAAEgB,mBAAUE,IAbJ;AAcjBjB,EAAAA,mBAAmB,EAAEe,mBAAUE;AAdd,C;eAyINpD,G","sourcesContent":["import React from 'react';\nimport {convert} from 'css-color-function';\nimport PropTypes from 'prop-types';\nimport {get, noop} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {NovaCompositionCoorpacademyLogout as LogoutIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../provider';\nimport Link from '../link';\nimport style from './style.css';\n\nclass CTA extends React.Component {\n static propTypes = {\n submitValue: Link.propTypes.children,\n href: Link.propTypes.href,\n onClick: Link.propTypes.onClick,\n target: Link.propTypes.target,\n name: PropTypes.string,\n disabled: PropTypes.bool,\n light: PropTypes.bool,\n secondary: PropTypes.bool,\n small: PropTypes.bool,\n className: PropTypes.string,\n logout: PropTypes.bool,\n rectangular: PropTypes.bool,\n fullWidth: PropTypes.bool,\n certificationButton: PropTypes.bool\n };\n\n static contextTypes = {\n skin: Provider.childContextTypes.skin\n };\n\n constructor(props) {\n super(props);\n this.state = {\n hovered: false\n };\n this.handleMouseEnter = this.handleMouseEnter.bind(this);\n this.handleMouseLeave = this.handleMouseLeave.bind(this);\n }\n\n handleMouseEnter() {\n return this.setState({\n hovered: true\n });\n }\n\n handleMouseLeave() {\n return this.setState({\n hovered: false\n });\n }\n\n getStyle() {\n const {skin} = this.context;\n const {hovered} = this.state;\n const {disabled = false, light = false, secondary = false, logout = false} = this.props;\n const color = get('common.primary', skin);\n const grey = get('common.grey', skin);\n\n if (logout) return;\n\n if (disabled) {\n return {\n backgroundColor: grey,\n borderColor: grey,\n opacity: '0.3'\n };\n }\n\n if (hovered) {\n const darkenColor = convert(`color(${color} blackness(+10%))`);\n return {\n backgroundColor: darkenColor,\n borderColor: darkenColor\n };\n }\n\n if (secondary)\n return {\n color,\n borderColor: color\n };\n\n if (light)\n return {\n color\n };\n\n return {\n borderColor: color,\n backgroundColor: color\n };\n }\n\n render() {\n const {\n submitValue = 'submit',\n name: ctaName,\n href,\n target,\n disabled = false,\n light = false,\n small = false,\n secondary = false,\n onClick,\n className,\n logout = false,\n rectangular = false,\n fullWidth = false,\n certificationButton = false\n } = this.props;\n\n return (\n <Link\n href={href}\n onClick={disabled ? noop : onClick}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n target={target}\n className={classnames(\n style.button,\n disabled ? style.disabled : null,\n small ? style.smallButton : null,\n light ? style.lightButton : null,\n secondary ? style.secondaryButton : null,\n logout ? style.logoutButton : null,\n rectangular ? style.rectangularButton : null,\n fullWidth ? style.fullWidth : null,\n certificationButton ? style.certificationButton : null,\n className\n )}\n data-name={ctaName || 'cta'}\n style={this.getStyle()}\n >\n {logout ? (\n <div className={style.logoutWrapper} data-name=\"cta-logout-label\">\n <LogoutIcon height={15} width={15} className={style.logoutIcon} />\n {submitValue}\n </div>\n ) : (\n submitValue\n )}\n </Link>\n );\n }\n}\n\nexport default CTA;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _browserEnv = _interopRequireDefault(require("browser-env"));
|
|
4
|
+
|
|
5
|
+
var _ava = _interopRequireDefault(require("ava"));
|
|
6
|
+
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
|
|
9
|
+
var _react2 = require("@testing-library/react");
|
|
10
|
+
|
|
11
|
+
var _renderWithContext = require("../../../util/render-with-context");
|
|
12
|
+
|
|
13
|
+
var _ = _interopRequireDefault(require(".."));
|
|
14
|
+
|
|
15
|
+
var _primary = _interopRequireDefault(require("./fixtures/primary"));
|
|
16
|
+
|
|
17
|
+
var _logout = _interopRequireDefault(require("./fixtures/logout"));
|
|
18
|
+
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
+
|
|
21
|
+
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); }
|
|
22
|
+
|
|
23
|
+
(0, _browserEnv.default)();
|
|
24
|
+
const context = {
|
|
25
|
+
skin: {
|
|
26
|
+
common: {
|
|
27
|
+
primary: '#FF7043'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
(0, _ava.default)('should be considered as hovered when mouse enters', t => {
|
|
32
|
+
const unhoveredCtaLinkStyle = {
|
|
33
|
+
'background-color': 'rgb(255, 112, 67)',
|
|
34
|
+
'border-bottom-color': '#ff7043',
|
|
35
|
+
'border-color': '#ff7043',
|
|
36
|
+
'border-left-color': '#ff7043',
|
|
37
|
+
'border-right-color': '#ff7043',
|
|
38
|
+
'border-top-color': '#ff7043'
|
|
39
|
+
};
|
|
40
|
+
const {
|
|
41
|
+
container
|
|
42
|
+
} = (0, _renderWithContext.renderWithContext)( /*#__PURE__*/_react.default.createElement(_.default, _primary.default.props), {
|
|
43
|
+
context
|
|
44
|
+
});
|
|
45
|
+
const cta = container.querySelector('[data-name="cta"]');
|
|
46
|
+
t.truthy(cta);
|
|
47
|
+
t.deepEqual(cta.style._values, unhoveredCtaLinkStyle);
|
|
48
|
+
|
|
49
|
+
_react2.fireEvent.mouseOver(cta);
|
|
50
|
+
|
|
51
|
+
t.deepEqual(cta.style._values, {
|
|
52
|
+
'background-color': 'rgb(230, 104, 66)',
|
|
53
|
+
'border-bottom-color': 'rgb(230, 104, 66)',
|
|
54
|
+
'border-color': 'rgb(230, 104, 66)',
|
|
55
|
+
'border-left-color': 'rgb(230, 104, 66)',
|
|
56
|
+
'border-right-color': 'rgb(230, 104, 66)',
|
|
57
|
+
'border-top-color': 'rgb(230, 104, 66)'
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
_react2.fireEvent.mouseLeave(cta);
|
|
61
|
+
|
|
62
|
+
t.deepEqual(cta.style._values, unhoveredCtaLinkStyle);
|
|
63
|
+
});
|
|
64
|
+
(0, _ava.default)("The hover action should not change the cta's (Link wrapper) style when the mouse enters the logout label", t => {
|
|
65
|
+
const {
|
|
66
|
+
container
|
|
67
|
+
} = (0, _renderWithContext.renderWithContext)( /*#__PURE__*/_react.default.createElement(_.default, _logout.default.props), {
|
|
68
|
+
context
|
|
69
|
+
});
|
|
70
|
+
const logout = container.querySelector('[data-name="cta-logout-label"]');
|
|
71
|
+
const cta = container.querySelector('[data-name="cta"]'); // no styles should be returned for logout either on hover/ unhovered
|
|
72
|
+
|
|
73
|
+
t.deepEqual(cta.style._values, {});
|
|
74
|
+
|
|
75
|
+
_react2.fireEvent.mouseOver(logout);
|
|
76
|
+
|
|
77
|
+
t.deepEqual(cta.style._values, {});
|
|
78
|
+
|
|
79
|
+
_react2.fireEvent.mouseLeave(logout);
|
|
80
|
+
|
|
81
|
+
t.deepEqual(cta.style._values, {});
|
|
82
|
+
});
|
|
83
|
+
(0, _ava.default)('Onclick test', t => {
|
|
84
|
+
t.plan(3);
|
|
85
|
+
|
|
86
|
+
const onClick = () => {
|
|
87
|
+
t.pass();
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
const {
|
|
91
|
+
container,
|
|
92
|
+
rerender
|
|
93
|
+
} = (0, _renderWithContext.renderWithContext)( /*#__PURE__*/_react.default.createElement(_.default, _extends({}, _primary.default.props, {
|
|
94
|
+
onClick: onClick
|
|
95
|
+
})), {
|
|
96
|
+
context
|
|
97
|
+
});
|
|
98
|
+
const cta = container.querySelector('[data-name="cta"]');
|
|
99
|
+
t.truthy(cta);
|
|
100
|
+
|
|
101
|
+
_react2.fireEvent.click(cta);
|
|
102
|
+
|
|
103
|
+
const onClick2 = () => {
|
|
104
|
+
t.fail();
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
rerender( /*#__PURE__*/_react.default.createElement(_.default, _extends({}, _primary.default.props, {
|
|
108
|
+
disabled: true,
|
|
109
|
+
onClick: onClick2
|
|
110
|
+
})));
|
|
111
|
+
t.truthy(cta);
|
|
112
|
+
|
|
113
|
+
_react2.fireEvent.click(cta);
|
|
114
|
+
});
|
|
115
|
+
//# sourceMappingURL=cta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/cta/test/cta.js"],"names":["context","skin","common","primary","t","unhoveredCtaLinkStyle","container","ctaFixture","props","cta","querySelector","truthy","deepEqual","style","_values","fireEvent","mouseOver","mouseLeave","logoutFixture","logout","plan","onClick","pass","rerender","click","onClick2","fail"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA;AAEA,MAAMA,OAAO,GAAG;AACdC,EAAAA,IAAI,EAAE;AACJC,IAAAA,MAAM,EAAE;AACNC,MAAAA,OAAO,EAAE;AADH;AADJ;AADQ,CAAhB;AAQA,kBAAK,mDAAL,EAA0DC,CAAC,IAAI;AAC7D,QAAMC,qBAAqB,GAAG;AAC5B,wBAAoB,mBADQ;AAE5B,2BAAuB,SAFK;AAG5B,oBAAgB,S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AAoBG,MAApB;;AACAf,EAAAA,CAAC,CAACQ,SAAF,CAAYH,GAAG,CAACI,KAAJ,CAAUC,OAAtB,EAA+B,EAA/B;;AAEAC,oBAAUE,UAAV,CAAqBE,MAArB;;AACAf,EAAAA,CAAC,CAACQ,SAAF,CAAYH,GAAG,CAACI,KAAJ,CAAUC,OAAtB,EAA+B,EAA/B;AACD,CAbD;AAeA,kBAAK,cAAL,EAAqBV,CAAC,IAAI;AACxBA,EAAAA,CAAC,CAACgB,IAAF,CAAO,CAAP;;AAEA,QAAMC,OAAO,GAAG,MAAM;AACpBjB,IAAAA,CAAC,CAACkB,IAAF;AACD,GAFD;;AAIA,QAAM;AAAChB,IAAAA,SAAD;AAAYiB,IAAAA;AAAZ,MAAwB,wDAAkB,6BAAC,SAAD,eAAShB,iBAAWC,KAApB;AAA2B,IAAA,OAAO,EAAEa;AAApC,KAAlB,EAAmE;AAC/FrB,IAAAA;AAD+F,GAAnE,CAA9B;AAGA,QAAMS,GAAG,GAAGH,SAAS,CAACI,aAAV,CAAwB,mBAAxB,CAAZ;AACAN,EAAAA,CAAC,CAACO,MAAF,CAASF,GAAT;;AAEAM,oBAAUS,KAAV,CAAgBf,GAAhB;;AAEA,QAAMgB,QAAQ,GAAG,MAAM;AACrBrB,IAAAA,CAAC,CAACsB,IAAF;AACD,GAFD;;AAIAH,EAAAA,QAAQ,eAAC,6BAAC,SAAD,eAAShB,iBAAWC,KAApB;AAA2B,IAAA,QAAQ,MAAnC;AAAoC,IAAA,OAAO,EAAEiB;AAA7C,KAAD,CAAR;AAEArB,EAAAA,CAAC,CAACO,MAAF,CAASF,GAAT;;AAEAM,oBAAUS,KAAV,CAAgBf,GAAhB;AACD,CAxBD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {fireEvent} from '@testing-library/react';\nimport {renderWithContext} from '../../../util/render-with-context';\nimport Cta from '..';\nimport ctaFixture from './fixtures/primary';\nimport logoutFixture from './fixtures/logout';\n\nbrowserEnv();\n\nconst context = {\n skin: {\n common: {\n primary: '#FF7043'\n }\n }\n};\n\ntest('should be considered as hovered when mouse enters', t => {\n const unhoveredCtaLinkStyle = {\n 'background-color': 'rgb(255, 112, 67)',\n 'border-bottom-color': '#ff7043',\n 'border-color': '#ff7043',\n 'border-left-color': '#ff7043',\n 'border-right-color': '#ff7043',\n 'border-top-color': '#ff7043'\n };\n\n const {container} = renderWithContext(<Cta {...ctaFixture.props} />, {context});\n const cta = container.querySelector('[data-name=\"cta\"]');\n\n t.truthy(cta);\n t.deepEqual(cta.style._values, unhoveredCtaLinkStyle);\n\n fireEvent.mouseOver(cta);\n\n t.deepEqual(cta.style._values, {\n 'background-color': 'rgb(230, 104, 66)',\n 'border-bottom-color': 'rgb(230, 104, 66)',\n 'border-color': 'rgb(230, 104, 66)',\n 'border-left-color': 'rgb(230, 104, 66)',\n 'border-right-color': 'rgb(230, 104, 66)',\n 'border-top-color': 'rgb(230, 104, 66)'\n });\n\n fireEvent.mouseLeave(cta);\n\n t.deepEqual(cta.style._values, unhoveredCtaLinkStyle);\n});\n\ntest(\"The hover action should not change the cta's (Link wrapper) style when the mouse enters the logout label\", t => {\n const {container} = renderWithContext(<Cta {...logoutFixture.props} />, {context});\n const logout = container.querySelector('[data-name=\"cta-logout-label\"]');\n const cta = container.querySelector('[data-name=\"cta\"]');\n\n // no styles should be returned for logout either on hover/ unhovered\n t.deepEqual(cta.style._values, {});\n\n fireEvent.mouseOver(logout);\n t.deepEqual(cta.style._values, {});\n\n fireEvent.mouseLeave(logout);\n t.deepEqual(cta.style._values, {});\n});\n\ntest('Onclick test', t => {\n t.plan(3);\n\n const onClick = () => {\n t.pass();\n };\n\n const {container, rerender} = renderWithContext(<Cta {...ctaFixture.props} onClick={onClick} />, {\n context\n });\n const cta = container.querySelector('[data-name=\"cta\"]');\n t.truthy(cta);\n\n fireEvent.click(cta);\n\n const onClick2 = () => {\n t.fail();\n };\n\n rerender(<Cta {...ctaFixture.props} disabled onClick={onClick2} />);\n\n t.truthy(cta);\n\n fireEvent.click(cta);\n});\n"],"file":"cta.js"}
|
|
@@ -8,28 +8,16 @@ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/ren
|
|
|
8
8
|
|
|
9
9
|
var _ = _interopRequireDefault(require(".."));
|
|
10
10
|
|
|
11
|
-
var _cleanAndModified = _interopRequireDefault(require("./fixtures/clean-and-modified"));
|
|
12
|
-
|
|
13
11
|
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
14
12
|
|
|
15
|
-
var _disabledWithImageReset = _interopRequireDefault(require("./fixtures/disabled-with-image-reset"));
|
|
16
|
-
|
|
17
|
-
var _disabled = _interopRequireDefault(require("./fixtures/disabled"));
|
|
18
|
-
|
|
19
|
-
var _error = _interopRequireDefault(require("./fixtures/error"));
|
|
20
|
-
|
|
21
13
|
var _loading = _interopRequireDefault(require("./fixtures/loading"));
|
|
22
14
|
|
|
23
|
-
var _modified = _interopRequireDefault(require("./fixtures/modified"));
|
|
24
|
-
|
|
25
15
|
var _withChildren = _interopRequireDefault(require("./fixtures/with-children"));
|
|
26
16
|
|
|
27
17
|
var _withImageReset = _interopRequireDefault(require("./fixtures/with-image-reset"));
|
|
28
18
|
|
|
29
19
|
var _withImage = _interopRequireDefault(require("./fixtures/with-image"));
|
|
30
20
|
|
|
31
|
-
var _withLongDescription = _interopRequireDefault(require("./fixtures/with-long-description"));
|
|
32
|
-
|
|
33
21
|
var _withVideo = _interopRequireDefault(require("./fixtures/with-video"));
|
|
34
22
|
|
|
35
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -40,16 +28,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
40
28
|
t.not(value, undefined, `PropType for "Atom.AtomDragAndDrop.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
41
29
|
});
|
|
42
30
|
});
|
|
43
|
-
(0, _ava.default)('Atom › AtomDragAndDrop › CleanAndModified › should be rendered', _renderComponent.default, _.default, _cleanAndModified.default);
|
|
44
31
|
(0, _ava.default)('Atom › AtomDragAndDrop › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
45
|
-
(0, _ava.default)('Atom › AtomDragAndDrop › DisabledWithImageReset › should be rendered', _renderComponent.default, _.default, _disabledWithImageReset.default);
|
|
46
|
-
(0, _ava.default)('Atom › AtomDragAndDrop › Disabled › should be rendered', _renderComponent.default, _.default, _disabled.default);
|
|
47
|
-
(0, _ava.default)('Atom › AtomDragAndDrop › Error › should be rendered', _renderComponent.default, _.default, _error.default);
|
|
48
32
|
(0, _ava.default)('Atom › AtomDragAndDrop › Loading › should be rendered', _renderComponent.default, _.default, _loading.default);
|
|
49
|
-
(0, _ava.default)('Atom › AtomDragAndDrop › Modified › should be rendered', _renderComponent.default, _.default, _modified.default);
|
|
50
33
|
(0, _ava.default)('Atom › AtomDragAndDrop › WithChildren › should be rendered', _renderComponent.default, _.default, _withChildren.default);
|
|
51
34
|
(0, _ava.default)('Atom › AtomDragAndDrop › WithImageReset › should be rendered', _renderComponent.default, _.default, _withImageReset.default);
|
|
52
35
|
(0, _ava.default)('Atom › AtomDragAndDrop › WithImage › should be rendered', _renderComponent.default, _.default, _withImage.default);
|
|
53
|
-
(0, _ava.default)('Atom › AtomDragAndDrop › WithLongDescription › should be rendered', _renderComponent.default, _.default, _withLongDescription.default);
|
|
54
36
|
(0, _ava.default)('Atom › AtomDragAndDrop › WithVideo › should be rendered', _renderComponent.default, _.default, _withVideo.default);
|
|
55
37
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/atom/drag-and-drop/test/fixtures.js"],"names":["t","pass","AtomDragAndDrop","propTypes","value","key","not","undefined","renderComponentMacro","
|
|
1
|
+
{"version":3,"sources":["../../../../src/atom/drag-and-drop/test/fixtures.js"],"names":["t","pass","AtomDragAndDrop","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureLoading","fixtureWithChildren","fixtureWithImageReset","fixtureWithImage","fixtureWithVideo"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,sDAAL,EAA6DA,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAgBC,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uDAAL,EAA8DG,wBAA9D,EAAoFN,SAApF,EAAqGO,gBAArG;AACA,kBAAK,uDAAL,EAA8DD,wBAA9D,EAAoFN,SAApF,EAAqGQ,gBAArG;AACA,kBAAK,4DAAL,EAAmEF,wBAAnE,EAAyFN,SAAzF,EAA0GS,qBAA1G;AACA,kBAAK,8DAAL,EAAqEH,wBAArE,EAA2FN,SAA3F,EAA4GU,uBAA5G;AACA,kBAAK,yDAAL,EAAgEJ,wBAAhE,EAAsFN,SAAtF,EAAuGW,kBAAvG;AACA,kBAAK,yDAAL,EAAgEL,wBAAhE,EAAsFN,SAAtF,EAAuGY,kBAAvG","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomDragAndDrop from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureWithChildren from './fixtures/with-children';\nimport fixtureWithImageReset from './fixtures/with-image-reset';\nimport fixtureWithImage from './fixtures/with-image';\nimport fixtureWithVideo from './fixtures/with-video';\n\ntest('Atom › AtomDragAndDrop > should have valid propTypes', t => {\n t.pass();\n forEach(AtomDragAndDrop.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomDragAndDrop.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomDragAndDrop › Default › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureDefault);\ntest('Atom › AtomDragAndDrop › Loading › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureLoading);\ntest('Atom › AtomDragAndDrop › WithChildren › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithChildren);\ntest('Atom › AtomDragAndDrop › WithImageReset › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImageReset);\ntest('Atom › AtomDragAndDrop › WithImage › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImage);\ntest('Atom › AtomDragAndDrop › WithVideo › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithVideo);\n"],"file":"fixtures.js"}
|
|
@@ -8,10 +8,6 @@ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/ren
|
|
|
8
8
|
|
|
9
9
|
var _ = _interopRequireDefault(require(".."));
|
|
10
10
|
|
|
11
|
-
var _cleanModified = _interopRequireDefault(require("./fixtures/clean-modified"));
|
|
12
|
-
|
|
13
|
-
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
14
|
-
|
|
15
11
|
var _desktopResetDescriptionMultiple = _interopRequireDefault(require("./fixtures/desktop-reset-description-multiple"));
|
|
16
12
|
|
|
17
13
|
var _desktopResetDescriptionOnlyPng = _interopRequireDefault(require("./fixtures/desktop-reset-description-only-png"));
|
|
@@ -22,14 +18,14 @@ var _desktopResetNoDescription = _interopRequireDefault(require("./fixtures/desk
|
|
|
22
18
|
|
|
23
19
|
var _desktop = _interopRequireDefault(require("./fixtures/desktop"));
|
|
24
20
|
|
|
25
|
-
var _disabled = _interopRequireDefault(require("./fixtures/disabled"));
|
|
26
|
-
|
|
27
21
|
var _email = _interopRequireDefault(require("./fixtures/email"));
|
|
28
22
|
|
|
29
23
|
var _mobile = _interopRequireDefault(require("./fixtures/mobile"));
|
|
30
24
|
|
|
31
25
|
var _modified = _interopRequireDefault(require("./fixtures/modified"));
|
|
32
26
|
|
|
27
|
+
var _withoutImage = _interopRequireDefault(require("./fixtures/without-image"));
|
|
28
|
+
|
|
33
29
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
34
30
|
|
|
35
31
|
(0, _ava.default)('Atom › AtomImageUpload > should have valid propTypes', t => {
|
|
@@ -38,15 +34,13 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
38
34
|
t.not(value, undefined, `PropType for "Atom.AtomImageUpload.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
39
35
|
});
|
|
40
36
|
});
|
|
41
|
-
(0, _ava.default)('Atom › AtomImageUpload › CleanModified › should be rendered', _renderComponent.default, _.default, _cleanModified.default);
|
|
42
|
-
(0, _ava.default)('Atom › AtomImageUpload › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
43
37
|
(0, _ava.default)('Atom › AtomImageUpload › DesktopResetDescriptionMultiple › should be rendered', _renderComponent.default, _.default, _desktopResetDescriptionMultiple.default);
|
|
44
38
|
(0, _ava.default)('Atom › AtomImageUpload › DesktopResetDescriptionOnlyPng › should be rendered', _renderComponent.default, _.default, _desktopResetDescriptionOnlyPng.default);
|
|
45
39
|
(0, _ava.default)('Atom › AtomImageUpload › DesktopResetDescription › should be rendered', _renderComponent.default, _.default, _desktopResetDescription.default);
|
|
46
40
|
(0, _ava.default)('Atom › AtomImageUpload › DesktopResetNoDescription › should be rendered', _renderComponent.default, _.default, _desktopResetNoDescription.default);
|
|
47
41
|
(0, _ava.default)('Atom › AtomImageUpload › Desktop › should be rendered', _renderComponent.default, _.default, _desktop.default);
|
|
48
|
-
(0, _ava.default)('Atom › AtomImageUpload › Disabled › should be rendered', _renderComponent.default, _.default, _disabled.default);
|
|
49
42
|
(0, _ava.default)('Atom › AtomImageUpload › Email › should be rendered', _renderComponent.default, _.default, _email.default);
|
|
50
43
|
(0, _ava.default)('Atom › AtomImageUpload › Mobile › should be rendered', _renderComponent.default, _.default, _mobile.default);
|
|
51
44
|
(0, _ava.default)('Atom › AtomImageUpload › Modified › should be rendered', _renderComponent.default, _.default, _modified.default);
|
|
45
|
+
(0, _ava.default)('Atom › AtomImageUpload › WithoutImage › should be rendered', _renderComponent.default, _.default, _withoutImage.default);
|
|
52
46
|
//# sourceMappingURL=fixtures.js.map
|