@coorpacademy/components 10.24.5 → 10.25.0
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/choice/test/fixtures.native.d.ts +2 -0
- package/es/atom/choice/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/gradient/test/fixtures.native.d.ts +2 -0
- package/es/atom/gradient/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/header-back-button/test/fixtures.native.d.ts +2 -0
- package/es/atom/header-back-button/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/header-back-icon/test/fixtures.native.d.ts +2 -0
- package/es/atom/header-back-icon/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/html/test/fixtures.native.d.ts +2 -0
- package/es/atom/html/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/image-background/test/fixtures.native.d.ts +2 -0
- package/es/atom/image-background/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/loader/index.d.ts +13 -0
- package/es/atom/loader/index.d.ts.map +1 -0
- package/es/atom/lottie-wrapper/index.d.ts +8 -0
- package/es/atom/lottie-wrapper/index.d.ts.map +1 -0
- package/es/atom/lottie-wrapper/prop-types.d.ts +26 -9
- package/es/atom/lottie-wrapper/prop-types.d.ts.map +1 -1
- package/es/atom/lottie-wrapper/prop-types.js +2 -1
- package/es/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/es/atom/lottie-wrapper/test/fixtures/confetti.d.ts +20 -0
- package/es/atom/lottie-wrapper/test/fixtures/confetti.d.ts.map +1 -0
- package/es/atom/lottie-wrapper/test/fixtures/default.d.ts +20 -0
- package/es/atom/lottie-wrapper/test/fixtures/default.d.ts.map +1 -0
- package/es/atom/lottie-wrapper/test/fixtures/rank.d.ts +16 -0
- package/es/atom/lottie-wrapper/test/fixtures/rank.d.ts.map +1 -0
- package/es/atom/provider/index.d.ts +1 -1
- package/es/atom/provider/web-context.js +1 -1
- package/es/atom/provider/web-context.js.map +1 -1
- package/es/atom/range/handle.d.ts +34 -0
- package/es/atom/range/handle.d.ts.map +1 -0
- package/es/atom/range/index.d.ts +32 -0
- package/es/atom/range/index.d.ts.map +1 -0
- package/es/atom/review-background/index.d.ts +7 -0
- package/es/atom/review-background/index.d.ts.map +1 -0
- package/es/atom/review-header-step-item/index.d.ts +2 -2
- package/es/atom/review-header-step-item/index.d.ts.map +1 -1
- package/es/atom/review-header-step-item/index.js.map +1 -1
- package/es/atom/review-header-step-item/index.native.d.ts +2 -2
- package/es/atom/review-header-step-item/index.native.d.ts.map +1 -1
- package/es/atom/review-header-step-item/index.native.js.map +1 -1
- package/es/atom/review-header-step-item/test/fixtures.native.d.ts +2 -0
- package/es/atom/review-header-step-item/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/review-header-step-item/types.d.ts +2 -2
- package/es/atom/review-header-step-item/types.d.ts.map +1 -1
- package/es/atom/review-header-step-item/types.js.map +1 -1
- package/es/atom/review-presentation/index.d.ts +7 -0
- package/es/atom/review-presentation/index.d.ts.map +1 -0
- package/es/atom/review-presentation/prop-types.d.ts +26 -0
- package/es/atom/review-presentation/prop-types.d.ts.map +1 -0
- package/es/atom/review-presentation/test/fixtures/default.d.ts +28 -0
- package/es/atom/review-presentation/test/fixtures/default.d.ts.map +1 -0
- package/es/atom/select/index.d.ts +56 -0
- package/es/atom/select/index.d.ts.map +1 -0
- package/es/atom/select-modal/test/fixtures.native.d.ts +2 -0
- package/es/atom/select-modal/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/space/test/fixtures.native.d.ts +2 -0
- package/es/atom/space/test/fixtures.native.d.ts.map +1 -0
- package/es/atom/text/test/fixtures.native.d.ts +2 -0
- package/es/atom/text/test/fixtures.native.d.ts.map +1 -0
- package/es/hoc/animation/index.d.ts +54 -0
- package/es/hoc/animation/index.d.ts.map +1 -0
- package/es/hoc/animation-scheduler/index.d.ts +38 -0
- package/es/hoc/animation-scheduler/index.d.ts.map +1 -0
- package/es/hoc/animation-scheduler/index.js +3 -3
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/modal/select/test/fixtures.native.d.ts +2 -0
- package/es/hoc/modal/select/test/fixtures.native.d.ts.map +1 -0
- package/es/hoc/modal/select-item/test/fixtures.native.d.ts +2 -0
- package/es/hoc/modal/select-item/test/fixtures.native.d.ts.map +1 -0
- package/es/hoc/modal/test/fixtures.native.d.ts +2 -0
- package/es/hoc/modal/test/fixtures.native.d.ts.map +1 -0
- package/es/hoc/swapper/index.js +1 -1
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/touchable/test/fixtures.native.d.ts +2 -0
- package/es/hoc/touchable/test/fixtures.native.d.ts.map +1 -0
- package/es/hoc/transition/index.d.ts +11 -0
- package/es/hoc/transition/index.d.ts.map +1 -0
- package/es/hoc/transition/index.js +1 -1
- package/es/hoc/transition/index.js.map +1 -1
- package/es/molecule/add-to-my-list/index.js +1 -1
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/answer/index.d.ts +7 -0
- package/es/molecule/answer/index.d.ts.map +1 -0
- package/es/molecule/answer/index.native.d.ts +2 -2
- package/es/molecule/answer/index.native.d.ts.map +1 -1
- package/es/molecule/answer/index.native.js.map +1 -1
- package/es/molecule/answer/prop-types.d.ts +27 -10
- package/es/molecule/answer/prop-types.d.ts.map +1 -1
- package/es/molecule/answer/prop-types.js.map +1 -1
- package/es/molecule/answer/test/fixtures/audio.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/audio.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/default.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/default.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/drop-down.d.ts +2 -2
- package/es/molecule/answer/test/fixtures/drop-down.d.ts.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm-arabic.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/qcm-arabic.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/qcm-drag.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/qcm-drag.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/qcm-graphic.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/qcm-graphic.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/qcm-short-audio.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/qcm-short-audio.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/qcm-short-video.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/qcm-short-video.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/qcm-short.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/qcm-short.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/qcm.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/qcm.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/range.d.ts +7 -0
- package/es/molecule/answer/test/fixtures/range.d.ts.map +1 -0
- package/es/molecule/answer/test/fixtures/template.d.ts +2 -2
- package/es/molecule/answer/test/fixtures/template.d.ts.map +1 -1
- package/es/molecule/answer/test/fixtures.native.d.ts +2 -0
- package/es/molecule/answer/test/fixtures.native.d.ts.map +1 -0
- package/es/molecule/audio/index.d.ts +42 -0
- package/es/molecule/audio/index.d.ts.map +1 -0
- package/es/molecule/brand-logo/test/fixtures.native.d.ts +2 -0
- package/es/molecule/brand-logo/test/fixtures.native.d.ts.map +1 -0
- package/es/molecule/card/index.js +1 -1
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/cm-popin/index.d.ts +2 -51
- package/es/molecule/cm-popin/index.js +2 -37
- package/es/molecule/cm-popin/index.js.map +1 -1
- package/es/molecule/cm-popin/test/fixtures/on-review-quit.d.ts +7 -0
- package/es/molecule/cm-popin/test/fixtures/on-review-quit.d.ts.map +1 -0
- package/es/molecule/cm-popin/types.d.ts +70 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -0
- package/es/molecule/cm-popin/types.js +41 -0
- package/es/molecule/cm-popin/types.js.map +1 -0
- package/es/molecule/dashboard/battle-request-list/index.js +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/es/molecule/dashboard/news-list/index.js +1 -1
- package/es/molecule/dashboard/news-list/index.js.map +1 -1
- package/es/molecule/dashboard/review-banner/index.js +1 -1
- package/es/molecule/dashboard/review-banner/index.js.map +1 -1
- package/es/molecule/dashboard/start-battle/index.js +1 -1
- package/es/molecule/dashboard/start-battle/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.d.ts +16 -0
- package/es/molecule/questions/drop-down/index.d.ts.map +1 -0
- package/es/molecule/questions/free-text/index.d.ts +35 -0
- package/es/molecule/questions/free-text/index.d.ts.map +1 -0
- package/es/molecule/questions/free-text/test/fixtures/default.d.ts +7 -0
- package/es/molecule/questions/free-text/test/fixtures/default.d.ts.map +1 -0
- package/es/molecule/questions/free-text/test/fixtures/with-value-on-change.d.ts +10 -0
- package/es/molecule/questions/free-text/test/fixtures/with-value-on-change.d.ts.map +1 -0
- package/es/molecule/questions/free-text/test/fixtures/with-value.d.ts +8 -0
- package/es/molecule/questions/free-text/test/fixtures/with-value.d.ts.map +1 -0
- package/es/molecule/questions/free-text/test/fixtures.native.d.ts +2 -0
- package/es/molecule/questions/free-text/test/fixtures.native.d.ts.map +1 -0
- package/es/molecule/questions/mobile/draggable/test/fixtures.native.d.ts +2 -0
- package/es/molecule/questions/mobile/draggable/test/fixtures.native.d.ts.map +1 -0
- package/es/molecule/questions/mobile/slider/test/fixtures.native.d.ts +2 -0
- package/es/molecule/questions/mobile/slider/test/fixtures.native.d.ts.map +1 -0
- package/es/molecule/questions/mobile/switch/test/fixtures.native.d.ts +2 -0
- package/es/molecule/questions/mobile/switch/test/fixtures.native.d.ts.map +1 -0
- package/es/molecule/questions/mobile/template/test/fixtures.native.d.ts +2 -0
- package/es/molecule/questions/mobile/template/test/fixtures.native.d.ts.map +1 -0
- package/es/molecule/questions/qcm/index.d.ts +37 -0
- package/es/molecule/questions/qcm/index.d.ts.map +1 -0
- package/es/molecule/questions/qcm/test/fixtures/arabic.d.ts +11 -0
- package/es/molecule/questions/qcm/test/fixtures/arabic.d.ts.map +1 -0
- package/es/molecule/questions/qcm/test/fixtures/default.d.ts +12 -0
- package/es/molecule/questions/qcm/test/fixtures/default.d.ts.map +1 -0
- package/es/molecule/questions/qcm/test/fixtures/short-answers.d.ts +11 -0
- package/es/molecule/questions/qcm/test/fixtures/short-answers.d.ts.map +1 -0
- package/es/molecule/questions/qcm-drag/index.d.ts +68 -0
- package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -0
- package/es/molecule/questions/qcm-drag/test/fixtures/default.d.ts +17 -0
- package/es/molecule/questions/qcm-drag/test/fixtures/default.d.ts.map +1 -0
- package/es/molecule/questions/qcm-graphic/index.d.ts +38 -0
- package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -0
- package/es/molecule/questions/qcm-graphic/test/fixtures/default.d.ts +12 -0
- package/es/molecule/questions/qcm-graphic/test/fixtures/default.d.ts.map +1 -0
- package/es/molecule/questions/question-range/index.d.ts +38 -0
- package/es/molecule/questions/question-range/index.d.ts.map +1 -0
- package/es/molecule/questions/question-range/test/fixtures/default.d.ts +11 -0
- package/es/molecule/questions/question-range/test/fixtures/default.d.ts.map +1 -0
- package/es/molecule/questions/template/index.d.ts +31 -0
- package/es/molecule/questions/template/index.d.ts.map +1 -0
- package/es/molecule/review-card-congrats/index.d.ts +8 -0
- package/es/molecule/review-card-congrats/index.d.ts.map +1 -0
- package/es/molecule/review-card-congrats/prop-types.d.ts +14 -1
- package/es/molecule/review-card-congrats/prop-types.d.ts.map +1 -1
- package/es/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/es/molecule/review-card-congrats/test/fixtures/rank.d.ts +28 -0
- package/es/molecule/review-card-congrats/test/fixtures/rank.d.ts.map +1 -0
- package/es/molecule/review-card-congrats/test/fixtures/star.d.ts +31 -0
- package/es/molecule/review-card-congrats/test/fixtures/star.d.ts.map +1 -0
- package/es/molecule/review-correction-popin/index.d.ts +7 -0
- package/es/molecule/review-correction-popin/index.d.ts.map +1 -0
- package/es/molecule/review-correction-popin/prop-types.d.ts +26 -9
- package/es/molecule/review-correction-popin/prop-types.d.ts.map +1 -1
- package/es/molecule/review-correction-popin/prop-types.js +2 -1
- package/es/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/es/molecule/review-correction-popin/test/fixtures/right.d.ts +18 -0
- package/es/molecule/review-correction-popin/test/fixtures/right.d.ts.map +1 -0
- package/es/molecule/review-correction-popin/test/fixtures/wrong.d.ts +22 -0
- package/es/molecule/review-correction-popin/test/fixtures/wrong.d.ts.map +1 -0
- package/es/molecule/review-header-steps/index.d.ts +7 -0
- package/es/molecule/review-header-steps/index.d.ts.map +1 -0
- package/es/molecule/review-header-steps/prop-types.d.ts +9 -5
- package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/es/molecule/review-header-steps/prop-types.js +2 -1
- package/es/molecule/review-header-steps/prop-types.js.map +1 -1
- package/es/molecule/review-header-steps/test/fixtures/all-questions-ok.d.ts +7 -0
- package/es/molecule/review-header-steps/test/fixtures/all-questions-ok.d.ts.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-no-aswered.d.ts +7 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-no-aswered.d.ts.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-wrong.d.ts +7 -0
- package/es/molecule/review-header-steps/test/fixtures/current-question-wrong.d.ts.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/first-question-current-right.d.ts +7 -0
- package/es/molecule/review-header-steps/test/fixtures/first-question-current-right.d.ts.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/no-answered-question.d.ts +7 -0
- package/es/molecule/review-header-steps/test/fixtures/no-answered-question.d.ts.map +1 -0
- package/es/molecule/review-header-steps/test/fixtures/question-to-repeat.d.ts +7 -0
- package/es/molecule/review-header-steps/test/fixtures/question-to-repeat.d.ts.map +1 -0
- package/es/molecule/share/index.js +1 -1
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/skill-card/index.d.ts +7 -0
- package/es/molecule/skill-card/index.d.ts.map +1 -0
- package/es/molecule/skill-card/test/fixtures/default.d.ts +16 -0
- package/es/molecule/skill-card/test/fixtures/default.d.ts.map +1 -0
- package/es/molecule/video-iframe/index.d.ts +22 -0
- package/es/molecule/video-iframe/index.d.ts.map +1 -0
- package/es/molecule/video-player/index.d.ts +51 -0
- package/es/molecule/video-player/index.d.ts.map +1 -0
- package/es/molecule/video-player/jwplayer.d.ts +58 -0
- package/es/molecule/video-player/jwplayer.d.ts.map +1 -0
- package/es/molecule/video-player/vimeo.d.ts +154 -0
- package/es/molecule/video-player/vimeo.d.ts.map +1 -0
- package/es/organism/header-v2/test/fixtures.native.d.ts +2 -0
- package/es/organism/header-v2/test/fixtures.native.d.ts.map +1 -0
- package/es/organism/mobile-navigation/test/fixtures.native.d.ts +2 -0
- package/es/organism/mobile-navigation/test/fixtures.native.d.ts.map +1 -0
- package/es/organism/review-congrats/index.d.ts +8 -0
- package/es/organism/review-congrats/index.d.ts.map +1 -0
- package/es/organism/review-congrats/prop-types.d.ts +25 -3
- package/es/organism/review-congrats/prop-types.d.ts.map +1 -1
- package/es/organism/review-congrats/prop-types.js +2 -1
- package/es/organism/review-congrats/prop-types.js.map +1 -1
- package/es/organism/review-congrats/test/fixtures/default.d.ts +7 -0
- package/es/organism/review-congrats/test/fixtures/default.d.ts.map +1 -0
- package/es/organism/review-header/index.d.ts +7 -0
- package/es/organism/review-header/index.d.ts.map +1 -0
- package/es/organism/review-header/index.native.d.ts +2 -2
- package/es/organism/review-header/index.native.d.ts.map +1 -1
- package/es/organism/review-header/index.native.js.map +1 -1
- package/es/organism/review-header/test/fixtures/all-questions-ok.d.ts +15 -0
- package/es/organism/review-header/test/fixtures/all-questions-ok.d.ts.map +1 -0
- package/es/organism/review-header/test/fixtures/current-question-no-answered.d.ts +7 -0
- package/es/organism/review-header/test/fixtures/current-question-no-answered.d.ts.map +1 -0
- package/es/organism/review-header/test/fixtures/current-question-wrong.d.ts +7 -0
- package/es/organism/review-header/test/fixtures/current-question-wrong.d.ts.map +1 -0
- package/es/organism/review-header/test/fixtures/first-question-current-right.d.ts +7 -0
- package/es/organism/review-header/test/fixtures/first-question-current-right.d.ts.map +1 -0
- package/es/organism/review-header/test/fixtures/no-answered-question.d.ts +7 -0
- package/es/organism/review-header/test/fixtures/no-answered-question.d.ts.map +1 -0
- package/es/organism/review-header/test/fixtures/question-to-repeat.d.ts +7 -0
- package/es/organism/review-header/test/fixtures/question-to-repeat.d.ts.map +1 -0
- package/es/organism/review-header/test/fixtures/steps-animation.d.ts +7 -0
- package/es/organism/review-header/test/fixtures/steps-animation.d.ts.map +1 -0
- package/es/organism/review-header/test/fixtures.native.d.ts +2 -0
- package/es/organism/review-header/test/fixtures.native.d.ts.map +1 -0
- package/es/organism/review-header/types.d.ts +4 -4
- package/es/organism/review-header/types.d.ts.map +1 -1
- package/es/organism/review-header/types.js.map +1 -1
- package/es/organism/review-skills/index.d.ts +7 -0
- package/es/organism/review-skills/index.d.ts.map +1 -0
- package/es/organism/review-skills/test/fixtures/many-skills.d.ts +22 -0
- package/es/organism/review-skills/test/fixtures/many-skills.d.ts.map +1 -0
- package/es/organism/review-skills/test/fixtures/no-skills.d.ts +12 -0
- package/es/organism/review-skills/test/fixtures/no-skills.d.ts.map +1 -0
- package/es/organism/review-slide/index.d.ts +7 -0
- package/es/organism/review-slide/index.d.ts.map +1 -0
- package/es/organism/review-slide/index.native.d.ts +2 -2
- package/es/organism/review-slide/index.native.d.ts.map +1 -1
- package/es/organism/review-slide/index.native.js +3 -3
- package/es/organism/review-slide/index.native.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +21 -36
- package/es/organism/review-slide/prop-types.d.ts.map +1 -1
- package/es/organism/review-slide/prop-types.js.map +1 -1
- package/es/organism/review-slide/test/fixtures/choices-selected.d.ts +22 -0
- package/es/organism/review-slide/test/fixtures/choices-selected.d.ts.map +1 -0
- package/es/organism/review-slide/test/fixtures/correction-ok-animated.d.ts +36 -0
- package/es/organism/review-slide/test/fixtures/correction-ok-animated.d.ts.map +1 -0
- package/es/organism/review-slide/test/fixtures/correction-ok.d.ts +36 -0
- package/es/organism/review-slide/test/fixtures/correction-ok.d.ts.map +1 -0
- package/es/organism/review-slide/test/fixtures/correction-wrong-animated.d.ts +38 -0
- package/es/organism/review-slide/test/fixtures/correction-wrong-animated.d.ts.map +1 -0
- package/es/organism/review-slide/test/fixtures/correction-wrong.d.ts +38 -0
- package/es/organism/review-slide/test/fixtures/correction-wrong.d.ts.map +1 -0
- package/es/organism/review-slide/test/fixtures/initial-state.d.ts +22 -0
- package/es/organism/review-slide/test/fixtures/initial-state.d.ts.map +1 -0
- package/es/organism/review-slide/test/fixtures/loading.d.ts +12 -0
- package/es/organism/review-slide/test/fixtures/loading.d.ts.map +1 -0
- package/es/organism/review-slide/test/fixtures.native.d.ts +2 -0
- package/es/organism/review-slide/test/fixtures.native.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/index.d.ts +13 -0
- package/es/organism/review-stacked-slides/index.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/index.js +3 -6
- package/es/organism/review-stacked-slides/index.js.map +1 -1
- package/es/organism/review-stacked-slides/index.native.d.ts +2 -2
- package/es/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/index.native.js +3 -6
- package/es/organism/review-stacked-slides/index.native.js.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +26 -25
- package/es/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/es/organism/review-stacked-slides/test/fixtures/all-ok.d.ts +9 -0
- package/es/organism/review-stacked-slides/test/fixtures/all-ok.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/end-review.d.ts +7 -0
- package/es/organism/review-stacked-slides/test/fixtures/end-review.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/first-correct.d.ts +9 -0
- package/es/organism/review-stacked-slides/test/fixtures/first-correct.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/initial-state.d.ts +7 -0
- package/es/organism/review-stacked-slides/test/fixtures/initial-state.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/loading.d.ts +7 -0
- package/es/organism/review-stacked-slides/test/fixtures/loading.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/restack.d.ts +9 -0
- package/es/organism/review-stacked-slides/test/fixtures/restack.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/second-wrong.d.ts +9 -0
- package/es/organism/review-stacked-slides/test/fixtures/second-wrong.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/unstack.d.ts +9 -0
- package/es/organism/review-stacked-slides/test/fixtures/unstack.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures/wrong.d.ts +9 -0
- package/es/organism/review-stacked-slides/test/fixtures/wrong.d.ts.map +1 -0
- package/es/organism/review-stacked-slides/test/fixtures.native.d.ts +2 -0
- package/es/organism/review-stacked-slides/test/fixtures.native.d.ts.map +1 -0
- package/es/template/app-player/popin-end/summary.js +3 -4
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-review/demo-ts/test/fixtures.native.d.ts +2 -0
- package/es/template/app-review/demo-ts/test/fixtures.native.d.ts.map +1 -0
- package/es/template/app-review/index.d.ts +603 -0
- package/es/template/app-review/index.d.ts.map +1 -0
- package/es/template/app-review/index.js +16 -21
- package/es/template/app-review/index.js.map +1 -1
- package/es/template/app-review/index.native.d.ts +5 -0
- package/es/template/app-review/index.native.d.ts.map +1 -0
- package/es/template/app-review/index.native.js +20 -25
- package/es/template/app-review/index.native.js.map +1 -1
- package/es/template/app-review/onboarding/index.d.ts +3 -0
- package/es/template/app-review/onboarding/index.d.ts.map +1 -0
- package/es/template/app-review/onboarding/index.native.d.ts +9 -0
- package/es/template/app-review/onboarding/index.native.d.ts.map +1 -0
- package/es/template/app-review/onboarding/test/fixtures/default.d.ts +3 -0
- package/es/template/app-review/onboarding/test/fixtures/default.d.ts.map +1 -0
- package/es/template/app-review/onboarding/test/fixtures.native.d.ts +2 -0
- package/es/template/app-review/onboarding/test/fixtures.native.d.ts.map +1 -0
- package/es/template/app-review/player/index.d.ts +13 -0
- package/es/template/app-review/player/index.d.ts.map +1 -0
- package/es/template/app-review/player/index.native.d.ts +2 -2
- package/es/template/app-review/player/index.native.d.ts.map +1 -1
- package/es/template/app-review/player/index.native.js.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +31 -31
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.js.map +1 -1
- package/es/template/app-review/player/test/fixtures/all-ok.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/all-ok.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/end-review.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/end-review.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/first-right.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/first-right.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/initial-state.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/initial-state.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/loading.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/loading.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/on-quit.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/on-quit.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/one-fail.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/one-fail.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/restack.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/restack.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/second-failed-question.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/second-failed-question.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures/unstack.d.ts +7 -0
- package/es/template/app-review/player/test/fixtures/unstack.d.ts.map +1 -0
- package/es/template/app-review/player/test/fixtures.native.d.ts +2 -0
- package/es/template/app-review/player/test/fixtures.native.d.ts.map +1 -0
- package/es/template/app-review/prop-types.d.ts +610 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -0
- package/es/template/app-review/prop-types.js +3 -9
- package/es/template/app-review/prop-types.js.map +1 -1
- package/es/template/app-review/skills/index.d.ts +3 -0
- package/es/template/app-review/skills/index.d.ts.map +1 -0
- package/es/template/app-review/skills/test/fixtures/many-skills.d.ts +3 -0
- package/es/template/app-review/skills/test/fixtures/many-skills.d.ts.map +1 -0
- package/es/template/app-review/skills/test/fixtures/no-skills.d.ts +3 -0
- package/es/template/app-review/skills/test/fixtures/no-skills.d.ts.map +1 -0
- package/es/template/app-review/skills/test/fixtures.native.d.ts +2 -0
- package/es/template/app-review/skills/test/fixtures.native.d.ts.map +1 -0
- package/es/template/app-review/template-context.js +1 -1
- package/es/template/app-review/template-context.js.map +1 -1
- package/es/template/app-review/test/fixtures/onboarding.d.ts +7 -0
- package/es/template/app-review/test/fixtures/onboarding.d.ts.map +1 -0
- package/es/template/app-review/test/fixtures/player.d.ts +7 -0
- package/es/template/app-review/test/fixtures/player.d.ts.map +1 -0
- package/es/template/app-review/test/fixtures/skills.d.ts +7 -0
- package/es/template/app-review/test/fixtures/skills.d.ts.map +1 -0
- package/es/template/app-review/test/fixtures.native.d.ts +2 -0
- package/es/template/app-review/test/fixtures.native.d.ts.map +1 -0
- package/es/template/common/dashboard/index.js +1 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/test/helpers/render-component.d.ts +20 -0
- package/es/test/helpers/render-component.d.ts.map +1 -0
- package/es/util/get-shadow-box-color-from-primary.d.ts +2 -0
- package/es/util/get-shadow-box-color-from-primary.d.ts.map +1 -0
- package/lib/atom/choice/test/fixtures.native.d.ts +2 -0
- package/lib/atom/choice/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/gradient/test/fixtures.native.d.ts +2 -0
- package/lib/atom/gradient/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/header-back-button/test/fixtures.native.d.ts +2 -0
- package/lib/atom/header-back-button/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/header-back-icon/test/fixtures.native.d.ts +2 -0
- package/lib/atom/header-back-icon/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/html/test/fixtures.native.d.ts +2 -0
- package/lib/atom/html/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/image-background/test/fixtures.native.d.ts +2 -0
- package/lib/atom/image-background/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/loader/index.d.ts +13 -0
- package/lib/atom/loader/index.d.ts.map +1 -0
- package/lib/atom/lottie-wrapper/index.d.ts +8 -0
- package/lib/atom/lottie-wrapper/index.d.ts.map +1 -0
- package/lib/atom/lottie-wrapper/prop-types.d.ts +26 -9
- package/lib/atom/lottie-wrapper/prop-types.d.ts.map +1 -1
- package/lib/atom/lottie-wrapper/prop-types.js +2 -1
- package/lib/atom/lottie-wrapper/prop-types.js.map +1 -1
- package/lib/atom/lottie-wrapper/test/fixtures/confetti.d.ts +20 -0
- package/lib/atom/lottie-wrapper/test/fixtures/confetti.d.ts.map +1 -0
- package/lib/atom/lottie-wrapper/test/fixtures/default.d.ts +20 -0
- package/lib/atom/lottie-wrapper/test/fixtures/default.d.ts.map +1 -0
- package/lib/atom/lottie-wrapper/test/fixtures/rank.d.ts +16 -0
- package/lib/atom/lottie-wrapper/test/fixtures/rank.d.ts.map +1 -0
- package/lib/atom/provider/index.d.ts +1 -1
- package/lib/atom/provider/web-context.js +1 -1
- package/lib/atom/provider/web-context.js.map +1 -1
- package/lib/atom/range/handle.d.ts +34 -0
- package/lib/atom/range/handle.d.ts.map +1 -0
- package/lib/atom/range/index.d.ts +32 -0
- package/lib/atom/range/index.d.ts.map +1 -0
- package/lib/atom/review-background/index.d.ts +7 -0
- package/lib/atom/review-background/index.d.ts.map +1 -0
- package/lib/atom/review-header-step-item/index.d.ts +2 -2
- package/lib/atom/review-header-step-item/index.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/index.js.map +1 -1
- package/lib/atom/review-header-step-item/index.native.d.ts +2 -2
- package/lib/atom/review-header-step-item/index.native.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/index.native.js.map +1 -1
- package/lib/atom/review-header-step-item/test/fixtures.native.d.ts +2 -0
- package/lib/atom/review-header-step-item/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/review-header-step-item/types.d.ts +2 -2
- package/lib/atom/review-header-step-item/types.d.ts.map +1 -1
- package/lib/atom/review-header-step-item/types.js.map +1 -1
- package/lib/atom/review-presentation/index.d.ts +7 -0
- package/lib/atom/review-presentation/index.d.ts.map +1 -0
- package/lib/atom/review-presentation/prop-types.d.ts +26 -0
- package/lib/atom/review-presentation/prop-types.d.ts.map +1 -0
- package/lib/atom/review-presentation/test/fixtures/default.d.ts +28 -0
- package/lib/atom/review-presentation/test/fixtures/default.d.ts.map +1 -0
- package/lib/atom/select/index.d.ts +56 -0
- package/lib/atom/select/index.d.ts.map +1 -0
- package/lib/atom/select-modal/test/fixtures.native.d.ts +2 -0
- package/lib/atom/select-modal/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/space/test/fixtures.native.d.ts +2 -0
- package/lib/atom/space/test/fixtures.native.d.ts.map +1 -0
- package/lib/atom/text/test/fixtures.native.d.ts +2 -0
- package/lib/atom/text/test/fixtures.native.d.ts.map +1 -0
- package/lib/hoc/animation/index.d.ts +54 -0
- package/lib/hoc/animation/index.d.ts.map +1 -0
- package/lib/hoc/animation-scheduler/index.d.ts +38 -0
- package/lib/hoc/animation-scheduler/index.d.ts.map +1 -0
- package/lib/hoc/animation-scheduler/index.js +3 -3
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/modal/select/test/fixtures.native.d.ts +2 -0
- package/lib/hoc/modal/select/test/fixtures.native.d.ts.map +1 -0
- package/lib/hoc/modal/select-item/test/fixtures.native.d.ts +2 -0
- package/lib/hoc/modal/select-item/test/fixtures.native.d.ts.map +1 -0
- package/lib/hoc/modal/test/fixtures.native.d.ts +2 -0
- package/lib/hoc/modal/test/fixtures.native.d.ts.map +1 -0
- package/lib/hoc/swapper/index.js +1 -1
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/touchable/test/fixtures.native.d.ts +2 -0
- package/lib/hoc/touchable/test/fixtures.native.d.ts.map +1 -0
- package/lib/hoc/transition/index.d.ts +11 -0
- package/lib/hoc/transition/index.d.ts.map +1 -0
- package/lib/hoc/transition/index.js +1 -1
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +1 -1
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/answer/index.d.ts +7 -0
- package/lib/molecule/answer/index.d.ts.map +1 -0
- package/lib/molecule/answer/index.native.d.ts +2 -2
- package/lib/molecule/answer/index.native.d.ts.map +1 -1
- package/lib/molecule/answer/index.native.js.map +1 -1
- package/lib/molecule/answer/prop-types.d.ts +27 -10
- package/lib/molecule/answer/prop-types.d.ts.map +1 -1
- package/lib/molecule/answer/prop-types.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/audio.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/audio.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/default.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/default.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/drop-down.d.ts +2 -2
- package/lib/molecule/answer/test/fixtures/drop-down.d.ts.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-arabic.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/qcm-arabic.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/qcm-drag.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/qcm-drag.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/qcm-graphic.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/qcm-graphic.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/qcm-short-audio.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/qcm-short-audio.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/qcm-short-video.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/qcm-short-video.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/qcm-short.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/qcm-short.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/qcm.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/qcm.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/range.d.ts +7 -0
- package/lib/molecule/answer/test/fixtures/range.d.ts.map +1 -0
- package/lib/molecule/answer/test/fixtures/template.d.ts +2 -2
- package/lib/molecule/answer/test/fixtures/template.d.ts.map +1 -1
- package/lib/molecule/answer/test/fixtures.native.d.ts +2 -0
- package/lib/molecule/answer/test/fixtures.native.d.ts.map +1 -0
- package/lib/molecule/audio/index.d.ts +42 -0
- package/lib/molecule/audio/index.d.ts.map +1 -0
- package/lib/molecule/brand-logo/test/fixtures.native.d.ts +2 -0
- package/lib/molecule/brand-logo/test/fixtures.native.d.ts.map +1 -0
- package/lib/molecule/card/index.js +1 -1
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/cm-popin/index.d.ts +2 -51
- package/lib/molecule/cm-popin/index.js +3 -38
- package/lib/molecule/cm-popin/index.js.map +1 -1
- package/lib/molecule/cm-popin/test/fixtures/on-review-quit.d.ts +7 -0
- package/lib/molecule/cm-popin/test/fixtures/on-review-quit.d.ts.map +1 -0
- package/lib/molecule/cm-popin/types.d.ts +70 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -0
- package/lib/molecule/cm-popin/types.js +52 -0
- package/lib/molecule/cm-popin/types.js.map +1 -0
- package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +1 -1
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/review-banner/index.js +1 -1
- package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +1 -1
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.d.ts +16 -0
- package/lib/molecule/questions/drop-down/index.d.ts.map +1 -0
- package/lib/molecule/questions/free-text/index.d.ts +35 -0
- package/lib/molecule/questions/free-text/index.d.ts.map +1 -0
- package/lib/molecule/questions/free-text/test/fixtures/default.d.ts +7 -0
- package/lib/molecule/questions/free-text/test/fixtures/default.d.ts.map +1 -0
- package/lib/molecule/questions/free-text/test/fixtures/with-value-on-change.d.ts +10 -0
- package/lib/molecule/questions/free-text/test/fixtures/with-value-on-change.d.ts.map +1 -0
- package/lib/molecule/questions/free-text/test/fixtures/with-value.d.ts +8 -0
- package/lib/molecule/questions/free-text/test/fixtures/with-value.d.ts.map +1 -0
- package/lib/molecule/questions/free-text/test/fixtures.native.d.ts +2 -0
- package/lib/molecule/questions/free-text/test/fixtures.native.d.ts.map +1 -0
- package/lib/molecule/questions/mobile/draggable/test/fixtures.native.d.ts +2 -0
- package/lib/molecule/questions/mobile/draggable/test/fixtures.native.d.ts.map +1 -0
- package/lib/molecule/questions/mobile/slider/test/fixtures.native.d.ts +2 -0
- package/lib/molecule/questions/mobile/slider/test/fixtures.native.d.ts.map +1 -0
- package/lib/molecule/questions/mobile/switch/test/fixtures.native.d.ts +2 -0
- package/lib/molecule/questions/mobile/switch/test/fixtures.native.d.ts.map +1 -0
- package/lib/molecule/questions/mobile/template/test/fixtures.native.d.ts +2 -0
- package/lib/molecule/questions/mobile/template/test/fixtures.native.d.ts.map +1 -0
- package/lib/molecule/questions/qcm/index.d.ts +37 -0
- package/lib/molecule/questions/qcm/index.d.ts.map +1 -0
- package/lib/molecule/questions/qcm/test/fixtures/arabic.d.ts +11 -0
- package/lib/molecule/questions/qcm/test/fixtures/arabic.d.ts.map +1 -0
- package/lib/molecule/questions/qcm/test/fixtures/default.d.ts +12 -0
- package/lib/molecule/questions/qcm/test/fixtures/default.d.ts.map +1 -0
- package/lib/molecule/questions/qcm/test/fixtures/short-answers.d.ts +11 -0
- package/lib/molecule/questions/qcm/test/fixtures/short-answers.d.ts.map +1 -0
- package/lib/molecule/questions/qcm-drag/index.d.ts +68 -0
- package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -0
- package/lib/molecule/questions/qcm-drag/test/fixtures/default.d.ts +17 -0
- package/lib/molecule/questions/qcm-drag/test/fixtures/default.d.ts.map +1 -0
- package/lib/molecule/questions/qcm-graphic/index.d.ts +38 -0
- package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -0
- package/lib/molecule/questions/qcm-graphic/test/fixtures/default.d.ts +12 -0
- package/lib/molecule/questions/qcm-graphic/test/fixtures/default.d.ts.map +1 -0
- package/lib/molecule/questions/question-range/index.d.ts +38 -0
- package/lib/molecule/questions/question-range/index.d.ts.map +1 -0
- package/lib/molecule/questions/question-range/test/fixtures/default.d.ts +11 -0
- package/lib/molecule/questions/question-range/test/fixtures/default.d.ts.map +1 -0
- package/lib/molecule/questions/template/index.d.ts +31 -0
- package/lib/molecule/questions/template/index.d.ts.map +1 -0
- package/lib/molecule/review-card-congrats/index.d.ts +8 -0
- package/lib/molecule/review-card-congrats/index.d.ts.map +1 -0
- package/lib/molecule/review-card-congrats/prop-types.d.ts +14 -1
- package/lib/molecule/review-card-congrats/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-card-congrats/prop-types.js.map +1 -1
- package/lib/molecule/review-card-congrats/test/fixtures/rank.d.ts +28 -0
- package/lib/molecule/review-card-congrats/test/fixtures/rank.d.ts.map +1 -0
- package/lib/molecule/review-card-congrats/test/fixtures/star.d.ts +31 -0
- package/lib/molecule/review-card-congrats/test/fixtures/star.d.ts.map +1 -0
- package/lib/molecule/review-correction-popin/index.d.ts +7 -0
- package/lib/molecule/review-correction-popin/index.d.ts.map +1 -0
- package/lib/molecule/review-correction-popin/prop-types.d.ts +26 -9
- package/lib/molecule/review-correction-popin/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-correction-popin/prop-types.js +2 -1
- package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
- package/lib/molecule/review-correction-popin/test/fixtures/right.d.ts +18 -0
- package/lib/molecule/review-correction-popin/test/fixtures/right.d.ts.map +1 -0
- package/lib/molecule/review-correction-popin/test/fixtures/wrong.d.ts +22 -0
- package/lib/molecule/review-correction-popin/test/fixtures/wrong.d.ts.map +1 -0
- package/lib/molecule/review-header-steps/index.d.ts +7 -0
- package/lib/molecule/review-header-steps/index.d.ts.map +1 -0
- package/lib/molecule/review-header-steps/prop-types.d.ts +9 -5
- package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
- package/lib/molecule/review-header-steps/prop-types.js +2 -1
- package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
- package/lib/molecule/review-header-steps/test/fixtures/all-questions-ok.d.ts +7 -0
- package/lib/molecule/review-header-steps/test/fixtures/all-questions-ok.d.ts.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-no-aswered.d.ts +7 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-no-aswered.d.ts.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-wrong.d.ts +7 -0
- package/lib/molecule/review-header-steps/test/fixtures/current-question-wrong.d.ts.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/first-question-current-right.d.ts +7 -0
- package/lib/molecule/review-header-steps/test/fixtures/first-question-current-right.d.ts.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/no-answered-question.d.ts +7 -0
- package/lib/molecule/review-header-steps/test/fixtures/no-answered-question.d.ts.map +1 -0
- package/lib/molecule/review-header-steps/test/fixtures/question-to-repeat.d.ts +7 -0
- package/lib/molecule/review-header-steps/test/fixtures/question-to-repeat.d.ts.map +1 -0
- package/lib/molecule/share/index.js +1 -1
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/skill-card/index.d.ts +7 -0
- package/lib/molecule/skill-card/index.d.ts.map +1 -0
- package/lib/molecule/skill-card/test/fixtures/default.d.ts +16 -0
- package/lib/molecule/skill-card/test/fixtures/default.d.ts.map +1 -0
- package/lib/molecule/video-iframe/index.d.ts +22 -0
- package/lib/molecule/video-iframe/index.d.ts.map +1 -0
- package/lib/molecule/video-player/index.d.ts +51 -0
- package/lib/molecule/video-player/index.d.ts.map +1 -0
- package/lib/molecule/video-player/jwplayer.d.ts +58 -0
- package/lib/molecule/video-player/jwplayer.d.ts.map +1 -0
- package/lib/molecule/video-player/vimeo.d.ts +154 -0
- package/lib/molecule/video-player/vimeo.d.ts.map +1 -0
- package/lib/organism/header-v2/test/fixtures.native.d.ts +2 -0
- package/lib/organism/header-v2/test/fixtures.native.d.ts.map +1 -0
- package/lib/organism/mobile-navigation/test/fixtures.native.d.ts +2 -0
- package/lib/organism/mobile-navigation/test/fixtures.native.d.ts.map +1 -0
- package/lib/organism/review-congrats/index.d.ts +8 -0
- package/lib/organism/review-congrats/index.d.ts.map +1 -0
- package/lib/organism/review-congrats/prop-types.d.ts +25 -3
- package/lib/organism/review-congrats/prop-types.d.ts.map +1 -1
- package/lib/organism/review-congrats/prop-types.js +2 -1
- package/lib/organism/review-congrats/prop-types.js.map +1 -1
- package/lib/organism/review-congrats/test/fixtures/default.d.ts +7 -0
- package/lib/organism/review-congrats/test/fixtures/default.d.ts.map +1 -0
- package/lib/organism/review-header/index.d.ts +7 -0
- package/lib/organism/review-header/index.d.ts.map +1 -0
- package/lib/organism/review-header/index.native.d.ts +2 -2
- package/lib/organism/review-header/index.native.d.ts.map +1 -1
- package/lib/organism/review-header/index.native.js.map +1 -1
- package/lib/organism/review-header/test/fixtures/all-questions-ok.d.ts +15 -0
- package/lib/organism/review-header/test/fixtures/all-questions-ok.d.ts.map +1 -0
- package/lib/organism/review-header/test/fixtures/current-question-no-answered.d.ts +7 -0
- package/lib/organism/review-header/test/fixtures/current-question-no-answered.d.ts.map +1 -0
- package/lib/organism/review-header/test/fixtures/current-question-wrong.d.ts +7 -0
- package/lib/organism/review-header/test/fixtures/current-question-wrong.d.ts.map +1 -0
- package/lib/organism/review-header/test/fixtures/first-question-current-right.d.ts +7 -0
- package/lib/organism/review-header/test/fixtures/first-question-current-right.d.ts.map +1 -0
- package/lib/organism/review-header/test/fixtures/no-answered-question.d.ts +7 -0
- package/lib/organism/review-header/test/fixtures/no-answered-question.d.ts.map +1 -0
- package/lib/organism/review-header/test/fixtures/question-to-repeat.d.ts +7 -0
- package/lib/organism/review-header/test/fixtures/question-to-repeat.d.ts.map +1 -0
- package/lib/organism/review-header/test/fixtures/steps-animation.d.ts +7 -0
- package/lib/organism/review-header/test/fixtures/steps-animation.d.ts.map +1 -0
- package/lib/organism/review-header/test/fixtures.native.d.ts +2 -0
- package/lib/organism/review-header/test/fixtures.native.d.ts.map +1 -0
- package/lib/organism/review-header/types.d.ts +4 -4
- package/lib/organism/review-header/types.d.ts.map +1 -1
- package/lib/organism/review-header/types.js.map +1 -1
- package/lib/organism/review-skills/index.d.ts +7 -0
- package/lib/organism/review-skills/index.d.ts.map +1 -0
- package/lib/organism/review-skills/test/fixtures/many-skills.d.ts +22 -0
- package/lib/organism/review-skills/test/fixtures/many-skills.d.ts.map +1 -0
- package/lib/organism/review-skills/test/fixtures/no-skills.d.ts +12 -0
- package/lib/organism/review-skills/test/fixtures/no-skills.d.ts.map +1 -0
- package/lib/organism/review-slide/index.d.ts +7 -0
- package/lib/organism/review-slide/index.d.ts.map +1 -0
- package/lib/organism/review-slide/index.native.d.ts +2 -2
- package/lib/organism/review-slide/index.native.d.ts.map +1 -1
- package/lib/organism/review-slide/index.native.js +3 -3
- package/lib/organism/review-slide/index.native.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +21 -36
- package/lib/organism/review-slide/prop-types.d.ts.map +1 -1
- package/lib/organism/review-slide/prop-types.js.map +1 -1
- package/lib/organism/review-slide/test/fixtures/choices-selected.d.ts +22 -0
- package/lib/organism/review-slide/test/fixtures/choices-selected.d.ts.map +1 -0
- package/lib/organism/review-slide/test/fixtures/correction-ok-animated.d.ts +36 -0
- package/lib/organism/review-slide/test/fixtures/correction-ok-animated.d.ts.map +1 -0
- package/lib/organism/review-slide/test/fixtures/correction-ok.d.ts +36 -0
- package/lib/organism/review-slide/test/fixtures/correction-ok.d.ts.map +1 -0
- package/lib/organism/review-slide/test/fixtures/correction-wrong-animated.d.ts +38 -0
- package/lib/organism/review-slide/test/fixtures/correction-wrong-animated.d.ts.map +1 -0
- package/lib/organism/review-slide/test/fixtures/correction-wrong.d.ts +38 -0
- package/lib/organism/review-slide/test/fixtures/correction-wrong.d.ts.map +1 -0
- package/lib/organism/review-slide/test/fixtures/initial-state.d.ts +22 -0
- package/lib/organism/review-slide/test/fixtures/initial-state.d.ts.map +1 -0
- package/lib/organism/review-slide/test/fixtures/loading.d.ts +12 -0
- package/lib/organism/review-slide/test/fixtures/loading.d.ts.map +1 -0
- package/lib/organism/review-slide/test/fixtures.native.d.ts +2 -0
- package/lib/organism/review-slide/test/fixtures.native.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/index.d.ts +13 -0
- package/lib/organism/review-stacked-slides/index.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/index.js +3 -6
- package/lib/organism/review-stacked-slides/index.js.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.d.ts +2 -2
- package/lib/organism/review-stacked-slides/index.native.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/index.native.js +3 -6
- package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +26 -25
- package/lib/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.js.map +1 -1
- package/lib/organism/review-stacked-slides/test/fixtures/all-ok.d.ts +9 -0
- package/lib/organism/review-stacked-slides/test/fixtures/all-ok.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/end-review.d.ts +7 -0
- package/lib/organism/review-stacked-slides/test/fixtures/end-review.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/first-correct.d.ts +9 -0
- package/lib/organism/review-stacked-slides/test/fixtures/first-correct.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/initial-state.d.ts +7 -0
- package/lib/organism/review-stacked-slides/test/fixtures/initial-state.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/loading.d.ts +7 -0
- package/lib/organism/review-stacked-slides/test/fixtures/loading.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/restack.d.ts +9 -0
- package/lib/organism/review-stacked-slides/test/fixtures/restack.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/second-wrong.d.ts +9 -0
- package/lib/organism/review-stacked-slides/test/fixtures/second-wrong.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/unstack.d.ts +9 -0
- package/lib/organism/review-stacked-slides/test/fixtures/unstack.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures/wrong.d.ts +9 -0
- package/lib/organism/review-stacked-slides/test/fixtures/wrong.d.ts.map +1 -0
- package/lib/organism/review-stacked-slides/test/fixtures.native.d.ts +2 -0
- package/lib/organism/review-stacked-slides/test/fixtures.native.d.ts.map +1 -0
- package/lib/template/app-player/popin-end/summary.js +3 -4
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-review/demo-ts/test/fixtures.native.d.ts +2 -0
- package/lib/template/app-review/demo-ts/test/fixtures.native.d.ts.map +1 -0
- package/lib/template/app-review/index.d.ts +603 -0
- package/lib/template/app-review/index.d.ts.map +1 -0
- package/lib/template/app-review/index.js +15 -24
- package/lib/template/app-review/index.js.map +1 -1
- package/lib/template/app-review/index.native.d.ts +5 -0
- package/lib/template/app-review/index.native.d.ts.map +1 -0
- package/lib/template/app-review/index.native.js +20 -26
- package/lib/template/app-review/index.native.js.map +1 -1
- package/lib/template/app-review/onboarding/index.d.ts +3 -0
- package/lib/template/app-review/onboarding/index.d.ts.map +1 -0
- package/lib/template/app-review/onboarding/index.native.d.ts +9 -0
- package/lib/template/app-review/onboarding/index.native.d.ts.map +1 -0
- package/lib/template/app-review/onboarding/test/fixtures/default.d.ts +3 -0
- package/lib/template/app-review/onboarding/test/fixtures/default.d.ts.map +1 -0
- package/lib/template/app-review/onboarding/test/fixtures.native.d.ts +2 -0
- package/lib/template/app-review/onboarding/test/fixtures.native.d.ts.map +1 -0
- package/lib/template/app-review/player/index.d.ts +13 -0
- package/lib/template/app-review/player/index.d.ts.map +1 -0
- package/lib/template/app-review/player/index.native.d.ts +2 -2
- package/lib/template/app-review/player/index.native.d.ts.map +1 -1
- package/lib/template/app-review/player/index.native.js.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +31 -31
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.js.map +1 -1
- package/lib/template/app-review/player/test/fixtures/all-ok.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/all-ok.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/end-review.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/end-review.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/first-right.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/first-right.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/initial-state.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/initial-state.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/loading.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/loading.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/on-quit.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/on-quit.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/one-fail.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/one-fail.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/restack.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/restack.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/second-failed-question.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/second-failed-question.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures/unstack.d.ts +7 -0
- package/lib/template/app-review/player/test/fixtures/unstack.d.ts.map +1 -0
- package/lib/template/app-review/player/test/fixtures.native.d.ts +2 -0
- package/lib/template/app-review/player/test/fixtures.native.d.ts.map +1 -0
- package/lib/template/app-review/prop-types.d.ts +610 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -0
- package/lib/template/app-review/prop-types.js +4 -12
- package/lib/template/app-review/prop-types.js.map +1 -1
- package/lib/template/app-review/skills/index.d.ts +3 -0
- package/lib/template/app-review/skills/index.d.ts.map +1 -0
- package/lib/template/app-review/skills/test/fixtures/many-skills.d.ts +3 -0
- package/lib/template/app-review/skills/test/fixtures/many-skills.d.ts.map +1 -0
- package/lib/template/app-review/skills/test/fixtures/no-skills.d.ts +3 -0
- package/lib/template/app-review/skills/test/fixtures/no-skills.d.ts.map +1 -0
- package/lib/template/app-review/skills/test/fixtures.native.d.ts +2 -0
- package/lib/template/app-review/skills/test/fixtures.native.d.ts.map +1 -0
- package/lib/template/app-review/template-context.js +1 -1
- package/lib/template/app-review/template-context.js.map +1 -1
- package/lib/template/app-review/test/fixtures/onboarding.d.ts +7 -0
- package/lib/template/app-review/test/fixtures/onboarding.d.ts.map +1 -0
- package/lib/template/app-review/test/fixtures/player.d.ts +7 -0
- package/lib/template/app-review/test/fixtures/player.d.ts.map +1 -0
- package/lib/template/app-review/test/fixtures/skills.d.ts +7 -0
- package/lib/template/app-review/test/fixtures/skills.d.ts.map +1 -0
- package/lib/template/app-review/test/fixtures.native.d.ts +2 -0
- package/lib/template/app-review/test/fixtures.native.d.ts.map +1 -0
- package/lib/template/common/dashboard/index.js +1 -1
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/test/helpers/render-component.d.ts +20 -0
- package/lib/test/helpers/render-component.d.ts.map +1 -0
- package/lib/util/get-shadow-box-color-from-primary.d.ts +2 -0
- package/lib/util/get-shadow-box-color-from-primary.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"first-question-current-right.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-header/test/fixtures/first-question-current-right.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAGxC,aAAK,OAAO,GAAG;IACb,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAKd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-answered-question.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-header/test/fixtures/no-answered-question.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAGxC,aAAK,OAAO,GAAG;IACb,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAKd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-to-repeat.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-header/test/fixtures/question-to-repeat.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAGxC,aAAK,OAAO,GAAG;IACb,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAKd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"steps-animation.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-header/test/fixtures/steps-animation.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAGxC,aAAK,OAAO,GAAG;IACb,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,OAMd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixtures.native.d.ts","sourceRoot":"","sources":["../../../../src/organism/review-header/test/fixtures.native.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import {
|
|
2
|
+
import { HeaderStepItemProps } from '../../atom/review-header-step-item/types';
|
|
3
3
|
declare const propTypes: {
|
|
4
4
|
steps: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
5
5
|
current: PropTypes.Requireable<boolean>;
|
|
@@ -14,13 +14,13 @@ declare const propTypes: {
|
|
|
14
14
|
hiddenSteps: PropTypes.Requireable<boolean>;
|
|
15
15
|
};
|
|
16
16
|
export default propTypes;
|
|
17
|
-
export declare type
|
|
18
|
-
steps:
|
|
17
|
+
export declare type HeaderProps = {
|
|
18
|
+
steps: HeaderStepItemProps[];
|
|
19
19
|
mode: string;
|
|
20
20
|
skillName: string;
|
|
21
21
|
'aria-label': string;
|
|
22
22
|
closeButtonAriaLabel: string;
|
|
23
|
-
onQuitClick:
|
|
23
|
+
onQuitClick: () => void;
|
|
24
24
|
hiddenSteps: boolean;
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-header/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-header/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,mBAAmB,EAAC,MAAM,0CAA0C,CAAC;AAE7E,QAAA,MAAM,SAAS;;;;;;;;;;;;CAQd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["propTypes","steps","ReviewHeaderStepsPropTypes","mode","PropTypes","string","isRequired","skillName","closeButtonAriaLabel","onQuitClick","func","hiddenSteps","bool"],"sources":["../../../src/organism/review-header/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewHeaderStepsPropTypes from '../../molecule/review-header-steps/prop-types';\nimport {
|
|
1
|
+
{"version":3,"file":"types.js","names":["propTypes","steps","ReviewHeaderStepsPropTypes","mode","PropTypes","string","isRequired","skillName","closeButtonAriaLabel","onQuitClick","func","hiddenSteps","bool"],"sources":["../../../src/organism/review-header/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewHeaderStepsPropTypes from '../../molecule/review-header-steps/prop-types';\nimport {HeaderStepItemProps} from '../../atom/review-header-step-item/types';\n\nconst propTypes = {\n steps: ReviewHeaderStepsPropTypes.steps,\n mode: PropTypes.string.isRequired,\n skillName: PropTypes.string.isRequired,\n 'aria-label': PropTypes.string,\n closeButtonAriaLabel: PropTypes.string,\n onQuitClick: PropTypes.func,\n hiddenSteps: PropTypes.bool\n};\n\nexport default propTypes;\n\nexport type HeaderProps = {\n steps: HeaderStepItemProps[];\n mode: string;\n skillName: string;\n 'aria-label': string;\n closeButtonAriaLabel: string;\n onQuitClick: () => void;\n hiddenSteps: boolean;\n};\n"],"mappings":";;;;;AAAA;;AACA;;;;AAGA,MAAMA,SAAS,GAAG;EAChBC,KAAK,EAAEC,mBAAA,CAA2BD,KADlB;EAEhBE,IAAI,EAAEC,kBAAA,CAAUC,MAAV,CAAiBC,UAFP;EAGhBC,SAAS,EAAEH,kBAAA,CAAUC,MAAV,CAAiBC,UAHZ;EAIhB,cAAcF,kBAAA,CAAUC,MAJR;EAKhBG,oBAAoB,EAAEJ,kBAAA,CAAUC,MALhB;EAMhBI,WAAW,EAAEL,kBAAA,CAAUM,IANP;EAOhBC,WAAW,EAAEP,kBAAA,CAAUQ;AAPP,CAAlB;eAUeZ,S"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-skills/index.js"],"names":[],"mappings":";AAqCA,uDAqCC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
const props: {
|
|
3
|
+
'aria-label': string;
|
|
4
|
+
title: string;
|
|
5
|
+
listSkills: {
|
|
6
|
+
skillTitle: string;
|
|
7
|
+
isCustom: boolean;
|
|
8
|
+
'aria-label': string;
|
|
9
|
+
skillAriaLabel: string;
|
|
10
|
+
buttonLabel: string;
|
|
11
|
+
buttonAriaLabel: string;
|
|
12
|
+
reviseLabel: string;
|
|
13
|
+
reviseAriaLabel: string;
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
}[];
|
|
16
|
+
titleNoSkills: undefined;
|
|
17
|
+
textNoSkills: undefined;
|
|
18
|
+
iconSkillAriaLabel: undefined;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=many-skills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"many-skills.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-skills/test/fixtures/many-skills.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
const props: {
|
|
3
|
+
'aria-label': string;
|
|
4
|
+
title: string;
|
|
5
|
+
listSkills: never[];
|
|
6
|
+
titleNoSkills: string;
|
|
7
|
+
textNoSkills: string;
|
|
8
|
+
iconSkillAriaLabel: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=no-skills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-skills.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-skills/test/fixtures/no-skills.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,sDA6CC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
declare const Slide: (props:
|
|
2
|
+
import { ReviewSlideProps } from './prop-types';
|
|
3
|
+
declare const Slide: (props: ReviewSlideProps) => JSX.Element;
|
|
4
4
|
export default Slide;
|
|
5
5
|
//# sourceMappingURL=index.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.native.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.native.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAC,gBAAgB,EAAa,MAAM,cAAc,CAAC;AA4K1D,QAAA,MAAM,KAAK,UAAW,gBAAgB,gBAyCrC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -208,18 +208,18 @@ const Slide = props => {
|
|
|
208
208
|
}, loading ?
|
|
209
209
|
/*#__PURE__*/
|
|
210
210
|
// <Loader className={style.loader} theme="default" aria-label={loadingAriaLabel} />
|
|
211
|
-
_react.default.createElement(_index.default, null, "@todo loader ", num) :
|
|
211
|
+
_react.default.createElement(_index.default, null, "@todo loader ", num) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(Question, {
|
|
212
212
|
questionOrigin: parentContentTitle,
|
|
213
213
|
questionText: questionText,
|
|
214
214
|
answerUI: answerUI,
|
|
215
215
|
key: "question-container"
|
|
216
|
-
}), /*#__PURE__*/_react.default.createElement(CorrectionPopin, {
|
|
216
|
+
}), correctionPopinProps ? /*#__PURE__*/_react.default.createElement(CorrectionPopin, {
|
|
217
217
|
correctionPopinProps: correctionPopinProps,
|
|
218
218
|
slideIndex: slideIndex,
|
|
219
219
|
showCorrectionPopin: showCorrectionPopin,
|
|
220
220
|
animateCorrectionPopin: animateCorrectionPopin,
|
|
221
221
|
key: "correction-popin"
|
|
222
|
-
})
|
|
222
|
+
}) : null));
|
|
223
223
|
};
|
|
224
224
|
|
|
225
225
|
var _default = Slide;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":["CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","getOr","information","label","message","next","get","_correctionPopinProps","onClick","console","log","type","resultLabel","createQuestionStyle","theme","brandTheme","StyleSheet","create","questionHeading","justifyContent","questionOrigin","fontSize","lineHeight","color","colors","text","primary","marginBottom","spacing","tiny","marginTop","small","textAlign","questionText","fontWeight","questionHelp","gray","medium","choicesContainer","flex","width","validateButton","backgroundColor","borderRadius","validateButtonText","white","Question","props","answerUI","useTemplateContext","style","setStyle","useState","useEffect","questionStyle","createSlideStyle","num","screenWidth","screenHeight","slideWidth","slide","position","left","bottom","height","alignItems","padding","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","Slide","useWindowDimensions","slideStyle","loading","parentContentTitle"],"sources":["../../../src/organism/review-slide/index.native.tsx"],"sourcesContent":["import React, {useEffect, useMemo, useState} from 'react';\nimport {StyleSheet, useWindowDimensions, View, ViewStyle} from 'react-native';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Text from '../../atom/text/index.native';\nimport Answer from '../../molecule/answer/index.native';\n// import Loader from '../../atom/loader';\n// import ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport Touchable from '../../hoc/touchable/index.native';\nimport {CorrectionPopinProps, Props, SlideProps} from './prop-types';\n\ntype PopinProps = {\n correctionPopinProps: CorrectionPopinProps;\n slideIndex: unknown;\n showCorrectionPopin: unknown;\n animateCorrectionPopin: unknown;\n};\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}: PopinProps) => {\n if (!showCorrectionPopin) return null;\n\n const klf = getOr({}, 'klf', correctionPopinProps);\n const information = getOr({label: '', message: ''}, 'information', correctionPopinProps);\n const next = get('next', correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick: () => {\n // eslint-disable-next-line no-console\n console.log('Next Slide');\n },\n label: next && next.label,\n 'data-name': `next-question-button-${slideIndex}`,\n 'aria-label': next && next['aria-label']\n },\n klf,\n information,\n type: correctionPopinProps.type,\n resultLabel: correctionPopinProps.resultLabel\n };\n\n return (\n <Text>ReviewCorrectionPopin</Text>\n // <ReviewCorrectionPopin {..._correctionPopinProps} />\n );\n};\n\n// const ValidateButton = ({slideIndex, validateButton, primarySkinColor}) => {\n// const {label, onClick, disabled} = validateButton;\n// const validateButtonProps = {\n// type: 'primary',\n// label,\n// 'aria-label': label,\n// 'data-name': `slide-validate-button-${slideIndex}`,\n// onClick,\n// disabled,\n// customStyle: {\n// backgroundColor: primarySkinColor\n// }\n// };\n\n// return <Button title=\"validate todo\" />;\n// };\n\nconst createQuestionStyle = (theme: Theme, brandTheme: any) =>\n StyleSheet.create({\n questionHeading: {\n justifyContent: 'space-between'\n },\n questionOrigin: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny,\n marginTop: theme.spacing.small,\n textAlign: 'center'\n },\n questionText: {\n fontSize: 16,\n lineHeight: 22,\n fontWeight: '700',\n color: theme.colors.text.primary,\n textAlign: 'center'\n },\n questionHelp: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium,\n marginBottom: 0,\n marginTop: theme.spacing.small,\n textAlign: 'center'\n },\n choicesContainer: {\n flex: 1,\n width: '100%',\n justifyContent: 'center'\n },\n validateButton: {\n backgroundColor: brandTheme?.colors.primary || theme.colors.text.primary,\n borderRadius: 7,\n width: '100%'\n },\n validateButtonText: {\n fontSize: 14,\n lineHeight: 20,\n fontWeight: '700',\n color: theme.colors.white,\n marginBottom: 16,\n marginTop: 16,\n textAlign: 'center'\n }\n });\n\ntype QuestionProps = {\n answerUI: SlideProps['answerUI'];\n questionText: SlideProps['questionText'];\n questionOrigin: SlideProps['parentContentTitle'];\n};\n\nconst Question = (props: QuestionProps) => {\n const {answerUI, questionText, questionOrigin} = props;\n const {theme, brandTheme} = useTemplateContext();\n const [style, setStyle] = useState<any | null>(null);\n\n useEffect(() => {\n const questionStyle = createQuestionStyle(theme, brandTheme);\n setStyle(questionStyle);\n }, [theme, brandTheme]);\n\n if (!answerUI || !questionText || !style) return null;\n\n return (\n <>\n <View style={style.questionHeading}>\n <Text style={style.questionOrigin}>{questionOrigin}</Text>\n <Text style={style.questionText}>{questionText}</Text>\n <Text style={style.questionHelp}>{get('help', answerUI)}</Text>\n </View>\n <View style={style.choicesContainer}>\n <Answer {...answerUI} />\n </View>\n <Touchable style={style.validateButton}>\n <Text style={style.validateButtonText}>@todo validate</Text>\n </Touchable>\n </>\n );\n};\n\ntype SlideStyle = {\n slide: ViewStyle;\n};\n\nconst createSlideStyle = (num: number, screenWidth: number, screenHeight: number): SlideStyle => {\n const slideWidth = screenWidth - 40 - num * 8;\n\n return StyleSheet.create({\n slide: {\n position: 'absolute',\n left: 20 + num * 4,\n bottom: 34 + num * 5,\n backgroundColor: '#fff', // theme.colors.white\n height: '90%',\n width: slideWidth,\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: 25,\n shadowColor: '#000',\n shadowOffset: {width: 0, height: -1},\n shadowOpacity: 0.05,\n shadowRadius: 16,\n elevation: 10 - num * 1,\n borderRadius: 16\n }\n });\n};\n\nconst Slide = (props: Props) => {\n const {slide, validateButton, correctionPopinProps, num, slideIndex = '0'} = props;\n\n const {width, height} = useWindowDimensions();\n const slideStyle = createSlideStyle(num, width, height);\n\n const {\n loading,\n parentContentTitle,\n questionText,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <View style={slideStyle.slide}>\n {loading ? (\n // <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n <Text>@todo loader {num}</Text>\n ) : (\n [\n <Question\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n key=\"question-container\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </View>\n );\n};\n\nexport default Slide;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAGA;;AAEA;;;;;;;;AAJA;AACA;AAaA,MAAMA,eAAe,GAAG,CAAC;EACvBC,oBADuB;EAEvBC,UAFuB;EAGvBC,mBAHuB;EAIvBC;AAJuB,CAAD,KAKN;EAChB,IAAI,CAACD,mBAAL,EAA0B,OAAO,IAAP;EAE1B,MAAME,GAAG,GAAG,IAAAC,cAAA,EAAM,EAAN,EAAU,KAAV,EAAiBL,oBAAjB,CAAZ;EACA,MAAMM,WAAW,GAAG,IAAAD,cAAA,EAA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ndex","showCorrectionPopin","animateCorrectionPopin","klf","getOr","information","label","message","next","get","_correctionPopinProps","onClick","console","log","type","resultLabel","createQuestionStyle","theme","brandTheme","StyleSheet","create","questionHeading","justifyContent","questionOrigin","fontSize","lineHeight","color","colors","text","primary","marginBottom","spacing","tiny","marginTop","small","textAlign","questionText","fontWeight","questionHelp","gray","medium","choicesContainer","flex","width","validateButton","backgroundColor","borderRadius","validateButtonText","white","Question","props","answerUI","useTemplateContext","style","setStyle","useState","useEffect","questionStyle","createSlideStyle","num","screenWidth","screenHeight","slideWidth","slide","position","left","bottom","height","alignItems","padding","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","Slide","useWindowDimensions","slideStyle","loading","parentContentTitle"],"sources":["../../../src/organism/review-slide/index.native.tsx"],"sourcesContent":["import React, {useEffect, useMemo, useState} from 'react';\nimport {StyleSheet, useWindowDimensions, View, ViewStyle} from 'react-native';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Text from '../../atom/text/index.native';\nimport Answer from '../../molecule/answer/index.native';\n// import Loader from '../../atom/loader';\n// import ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport Touchable from '../../hoc/touchable/index.native';\nimport {ReviewCorrectionPopinProps} from '../../molecule/review-correction-popin/prop-types';\nimport {ReviewSlideProps, SlideProps} from './prop-types';\n\ntype PopinProps = {\n correctionPopinProps: ReviewCorrectionPopinProps;\n slideIndex: unknown;\n showCorrectionPopin: unknown;\n animateCorrectionPopin: unknown;\n};\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}: PopinProps) => {\n if (!showCorrectionPopin) return null;\n\n const klf = getOr({}, 'klf', correctionPopinProps);\n const information = getOr({label: '', message: ''}, 'information', correctionPopinProps);\n const next = get('next', correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick: () => {\n // eslint-disable-next-line no-console\n console.log('Next Slide');\n },\n label: next && next.label,\n 'data-name': `next-question-button-${slideIndex}`,\n 'aria-label': next && next['aria-label']\n },\n klf,\n information,\n type: correctionPopinProps.type,\n resultLabel: correctionPopinProps.resultLabel\n };\n\n return (\n <Text>ReviewCorrectionPopin</Text>\n // <ReviewCorrectionPopin {..._correctionPopinProps} />\n );\n};\n\n// const ValidateButton = ({slideIndex, validateButton, primarySkinColor}) => {\n// const {label, onClick, disabled} = validateButton;\n// const validateButtonProps = {\n// type: 'primary',\n// label,\n// 'aria-label': label,\n// 'data-name': `slide-validate-button-${slideIndex}`,\n// onClick,\n// disabled,\n// customStyle: {\n// backgroundColor: primarySkinColor\n// }\n// };\n\n// return <Button title=\"validate todo\" />;\n// };\n\nconst createQuestionStyle = (theme: Theme, brandTheme: any) =>\n StyleSheet.create({\n questionHeading: {\n justifyContent: 'space-between'\n },\n questionOrigin: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny,\n marginTop: theme.spacing.small,\n textAlign: 'center'\n },\n questionText: {\n fontSize: 16,\n lineHeight: 22,\n fontWeight: '700',\n color: theme.colors.text.primary,\n textAlign: 'center'\n },\n questionHelp: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium,\n marginBottom: 0,\n marginTop: theme.spacing.small,\n textAlign: 'center'\n },\n choicesContainer: {\n flex: 1,\n width: '100%',\n justifyContent: 'center'\n },\n validateButton: {\n backgroundColor: brandTheme?.colors.primary || theme.colors.text.primary,\n borderRadius: 7,\n width: '100%'\n },\n validateButtonText: {\n fontSize: 14,\n lineHeight: 20,\n fontWeight: '700',\n color: theme.colors.white,\n marginBottom: 16,\n marginTop: 16,\n textAlign: 'center'\n }\n });\n\ntype QuestionProps = {\n answerUI: SlideProps['answerUI'];\n questionText: SlideProps['questionText'];\n questionOrigin: SlideProps['parentContentTitle'];\n};\n\nconst Question = (props: QuestionProps) => {\n const {answerUI, questionText, questionOrigin} = props;\n const {theme, brandTheme} = useTemplateContext();\n const [style, setStyle] = useState<any | null>(null);\n\n useEffect(() => {\n const questionStyle = createQuestionStyle(theme, brandTheme);\n setStyle(questionStyle);\n }, [theme, brandTheme]);\n\n if (!answerUI || !questionText || !style) return null;\n\n return (\n <>\n <View style={style.questionHeading}>\n <Text style={style.questionOrigin}>{questionOrigin}</Text>\n <Text style={style.questionText}>{questionText}</Text>\n <Text style={style.questionHelp}>{get('help', answerUI)}</Text>\n </View>\n <View style={style.choicesContainer}>\n <Answer {...answerUI} />\n </View>\n <Touchable style={style.validateButton}>\n <Text style={style.validateButtonText}>@todo validate</Text>\n </Touchable>\n </>\n );\n};\n\ntype SlideStyle = {\n slide: ViewStyle;\n};\n\nconst createSlideStyle = (num: number, screenWidth: number, screenHeight: number): SlideStyle => {\n const slideWidth = screenWidth - 40 - num * 8;\n\n return StyleSheet.create({\n slide: {\n position: 'absolute',\n left: 20 + num * 4,\n bottom: 34 + num * 5,\n backgroundColor: '#fff', // theme.colors.white\n height: '90%',\n width: slideWidth,\n justifyContent: 'space-between',\n alignItems: 'center',\n padding: 25,\n shadowColor: '#000',\n shadowOffset: {width: 0, height: -1},\n shadowOpacity: 0.05,\n shadowRadius: 16,\n elevation: 10 - num * 1,\n borderRadius: 16\n }\n });\n};\n\nconst Slide = (props: ReviewSlideProps) => {\n const {slide, validateButton, correctionPopinProps, num, slideIndex = '0'} = props;\n\n const {width, height} = useWindowDimensions();\n const slideStyle = createSlideStyle(num, width, height);\n\n const {\n loading,\n parentContentTitle,\n questionText,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <View style={slideStyle.slide}>\n {loading ? (\n // <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n <Text>@todo loader {num}</Text>\n ) : (\n <>\n <Question\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n key=\"question-container\"\n />\n {correctionPopinProps ? (\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ) : null}\n </>\n )}\n </View>\n );\n};\n\nexport default Slide;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAGA;;AAEA;;;;;;;;AAJA;AACA;AAcA,MAAMA,eAAe,GAAG,CAAC;EACvBC,oBADuB;EAEvBC,UAFuB;EAGvBC,mBAHuB;EAIvBC;AAJuB,CAAD,KAKN;EAChB,IAAI,CAACD,mBAAL,EAA0B,OAAO,IAAP;EAE1B,MAAME,GAAG,GAAG,IAAAC,cAAA,EAAM,EAAN,EAAU,KAAV,EAAiBL,oBAAjB,CAAZ;EACA,MAAMM,WAAW,GAAG,IAAAD,cAAA,EAAM;IAACE,KAAK,EAAE,EAAR;IAAYC,OAAO,EAAE;EAArB,CAAN,EAAgC,aAAhC,EAA+CR,oBAA/C,CAApB;EACA,MAAMS,IAAI,GAAG,IAAAC,YAAA,EAAI,MAAJ,EAAYV,oBAAZ,CAAb;EAEA,MAAMW,qBAAqB,GAAG;IAC5BF,IAAI,EAAE;MACJG,OAAO,EAAE,MAAM;QACb;QACAC,OAAO,CAACC,GAAR,CAAY,YAAZ;MACD,CAJG;MAKJP,KAAK,EAAEE,IAAI,IAAIA,IAAI,CAACF,KALhB;MAMJ,aAAc,wBAAuBN,UAAW,EAN5C;MAOJ,cAAcQ,IAAI,IAAIA,IAAI,CAAC,YAAD;IAPtB,CADsB;IAU5BL,GAV4B;IAW5BE,WAX4B;IAY5BS,IAAI,EAAEf,oBAAoB,CAACe,IAZC;IAa5BC,WAAW,EAAEhB,oBAAoB,CAACgB;EAbN,CAA9B;EAgBA,oBACE,6BAAC,cAAD,gCADF,CAEE;EAFF;AAID,CAhCD,C,CAkCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;;;AAEA,MAAMC,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BAAC,iBAAD;IAAM,KAAK,EAAEc,UAAU,CAACd;EAAxB,GACGe,OAAO;EAAA;EACN;EACA,6BAAC,cAAD,yBAAoBnB,GAApB,CAFM,gBAIN,yEACE,6BAAC,QAAD;IACE,cAAc,EAAEoB,kBADlB;IAEE,YAAY,EAAE3C,YAFhB;IAGE,QAAQ,EAAEe,QAHZ;IAIE,GAAG,EAAC;EAJN,EADF,EAOGpD,oBAAoB,gBACnB,6BAAC,eAAD;IACE,oBAAoB,EAAEA,oBADxB;IAEE,UAAU,EAAEC,UAFd;IAGE,mBAAmB,EAAEC,mBAHvB;IAIE,sBAAsB,EAAEC,sBAJ1B;IAKE,GAAG,EAAC;EALN,EADmB,GAQjB,IAfN,CALJ,CADF;AA0BD,CAzCD;;eA2CeyE,K"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import {
|
|
2
|
+
import { ReviewCorrectionPopinProps } from '../../molecule/review-correction-popin/prop-types';
|
|
3
|
+
import { AnswerProps } from '../../molecule/answer/prop-types';
|
|
3
4
|
export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
4
5
|
position: PropTypes.Requireable<number>;
|
|
5
6
|
loading: PropTypes.Requireable<boolean>;
|
|
@@ -11,7 +12,7 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
|
|
|
11
12
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
12
13
|
questionText: PropTypes.Requireable<string>;
|
|
13
14
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
|
-
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
15
|
+
model: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
15
16
|
type: PropTypes.Validator<string>;
|
|
16
17
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
17
18
|
title: PropTypes.Validator<string>;
|
|
@@ -29,9 +30,9 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
|
|
|
29
30
|
type: PropTypes.Requireable<string>;
|
|
30
31
|
name: PropTypes.Requireable<string>;
|
|
31
32
|
}> | null | undefined)[]>;
|
|
32
|
-
}
|
|
33
|
+
}>>>;
|
|
33
34
|
help: PropTypes.Requireable<string>;
|
|
34
|
-
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
35
|
+
media: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
35
36
|
type: PropTypes.Validator<string>;
|
|
36
37
|
id: PropTypes.Requireable<string>;
|
|
37
38
|
width: PropTypes.Requireable<string>;
|
|
@@ -71,7 +72,7 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
|
|
|
71
72
|
}> | PropTypes.InferProps<{
|
|
72
73
|
type: PropTypes.Validator<string>;
|
|
73
74
|
mediaUrl: PropTypes.Validator<string>;
|
|
74
|
-
}>>;
|
|
75
|
+
}> | null | undefined>>;
|
|
75
76
|
}>>;
|
|
76
77
|
}>>;
|
|
77
78
|
declare const propTypes: {
|
|
@@ -87,7 +88,7 @@ declare const propTypes: {
|
|
|
87
88
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
88
89
|
questionText: PropTypes.Requireable<string>;
|
|
89
90
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
90
|
-
model: PropTypes.Validator<PropTypes.InferProps<{
|
|
91
|
+
model: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
91
92
|
type: PropTypes.Validator<string>;
|
|
92
93
|
answer: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
93
94
|
title: PropTypes.Validator<string>;
|
|
@@ -105,9 +106,9 @@ declare const propTypes: {
|
|
|
105
106
|
type: PropTypes.Requireable<string>;
|
|
106
107
|
name: PropTypes.Requireable<string>;
|
|
107
108
|
}> | null | undefined)[]>;
|
|
108
|
-
}
|
|
109
|
+
}>>>;
|
|
109
110
|
help: PropTypes.Requireable<string>;
|
|
110
|
-
media: PropTypes.Requireable<PropTypes.InferProps<{
|
|
111
|
+
media: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
111
112
|
type: PropTypes.Validator<string>;
|
|
112
113
|
id: PropTypes.Requireable<string>;
|
|
113
114
|
width: PropTypes.Requireable<string>;
|
|
@@ -147,7 +148,7 @@ declare const propTypes: {
|
|
|
147
148
|
}> | PropTypes.InferProps<{
|
|
148
149
|
type: PropTypes.Validator<string>;
|
|
149
150
|
mediaUrl: PropTypes.Validator<string>;
|
|
150
|
-
}>>;
|
|
151
|
+
}> | null | undefined>>;
|
|
151
152
|
}>>;
|
|
152
153
|
}>>;
|
|
153
154
|
validateButton: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -173,42 +174,26 @@ declare const propTypes: {
|
|
|
173
174
|
}>>;
|
|
174
175
|
};
|
|
175
176
|
export default propTypes;
|
|
176
|
-
export declare type CorrectionPopinProps = {
|
|
177
|
-
klf: {
|
|
178
|
-
label: string;
|
|
179
|
-
tooltip: string;
|
|
180
|
-
};
|
|
181
|
-
information: {
|
|
182
|
-
label: string;
|
|
183
|
-
message: string;
|
|
184
|
-
};
|
|
185
|
-
next: {
|
|
186
|
-
label: string;
|
|
187
|
-
'aria-label': string;
|
|
188
|
-
};
|
|
189
|
-
resultLabel: string;
|
|
190
|
-
type: 'right' | 'wrong';
|
|
191
|
-
};
|
|
192
177
|
export declare type SlideProps = {
|
|
193
178
|
position: number;
|
|
194
179
|
loading: boolean;
|
|
195
|
-
loadingAriaLabel
|
|
196
|
-
animationType
|
|
197
|
-
isCorrect
|
|
198
|
-
animateCorrectionPopin
|
|
199
|
-
showCorrectionPopin
|
|
200
|
-
parentContentTitle
|
|
201
|
-
questionText
|
|
202
|
-
answerUI
|
|
180
|
+
loadingAriaLabel?: string;
|
|
181
|
+
animationType?: 'unstack' | 'restack';
|
|
182
|
+
isCorrect?: boolean;
|
|
183
|
+
animateCorrectionPopin?: boolean;
|
|
184
|
+
showCorrectionPopin?: boolean;
|
|
185
|
+
parentContentTitle?: string;
|
|
186
|
+
questionText?: string;
|
|
187
|
+
answerUI?: AnswerProps;
|
|
203
188
|
};
|
|
204
|
-
export declare type
|
|
189
|
+
export declare type ReviewSlideProps = {
|
|
205
190
|
slideIndex: string;
|
|
206
191
|
num: number;
|
|
207
192
|
slide: SlideProps;
|
|
208
|
-
correctionPopinProps
|
|
193
|
+
correctionPopinProps?: ReviewCorrectionPopinProps;
|
|
209
194
|
validateButton: {
|
|
210
195
|
label: string;
|
|
211
|
-
onClick: (
|
|
196
|
+
onClick: () => void;
|
|
212
197
|
disabled: boolean;
|
|
213
198
|
};
|
|
214
199
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,mDAAmD,CAAC;AAC3D,OAAwB,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAE9E,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAW1B,CAAC;AAEH,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,UAAU,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,UAAU,CAAC;IAClB,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,cAAc,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.js","names":["SlidePropsTypes","PropTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","parentContentTitle","questionText","answerUI","AnswerPropTypes","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","ReviewCorrectionPopinPropTypes","information","next","resultLabel","type"],"sources":["../../../src/organism/review-slide/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewCorrectionPopinPropTypes from '../../molecule/review-correction-popin/prop-types';\nimport AnswerPropTypes, {
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["SlidePropsTypes","PropTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","parentContentTitle","questionText","answerUI","AnswerPropTypes","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","ReviewCorrectionPopinPropTypes","information","next","resultLabel","type"],"sources":["../../../src/organism/review-slide/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewCorrectionPopinPropTypes, {\n ReviewCorrectionPopinProps\n} from '../../molecule/review-correction-popin/prop-types';\nimport AnswerPropTypes, {AnswerProps} from '../../molecule/answer/prop-types';\n\nexport const SlidePropsTypes = PropTypes.shape({\n position: PropTypes.number,\n loading: PropTypes.bool,\n loadingAriaLabel: PropTypes.string,\n animationType: PropTypes.string, // 'unstack' | 'restack'\n isCorrect: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n showCorrectionPopin: PropTypes.bool,\n parentContentTitle: PropTypes.string,\n questionText: PropTypes.string,\n answerUI: PropTypes.shape(AnswerPropTypes)\n});\n\nconst propTypes = {\n slideIndex: PropTypes.string,\n slide: SlidePropsTypes,\n validateButton: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n disabled: PropTypes.bool\n }),\n correctionPopinProps: PropTypes.shape({\n klf: ReviewCorrectionPopinPropTypes.klf,\n information: ReviewCorrectionPopinPropTypes.information,\n next: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string // Pourquoi le onClick du next n'est pas ici !\n // updateSlidesOnNext: PropTypes.func.isRequired ???\n }),\n resultLabel: ReviewCorrectionPopinPropTypes.resultLabel,\n type: ReviewCorrectionPopinPropTypes.type\n })\n};\n\nexport default propTypes;\n\nexport type SlideProps = {\n position: number;\n loading: boolean;\n loadingAriaLabel?: string;\n animationType?: 'unstack' | 'restack';\n isCorrect?: boolean;\n animateCorrectionPopin?: boolean;\n showCorrectionPopin?: boolean;\n parentContentTitle?: string;\n questionText?: string;\n answerUI?: AnswerProps;\n};\n\nexport type ReviewSlideProps = {\n slideIndex: string;\n num: number;\n slide: SlideProps;\n correctionPopinProps?: ReviewCorrectionPopinProps;\n validateButton: {\n label: string;\n onClick: () => void;\n disabled: boolean;\n };\n};\n"],"mappings":";;;;;AAAA;;AACA;;AAGA;;;;AAEO,MAAMA,eAAe,GAAGC,kBAAA,C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Bef,S"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace props {
|
|
3
|
+
namespace slide {
|
|
4
|
+
export const hidden: boolean;
|
|
5
|
+
export const position: number;
|
|
6
|
+
export const loading: boolean;
|
|
7
|
+
export const parentContentTitle: string;
|
|
8
|
+
export const questionText: string;
|
|
9
|
+
export { qcmGraphic as answerUI };
|
|
10
|
+
export const showCorrectionPopin: boolean;
|
|
11
|
+
}
|
|
12
|
+
namespace validateButton {
|
|
13
|
+
const label: string;
|
|
14
|
+
function onClick(): void;
|
|
15
|
+
const disabled: boolean;
|
|
16
|
+
}
|
|
17
|
+
const correctionPopinProps: {};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export default _default;
|
|
21
|
+
declare const qcmGraphic: import("../../../../molecule/answer/prop-types").AnswerProps;
|
|
22
|
+
//# sourceMappingURL=choices-selected.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choices-selected.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-slide/test/fixtures/choices-selected.js"],"names":[],"mappings":";;;;;;;;;;;;;YAiBe,yBAAoC;;;;;;;AAfnD,uFAA0C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace props {
|
|
3
|
+
namespace slide {
|
|
4
|
+
export const hidden: boolean;
|
|
5
|
+
export const position: number;
|
|
6
|
+
export const loading: boolean;
|
|
7
|
+
export const parentContentTitle: string;
|
|
8
|
+
export const questionText: string;
|
|
9
|
+
export { qcmGraphic as answerUI };
|
|
10
|
+
export const animateCorrectionPopin: boolean;
|
|
11
|
+
export const showCorrectionPopin: boolean;
|
|
12
|
+
}
|
|
13
|
+
namespace validateButton {
|
|
14
|
+
const label: string;
|
|
15
|
+
function onClick(): void;
|
|
16
|
+
const disabled: boolean;
|
|
17
|
+
}
|
|
18
|
+
const correctionPopinProps: {
|
|
19
|
+
type: string;
|
|
20
|
+
resultLabel: string;
|
|
21
|
+
information: {
|
|
22
|
+
label: string;
|
|
23
|
+
message: string;
|
|
24
|
+
};
|
|
25
|
+
next: {
|
|
26
|
+
label: string;
|
|
27
|
+
'aria-label': string;
|
|
28
|
+
'data-name': string;
|
|
29
|
+
onClick: () => void;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export default _default;
|
|
35
|
+
declare const qcmGraphic: import("../../../../molecule/answer/prop-types").AnswerProps;
|
|
36
|
+
//# sourceMappingURL=correction-ok-animated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correction-ok-animated.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-slide/test/fixtures/correction-ok-animated.js"],"names":[],"mappings":";;;;;;;;;;;;;;YAmBe,yBAAoC;;;;;;;;;;;;;;;;;;;;AAhBnD,uFAA0C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace props {
|
|
3
|
+
namespace slide {
|
|
4
|
+
export const hidden: boolean;
|
|
5
|
+
export const position: number;
|
|
6
|
+
export const loading: boolean;
|
|
7
|
+
export const parentContentTitle: string;
|
|
8
|
+
export const questionText: string;
|
|
9
|
+
export { qcmGraphic as answerUI };
|
|
10
|
+
export const animateCorrectionPopin: boolean;
|
|
11
|
+
export const showCorrectionPopin: boolean;
|
|
12
|
+
}
|
|
13
|
+
namespace validateButton {
|
|
14
|
+
const label: string;
|
|
15
|
+
function onClick(): void;
|
|
16
|
+
const disabled: boolean;
|
|
17
|
+
}
|
|
18
|
+
const correctionPopinProps: {
|
|
19
|
+
type: string;
|
|
20
|
+
resultLabel: string;
|
|
21
|
+
information: {
|
|
22
|
+
label: string;
|
|
23
|
+
message: string;
|
|
24
|
+
};
|
|
25
|
+
next: {
|
|
26
|
+
label: string;
|
|
27
|
+
'aria-label': string;
|
|
28
|
+
'data-name': string;
|
|
29
|
+
onClick: () => void;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export default _default;
|
|
35
|
+
declare const qcmGraphic: import("../../../../molecule/answer/prop-types").AnswerProps;
|
|
36
|
+
//# sourceMappingURL=correction-ok.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correction-ok.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-slide/test/fixtures/correction-ok.js"],"names":[],"mappings":";;;;;;;;;;;;;;YAmBe,yBAAoC;;;;;;;;;;;;;;;;;;;;AAhBnD,uFAA0C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace props {
|
|
3
|
+
namespace slide {
|
|
4
|
+
export const hidden: boolean;
|
|
5
|
+
export const position: number;
|
|
6
|
+
export const loading: boolean;
|
|
7
|
+
export const parentContentTitle: string;
|
|
8
|
+
export const questionText: string;
|
|
9
|
+
export { qcmGraphic as answerUI };
|
|
10
|
+
export const animateCorrectionPopin: boolean;
|
|
11
|
+
export const showCorrectionPopin: boolean;
|
|
12
|
+
}
|
|
13
|
+
namespace validateButton {
|
|
14
|
+
const label: string;
|
|
15
|
+
function onClick(): void;
|
|
16
|
+
const disabled: boolean;
|
|
17
|
+
}
|
|
18
|
+
const correctionPopinProps: {
|
|
19
|
+
type: string;
|
|
20
|
+
resultLabel: string;
|
|
21
|
+
information: {
|
|
22
|
+
label: string;
|
|
23
|
+
message: string;
|
|
24
|
+
};
|
|
25
|
+
klf: {
|
|
26
|
+
label: string;
|
|
27
|
+
tooltip: string;
|
|
28
|
+
};
|
|
29
|
+
next: {
|
|
30
|
+
label: string;
|
|
31
|
+
onClick: () => void;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export default _default;
|
|
37
|
+
declare const qcmGraphic: import("../../../../molecule/answer/prop-types").AnswerProps;
|
|
38
|
+
//# sourceMappingURL=correction-wrong-animated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correction-wrong-animated.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-slide/test/fixtures/correction-wrong-animated.js"],"names":[],"mappings":";;;;;;;;;;;;;;YAmBe,yBAAoC;;;;;;;;;;;;;;;;;;;;;;AAhBnD,uFAA0C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace props {
|
|
3
|
+
namespace slide {
|
|
4
|
+
export const hidden: boolean;
|
|
5
|
+
export const position: number;
|
|
6
|
+
export const loading: boolean;
|
|
7
|
+
export const parentContentTitle: string;
|
|
8
|
+
export const questionText: string;
|
|
9
|
+
export { qcmGraphic as answerUI };
|
|
10
|
+
export const animateCorrectionPopin: boolean;
|
|
11
|
+
export const showCorrectionPopin: boolean;
|
|
12
|
+
}
|
|
13
|
+
namespace validateButton {
|
|
14
|
+
const label: string;
|
|
15
|
+
function onClick(): void;
|
|
16
|
+
const disabled: boolean;
|
|
17
|
+
}
|
|
18
|
+
const correctionPopinProps: {
|
|
19
|
+
type: string;
|
|
20
|
+
resultLabel: string;
|
|
21
|
+
information: {
|
|
22
|
+
label: string;
|
|
23
|
+
message: string;
|
|
24
|
+
};
|
|
25
|
+
klf: {
|
|
26
|
+
label: string;
|
|
27
|
+
tooltip: string;
|
|
28
|
+
};
|
|
29
|
+
next: {
|
|
30
|
+
label: string;
|
|
31
|
+
onClick: () => void;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export default _default;
|
|
37
|
+
declare const qcmGraphic: import("../../../../molecule/answer/prop-types").AnswerProps;
|
|
38
|
+
//# sourceMappingURL=correction-wrong.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"correction-wrong.d.ts","sourceRoot":"","sources":["../../../../../src/organism/review-slide/test/fixtures/correction-wrong.js"],"names":[],"mappings":";;;;;;;;;;;;;;YAmBe,yBAAoC;;;;;;;;;;;;;;;;;;;;;;AAhBnD,uFAA0C"}
|