@coorpacademy/components 10.29.5-alpha.0 → 10.29.6

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.
Files changed (35) hide show
  1. package/es/atom/input-search/style.css +8 -5
  2. package/es/organism/mooc-header/style.css +5 -1
  3. package/es/organism/review-slide/index.d.ts.map +1 -1
  4. package/es/organism/review-slide/index.js +2 -1
  5. package/es/organism/review-slide/index.js.map +1 -1
  6. package/es/organism/review-slide/prop-types.d.ts +2 -0
  7. package/es/organism/review-slide/prop-types.d.ts.map +1 -1
  8. package/es/organism/review-slide/prop-types.js +1 -0
  9. package/es/organism/review-slide/prop-types.js.map +1 -1
  10. package/es/organism/review-stacked-slides/prop-types.d.ts +5 -0
  11. package/es/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
  12. package/es/template/app-review/index.d.ts +5 -0
  13. package/es/template/app-review/index.d.ts.map +1 -1
  14. package/es/template/app-review/player/prop-types.d.ts +5 -0
  15. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  16. package/es/template/app-review/prop-types.d.ts +5 -0
  17. package/es/template/app-review/prop-types.d.ts.map +1 -1
  18. package/lib/atom/input-search/style.css +8 -5
  19. package/lib/organism/mooc-header/style.css +5 -1
  20. package/lib/organism/review-slide/index.d.ts.map +1 -1
  21. package/lib/organism/review-slide/index.js +2 -1
  22. package/lib/organism/review-slide/index.js.map +1 -1
  23. package/lib/organism/review-slide/prop-types.d.ts +2 -0
  24. package/lib/organism/review-slide/prop-types.d.ts.map +1 -1
  25. package/lib/organism/review-slide/prop-types.js +1 -0
  26. package/lib/organism/review-slide/prop-types.js.map +1 -1
  27. package/lib/organism/review-stacked-slides/prop-types.d.ts +5 -0
  28. package/lib/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
  29. package/lib/template/app-review/index.d.ts +5 -0
  30. package/lib/template/app-review/index.d.ts.map +1 -1
  31. package/lib/template/app-review/player/prop-types.d.ts +5 -0
  32. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  33. package/lib/template/app-review/prop-types.d.ts +5 -0
  34. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  35. package/package.json +2 -2
@@ -1,6 +1,7 @@
1
1
  @value breakpoints: "../../variables/breakpoints.css";
2
2
  @value tablet from breakpoints;
3
3
  @value mobile from breakpoints;
4
+ @value desktop from breakpoints;
4
5
  @value colors: "../../variables/colors.css";
5
6
  @value medium from colors;
6
7
  @value light from colors;
@@ -64,11 +65,6 @@
64
65
  color: medium;
65
66
  }
66
67
 
67
- .search::placeholder {
68
- color: medium;
69
- font-size: 14px;
70
- }
71
-
72
68
  .coorpmanager {
73
69
  position: relative;
74
70
  }
@@ -180,6 +176,12 @@
180
176
  line-height: 16px;
181
177
  }
182
178
 
179
+ @media desktop {
180
+ .search::placeholder {
181
+ color: transparent;
182
+ }
183
+ }
184
+
183
185
  @media tablet {
184
186
  .search,
185
187
  input {
@@ -188,6 +190,7 @@
188
190
 
189
191
  .search::placeholder {
190
192
  font-size: 12px;
193
+ color: medium;
191
194
  }
192
195
  }
193
196
 
@@ -483,6 +483,10 @@
483
483
  }
484
484
 
485
485
  @media desktop {
486
+ .item {
487
+ padding: 0 11px;
488
+ }
489
+
486
490
  .logoWrapper {
487
491
  height: 100%;
488
492
  background-color: white;
@@ -504,7 +508,7 @@
504
508
  margin: 0;
505
509
 
506
510
  /* hack for ie <= 11, limit for 1/3 of desktop breakpoint (1024px) */
507
- max-width: 341px;
511
+ max-width: 150px;
508
512
  }
509
513
  }
