@coorpacademy/components 11.11.0 → 11.11.1-alpha.2

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 (202) hide show
  1. package/es/atom/input-search/index.d.ts.map +1 -1
  2. package/es/atom/input-search/index.js +1 -0
  3. package/es/atom/input-search/index.js.map +1 -1
  4. package/es/atom/input-switch/index.d.ts +2 -0
  5. package/es/atom/input-switch/index.d.ts.map +1 -1
  6. package/es/atom/input-switch/index.js +23 -11
  7. package/es/atom/input-switch/index.js.map +1 -1
  8. package/es/atom/select/index.d.ts +1 -0
  9. package/es/atom/select/index.d.ts.map +1 -1
  10. package/es/atom/select/index.js +13 -8
  11. package/es/atom/select/index.js.map +1 -1
  12. package/es/atom/{review-header-step-item → status-item}/index.d.ts +4 -4
  13. package/es/atom/status-item/index.d.ts.map +1 -0
  14. package/es/atom/status-item/index.js +104 -0
  15. package/es/atom/status-item/index.js.map +1 -0
  16. package/es/atom/status-item/index.native.d.ts +5 -0
  17. package/es/atom/status-item/index.native.d.ts.map +1 -0
  18. package/es/atom/{review-header-step-item → status-item}/index.native.js +2 -2
  19. package/es/atom/status-item/index.native.js.map +1 -0
  20. package/es/atom/{review-header-step-item → status-item}/style.css +47 -0
  21. package/es/atom/{review-header-step-item → status-item}/types.d.ts +5 -5
  22. package/es/atom/status-item/types.d.ts.map +1 -0
  23. package/es/atom/{review-header-step-item → status-item}/types.js +1 -1
  24. package/es/atom/status-item/types.js.map +1 -0
  25. package/es/molecule/brand-form-group/index.d.ts +8 -0
  26. package/es/molecule/cm-popin/types.d.ts +2 -0
  27. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  28. package/es/molecule/draggable-list/index.d.ts +2 -0
  29. package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
  30. package/es/molecule/filters/filters-wrapper.js +4 -1
  31. package/es/molecule/filters/filters-wrapper.js.map +1 -1
  32. package/es/molecule/filters/index.d.ts +2 -0
  33. package/es/molecule/filters/index.d.ts.map +1 -1
  34. package/es/molecule/filters/index.js +10 -3
  35. package/es/molecule/filters/index.js.map +1 -1
  36. package/es/molecule/review-header-steps/index.js +2 -2
  37. package/es/molecule/review-header-steps/index.js.map +1 -1
  38. package/es/molecule/review-header-steps/prop-types.d.ts +2 -2
  39. package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  40. package/es/molecule/review-header-steps/prop-types.js +1 -1
  41. package/es/molecule/review-header-steps/prop-types.js.map +1 -1
  42. package/es/molecule/setup-section/index.d.ts +2 -0
  43. package/es/molecule/setup-section/index.d.ts.map +1 -1
  44. package/es/molecule/setup-sections/index.d.ts +2 -0
  45. package/es/molecule/setup-slide/index.d.ts +3 -0
  46. package/es/molecule/setup-slider/index.d.ts +3 -0
  47. package/es/organism/brand-form/index.d.ts +8 -0
  48. package/es/organism/mooc-header/index.d.ts.map +1 -1
  49. package/es/organism/mooc-header/index.js +4 -1
  50. package/es/organism/mooc-header/index.js.map +1 -1
  51. package/es/organism/review-header/index.native.js +1 -1
  52. package/es/organism/review-header/index.native.js.map +1 -1
  53. package/es/organism/review-header/types.d.ts +2 -2
  54. package/es/organism/review-header/types.d.ts.map +1 -1
  55. package/es/organism/review-header/types.js.map +1 -1
  56. package/es/organism/user-preferences/index.d.ts +2 -0
  57. package/es/organism/wizard-contents/index.d.ts +8 -0
  58. package/es/template/activity/index.d.ts +12 -11
  59. package/es/template/activity/index.d.ts.map +1 -1
  60. package/es/template/activity/index.js +6 -3
  61. package/es/template/activity/index.js.map +1 -1
  62. package/es/template/app-player/loading/index.d.ts +2 -0
  63. package/es/template/app-player/player/index.d.ts +4 -0
  64. package/es/template/app-player/player/slides/index.d.ts +2 -0
  65. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  66. package/es/template/app-player/popin-correction/index.d.ts +2 -0
  67. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  68. package/es/template/app-player/popin-end/index.d.ts +2 -0
  69. package/es/template/app-review/index.d.ts +2 -0
  70. package/es/template/app-review/index.d.ts.map +1 -1
  71. package/es/template/app-review/player/prop-types.d.ts +2 -0
  72. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  73. package/es/template/app-review/prop-types.d.ts +2 -0
  74. package/es/template/app-review/prop-types.d.ts.map +1 -1
  75. package/es/template/back-office/brand-update/index.d.ts +18 -0
  76. package/es/template/common/dashboard/index.d.ts +2 -0
  77. package/es/template/common/search-page/index.d.ts +3 -0
  78. package/es/template/common/search-page/index.d.ts.map +1 -1
  79. package/es/template/common/search-page/index.js +6 -3
  80. package/es/template/common/search-page/index.js.map +1 -1
  81. package/lib/atom/input-search/index.d.ts.map +1 -1
  82. package/lib/atom/input-search/index.js +1 -0
  83. package/lib/atom/input-search/index.js.map +1 -1
  84. package/lib/atom/input-switch/index.d.ts +2 -0
  85. package/lib/atom/input-switch/index.d.ts.map +1 -1
  86. package/lib/atom/input-switch/index.js +22 -11
  87. package/lib/atom/input-switch/index.js.map +1 -1
  88. package/lib/atom/select/index.d.ts +1 -0
  89. package/lib/atom/select/index.d.ts.map +1 -1
  90. package/lib/atom/select/index.js +13 -8
  91. package/lib/atom/select/index.js.map +1 -1
  92. package/lib/atom/{review-header-step-item → status-item}/index.d.ts +4 -4
  93. package/lib/atom/status-item/index.d.ts.map +1 -0
  94. package/lib/atom/{review-header-step-item → status-item}/index.js +50 -23
  95. package/lib/atom/status-item/index.js.map +1 -0
  96. package/lib/atom/status-item/index.native.d.ts +5 -0
  97. package/lib/atom/status-item/index.native.d.ts.map +1 -0
  98. package/lib/atom/{review-header-step-item → status-item}/index.native.js +2 -2
  99. package/lib/atom/status-item/index.native.js.map +1 -0
  100. package/lib/atom/{review-header-step-item → status-item}/style.css +47 -0
  101. package/lib/atom/{review-header-step-item → status-item}/types.d.ts +5 -5
  102. package/lib/atom/status-item/types.d.ts.map +1 -0
  103. package/lib/atom/{review-header-step-item → status-item}/types.js +1 -1
  104. package/lib/atom/status-item/types.js.map +1 -0
  105. package/lib/molecule/brand-form-group/index.d.ts +8 -0
  106. package/lib/molecule/cm-popin/types.d.ts +2 -0
  107. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  108. package/lib/molecule/draggable-list/index.d.ts +2 -0
  109. package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
  110. package/lib/molecule/filters/filters-wrapper.js +4 -1
  111. package/lib/molecule/filters/filters-wrapper.js.map +1 -1
  112. package/lib/molecule/filters/index.d.ts +2 -0
  113. package/lib/molecule/filters/index.d.ts.map +1 -1
  114. package/lib/molecule/filters/index.js +9 -3
  115. package/lib/molecule/filters/index.js.map +1 -1
  116. package/lib/molecule/review-header-steps/index.js +2 -2
  117. package/lib/molecule/review-header-steps/index.js.map +1 -1
  118. package/lib/molecule/review-header-steps/prop-types.d.ts +2 -2
  119. package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  120. package/lib/molecule/review-header-steps/prop-types.js +1 -1
  121. package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
  122. package/lib/molecule/setup-section/index.d.ts +2 -0
  123. package/lib/molecule/setup-section/index.d.ts.map +1 -1
  124. package/lib/molecule/setup-sections/index.d.ts +2 -0
  125. package/lib/molecule/setup-slide/index.d.ts +3 -0
  126. package/lib/molecule/setup-slider/index.d.ts +3 -0
  127. package/lib/organism/brand-form/index.d.ts +8 -0
  128. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  129. package/lib/organism/mooc-header/index.js +4 -1
  130. package/lib/organism/mooc-header/index.js.map +1 -1
  131. package/lib/organism/review-header/index.native.js +1 -1
  132. package/lib/organism/review-header/index.native.js.map +1 -1
  133. package/lib/organism/review-header/types.d.ts +2 -2
  134. package/lib/organism/review-header/types.d.ts.map +1 -1
  135. package/lib/organism/review-header/types.js.map +1 -1
  136. package/lib/organism/user-preferences/index.d.ts +2 -0
  137. package/lib/organism/wizard-contents/index.d.ts +8 -0
  138. package/lib/template/activity/index.d.ts +12 -11
  139. package/lib/template/activity/index.d.ts.map +1 -1
  140. package/lib/template/activity/index.js +6 -3
  141. package/lib/template/activity/index.js.map +1 -1
  142. package/lib/template/app-player/loading/index.d.ts +2 -0
  143. package/lib/template/app-player/player/index.d.ts +4 -0
  144. package/lib/template/app-player/player/slides/index.d.ts +2 -0
  145. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  146. package/lib/template/app-player/popin-correction/index.d.ts +2 -0
  147. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  148. package/lib/template/app-player/popin-end/index.d.ts +2 -0
  149. package/lib/template/app-review/index.d.ts +2 -0
  150. package/lib/template/app-review/index.d.ts.map +1 -1
  151. package/lib/template/app-review/player/prop-types.d.ts +2 -0
  152. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  153. package/lib/template/app-review/prop-types.d.ts +2 -0
  154. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  155. package/lib/template/back-office/brand-update/index.d.ts +18 -0
  156. package/lib/template/common/dashboard/index.d.ts +2 -0
  157. package/lib/template/common/search-page/index.d.ts +3 -0
  158. package/lib/template/common/search-page/index.d.ts.map +1 -1
  159. package/lib/template/common/search-page/index.js +6 -3
  160. package/lib/template/common/search-page/index.js.map +1 -1
  161. package/locales/bs/global.json +0 -2
  162. package/locales/cs/global.json +0 -2
  163. package/locales/de/global.json +0 -2
  164. package/locales/en/global.json +8 -5
  165. package/locales/es/global.json +0 -2
  166. package/locales/et/global.json +0 -2
  167. package/locales/fr/global.json +0 -2
  168. package/locales/hr/global.json +0 -2
  169. package/locales/hu/global.json +0 -2
  170. package/locales/hy/global.json +0 -2
  171. package/locales/it/global.json +0 -2
  172. package/locales/ja/global.json +0 -2
  173. package/locales/ko/global.json +0 -2
  174. package/locales/nl/global.json +0 -2
  175. package/locales/pl/global.json +0 -2
  176. package/locales/pt/global.json +0 -2
  177. package/locales/ro/global.json +0 -2
  178. package/locales/ru/global.json +0 -2
  179. package/locales/sk/global.json +0 -2
  180. package/locales/th/global.json +0 -2
  181. package/locales/tl/global.json +0 -2
  182. package/locales/tr/global.json +0 -2
  183. package/locales/uk/global.json +0 -2
  184. package/locales/vi/global.json +0 -2
  185. package/locales/zh/global.json +0 -2
  186. package/locales/zh_TW/global.json +0 -2
  187. package/package.json +2 -2
  188. package/es/atom/review-header-step-item/index.d.ts.map +0 -1
  189. package/es/atom/review-header-step-item/index.js +0 -77
  190. package/es/atom/review-header-step-item/index.js.map +0 -1
  191. package/es/atom/review-header-step-item/index.native.d.ts +0 -5
  192. package/es/atom/review-header-step-item/index.native.d.ts.map +0 -1
  193. package/es/atom/review-header-step-item/index.native.js.map +0 -1
  194. package/es/atom/review-header-step-item/types.d.ts.map +0 -1
  195. package/es/atom/review-header-step-item/types.js.map +0 -1
  196. package/lib/atom/review-header-step-item/index.d.ts.map +0 -1
  197. package/lib/atom/review-header-step-item/index.js.map +0 -1
  198. package/lib/atom/review-header-step-item/index.native.d.ts +0 -5
  199. package/lib/atom/review-header-step-item/index.native.d.ts.map +0 -1
  200. package/lib/atom/review-header-step-item/index.native.js.map +0 -1
  201. package/lib/atom/review-header-step-item/types.d.ts.map +0 -1
  202. package/lib/atom/review-header-step-item/types.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/review-header-step-item/index.tsx"],"names":[],"mappings":";AASA,OAAkB,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAsDvD,QAAA,MAAM,oBAAoB;YAAW,mBAAmB;;;;;;CAevD,CAAC;AAWF,eAAe,oBAAoB,CAAC"}