510
514
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,sDA6CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,sDA8CC"}
@@ -138,6 +138,7 @@ const ReviewSlide = props => {
138
138
  loadingAriaLabel,
139
139
  parentContentTitle,
140
140
  questionText,
141
+ disabledContent,
141
142
  answerUI,
142
143
  showCorrectionPopin,
143
144
  animateCorrectionPopin
@@ -153,7 +154,7 @@ const ReviewSlide = props => {
153
154
  questionOrigin: parentContentTitle,
154
155
  questionText: questionText,
155
156
  answerUI: answerUI,
156
- disableContent: showCorrectionPopin,
157
+ disableContent: disabledContent,
157
158
  key: "question-container"
158
159
  }), /*#__PURE__*/React.createElement(ValidateButton, {
159
160
  slideIndex: slideIndex,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useMemo","PropTypes","classnames","get","getOr","Answer","ButtonLink","Loader","ReviewCorrectionPopin","GetSkinFromContext","propTypes","style","CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","information","label","message","next","onClick","_correctionPopinProps","type","resultLabel","correctionPopinWrapper","popinAnimation","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","loading","loadingAriaLabel","parentContentTitle","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\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 const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\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 <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst 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 className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={showCorrectionPopin}\n key=\"question-container\"\n />,\n <ValidateButton\n slideIndex={slideIndex}\n validateButton={validateButton}\n primarySkinColor={primarySkinColor}\n key=\"validate-button\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </div>\n );\n};\n\nReviewSlide.propTypes = propTypes;\n\nexport default ReviewSlide;\n"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,MAAP,MAAmB,uBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,qBAAP,MAAkC,wCAAlC;AACA,SAAQC,kBAAR,QAAiC,qBAAjC;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,eAAe,GA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AAiC,KAAK,EAAC,SAAvC;IAAiD,cAAYF;EAA7D,EADM,GAGN,cACE,oBAAC,iBAAD;IACE,cAAc,EAAEC,kBADlB;IAEE,YAAY,EAAEf,YAFhB;IAGE,QAAQ,EAAED,QAHZ;IAIE,cAAc,EAAE1B,mBAJlB;IAKE,GAAG,EAAC;EALN,EADF,eAQE,oBAAC,cAAD;IACE,UAAU,EAAED,UADd;IAEE,cAAc,EAAEiB,cAFlB;IAGE,gBAAgB,EAAEC,gBAHpB;IAIE,GAAG,EAAC;EAJN,EARF,eAcE,oBAAC,eAAD;IACE,oBAAoB,EAAEnB,oBADxB;IAEE,UAAU,EAAEC,UAFd;IAGE,mBAAmB,EAAEC,mBAHvB;IAIE,sBAAsB,EAAEC,sBAJ1B;IAKE,GAAG,EAAC;EALN,EAdF,CAJJ,CADF;AA8BD,CA7CD;;AA+CAqC,WAAW,CAAC3C,SAAZ,2CAAwBA,SAAxB;AAEA,eAAe2C,WAAf"}
1
+ {"version":3,"file":"index.js","names":["React","useMemo","PropTypes","classnames","get","getOr","Answer","ButtonLink","Loader","ReviewCorrectionPopin","GetSkinFromContext","propTypes","style","CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","information","label","message","next","onClick","_correctionPopinProps","type","resultLabel","correctionPopinWrapper","popinAnimation","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","loading","loadingAriaLabel","parentContentTitle","disabledContent","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\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 const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\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 <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst 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 className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n disabledContent,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={disabledContent}\n key=\"question-container\"\n />,\n <ValidateButton\n slideIndex={slideIndex}\n validateButton={validateButton}\n primarySkinColor={primarySkinColor}\n key=\"validate-button\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </div>\n );\n};\n\nReviewSlide.propTypes = propTypes;\n\nexport default ReviewSlide;\n"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;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AA8BkD,IAA9B,CAAZ,EAAiD,CAACA,IAAD,CAAjD,CAAhC;EACA,MAAM;IACJC,OADI;IAEJC,gBAFI;IAGJC,kBAHI;IAIJf,YAJI;IAKJgB,eALI;IAMJjB,QANI;IAOJ1B,mBAPI;IAQJC;EARI,IASFoC,KATJ;EAWA,oBACE;IAAK,aAAY,iBAAjB;IAAmC,SAAS,EAAEzC,KAAK,CAACyC;EAApD,GACGG,OAAO,gBACN,oBAAC,MAAD;IAAQ,SAAS,EAAE5C,KAAK,CAACgD,MAAzB;IAAiC,KAAK,EAAC,SAAvC;IAAiD,cAAYH;EAA7D,EADM,GAGN,cACE,oBAAC,iBAAD;IACE,cAAc,EAAEC,kBADlB;IAEE,YAAY,EAAEf,YAFhB;IAGE,QAAQ,EAAED,QAHZ;IAIE,cAAc,EAAEiB,eAJlB;IAKE,GAAG,EAAC;EALN,EADF,eAQE,oBAAC,cAAD;IACE,UAAU,EAAE5C,UADd;IAEE,cAAc,EAAEiB,cAFlB;IAGE,gBAAgB,EAAEC,gBAHpB;IAIE,GAAG,EAAC;EAJN,EARF,eAcE,oBAAC,eAAD;IACE,oBAAoB,EAAEnB,oBADxB;IAEE,UAAU,EAAEC,UAFd;IAGE,mBAAmB,EAAEC,mBAHvB;IAIE,sBAAsB,EAAEC,sBAJ1B;IAKE,GAAG,EAAC;EALN,EAdF,CAJJ,CADF;AA8BD,CA9CD;;AAgDAqC,WAAW,CAAC3C,SAAZ,2CAAwBA,SAAxB;AAEA,eAAe2C,WAAf"}
@@ -9,6 +9,7 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
9
9
  isCorrect: PropTypes.Requireable<boolean>;
10
10
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
11
11
  showCorrectionPopin: PropTypes.Requireable<boolean>;
12
+ disableContent: PropTypes.Requireable<boolean>;
12
13
  parentContentTitle: PropTypes.Requireable<string>;
13
14
  questionText: PropTypes.Requireable<string>;
14
15
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -85,6 +86,7 @@ declare const propTypes: {
85
86
  isCorrect: PropTypes.Requireable<boolean>;
86
87
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
87
88
  showCorrectionPopin: PropTypes.Requireable<boolean>;
89
+ disableContent: PropTypes.Requireable<boolean>;
88
90
  parentContentTitle: PropTypes.Requireable<string>;
89
91
  questionText: PropTypes.Requireable<string>;
90
92
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -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;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,WA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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"}
@@ -10,6 +10,7 @@ export const SlidePropsTypes = PropTypes.shape({
10
10
  isCorrect: PropTypes.bool,
11
11
  animateCorrectionPopin: PropTypes.bool,
12
12
  showCorrectionPopin: PropTypes.bool,
13
+ disableContent: PropTypes.bool,
13
14
  parentContentTitle: PropTypes.string,
14
15
  questionText: PropTypes.string,
15
16
  answerUI: PropTypes.shape(AnswerPropTypes)
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.js","names":["PropTypes","ReviewCorrectionPopinPropTypes","AnswerPropTypes","SlidePropsTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","parentContentTitle","questionText","answerUI","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","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,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,8BAAP,MAEO,mDAFP;AAGA,OAAOC,eAAP,MAA2C,kCAA3C;AAEA,OAAO,MAAMC,eAAe,GAAGH,SAAS,CAACI,KAAV,CAAgB;EAC7CC,QAAQ,EAAEL,SAAS,CAACM,MADyB;EAE7CC,OAAO,EAAEP,SAAS,CAACQ,IAF0B;EAG7CC,gBAAgB,EAAET,SAAS,CAACU,MAHiB;EAI7CC,aAAa,EAAEX,SAAS,CAACU,MAJoB;EAIZ;EACjCE,SAAS,EAAEZ,SAAS,CAACQ,IALwB;EAM7CK,sBAAsB,EAAEb,SAAS,CAACQ,IANW;EAO7CM,mBAAmB,EAAEd,SAAS,CAACQ,IAPc;EAQ7CO,kBAAkB,EAAEf,SAAS,CAACU,MARe;EAS7CM,YAAY,EAAEhB,SAAS,CAACU,MATqB;EAU7CO,QAAQ,EAAEjB,SAAS,CAACI,KAAV,CAAgBF,eAAhB;AAVmC,CAAhB,CAAxB;AAaP,MAAMgB,SAAS,GAAG;EAChBC,UAAU,EAAEnB,SAAS,CAACU,MADN;EAEhBU,KAAK,EAAEjB,eAFS;EAGhBkB,cAAc,EAAErB,SAAS,CAACI,KAAV,CAAgB;IAC9BkB,KAAK,EAAEtB,SAAS,CAACU,MAAV,CAAiBa,UADM;IAE9BC,OAAO,EAAExB,SAAS,CAACyB,IAAV,CAAeF,UAFM;IAG9BG,QAAQ,EAAE1B,SAAS,CAACQ;EAHU,CAAhB,CAHA;EAQhBmB,oBAAoB,EAAE3B,SAAS,CAACI,KAAV,CAAgB;IACpCwB,GAAG,EAAE3B,8BAA8B,CAAC2B,GADA;IAEpCC,WAAW,EAAE5B,8BAA8B,CAAC4B,WAFR;IAGpCC,IAAI,EAAE9B,SAAS,CAACI,KAAV,CAAgB;MACpBkB,KAAK,EAAEtB,SAAS,CAACU,MADG;MAEpB,cAAcV,SAAS,CAACU,MAFJ,CAEW;MAC/B;;IAHoB,CAAhB,CAH8B;IAQpCqB,WAAW,EAAE9B,8BAA8B,CAAC8B,WARR;IASpCC,IAAI,EAAE/B,8BAA8B,CAAC+B;EATD,CAAhB;AARN,CAAlB;AAqBA,eAAed,SAAf"}
1
+ {"version":3,"file":"prop-types.js","names":["PropTypes","ReviewCorrectionPopinPropTypes","AnswerPropTypes","SlidePropsTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","disableContent","parentContentTitle","questionText","answerUI","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","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 disableContent: 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,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,8BAAP,MAEO,mDAFP;AAGA,OAAOC,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C+B,WARR;IASpCC,IAAI,EAAEhC,8BAA8B,CAACgC;EATD,CAAhB;AARN,CAAlB;AAqBA,eAAed,SAAf"}
@@ -32,6 +32,7 @@ declare const propTypes: {
32
32
  isCorrect: PropTypes.Requireable<boolean>;
33
33
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
34
34
  showCorrectionPopin: PropTypes.Requireable<boolean>;
35
+ disableContent: PropTypes.Requireable<boolean>;
35
36
  parentContentTitle: PropTypes.Requireable<string>;
36
37
  questionText: PropTypes.Requireable<string>;
37
38
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -106,6 +107,7 @@ declare const propTypes: {
106
107
  isCorrect: PropTypes.Requireable<boolean>;
107
108
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
108
109
  showCorrectionPopin: PropTypes.Requireable<boolean>;
110
+ disableContent: PropTypes.Requireable<boolean>;
109
111
  parentContentTitle: PropTypes.Requireable<string>;
110
112
  questionText: PropTypes.Requireable<string>;
111
113
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -180,6 +182,7 @@ declare const propTypes: {
180
182
  isCorrect: PropTypes.Requireable<boolean>;
181
183
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
182
184
  showCorrectionPopin: PropTypes.Requireable<boolean>;
185
+ disableContent: PropTypes.Requireable<boolean>;
183
186
  parentContentTitle: PropTypes.Requireable<string>;
184
187
  questionText: PropTypes.Requireable<string>;
185
188
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -254,6 +257,7 @@ declare const propTypes: {
254
257
  isCorrect: PropTypes.Requireable<boolean>;
255
258
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
256
259
  showCorrectionPopin: PropTypes.Requireable<boolean>;
260
+ disableContent: PropTypes.Requireable<boolean>;
257
261
  parentContentTitle: PropTypes.Requireable<string>;
258
262
  questionText: PropTypes.Requireable<string>;
259
263
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -328,6 +332,7 @@ declare const propTypes: {
328
332
  isCorrect: PropTypes.Requireable<boolean>;
329
333
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
330
334
  showCorrectionPopin: PropTypes.Requireable<boolean>;
335
+ disableContent: PropTypes.Requireable<boolean>;
331
336
  parentContentTitle: PropTypes.Requireable<string>;
332
337
  questionText: PropTypes.Requireable<string>;
333
338
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAC,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAC,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
@@ -92,6 +92,7 @@ declare const AppReview: {
92
92
  isCorrect: import("prop-types").Requireable<boolean>;
93
93
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
94
94
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
95
+ disableContent: import("prop-types").Requireable<boolean>;
95
96
  parentContentTitle: import("prop-types").Requireable<string>;
96
97
  questionText: import("prop-types").Requireable<string>;
97
98
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -166,6 +167,7 @@ declare const AppReview: {
166
167
  isCorrect: import("prop-types").Requireable<boolean>;
167
168
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
168
169
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
170
+ disableContent: import("prop-types").Requireable<boolean>;
169
171
  parentContentTitle: import("prop-types").Requireable<string>;
170
172
  questionText: import("prop-types").Requireable<string>;
171
173
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -240,6 +242,7 @@ declare const AppReview: {
240
242
  isCorrect: import("prop-types").Requireable<boolean>;
241
243
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
242
244
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
245
+ disableContent: import("prop-types").Requireable<boolean>;
243
246
  parentContentTitle: import("prop-types").Requireable<string>;
244
247
  questionText: import("prop-types").Requireable<string>;
245
248
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -314,6 +317,7 @@ declare const AppReview: {
314
317
  isCorrect: import("prop-types").Requireable<boolean>;
315
318
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
316
319
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
320
+ disableContent: import("prop-types").Requireable<boolean>;
317
321
  parentContentTitle: import("prop-types").Requireable<string>;
318
322
  questionText: import("prop-types").Requireable<string>;
319
323
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -388,6 +392,7 @@ declare const AppReview: {
388
392
  isCorrect: import("prop-types").Requireable<boolean>;
389
393
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
390
394
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
395
+ disableContent: import("prop-types").Requireable<boolean>;
391
396
  parentContentTitle: import("prop-types").Requireable<string>;
392
397
  questionText: import("prop-types").Requireable<string>;
393
398
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;+CAA4C,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxE,CAAC;AAIF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;+CAA4C,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxE,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -48,6 +48,7 @@ declare const propTypes: {
48
48
  isCorrect: PropTypes.Requireable<boolean>;
49
49
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
50
50
  showCorrectionPopin: PropTypes.Requireable<boolean>;
51
+ disableContent: PropTypes.Requireable<boolean>;
51
52
  parentContentTitle: PropTypes.Requireable<string>;
52
53
  questionText: PropTypes.Requireable<string>;
53
54
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -122,6 +123,7 @@ declare const propTypes: {
122
123
  isCorrect: PropTypes.Requireable<boolean>;
123
124
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
124
125
  showCorrectionPopin: PropTypes.Requireable<boolean>;
126
+ disableContent: PropTypes.Requireable<boolean>;
125
127
  parentContentTitle: PropTypes.Requireable<string>;
126
128
  questionText: PropTypes.Requireable<string>;
127
129
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -196,6 +198,7 @@ declare const propTypes: {
196
198
  isCorrect: PropTypes.Requireable<boolean>;
197
199
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
198
200
  showCorrectionPopin: PropTypes.Requireable<boolean>;
201
+ disableContent: PropTypes.Requireable<boolean>;
199
202
  parentContentTitle: PropTypes.Requireable<string>;
200
203
  questionText: PropTypes.Requireable<string>;
201
204
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -270,6 +273,7 @@ declare const propTypes: {
270
273
  isCorrect: PropTypes.Requireable<boolean>;
271
274
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
272
275
  showCorrectionPopin: PropTypes.Requireable<boolean>;
276
+ disableContent: PropTypes.Requireable<boolean>;
273
277
  parentContentTitle: PropTypes.Requireable<string>;
274
278
  questionText: PropTypes.Requireable<string>;
275
279
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -344,6 +348,7 @@ declare const propTypes: {
344
348
  isCorrect: PropTypes.Requireable<boolean>;
345
349
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
346
350
  showCorrectionPopin: PropTypes.Requireable<boolean>;
351
+ disableContent: PropTypes.Requireable<boolean>;
347
352
  parentContentTitle: PropTypes.Requireable<string>;
348
353
  questionText: PropTypes.Requireable<string>;
349
354
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAGtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAA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B,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,CAAC;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -100,6 +100,7 @@ declare const propTypes: {
100
100
  isCorrect: PropTypes.Requireable<boolean>;
101
101
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
102
102
  showCorrectionPopin: PropTypes.Requireable<boolean>;
103
+ disableContent: PropTypes.Requireable<boolean>;
103
104
  parentContentTitle: PropTypes.Requireable<string>;
104
105
  questionText: PropTypes.Requireable<string>;
105
106
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -174,6 +175,7 @@ declare const propTypes: {
174
175
  isCorrect: PropTypes.Requireable<boolean>;
175
176
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
176
177
  showCorrectionPopin: PropTypes.Requireable<boolean>;
178
+ disableContent: PropTypes.Requireable<boolean>;
177
179
  parentContentTitle: PropTypes.Requireable<string>;
178
180
  questionText: PropTypes.Requireable<string>;
179
181
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -248,6 +250,7 @@ declare const propTypes: {
248
250
  isCorrect: PropTypes.Requireable<boolean>;
249
251
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
250
252
  showCorrectionPopin: PropTypes.Requireable<boolean>;
253
+ disableContent: PropTypes.Requireable<boolean>;
251
254
  parentContentTitle: PropTypes.Requireable<string>;
252
255
  questionText: PropTypes.Requireable<string>;
253
256
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -322,6 +325,7 @@ declare const propTypes: {
322
325
  isCorrect: PropTypes.Requireable<boolean>;
323
326
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
324
327
  showCorrectionPopin: PropTypes.Requireable<boolean>;
328
+ disableContent: PropTypes.Requireable<boolean>;
325
329
  parentContentTitle: PropTypes.Requireable<string>;
326
330
  questionText: PropTypes.Requireable<string>;
327
331
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -396,6 +400,7 @@ declare const propTypes: {
396
400
  isCorrect: PropTypes.Requireable<boolean>;
397
401
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
398
402
  showCorrectionPopin: PropTypes.Requireable<boolean>;
403
+ disableContent: PropTypes.Requireable<boolean>;
399
404
  parentContentTitle: PropTypes.Requireable<string>;
400
405
  questionText: PropTypes.Requireable<string>;
401
406
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
1
  @value breakpoints: "../../variables/breakpoints.css";
2
2
  @value tablet from breakpoints;
3
3
  @value mobile from breakpoints;
4
+ @value desktop from breakpoints;
4
5
  @value colors: "../../variables/colors.css";
5
6
  @value medium from colors;
6
7
  @value light from colors;
@@ -64,11 +65,6 @@
64
65
  color: medium;
65
66
  }
66
67
 
67
- .search::placeholder {
68
- color: medium;
69
- font-size: 14px;
70
- }
71
-
72
68
  .coorpmanager {
73
69
  position: relative;
74
70
  }
@@ -180,6 +176,12 @@
180
176
  line-height: 16px;
181
177
  }
182
178
 
179
+ @media desktop {
180
+ .search::placeholder {
181
+ color: transparent;
182
+ }
183
+ }
184
+
183
185
  @media tablet {
184
186
  .search,
185
187
  input {
@@ -188,6 +190,7 @@
188
190
 
189
191
  .search::placeholder {
190
192
  font-size: 12px;
193
+ color: medium;
191
194
  }
192
195
  }
193
196
 
@@ -483,6 +483,10 @@
483
483
  }
484
484
 
485
485
  @media desktop {
486
+ .item {
487
+ padding: 0 11px;
488
+ }
489
+
486
490
  .logoWrapper {
487
491
  height: 100%;
488
492
  background-color: white;
@@ -504,7 +508,7 @@
504
508
  margin: 0;
505
509
 
506
510
  /* hack for ie <= 11, limit for 1/3 of desktop breakpoint (1024px) */
507
- max-width: 341px;
511
+ max-width: 150px;
508
512
  }
509
513
  }
510
514
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,sDA6CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,sDA8CC"}
@@ -160,6 +160,7 @@ const ReviewSlide = props => {
160
160
  loadingAriaLabel,
161
161
  parentContentTitle,
162
162
  questionText,
163
+ disabledContent,
163
164
  answerUI,
164
165
  showCorrectionPopin,
165
166
  animateCorrectionPopin
@@ -175,7 +176,7 @@ const ReviewSlide = props => {
175
176
  questionOrigin: parentContentTitle,
176
177
  questionText: questionText,
177
178
  answerUI: answerUI,
178
- disableContent: showCorrectionPopin,
179
+ disableContent: disabledContent,
179
180
  key: "question-container"
180
181
  }), /*#__PURE__*/_react.default.createElement(ValidateButton, {
181
182
  slideIndex: slideIndex,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","getOr","information","label","message","next","get","onClick","_correctionPopinProps","type","resultLabel","classnames","style","correctionPopinWrapper","popinAnimation","propTypes","PropTypes","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","GetSkinFromContext","useMemo","loading","loadingAriaLabel","parentContentTitle","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\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 const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\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 <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst 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 className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={showCorrectionPopin}\n key=\"question-container\"\n />,\n <ValidateButton\n slideIndex={slideIndex}\n validateButton={validateButton}\n primarySkinColor={primarySkinColor}\n key=\"validate-button\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </div>\n );\n};\n\nReviewSlide.propTypes = propTypes;\n\nexport default ReviewSlide;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,eAAe,GAAG,CAAC;EACvBC,oBADuB;EAEvBC,UAFuB;EAGvBC,mBAHuB;EAIvBC;AAJuB,CAAD,KAKlB;EACJ,IAAI,CAACD,mBAAL,EAA0B,OAAO,IAAP;EAE1B,MAAME,GAAG,GAAG,IAAAC,cAAA,EAAM,EAAN,EAAU,KAAV,EAAiBL,oBAAjB,CAAZ;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AAED,QAHZ;IAIE,cAAc,EAAEhC,mBAJlB;IAKE,GAAG,EAAC;EALN,EADF,eAQE,6BAAC,cAAD;IACE,UAAU,EAAED,UADd;IAEE,cAAc,EAAEuB,cAFlB;IAGE,gBAAgB,EAAEC,gBAHpB;IAIE,GAAG,EAAC;EAJN,EARF,eAcE,6BAAC,eAAD;IACE,oBAAoB,EAAEzB,oBADxB;IAEE,UAAU,EAAEC,UAFd;IAGE,mBAAmB,EAAEC,mBAHvB;IAIE,sBAAsB,EAAEC,sBAJ1B;IAKE,GAAG,EAAC;EALN,EAdF,CAJJ,CADF;AA8BD,CA7CD;;AA+CA2C,WAAW,CAAC3B,SAAZ,2CAAwBA,mBAAxB;eAEe2B,W"}
1
+ {"version":3,"file":"index.js","names":["CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","getOr","information","label","message","next","get","onClick","_correctionPopinProps","type","resultLabel","classnames","style","correctionPopinWrapper","popinAnimation","propTypes","PropTypes","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","GetSkinFromContext","useMemo","loading","loadingAriaLabel","parentContentTitle","disabledContent","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\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 const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\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 <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst 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 className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n disabledContent,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={disabledContent}\n key=\"question-container\"\n />,\n <ValidateButton\n slideIndex={slideIndex}\n validateButton={validateButton}\n primarySkinColor={primarySkinColor}\n key=\"validate-button\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </div>\n );\n};\n\nReviewSlide.propTypes = propTypes;\n\nexport default ReviewSlide;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,eAAe,GAAG,CAAC;EACvBC,oBADuB;EAEvBC,UAFuB;EAGvBC,mBAHuB;EAIvBC;AAJuB,CAAD,KAKlB;EACJ,IAAI,CAACD,mBAAL,EAA0B,OAAO,IAAP;EAE1B,MAAME,GAAG,GAAG,IAAAC,cAAA,EAAM,EAAN,EAAU,KAAV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E,YAAY,EAAEjB,YAFhB;IAGE,QAAQ,EAAED,QAHZ;IAIE,cAAc,EAAEmB,eAJlB;IAKE,GAAG,EAAC;EALN,EADF,eAQE,6BAAC,cAAD;IACE,UAAU,EAAEpD,UADd;IAEE,cAAc,EAAEuB,cAFlB;IAGE,gBAAgB,EAAEC,gBAHpB;IAIE,GAAG,EAAC;EAJN,EARF,eAcE,6BAAC,eAAD;IACE,oBAAoB,EAAEzB,oBADxB;IAEE,UAAU,EAAEC,UAFd;IAGE,mBAAmB,EAAEC,mBAHvB;IAIE,sBAAsB,EAAEC,sBAJ1B;IAKE,GAAG,EAAC;EALN,EAdF,CAJJ,CADF;AA8BD,CA9CD;;AAgDA2C,WAAW,CAAC3B,SAAZ,2CAAwBA,mBAAxB;eAEe2B,W"}
@@ -9,6 +9,7 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
9
9
  isCorrect: PropTypes.Requireable<boolean>;
10
10
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
11
11
  showCorrectionPopin: PropTypes.Requireable<boolean>;
12
+ disableContent: PropTypes.Requireable<boolean>;
12
13
  parentContentTitle: PropTypes.Requireable<string>;
13
14
  questionText: PropTypes.Requireable<string>;
14
15
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -85,6 +86,7 @@ declare const propTypes: {
85
86
  isCorrect: PropTypes.Requireable<boolean>;
86
87
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
87
88
  showCorrectionPopin: PropTypes.Requireable<boolean>;
89
+ disableContent: PropTypes.Requireable<boolean>;
88
90
  parentContentTitle: PropTypes.Requireable<string>;
89
91
  questionText: PropTypes.Requireable<string>;
90
92
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -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;AACnC,OAAuC,EACrC,0B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CorrectionPopin: _propTypes.default.bool,
23
+ disableContent: _propTypes.default.bool,
23
24
  parentContentTitle: _propTypes.default.string,
24
25
  questionText: _propTypes.default.string,
25
26
  answerUI: _propTypes.default.shape(_propTypes3.default)
@@ -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, {\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,CAAUC,KAAV,CAAgB;EAC7CC,QAAQ,EAAEF,kBAAA,CAAUG,MADyB;EAE7CC,OAAO,EAAEJ,kBAAA,CAAUK,IAF0B;EAG7CC,gBAAgB,EAAEN,kBAAA,CAAUO,MAHiB;EAI7CC,aAAa,EAAER,kBAAA,CAAUO,MAJoB;EAIZ;EACjCE,SAAS,EAAET,kBAAA,CAAUK,IALwB;EAM7CK,sBAAsB,EAAEV,kBAAA,CAAUK,IANW;EAO7CM,mBAAmB,EAAEX,kBAAA,CAAUK,IAPc;EAQ7CO,kBAAkB,EAAEZ,kBAAA,CAAUO,MARe;EAS7CM,YAAY,EAAEb,kBAAA,CAAUO,MATqB;EAU7CO,QAAQ,EAAEd,kBAAA,CAAUC,KAAV,CAAgBc,mBAAhB;AAVmC,CAAhB,CAAxB;;;AAaP,MAAMC,SAAS,GAAG;EAChBC,UAAU,EAAEjB,kBAAA,CAAUO,MADN;EAEhBW,KAAK,EAAEnB,eAFS;EAGhBoB,cAAc,EAAEnB,kBAAA,CAAUC,KAAV,CAAgB;IAC9BmB,KAAK,EAAEpB,kBAAA,CAAUO,MAAV,CAAiBc,UADM;IAE9BC,OAAO,EAAEtB,kBAAA,CAAUuB,IAAV,CAAeF,UAFM;IAG9BG,QAAQ,EAAExB,kBAAA,CAAUK;EAHU,CAAhB,CAHA;EAQhBoB,oBAAoB,EAAEzB,kBAAA,CAAUC,KAAV,CAAgB;IACpCyB,GAAG,EAAEC,mBAAA,CAA+BD,GADA;IAEpCE,WAAW,EAAED,mBAAA,CAA+BC,WAFR;IAGpCC,IAAI,EAAE7B,kBAAA,CAAUC,KAAV,CAAgB;MACpBmB,KAAK,EAAEpB,kBAAA,CAAUO,MADG;MAEpB,cAAcP,kBAAA,CAAUO,MAFJ,CAEW;MAC/B;;IAHoB,CAAhB,CAH8B;IAQpCuB,WAAW,EAAEH,mBAAA,CAA+BG,WARR;IASpCC,IAAI,EAAEJ,mBAAA,CAA+BI;EATD,CAAhB;AARN,CAAlB;eAqBef,S"}
1
+ {"version":3,"file":"prop-types.js","names":["SlidePropsTypes","PropTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","disableContent","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 disableContent: 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,CAAUC,KAAV,CAAgB;EAC7CC,QAAQ,EAAEF,kBAAA,CAAUG,MADyB;EAE7CC,OAAO,EAAEJ,kBAAA,CAAUK,IAF0B;EAG7CC,gBAAgB,EAAEN,kBAAA,CAAUO,MAHiB;EAI7CC,aAAa,EAAER,kBAAA,CAAUO,MAJoB;EAIZ;EACjCE,SAAS,EAAET,kBAAA,CAAUK,IALwB;EAM7CK,sBAAsB,EAAEV,kBAAA,CAAUK,IANW;EAO7CM,mBAAmB,EAAEX,kBAAA,CAAUK,IAPc;EAQ7CO,cAAc,EAAEZ,kBAAA,CAAUK,IARmB;EAS7CQ,kBAAkB,EAAEb,kBAAA,CAAUO,MATe;EAU7CO,YAAY,EAAEd,kBAAA,CAAUO,MAVqB;EAW7CQ,QAAQ,EAAEf,kBAAA,CAAUC,KAAV,CAAgBe,mBAAhB;AAXmC,CAAhB,CAAxB;;;AAcP,MAAMC,SAAS,GAAG;EAChBC,UAAU,EAAElB,kBAAA,CAAUO,MADN;EAEhBY,KAAK,EAAEpB,eAFS;EAGhBqB,cAAc,EAAEpB,kBAAA,CAAUC,KAAV,CAAgB;IAC9BoB,KAAK,EAAErB,kBAAA,CAAUO,MAAV,CAAiBe,UADM;IAE9BC,OAAO,EAAEvB,kBAAA,CAAUwB,IAAV,CAAeF,UAFM;IAG9BG,QAAQ,EAAEzB,kBAAA,CAAUK;EAHU,CAAhB,CAHA;EAQhBqB,oBAAoB,EAAE1B,kBAAA,CAAUC,KAAV,CAAgB;IACpC0B,GAAG,EAAEC,mBAAA,CAA+BD,GADA;IAEpCE,WAAW,EAAED,mBAAA,CAA+BC,WAFR;IAGpCC,IAAI,EAAE9B,kBAAA,CAAUC,KAAV,CAAgB;MACpBoB,KAAK,EAAErB,kBAAA,CAAUO,MADG;MAEpB,cAAcP,kBAAA,CAAUO,MAFJ,CAEW;MAC/B;;IAHoB,CAAhB,CAH8B;IAQpCwB,WAAW,EAAEH,mBAAA,CAA+BG,WARR;IASpCC,IAAI,EAAEJ,mBAAA,CAA+BI;EATD,CAAhB;AARN,CAAlB;eAqBef,S"}
@@ -32,6 +32,7 @@ declare const propTypes: {
32
32
  isCorrect: PropTypes.Requireable<boolean>;
33
33
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
34
34
  showCorrectionPopin: PropTypes.Requireable<boolean>;
35
+ disableContent: PropTypes.Requireable<boolean>;
35
36
  parentContentTitle: PropTypes.Requireable<string>;
36
37
  questionText: PropTypes.Requireable<string>;
37
38
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -106,6 +107,7 @@ declare const propTypes: {
106
107
  isCorrect: PropTypes.Requireable<boolean>;
107
108
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
108
109
  showCorrectionPopin: PropTypes.Requireable<boolean>;
110
+ disableContent: PropTypes.Requireable<boolean>;
109
111
  parentContentTitle: PropTypes.Requireable<string>;
110
112
  questionText: PropTypes.Requireable<string>;
111
113
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -180,6 +182,7 @@ declare const propTypes: {
180
182
  isCorrect: PropTypes.Requireable<boolean>;
181
183
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
182
184
  showCorrectionPopin: PropTypes.Requireable<boolean>;
185
+ disableContent: PropTypes.Requireable<boolean>;
183
186
  parentContentTitle: PropTypes.Requireable<string>;
184
187
  questionText: PropTypes.Requireable<string>;
185
188
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -254,6 +257,7 @@ declare const propTypes: {
254
257
  isCorrect: PropTypes.Requireable<boolean>;
255
258
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
256
259
  showCorrectionPopin: PropTypes.Requireable<boolean>;
260
+ disableContent: PropTypes.Requireable<boolean>;
257
261
  parentContentTitle: PropTypes.Requireable<string>;
258
262
  questionText: PropTypes.Requireable<string>;
259
263
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -328,6 +332,7 @@ declare const propTypes: {
328
332
  isCorrect: PropTypes.Requireable<boolean>;
329
333
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
330
334
  showCorrectionPopin: PropTypes.Requireable<boolean>;
335
+ disableContent: PropTypes.Requireable<boolean>;
331
336
  parentContentTitle: PropTypes.Requireable<string>;
332
337
  questionText: PropTypes.Requireable<string>;
333
338
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAC,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
@@ -92,6 +92,7 @@ declare const AppReview: {
92
92
  isCorrect: import("prop-types").Requireable<boolean>;
93
93
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
94
94
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
95
+ disableContent: import("prop-types").Requireable<boolean>;
95
96
  parentContentTitle: import("prop-types").Requireable<string>;
96
97
  questionText: import("prop-types").Requireable<string>;
97
98
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -166,6 +167,7 @@ declare const AppReview: {
166
167
  isCorrect: import("prop-types").Requireable<boolean>;
167
168
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
168
169
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
170
+ disableContent: import("prop-types").Requireable<boolean>;
169
171
  parentContentTitle: import("prop-types").Requireable<string>;
170
172
  questionText: import("prop-types").Requireable<string>;
171
173
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -240,6 +242,7 @@ declare const AppReview: {
240
242
  isCorrect: import("prop-types").Requireable<boolean>;
241
243
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
242
244
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
245
+ disableContent: import("prop-types").Requireable<boolean>;
243
246
  parentContentTitle: import("prop-types").Requireable<string>;
244
247
  questionText: import("prop-types").Requireable<string>;
245
248
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -314,6 +317,7 @@ declare const AppReview: {
314
317
  isCorrect: import("prop-types").Requireable<boolean>;
315
318
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
316
319
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
320
+ disableContent: import("prop-types").Requireable<boolean>;
317
321
  parentContentTitle: import("prop-types").Requireable<string>;
318
322
  questionText: import("prop-types").Requireable<string>;
319
323
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -388,6 +392,7 @@ declare const AppReview: {
388
392
  isCorrect: import("prop-types").Requireable<boolean>;
389
393
  animateCorrectionPopin: import("prop-types").Requireable<boolean>;
390
394
  showCorrectionPopin: import("prop-types").Requireable<boolean>;
395
+ disableContent: import("prop-types").Requireable<boolean>;
391
396
  parentContentTitle: import("prop-types").Requireable<string>;
392
397
  questionText: import("prop-types").Requireable<string>;
393
398
  answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;+CAA4C,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxE,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -48,6 +48,7 @@ declare const propTypes: {
48
48
  isCorrect: PropTypes.Requireable<boolean>;
49
49
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
50
50
  showCorrectionPopin: PropTypes.Requireable<boolean>;
51
+ disableContent: PropTypes.Requireable<boolean>;
51
52
  parentContentTitle: PropTypes.Requireable<string>;
52
53
  questionText: PropTypes.Requireable<string>;
53
54
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -122,6 +123,7 @@ declare const propTypes: {
122
123
  isCorrect: PropTypes.Requireable<boolean>;
123
124
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
124
125
  showCorrectionPopin: PropTypes.Requireable<boolean>;
126
+ disableContent: PropTypes.Requireable<boolean>;
125
127
  parentContentTitle: PropTypes.Requireable<string>;
126
128
  questionText: PropTypes.Requireable<string>;
127
129
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -196,6 +198,7 @@ declare const propTypes: {
196
198
  isCorrect: PropTypes.Requireable<boolean>;
197
199
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
198
200
  showCorrectionPopin: PropTypes.Requireable<boolean>;
201
+ disableContent: PropTypes.Requireable<boolean>;
199
202
  parentContentTitle: PropTypes.Requireable<string>;
200
203
  questionText: PropTypes.Requireable<string>;
201
204
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -270,6 +273,7 @@ declare const propTypes: {
270
273
  isCorrect: PropTypes.Requireable<boolean>;
271
274
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
272
275
  showCorrectionPopin: PropTypes.Requireable<boolean>;
276
+ disableContent: PropTypes.Requireable<boolean>;
273
277
  parentContentTitle: PropTypes.Requireable<string>;
274
278
  questionText: PropTypes.Requireable<string>;
275
279
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -344,6 +348,7 @@ declare const propTypes: {
344
348
  isCorrect: PropTypes.Requireable<boolean>;
345
349
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
346
350
  showCorrectionPopin: PropTypes.Requireable<boolean>;
351
+ disableContent: PropTypes.Requireable<boolean>;
347
352
  parentContentTitle: PropTypes.Requireable<string>;
348
353
  questionText: PropTypes.Requireable<string>;
349
354
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAGtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,CAAC;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -100,6 +100,7 @@ declare const propTypes: {
100
100
  isCorrect: PropTypes.Requireable<boolean>;
101
101
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
102
102
  showCorrectionPopin: PropTypes.Requireable<boolean>;
103
+ disableContent: PropTypes.Requireable<boolean>;
103
104
  parentContentTitle: PropTypes.Requireable<string>;
104
105
  questionText: PropTypes.Requireable<string>;
105
106
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -174,6 +175,7 @@ declare const propTypes: {
174
175
  isCorrect: PropTypes.Requireable<boolean>;
175
176
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
176
177
  showCorrectionPopin: PropTypes.Requireable<boolean>;
178
+ disableContent: PropTypes.Requireable<boolean>;
177
179
  parentContentTitle: PropTypes.Requireable<string>;
178
180
  questionText: PropTypes.Requireable<string>;
179
181
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -248,6 +250,7 @@ declare const propTypes: {
248
250
  isCorrect: PropTypes.Requireable<boolean>;
249
251
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
250
252
  showCorrectionPopin: PropTypes.Requireable<boolean>;
253
+ disableContent: PropTypes.Requireable<boolean>;
251
254
  parentContentTitle: PropTypes.Requireable<string>;
252
255
  questionText: PropTypes.Requireable<string>;
253
256
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -322,6 +325,7 @@ declare const propTypes: {
322
325
  isCorrect: PropTypes.Requireable<boolean>;
323
326
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
324
327
  showCorrectionPopin: PropTypes.Requireable<boolean>;
328
+ disableContent: PropTypes.Requireable<boolean>;
325
329
  parentContentTitle: PropTypes.Requireable<string>;
326
330
  questionText: PropTypes.Requireable<string>;
327
331
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -396,6 +400,7 @@ declare const propTypes: {
396
400
  isCorrect: PropTypes.Requireable<boolean>;
397
401
  animateCorrectionPopin: PropTypes.Requireable<boolean>;
398
402
  showCorrectionPopin: PropTypes.Requireable<boolean>;
403
+ disableContent: PropTypes.Requireable<boolean>;
399
404
  parentContentTitle: PropTypes.Requireable<string>;
400
405
  questionText: PropTypes.Requireable<string>;
401
406
  answerUI: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,UAAU,MAAM,cAAc,CAAC;AAGtC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,YAAY,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAErE,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QA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iBAAiB,CAAC;IAC3B,UAAU,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "10.29.5-alpha.0",
3
+ "version": "10.29.6",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -157,5 +157,5 @@
157
157
  "last 2 versions",
158
158
  "IE 11"
159
159
  ],
160
- "gitHead": "c87618fe91e37b1321eecaadf7657eafc2d9bb0e"
160
+ "gitHead": "6c47db2b4f14131249c57d399e67b5e01b4c0593"
161
161
  }