@@ -1,77 +0,0 @@
1
- import React from 'react';
2
- import classnames from 'classnames';
3
- import { NovaCompositionCoorpacademyCheck as RightIcon, NovaSolidStatusClose as WrongIcon } from '@coorpacademy/nova-icons';
4
- import Provider, { GetTranslateFromContext } from '../provider';
5
- import style from './style.css';
6
- import propTypes from './types';
7
-
8
- const Content = (props, legacyContext) => {
9
- const {
10
- icon,
11
- current,
12
- value
13
- } = props;
14
- const translate = GetTranslateFromContext(legacyContext);
15
- let child;
16
- let ariaDescription;
17
-
18
- switch (icon) {
19
- case 'no-answer':
20
- child = value;
21
- ariaDescription = current ? translate('review_header_step_item.current_question', {
22
- headerStepValue: value
23
- }) : translate('review_header_step_item.not_answered_question', {
24
- headerStepValue: value
25
- });
26
- break;
27
-
28
- case 'right':
29
- child = /*#__PURE__*/React.createElement(RightIcon, {
30
- className: classnames(style.rightIcon, current && style.currentRightIcon)
31
- });
32
- ariaDescription = translate('review_header_step_item.correct_question', {
33
- headerStepValue: value
34
- });
35
- break;
36
-
37
- case 'wrong':
38
- child = /*#__PURE__*/React.createElement(WrongIcon, {
39
- className: classnames(style.wrongIcon, current && style.currentWrongIcon)
40
- });
41
- ariaDescription = translate('review_header_step_item.incorrect_question', {
42
- headerStepValue: value
43
- });
44
- break;
45
-
46
- default:
47
- return null;
48
- }
49
-
50
- return /*#__PURE__*/React.createElement("span", {
51
- className: style.value,
52
- "aria-label": translate('review_header_step_item.aria_label', {
53
- headerStepValue: value
54
- }),
55
- "aria-describedby": ariaDescription
56
- }, child);
57
- };
58
-
59
- const ReviewHeaderStepItem = props => {
60
- const {
61
- icon,
62
- current
63
- } = props;
64
- return /*#__PURE__*/React.createElement("div", {
65
- className: classnames(style.default, icon === 'right' && style.right, icon === 'wrong' && style.wrong, current && style.current),
66
- "data-name": "header-step-item"
67
- }, /*#__PURE__*/React.createElement(Content, props));
68
- };
69
-
70
- Content.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
71
- Content.contextTypes = {
72
- skin: Provider.childContextTypes.skin,
73
- translate: Provider.childContextTypes.translate
74
- };
75
- ReviewHeaderStepItem.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
76
- export default ReviewHeaderStepItem;
77
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["React","classnames","NovaCompositionCoorpacademyCheck","RightIcon","NovaSolidStatusClose","WrongIcon","Provider","GetTranslateFromContext","style","propTypes","Content","props","legacyContext","icon","current","value","translate","child","ariaDescription","headerStepValue","rightIcon","currentRightIcon","wrongIcon","currentWrongIcon","ReviewHeaderStepItem","default","right","wrong","contextTypes","skin","childContextTypes"],"sources":["../../../src/atom/review-header-step-item/index.tsx"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport Provider, {GetTranslateFromContext} from '../provider';\nimport {WebContextValues} from '../provider/web-context';\nimport style from './style.css';\nimport propTypes, {HeaderStepItemProps} from './types';\n\nconst Content = (props: HeaderStepItemProps, legacyContext: WebContextValues) => {\n const {icon, current, value} = props;\n const translate = GetTranslateFromContext(legacyContext);\n let child;\n let ariaDescription;\n switch (icon) {\n case 'no-answer':\n child = value;\n ariaDescription = current\n ? translate('review_header_step_item.current_question', {\n headerStepValue: value\n })\n : translate('review_header_step_item.not_answered_question', {\n headerStepValue: value\n });\n break;\n\n case 'right':\n child = (\n <RightIcon className={classnames(style.rightIcon, current && style.currentRightIcon)} />\n );\n ariaDescription = translate('review_header_step_item.correct_question', {\n headerStepValue: value\n });\n break;\n\n case 'wrong':\n child = (\n <WrongIcon className={classnames(style.wrongIcon, current && style.currentWrongIcon)} />\n );\n ariaDescription = translate('review_header_step_item.incorrect_question', {\n headerStepValue: value\n });\n break;\n\n default:\n return null;\n }\n\n return (\n <span\n className={style.value}\n aria-label={translate('review_header_step_item.aria_label', {\n headerStepValue: value\n })}\n aria-describedby={ariaDescription}\n >\n {child}\n </span>\n );\n};\n\nconst ReviewHeaderStepItem = (props: HeaderStepItemProps) => {\n const {icon, current} = props;\n return (\n <div\n className={classnames(\n style.default,\n icon === 'right' && style.right,\n icon === 'wrong' && style.wrong,\n current && style.current\n )}\n data-name=\"header-step-item\"\n >\n <Content {...props} />\n </div>\n );\n};\n\nContent.propTypes = propTypes;\n\nContent.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nReviewHeader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QACxEG,eAAe,EAAEJ;MADuD,CAA/C,CAA3B;MAGA;;IAEF;MACE,OAAO,IAAP;EA/BJ;;EAkCA,oBACE;IACE,SAAS,EAAEP,KAAK,CAACO,KADnB;IAEE,cAAYC,SAAS,CAAC,oCAAD,EAAuC;MAC1DG,eAAe,EAAEJ;IADyC,CAAvC,CAFvB;IAKE,oBAAkBG;EALpB,GAOGD,KAPH,CADF;AAWD,CAlDD;;AAoDA,MAAMO,oBAAoB,GAAIb,KAAD,IAAgC;EAC3D,MAAM;IAACE,IAAD;IAAOC;EAAP,IAAkBH,KAAxB;EACA,oBACE;IACE,SAAS,EAAEV,UAAU,CACnBO,KAAK,CAACiB,OADa,EAEnBZ,IAAI,KAAK,OAAT,IAAoBL,KAAK,CAACkB,KAFP,EAGnBb,IAAI,KAAK,OAAT,IAAoBL,KAAK,CAACmB,KAHP,EAInBb,OAAO,IAAIN,KAAK,CAACM,OAJE,CADvB;IAOE,aAAU;EAPZ,gBASE,oBAAC,OAAD,EAAaH,KAAb,CATF,CADF;AAaD,CAfD;;AAiBAD,OAAO,CAACD,SAAR,2CAAoBA,SAApB;AAEAC,OAAO,CAACkB,YAAR,GAAuB;EACrBC,IAAI,EAAEvB,QAAQ,CAACwB,iBAAT,CAA2BD,IADZ;EAErBb,SAAS,EAAEV,QAAQ,CAACwB,iBAAT,CAA2Bd;AAFjB,CAAvB;AAKAQ,oBAAoB,CAACf,SAArB,2CAAiCA,SAAjC;AAEA,eAAee,oBAAf"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { HeaderStepItemProps } from './types';
3
- declare const Step: ({ value, icon, current }: HeaderStepItemProps) => JSX.Element | null;
4
- export default Step;
5
- //# sourceMappingURL=index.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/review-header-step-item/index.native.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AA6C5C,QAAA,MAAM,IAAI,6BAA4B,mBAAmB,uBA2BxD,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.native.js","names":["React","useEffect","useState","StyleSheet","Text","View","NovaCompositionCoorpacademyCheck","RightIcon","NovaSolidStatusClose","WrongIcon","COLORS","createStyle","current","icon","backgroundColor","positive","negative","gray","create","step","width","height","opacity","marginHorizontal","alignItems","justifyContent","borderRadius","stepText","fontWeight","fontSize","Step","value","style","setStyle","_style","child"],"sources":["../../../src/atom/review-header-step-item/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {StyleSheet, Text, TextStyle, View, ViewStyle} from 'react-native';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport {COLORS} from '../../variables/colors';\nimport {HeaderStepItemProps} from './types';\n\ntype StyleSheetType = {\n step: ViewStyle;\n stepText: TextStyle;\n icon: ViewStyle;\n};\n\nconst createStyle = (current: boolean, icon: HeaderStepItemProps['icon']): StyleSheetType => {\n let backgroundColor;\n\n switch (icon) {\n case 'right':\n backgroundColor = COLORS.positive;\n break;\n case 'wrong':\n backgroundColor = COLORS.negative;\n break;\n case 'no-answer':\n default:\n backgroundColor = COLORS.gray;\n }\n\n return StyleSheet.create({\n step: {\n width: current ? 40 : 32,\n height: current ? 40 : 32,\n opacity: current ? 1 : 0.5,\n marginHorizontal: 8,\n backgroundColor,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 50\n },\n stepText: {\n fontWeight: '600',\n fontSize: current ? 16 : 12\n },\n icon: {\n width: current ? 14 : 12,\n height: current ? 14 : 12\n }\n });\n};\n\nconst Step = ({value, icon, current}: HeaderStepItemProps) => {\n const [style, setStyle] = useState<StyleSheetType | null>(null);\n\n useEffect(() => {\n const _style = createStyle(current, icon);\n setStyle(_style);\n }, [current, icon]);\n\n if (!style) {\n return null;\n }\n\n let child;\n\n switch (icon) {\n case 'right':\n child = <RightIcon style={style.icon} color=\"#fff\" />;\n break;\n case 'wrong':\n child = <WrongIcon style={style.icon} color=\"#fff\" />;\n break;\n case 'no-answer':\n default:\n child = <Text style={style.stepText}>{value}</Text>;\n }\n\n return <View style={style.step}>{child}</View>;\n};\n\nexport default Step;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,SAAf,EAA0BC,QAA1B,QAAyC,OAAzC;AACA,SAAQC,UAAR,EAAoBC,IAApB,EAAqCC,IAArC,QAA2D,cAA3D;AACA,SACEC,gCAAgC,IAAIC,SADtC,EAEEC,oBAAoB,IAAIC,SAF1B,QAGO,0BAHP;AAIA,SAAQC,MAAR,QAAqB,wBAArB;;AASA,MAAMC,WAAW,GAAG,CAACC,OAAD,EAAmBC,IAAnB,KAAyE;EAC3F,IAAIC,eAAJ;;EAEA,QAAQD,IAAR;IACE,KAAK,OAAL;MACEC,eAAe,GAAGJ,MAAM,CAACK,QAAzB;MACA;;IACF,KAAK,OAAL;MACED,eAAe,GAAGJ,MAAM,CAACM,QAAzB;MACA;;IACF,KAAK,WAAL;IACA;MACEF,eAAe,GAAGJ,MAAM,CAACO,IAAzB;EATJ;;EAYA,OAAOd,UAAU,CAACe,MAAX,CAAkB;IACvBC,IAAI,EAAE;MACJC,KAAK,EAAER,OAAO,GAAG,EAAH,GAAQ,EADlB;MAEJS,MAAM,EAAET,OAAO,GAAG,EAAH,GAAQ,EAFnB;MAGJU,OAAO,EAAEV,OAAO,GAAG,CAAH,GAAO,GAHnB;MAIJW,gBAAgB,EAAE,CAJd;MAKJT,eALI;MAMJU,UAAU,EAAE,QANR;MAOJC,cAAc,EAAE,QAPZ;MAQJC,YAAY,EAAE;IARV,CADiB;IAWvBC,QAAQ,EAAE;MACRC,UAAU,EAAE,KADJ;MAERC,QAAQ,EAAEjB,OAAO,GAAG,EAAH,GAAQ;IAFjB,CAXa;IAevBC,IAAI,EAAE;MACJO,KAAK,EAAER,OAAO,GAAG,EAAH,GAAQ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AAC;AAEzB,oBAAY,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,OAAO,GAAG;IACpB,KAAK,EAAE,mBAAmB,CAAC;CAC5B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","propTypes","current","bool","icon","oneOf","value","string"],"sources":["../../../src/atom/review-header-step-item/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nconst propTypes = {\n current: PropTypes.bool,\n icon: PropTypes.oneOf(['no-answer', 'right', 'wrong']),\n value: PropTypes.string\n};\n\nexport default propTypes;\n\nexport type HeaderStepItemProps = {\n current: boolean;\n icon: 'no-answer' | 'right' | 'wrong';\n value: string;\n};\n\nexport type Fixture = {\n props: HeaderStepItemProps;\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,MAAMC,SAAS,GAAG;EAChBC,OAAO,EAAEF,SAAS,CAACG,IADH;EAEhBC,IAAI,EAAEJ,SAAS,CAACK,KAAV,CAAgB,CAAC,WAAD,EAAc,OAAd,EAAuB,OAAvB,CAAhB,CAFU;EAGhBC,KAAK,EAAEN,SAAS,CAACO;AAHD,CAAlB;AAMA,eAAeN,SAAf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/review-header-step-item/index.tsx"],"names":[],"mappings":";AASA,OAAkB,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAsDvD,QAAA,MAAM,oBAAoB;YAAW,mBAAmB;;;;;;CAevD,CAAC;AAWF,eAAe,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["Content","props","legacyContext","icon","current","value","translate","GetTranslateFromContext","child","ariaDescription","headerStepValue","classnames","style","rightIcon","currentRightIcon","wrongIcon","currentWrongIcon","ReviewHeaderStepItem","default","right","wrong","propTypes","contextTypes","skin","Provider","childContextTypes"],"sources":["../../../src/atom/review-header-step-item/index.tsx"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport Provider, {GetTranslateFromContext} from '../provider';\nimport {WebContextValues} from '../provider/web-context';\nimport style from './style.css';\nimport propTypes, {HeaderStepItemProps} from './types';\n\nconst Content = (props: HeaderStepItemProps, legacyContext: WebContextValues) => {\n const {icon, current, value} = props;\n const translate = GetTranslateFromContext(legacyContext);\n let child;\n let ariaDescription;\n switch (icon) {\n case 'no-answer':\n child = value;\n ariaDescription = current\n ? translate('review_header_step_item.current_question', {\n headerStepValue: value\n })\n : translate('review_header_step_item.not_answered_question', {\n headerStepValue: value\n });\n break;\n\n case 'right':\n child = (\n <RightIcon className={classnames(style.rightIcon, current && style.currentRightIcon)} />\n );\n ariaDescription = translate('review_header_step_item.correct_question', {\n headerStepValue: value\n });\n break;\n\n case 'wrong':\n child = (\n <WrongIcon className={classnames(style.wrongIcon, current && style.currentWrongIcon)} />\n );\n ariaDescription = translate('review_header_step_item.incorrect_question', {\n headerStepValue: value\n });\n break;\n\n default:\n return null;\n }\n\n return (\n <span\n className={style.value}\n aria-label={translate('review_header_step_item.aria_label', {\n headerStepValue: value\n })}\n aria-describedby={ariaDescription}\n >\n {child}\n </span>\n );\n};\n\nconst ReviewHeaderStepItem = (props: HeaderStepItemProps) => {\n const {icon, current} = props;\n return (\n <div\n className={classnames(\n style.default,\n icon === 'right' && style.right,\n icon === 'wrong' && style.wrong,\n current && style.current\n )}\n data-name=\"header-step-item\"\n >\n <Content {...props} />\n </div>\n );\n};\n\nContent.propTypes = propTypes;\n\nContent.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nReviewHeaderStepItem.propTypes = propTypes;\n\nexport default ReviewHe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IAKE,oBAAkBI;EALpB,GAOGD,KAPH,CADF;AAWD,CAlDD;;AAoDA,MAAMS,oBAAoB,GAAIhB,KAAD,IAAgC;EAC3D,MAAM;IAACE,IAAD;IAAOC;EAAP,IAAkBH,KAAxB;EACA,oBACE;IACE,SAAS,EAAE,IAAAU,mBAAA,EACTC,cAAA,CAAMM,OADG,EAETf,IAAI,KAAK,OAAT,IAAoBS,cAAA,CAAMO,KAFjB,EAGThB,IAAI,KAAK,OAAT,IAAoBS,cAAA,CAAMQ,KAHjB,EAIThB,OAAO,IAAIQ,cAAA,CAAMR,OAJR,CADb;IAOE,aAAU;EAPZ,gBASE,6BAAC,OAAD,EAAaH,KAAb,CATF,CADF;AAaD,CAfD;;AAiBAD,OAAO,CAACqB,SAAR,2CAAoBA,cAApB;AAEArB,OAAO,CAACsB,YAAR,GAAuB;EACrBC,IAAI,EAAEC,iBAAA,CAASC,iBAAT,CAA2BF,IADZ;EAErBjB,SAAS,EAAEkB,iBAAA,CAASC,iBAAT,CAA2BnB;AAFjB,CAAvB;AAKAW,oBAAoB,CAACI,SAArB,2CAAiCA,cAAjC;eAEeJ,oB"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { HeaderStepItemProps } from './types';
3
- declare const Step: ({ value, icon, current }: HeaderStepItemProps) => JSX.Element | null;
4
- export default Step;
5
- //# sourceMappingURL=index.native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/review-header-step-item/index.native.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AA6C5C,QAAA,MAAM,IAAI,6BAA4B,mBAAmB,uBA2BxD,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.native.js","names":["createStyle","current","icon","backgroundColor","COLORS","positive","negative","gray","StyleSheet","create","step","width","height","opacity","marginHorizontal","alignItems","justifyContent","borderRadius","stepText","fontWeight","fontSize","Step","value","style","setStyle","useState","useEffect","_style","child"],"sources":["../../../src/atom/review-header-step-item/index.native.tsx"],"sourcesContent":["import React, {useEffect, useState} from 'react';\nimport {StyleSheet, Text, TextStyle, View, ViewStyle} from 'react-native';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport {COLORS} from '../../variables/colors';\nimport {HeaderStepItemProps} from './types';\n\ntype StyleSheetType = {\n step: ViewStyle;\n stepText: TextStyle;\n icon: ViewStyle;\n};\n\nconst createStyle = (current: boolean, icon: HeaderStepItemProps['icon']): StyleSheetType => {\n let backgroundColor;\n\n switch (icon) {\n case 'right':\n backgroundColor = COLORS.positive;\n break;\n case 'wrong':\n backgroundColor = COLORS.negative;\n break;\n case 'no-answer':\n default:\n backgroundColor = COLORS.gray;\n }\n\n return StyleSheet.create({\n step: {\n width: current ? 40 : 32,\n height: current ? 40 : 32,\n opacity: current ? 1 : 0.5,\n marginHorizontal: 8,\n backgroundColor,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 50\n },\n stepText: {\n fontWeight: '600',\n fontSize: current ? 16 : 12\n },\n icon: {\n width: current ? 14 : 12,\n height: current ? 14 : 12\n }\n });\n};\n\nconst Step = ({value, icon, current}: HeaderStepItemProps) => {\n const [style, setStyle] = useState<StyleSheetType | null>(null);\n\n useEffect(() => {\n const _style = createStyle(current, icon);\n setStyle(_style);\n }, [current, icon]);\n\n if (!style) {\n return null;\n }\n\n let child;\n\n switch (icon) {\n case 'right':\n child = <RightIcon style={style.icon} color=\"#fff\" />;\n break;\n case 'wrong':\n child = <WrongIcon style={style.icon} color=\"#fff\" />;\n break;\n case 'no-answer':\n default:\n child = <Text style={style.stepText}>{value}</Text>;\n }\n\n return <View style={style.step}>{child}</View>;\n};\n\nexport default Step;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AAIA;;;;;;AASA,MAAMA,WAAW,GAAG,CAACC,OA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B,KAAL,EAAY;IACV,OAAO,IAAP;EACD;;EAED,IAAIK,KAAJ;;EAEA,QAAQ1B,IAAR;IACE,KAAK,OAAL;MACE0B,KAAK,gBAAG,6BAAC,2CAAD;QAAW,KAAK,EAAEL,KAAK,CAACrB,IAAxB;QAA8B,KAAK,EAAC;MAApC,EAAR;MACA;;IACF,KAAK,OAAL;MACE0B,KAAK,gBAAG,6BAAC,+BAAD;QAAW,KAAK,EAAEL,KAAK,CAACrB,IAAxB;QAA8B,KAAK,EAAC;MAApC,EAAR;MACA;;IACF,KAAK,WAAL;IACA;MACE0B,KAAK,gBAAG,6BAAC,iBAAD;QAAM,KAAK,EAAEL,KAAK,CAACL;MAAnB,GAA8BI,KAA9B,CAAR;EATJ;;EAYA,oBAAO,6BAAC,iBAAD;IAAM,KAAK,EAAEC,KAAK,CAACb;EAAnB,GAA0BkB,KAA1B,CAAP;AACD,CA3BD;;eA6BeP,I"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/review-header-step-item/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,QAAA,MAAM,SAAS;;;;CAId,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,OAAO,GAAG;IACpB,KAAK,EAAE,mBAAmB,CAAC;CAC5B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","names":["propTypes","current","PropTypes","bool","icon","oneOf","value","string"],"sources":["../../../src/atom/review-header-step-item/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nconst propTypes = {\n current: PropTypes.bool,\n icon: PropTypes.oneOf(['no-answer', 'right', 'wrong']),\n value: PropTypes.string\n};\n\nexport default propTypes;\n\nexport type HeaderStepItemProps = {\n current: boolean;\n icon: 'no-answer' | 'right' | 'wrong';\n value: string;\n};\n\nexport type Fixture = {\n props: HeaderStepItemProps;\n};\n"],"mappings":";;;;;AAAA;;;;AAEA,MAAMA,SAAS,GAAG;EAChBC,OAAO,EAAEC,kBAAA,CAAUC,IADH;EAEhBC,IAAI,EAAEF,kBAAA,CAAUG,KAAV,CAAgB,CAAC,WAAD,EAAc,OAAd,EAAuB,OAAvB,CAAhB,CAFU;EAGhBC,KAAK,EAAEJ,kBAAA,CAAUK;AAHD,CAAlB;eAMeP,S"}