@coorpacademy/components 11.35.2-alpha.4 → 11.35.2-forcedeploy.13

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 (282) hide show
  1. package/es/atom/button-link/index.js +1 -1
  2. package/es/atom/button-link/index.js.map +1 -1
  3. package/es/atom/button-link/style.css +2 -2
  4. package/es/atom/icon/index.d.ts +35 -17
  5. package/es/atom/icon/index.d.ts.map +1 -1
  6. package/es/atom/icon/index.js +32 -15
  7. package/es/atom/icon/index.js.map +1 -1
  8. package/es/atom/radio-with-title/index.d.ts +13 -3
  9. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  10. package/es/atom/radio-with-title/types.d.ts +13 -2
  11. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  12. package/es/atom/status-item/index.native.js +1 -1
  13. package/es/atom/status-item/index.native.js.map +1 -1
  14. package/es/atom/tag/index.d.ts +12 -1
  15. package/es/atom/tag/style.css +1 -0
  16. package/es/atom/title/index.d.ts +13 -2
  17. package/es/molecule/banner/style.css +1 -0
  18. package/es/molecule/base-modal/style.css +0 -1
  19. package/es/molecule/bulk-progress-bar/index.js +2 -2
  20. package/es/molecule/bulk-progress-bar/index.js.map +1 -1
  21. package/es/molecule/certification-card/index.js +1 -1
  22. package/es/molecule/certification-card/index.js.map +1 -1
  23. package/es/molecule/cm-popin/types.d.ts +28 -7
  24. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  25. package/es/molecule/cm-popin/types.js +1 -1
  26. package/es/molecule/cm-popin/types.js.map +1 -1
  27. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  28. package/es/molecule/dashboard/cards-list/index.js +2 -0
  29. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  30. package/es/molecule/learner-skill-card/index.d.ts +25 -40
  31. package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
  32. package/es/molecule/learner-skill-card/index.js +95 -96
  33. package/es/molecule/learner-skill-card/index.js.map +1 -1
  34. package/es/molecule/learner-skill-card/prop-types.d.ts +37 -0
  35. package/es/molecule/learner-skill-card/prop-types.d.ts.map +1 -0
  36. package/es/molecule/learner-skill-card/prop-types.js +20 -0
  37. package/es/molecule/learner-skill-card/prop-types.js.map +1 -0
  38. package/es/molecule/learner-skill-card/style.css +62 -41
  39. package/es/molecule/learning-priority-modal/style.css +3 -2
  40. package/es/molecule/progress-wrapper/index.js +1 -1
  41. package/es/molecule/progress-wrapper/index.js.map +1 -1
  42. package/es/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  43. package/es/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  44. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +13 -2
  45. package/es/molecule/title-radio-wrapper/index.d.ts +13 -3
  46. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  47. package/es/molecule/title-radio-wrapper/types.d.ts +13 -2
  48. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  49. package/es/organism/cards-grid/index.d.ts +48 -10
  50. package/es/organism/cards-grid/index.d.ts.map +1 -1
  51. package/es/organism/cards-grid/index.js +3 -2
  52. package/es/organism/cards-grid/index.js.map +1 -1
  53. package/es/organism/content-skill-modal/index.d.ts +13 -3
  54. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  55. package/es/organism/content-skill-modal/types.d.ts +12 -2
  56. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  57. package/es/organism/header-with-actions/index.d.ts +8 -22
  58. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  59. package/es/organism/header-with-actions/index.js +7 -85
  60. package/es/organism/header-with-actions/index.js.map +1 -1
  61. package/es/organism/header-with-actions/types.d.ts +13 -44
  62. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  63. package/es/organism/header-with-actions/types.js +6 -22
  64. package/es/organism/header-with-actions/types.js.map +1 -1
  65. package/es/organism/list-item/index.js +5 -5
  66. package/es/organism/list-item/index.js.map +1 -1
  67. package/es/organism/list-item/style.css +23 -17
  68. package/es/organism/list-items/index.d.ts +13 -2
  69. package/es/organism/mooc-header/index.d.ts.map +1 -1
  70. package/es/organism/mooc-header/index.js +9 -7
  71. package/es/organism/mooc-header/index.js.map +1 -1
  72. package/es/organism/mooc-header/style.css +22 -18
  73. package/es/organism/rewards-form/index.d.ts +13 -2
  74. package/es/organism/select-opponents/index.d.ts +13 -3
  75. package/es/organism/select-opponents/index.d.ts.map +1 -1
  76. package/es/organism/select-opponents/types.d.ts +13 -2
  77. package/es/organism/select-opponents/types.d.ts.map +1 -1
  78. package/es/organism/sidebar/index.d.ts +2 -2
  79. package/es/organism/skill-edition/index.d.ts +37 -7
  80. package/es/organism/skill-edition/index.d.ts.map +1 -1
  81. package/es/organism/skill-edition/types.d.ts +37 -6
  82. package/es/organism/skill-edition/types.d.ts.map +1 -1
  83. package/es/organism/title-and-input/index.d.ts +25 -5
  84. package/es/organism/title-and-input/index.d.ts.map +1 -1
  85. package/es/organism/title-and-input/types.d.ts +24 -4
  86. package/es/organism/title-and-input/types.d.ts.map +1 -1
  87. package/es/organism/wizard-contents/index.d.ts +13 -2
  88. package/es/template/app-player/loading/index.d.ts +27 -6
  89. package/es/template/app-player/player/index.d.ts +53 -12
  90. package/es/template/app-player/player/slides/index.d.ts +27 -6
  91. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  92. package/es/template/app-player/popin-correction/index.d.ts +26 -6
  93. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  94. package/es/template/app-player/popin-end/index.d.ts +27 -6
  95. package/es/template/app-review/index.d.ts +27 -7
  96. package/es/template/app-review/index.d.ts.map +1 -1
  97. package/es/template/app-review/player/prop-types.d.ts +27 -6
  98. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  99. package/es/template/app-review/prop-types.d.ts +27 -6
  100. package/es/template/app-review/prop-types.d.ts.map +1 -1
  101. package/es/template/back-office/brand-update/index.d.ts +95 -38
  102. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  103. package/es/template/back-office/brand-update/index.js +2 -4
  104. package/es/template/back-office/brand-update/index.js.map +1 -1
  105. package/es/template/back-office/brand-update/style.css +1 -4
  106. package/es/template/back-office/brand-update/utils.d.ts +11 -39
  107. package/es/template/back-office/brand-update/utils.js +0 -19
  108. package/es/template/back-office/brand-update/utils.js.map +1 -1
  109. package/es/template/common/dashboard/index.d.ts +53 -12
  110. package/es/template/common/search-page/index.d.ts +27 -6
  111. package/es/template/external-course/index.d.ts +27 -6
  112. package/es/template/my-learning/index.d.ts +0 -1
  113. package/es/template/my-learning/index.d.ts.map +1 -1
  114. package/es/template/my-learning/index.js +26 -22
  115. package/es/template/my-learning/index.js.map +1 -1
  116. package/es/template/my-learning/style.css +9 -6
  117. package/es/template/skill-detail/all-courses.css +3 -2
  118. package/es/template/skill-detail/all-courses.d.ts +52 -17
  119. package/es/template/skill-detail/all-courses.d.ts.map +1 -1
  120. package/es/template/skill-detail/all-courses.js +12 -11
  121. package/es/template/skill-detail/all-courses.js.map +1 -1
  122. package/es/template/skill-detail/continue-learning.css +7 -2
  123. package/es/template/skill-detail/continue-learning.d.ts +25 -12
  124. package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
  125. package/es/template/skill-detail/continue-learning.js.map +1 -1
  126. package/es/template/skill-detail/index.d.ts +81 -71
  127. package/es/template/skill-detail/index.d.ts.map +1 -1
  128. package/es/template/skill-detail/index.js +91 -58
  129. package/es/template/skill-detail/index.js.map +1 -1
  130. package/es/template/skill-detail/style.css +97 -39
  131. package/es/variables/colors.css +10 -1
  132. package/es/variables/colors.d.ts +13 -3
  133. package/es/variables/colors.d.ts.map +1 -1
  134. package/es/variables/colors.js +13 -3
  135. package/es/variables/colors.js.map +1 -1
  136. package/es/variables/theme.native.js +1 -1
  137. package/es/variables/theme.native.js.map +1 -1
  138. package/lib/atom/button-link/index.js +1 -1
  139. package/lib/atom/button-link/index.js.map +1 -1
  140. package/lib/atom/button-link/style.css +2 -2
  141. package/lib/atom/icon/index.d.ts +35 -17
  142. package/lib/atom/icon/index.d.ts.map +1 -1
  143. package/lib/atom/icon/index.js +34 -18
  144. package/lib/atom/icon/index.js.map +1 -1
  145. package/lib/atom/radio-with-title/index.d.ts +13 -3
  146. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  147. package/lib/atom/radio-with-title/types.d.ts +13 -2
  148. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  149. package/lib/atom/status-item/index.native.js +1 -1
  150. package/lib/atom/status-item/index.native.js.map +1 -1
  151. package/lib/atom/tag/index.d.ts +12 -1
  152. package/lib/atom/tag/style.css +1 -0
  153. package/lib/atom/title/index.d.ts +13 -2
  154. package/lib/molecule/banner/style.css +1 -0
  155. package/lib/molecule/base-modal/style.css +0 -1
  156. package/lib/molecule/bulk-progress-bar/index.js +2 -2
  157. package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
  158. package/lib/molecule/certification-card/index.js +1 -1
  159. package/lib/molecule/certification-card/index.js.map +1 -1
  160. package/lib/molecule/cm-popin/types.d.ts +28 -7
  161. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  162. package/lib/molecule/cm-popin/types.js +1 -1
  163. package/lib/molecule/cm-popin/types.js.map +1 -1
  164. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  165. package/lib/molecule/dashboard/cards-list/index.js +2 -0
  166. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  167. package/lib/molecule/learner-skill-card/index.d.ts +25 -40
  168. package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
  169. package/lib/molecule/learner-skill-card/index.js +98 -96
  170. package/lib/molecule/learner-skill-card/index.js.map +1 -1
  171. package/lib/molecule/learner-skill-card/prop-types.d.ts +37 -0
  172. package/lib/molecule/learner-skill-card/prop-types.d.ts.map +1 -0
  173. package/lib/molecule/learner-skill-card/prop-types.js +25 -0
  174. package/lib/molecule/learner-skill-card/prop-types.js.map +1 -0
  175. package/lib/molecule/learner-skill-card/style.css +62 -41
  176. package/lib/molecule/learning-priority-modal/style.css +3 -2
  177. package/lib/molecule/progress-wrapper/index.js +1 -1
  178. package/lib/molecule/progress-wrapper/index.js.map +1 -1
  179. package/lib/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  180. package/lib/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  181. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +13 -2
  182. package/lib/molecule/title-radio-wrapper/index.d.ts +13 -3
  183. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  184. package/lib/molecule/title-radio-wrapper/types.d.ts +13 -2
  185. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  186. package/lib/organism/cards-grid/index.d.ts +48 -10
  187. package/lib/organism/cards-grid/index.d.ts.map +1 -1
  188. package/lib/organism/cards-grid/index.js +3 -2
  189. package/lib/organism/cards-grid/index.js.map +1 -1
  190. package/lib/organism/content-skill-modal/index.d.ts +13 -3
  191. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  192. package/lib/organism/content-skill-modal/types.d.ts +12 -2
  193. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  194. package/lib/organism/header-with-actions/index.d.ts +8 -22
  195. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  196. package/lib/organism/header-with-actions/index.js +7 -85
  197. package/lib/organism/header-with-actions/index.js.map +1 -1
  198. package/lib/organism/header-with-actions/types.d.ts +13 -44
  199. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  200. package/lib/organism/header-with-actions/types.js +6 -22
  201. package/lib/organism/header-with-actions/types.js.map +1 -1
  202. package/lib/organism/list-item/index.js +5 -5
  203. package/lib/organism/list-item/index.js.map +1 -1
  204. package/lib/organism/list-item/style.css +23 -17
  205. package/lib/organism/list-items/index.d.ts +13 -2
  206. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  207. package/lib/organism/mooc-header/index.js +8 -6
  208. package/lib/organism/mooc-header/index.js.map +1 -1
  209. package/lib/organism/mooc-header/style.css +22 -18
  210. package/lib/organism/rewards-form/index.d.ts +13 -2
  211. package/lib/organism/select-opponents/index.d.ts +13 -3
  212. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  213. package/lib/organism/select-opponents/types.d.ts +13 -2
  214. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  215. package/lib/organism/sidebar/index.d.ts +2 -2
  216. package/lib/organism/skill-edition/index.d.ts +37 -7
  217. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  218. package/lib/organism/skill-edition/types.d.ts +37 -6
  219. package/lib/organism/skill-edition/types.d.ts.map +1 -1
  220. package/lib/organism/title-and-input/index.d.ts +25 -5
  221. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  222. package/lib/organism/title-and-input/types.d.ts +24 -4
  223. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  224. package/lib/organism/wizard-contents/index.d.ts +13 -2
  225. package/lib/template/app-player/loading/index.d.ts +27 -6
  226. package/lib/template/app-player/player/index.d.ts +53 -12
  227. package/lib/template/app-player/player/slides/index.d.ts +27 -6
  228. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  229. package/lib/template/app-player/popin-correction/index.d.ts +26 -6
  230. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  231. package/lib/template/app-player/popin-end/index.d.ts +27 -6
  232. package/lib/template/app-review/index.d.ts +27 -7
  233. package/lib/template/app-review/index.d.ts.map +1 -1
  234. package/lib/template/app-review/player/prop-types.d.ts +27 -6
  235. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  236. package/lib/template/app-review/prop-types.d.ts +27 -6
  237. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  238. package/lib/template/back-office/brand-update/index.d.ts +95 -38
  239. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  240. package/lib/template/back-office/brand-update/index.js +2 -4
  241. package/lib/template/back-office/brand-update/index.js.map +1 -1
  242. package/lib/template/back-office/brand-update/style.css +1 -4
  243. package/lib/template/back-office/brand-update/utils.d.ts +11 -39
  244. package/lib/template/back-office/brand-update/utils.js +0 -19
  245. package/lib/template/back-office/brand-update/utils.js.map +1 -1
  246. package/lib/template/common/dashboard/index.d.ts +53 -12
  247. package/lib/template/common/search-page/index.d.ts +27 -6
  248. package/lib/template/external-course/index.d.ts +27 -6
  249. package/lib/template/my-learning/index.d.ts +0 -1
  250. package/lib/template/my-learning/index.d.ts.map +1 -1
  251. package/lib/template/my-learning/index.js +26 -22
  252. package/lib/template/my-learning/index.js.map +1 -1
  253. package/lib/template/my-learning/style.css +9 -6
  254. package/lib/template/skill-detail/all-courses.css +3 -2
  255. package/lib/template/skill-detail/all-courses.d.ts +52 -17
  256. package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
  257. package/lib/template/skill-detail/all-courses.js +11 -11
  258. package/lib/template/skill-detail/all-courses.js.map +1 -1
  259. package/lib/template/skill-detail/continue-learning.css +7 -2
  260. package/lib/template/skill-detail/continue-learning.d.ts +25 -12
  261. package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
  262. package/lib/template/skill-detail/continue-learning.js.map +1 -1
  263. package/lib/template/skill-detail/index.d.ts +81 -71
  264. package/lib/template/skill-detail/index.d.ts.map +1 -1
  265. package/lib/template/skill-detail/index.js +91 -58
  266. package/lib/template/skill-detail/index.js.map +1 -1
  267. package/lib/template/skill-detail/style.css +97 -39
  268. package/lib/variables/colors.css +10 -1
  269. package/lib/variables/colors.d.ts +13 -3
  270. package/lib/variables/colors.d.ts.map +1 -1
  271. package/lib/variables/colors.js +13 -3
  272. package/lib/variables/colors.js.map +1 -1
  273. package/lib/variables/theme.native.js +1 -1
  274. package/lib/variables/theme.native.js.map +1 -1
  275. package/locales/cs/global.json +1 -0
  276. package/locales/en/global.json +1 -0
  277. package/locales/hr/global.json +1 -0
  278. package/locales/it/global.json +1 -0
  279. package/locales/ko/global.json +1 -0
  280. package/locales/ru/global.json +1 -0
  281. package/package.json +2 -2
  282. package/locales/.mtslconfig.json +0 -1
@@ -19,7 +19,7 @@ declare namespace Dashboard {
19
19
  'data-name': PropTypes.Requireable<string>;
20
20
  titleSize: PropTypes.Requireable<string>;
21
21
  subtitleSize: PropTypes.Requireable<string>;
22
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
22
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
23
23
  tag: PropTypes.Requireable<PropTypes.InferProps<{
24
24
  label: PropTypes.Requireable<string>;
25
25
  type: PropTypes.Requireable<string>;
@@ -27,7 +27,17 @@ declare namespace Dashboard {
27
27
  customStyle: PropTypes.Requireable<{
28
28
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
29
29
  }>;
30
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
30
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
31
+ position: PropTypes.Requireable<string>;
32
+ iconName?: React.Validator<string> | undefined;
33
+ iconColor?: React.Validator<string | null | undefined> | undefined;
34
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
35
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
36
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
37
+ preset?: React.Validator<string | null | undefined> | undefined;
38
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
39
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
40
+ }>>;
31
41
  }>>;
32
42
  button: PropTypes.Requireable<PropTypes.InferProps<{
33
43
  type: PropTypes.Requireable<string>;
@@ -114,8 +124,8 @@ declare namespace Dashboard {
114
124
  borderRadius: PropTypes.Requireable<string>;
115
125
  preset: PropTypes.Requireable<string>;
116
126
  size: PropTypes.Requireable<PropTypes.InferProps<{
117
- faSize: PropTypes.Requireable<number>;
118
- wrapperSize: PropTypes.Requireable<number>;
127
+ faSize: PropTypes.Validator<number>;
128
+ wrapperSize: PropTypes.Validator<number>;
119
129
  }>>;
120
130
  customStyle: PropTypes.Requireable<{
121
131
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -553,7 +563,7 @@ declare namespace Dashboard {
553
563
  'data-name': PropTypes.Requireable<string>;
554
564
  titleSize: PropTypes.Requireable<string>;
555
565
  subtitleSize: PropTypes.Requireable<string>;
556
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
566
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
557
567
  tag: PropTypes.Requireable<PropTypes.InferProps<{
558
568
  label: PropTypes.Requireable<string>;
559
569
  type: PropTypes.Requireable<string>;
@@ -561,7 +571,17 @@ declare namespace Dashboard {
561
571
  customStyle: PropTypes.Requireable<{
562
572
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
563
573
  }>;
564
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
574
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
575
+ position: PropTypes.Requireable<string>;
576
+ iconName?: React.Validator<string> | undefined;
577
+ iconColor?: React.Validator<string | null | undefined> | undefined;
578
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
579
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
580
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
581
+ preset?: React.Validator<string | null | undefined> | undefined;
582
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
583
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
584
+ }>>;
565
585
  }>>;
566
586
  button: PropTypes.Requireable<PropTypes.InferProps<{
567
587
  type: PropTypes.Requireable<string>;
@@ -776,7 +796,7 @@ declare namespace Dashboard {
776
796
  'data-name': PropTypes.Requireable<string>;
777
797
  titleSize: PropTypes.Requireable<string>;
778
798
  subtitleSize: PropTypes.Requireable<string>;
779
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
799
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
780
800
  tag: PropTypes.Requireable<PropTypes.InferProps<{
781
801
  label: PropTypes.Requireable<string>;
782
802
  type: PropTypes.Requireable<string>;
@@ -784,7 +804,17 @@ declare namespace Dashboard {
784
804
  customStyle: PropTypes.Requireable<{
785
805
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
786
806
  }>;
787
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
807
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
808
+ position: PropTypes.Requireable<string>;
809
+ iconName?: React.Validator<string> | undefined;
810
+ iconColor?: React.Validator<string | null | undefined> | undefined;
811
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
812
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
813
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
814
+ preset?: React.Validator<string | null | undefined> | undefined;
815
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
816
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
817
+ }>>;
788
818
  }>>;
789
819
  button: PropTypes.Requireable<PropTypes.InferProps<{
790
820
  type: PropTypes.Requireable<string>;
@@ -871,8 +901,8 @@ declare namespace Dashboard {
871
901
  borderRadius: PropTypes.Requireable<string>;
872
902
  preset: PropTypes.Requireable<string>;
873
903
  size: PropTypes.Requireable<PropTypes.InferProps<{
874
- faSize: PropTypes.Requireable<number>;
875
- wrapperSize: PropTypes.Requireable<number>;
904
+ faSize: PropTypes.Validator<number>;
905
+ wrapperSize: PropTypes.Validator<number>;
876
906
  }>>;
877
907
  customStyle: PropTypes.Requireable<{
878
908
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -1310,7 +1340,7 @@ declare namespace Dashboard {
1310
1340
  'data-name': PropTypes.Requireable<string>;
1311
1341
  titleSize: PropTypes.Requireable<string>;
1312
1342
  subtitleSize: PropTypes.Requireable<string>;
1313
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1343
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
1314
1344
  tag: PropTypes.Requireable<PropTypes.InferProps<{
1315
1345
  label: PropTypes.Requireable<string>;
1316
1346
  type: PropTypes.Requireable<string>;
@@ -1318,7 +1348,17 @@ declare namespace Dashboard {
1318
1348
  customStyle: PropTypes.Requireable<{
1319
1349
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1320
1350
  }>;
1321
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1351
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
1352
+ position: PropTypes.Requireable<string>;
1353
+ iconName?: React.Validator<string> | undefined;
1354
+ iconColor?: React.Validator<string | null | undefined> | undefined;
1355
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
1356
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
1357
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
1358
+ preset?: React.Validator<string | null | undefined> | undefined;
1359
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
1360
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
1361
+ }>>;
1322
1362
  }>>;
1323
1363
  button: PropTypes.Requireable<PropTypes.InferProps<{
1324
1364
  type: PropTypes.Requireable<string>;
@@ -1521,4 +1561,5 @@ declare namespace Dashboard {
1521
1561
  };
1522
1562
  }
1523
1563
  import PropTypes from "prop-types";
1564
+ import React from "react";
1524
1565
  //# sourceMappingURL=index.d.ts.map
@@ -200,7 +200,7 @@ declare namespace SearchPage {
200
200
  'data-name': PropTypes.Requireable<string>;
201
201
  titleSize: PropTypes.Requireable<string>;
202
202
  subtitleSize: PropTypes.Requireable<string>;
203
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
203
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
204
204
  tag: PropTypes.Requireable<PropTypes.InferProps<{
205
205
  label: PropTypes.Requireable<string>;
206
206
  type: PropTypes.Requireable<string>;
@@ -208,7 +208,17 @@ declare namespace SearchPage {
208
208
  customStyle: PropTypes.Requireable<{
209
209
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
210
210
  }>;
211
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
211
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
212
+ position: PropTypes.Requireable<string>;
213
+ iconName?: React.Validator<string> | undefined;
214
+ iconColor?: React.Validator<string | null | undefined> | undefined;
215
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
216
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
217
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
218
+ preset?: React.Validator<string | null | undefined> | undefined;
219
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
220
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
221
+ }>>;
212
222
  }>>;
213
223
  button: PropTypes.Requireable<PropTypes.InferProps<{
214
224
  type: PropTypes.Requireable<string>;
@@ -295,8 +305,8 @@ declare namespace SearchPage {
295
305
  borderRadius: PropTypes.Requireable<string>;
296
306
  preset: PropTypes.Requireable<string>;
297
307
  size: PropTypes.Requireable<PropTypes.InferProps<{
298
- faSize: PropTypes.Requireable<number>;
299
- wrapperSize: PropTypes.Requireable<number>;
308
+ faSize: PropTypes.Validator<number>;
309
+ wrapperSize: PropTypes.Validator<number>;
300
310
  }>>;
301
311
  customStyle: PropTypes.Requireable<{
302
312
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -734,7 +744,7 @@ declare namespace SearchPage {
734
744
  'data-name': PropTypes.Requireable<string>;
735
745
  titleSize: PropTypes.Requireable<string>;
736
746
  subtitleSize: PropTypes.Requireable<string>;
737
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
747
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
738
748
  tag: PropTypes.Requireable<PropTypes.InferProps<{
739
749
  label: PropTypes.Requireable<string>;
740
750
  type: PropTypes.Requireable<string>;
@@ -742,7 +752,17 @@ declare namespace SearchPage {
742
752
  customStyle: PropTypes.Requireable<{
743
753
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
744
754
  }>;
745
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
755
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
756
+ position: PropTypes.Requireable<string>;
757
+ iconName?: React.Validator<string> | undefined;
758
+ iconColor?: React.Validator<string | null | undefined> | undefined;
759
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
760
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
761
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
762
+ preset?: React.Validator<string | null | undefined> | undefined;
763
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
764
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
765
+ }>>;
746
766
  }>>;
747
767
  button: PropTypes.Requireable<PropTypes.InferProps<{
748
768
  type: PropTypes.Requireable<string>;
@@ -945,4 +965,5 @@ declare namespace SearchPage {
945
965
  }
946
966
  }
947
967
  import PropTypes from "prop-types";
968
+ import React from "react";
948
969
  //# sourceMappingURL=index.d.ts.map
@@ -37,7 +37,7 @@ declare namespace ExternalCourse {
37
37
  'data-name': PropTypes.Requireable<string>;
38
38
  titleSize: PropTypes.Requireable<string>;
39
39
  subtitleSize: PropTypes.Requireable<string>;
40
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
40
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
41
41
  tag: PropTypes.Requireable<PropTypes.InferProps<{
42
42
  label: PropTypes.Requireable<string>;
43
43
  type: PropTypes.Requireable<string>;
@@ -45,7 +45,17 @@ declare namespace ExternalCourse {
45
45
  customStyle: PropTypes.Requireable<{
46
46
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
47
47
  }>;
48
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
48
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
49
+ position: PropTypes.Requireable<string>;
50
+ iconName?: React.Validator<string> | undefined;
51
+ iconColor?: React.Validator<string | null | undefined> | undefined;
52
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
53
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
54
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
55
+ preset?: React.Validator<string | null | undefined> | undefined;
56
+ size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
57
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
58
+ }>>;
49
59
  }>>;
50
60
  button: PropTypes.Requireable<PropTypes.InferProps<{
51
61
  type: PropTypes.Requireable<string>;
@@ -132,8 +142,8 @@ declare namespace ExternalCourse {
132
142
  borderRadius: PropTypes.Requireable<string>;
133
143
  preset: PropTypes.Requireable<string>;
134
144
  size: PropTypes.Requireable<PropTypes.InferProps<{
135
- faSize: PropTypes.Requireable<number>;
136
- wrapperSize: PropTypes.Requireable<number>;
145
+ faSize: PropTypes.Validator<number>;
146
+ wrapperSize: PropTypes.Validator<number>;
137
147
  }>>;
138
148
  customStyle: PropTypes.Requireable<{
139
149
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -571,7 +581,7 @@ declare namespace ExternalCourse {
571
581
  'data-name': PropTypes.Requireable<string>;
572
582
  titleSize: PropTypes.Requireable<string>;
573
583
  subtitleSize: PropTypes.Requireable<string>;
574
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
584
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
575
585
  tag: PropTypes.Requireable<PropTypes.InferProps<{
576
586
  label: PropTypes.Requireable<string>;
577
587
  type: PropTypes.Requireable<string>;
@@ -579,7 +589,17 @@ declare namespace ExternalCourse {
579
589
  customStyle: PropTypes.Requireable<{
580
590
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
581
591
  }>;
582
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
592
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
593
+ position: PropTypes.Requireable<string>;
594
+ iconName?: React.Validator<string> | undefined;
595
+ iconColor?: React.Validator<string | null | undefined> | undefined;
596
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
597
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
598
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
599
+ preset?: React.Validator<string | null | undefined> | undefined;
600
+ size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
601
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
602
+ }>>;
583
603
  }>>;
584
604
  button: PropTypes.Requireable<PropTypes.InferProps<{
585
605
  type: PropTypes.Requireable<string>;
@@ -805,4 +825,5 @@ declare namespace ExternalCourse {
805
825
  }
806
826
  }
807
827
  import PropTypes from "prop-types";
828
+ import React from "react";
808
829
  //# sourceMappingURL=index.d.ts.map
@@ -46,7 +46,6 @@ declare namespace MyLearning {
46
46
  const learnerFeature: PropTypes.Requireable<boolean>;
47
47
  const isLoading: PropTypes.Requireable<boolean>;
48
48
  const onSkillFocusConfirm: PropTypes.Requireable<(...args: any[]) => any>;
49
- const onReviewSkill: PropTypes.Requireable<(...args: any[]) => any>;
50
49
  const onExploreSkill: PropTypes.Requireable<(...args: any[]) => any>;
51
50
  const learningPriorities: PropTypes.Requireable<PropTypes.InferProps<{
52
51
  contentType: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAgHA,mEA+ZC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAmHA,mEAwZC"}
@@ -30,11 +30,13 @@ var _searchValueIncluded = _interopRequireDefault(require("../../util/search-val
30
30
  var _timeFormat = require("../../util/time-format");
31
31
  var _cardsList = _interopRequireDefault(require("../../molecule/dashboard/cards-list"));
32
32
  var _title = _interopRequireDefault(require("../../atom/title"));
33
+ var _colors = require("../../variables/colors");
33
34
  var _style = _interopRequireDefault(require("./style.css"));
34
35
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
35
36
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
36
37
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
37
38
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
39
+ const roundScore = value => Math.round(value * 10) / 10;
38
40
  const ChangeSkillFocusButton = (props, context) => {
39
41
  const {
40
42
  onClick
@@ -53,7 +55,7 @@ const ChangeSkillFocusButton = (props, context) => {
53
55
  transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
54
56
  },
55
57
  hoverBackgroundColor: primarySkinColor,
56
- hoverColor: "#FFFFFF",
58
+ hoverColor: _colors.COLORS.white,
57
59
  onClick: onClick,
58
60
  label: translate('skills_change_focus'),
59
61
  "data-name": "change-skill-focus-button",
@@ -89,14 +91,14 @@ const FilterButton = (props, context) => {
89
91
  const Content = (0, _react.useCallback)(() => /*#__PURE__*/_react.default.createElement("div", null, filter, /*#__PURE__*/_react.default.createElement("span", {
90
92
  className: active ? _style.default.skillFilterNumber : _style.default.skillFilterNumberInActive,
91
93
  style: {
92
- backgroundColor: active ? (0, _cssColorFunction.convert)(`color(${primarySkinColor} a(0.07))`) : '#EAEAEB',
93
- color: active ? primarySkinColor : '#515161'
94
+ backgroundColor: active ? (0, _cssColorFunction.convert)(`color(${primarySkinColor} a(0.07))`) : _colors.COLORS.gray,
95
+ color: active ? primarySkinColor : _colors.COLORS.cm_grey_500
94
96
  }
95
97
  }, skillTotal)), [filter, skillTotal, active, primarySkinColor]);
96
98
  const buttonProps = {
97
99
  customStyle: {
98
- backgroundColor: active ? (0, _cssColorFunction.convert)(`color(${primarySkinColor} a(0.07))`) : '#FFFFFF',
99
- color: active ? primarySkinColor : '#9999A8',
100
+ backgroundColor: active ? (0, _cssColorFunction.convert)(`color(${primarySkinColor} a(0.07))`) : _colors.COLORS.white,
101
+ color: active ? primarySkinColor : _colors.COLORS.cm_grey_400,
100
102
  transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out',
101
103
  width: 'fit-content'
102
104
  },
@@ -125,7 +127,6 @@ const MyLearning = (props, context) => {
125
127
  learnerFeature = true,
126
128
  isLoading,
127
129
  onSkillFocusConfirm,
128
- onReviewSkill,
129
130
  onExploreSkill,
130
131
  learningPriorities
131
132
  } = props;
@@ -143,7 +144,7 @@ const MyLearning = (props, context) => {
143
144
  const skillsReviewReady = (0, _react.useMemo)(() => {
144
145
  return searchResults.filter(skill => skillsInformation[skill] ? skillsInformation[skill].availableForReview : false);
145
146
  }, [searchResults, skillsInformation]);
146
- const graphDatas = (0, _react.useMemo)(() => (0, _pipe2.default)((0, _map2.default)(skill => [skill, (0, _getOr2.default)(0, [skill, 'stats', 'score'], skillsInformation).toFixed(1)]), _fromPairs2.default)(selectedSkillsList), [selectedSkillsList, skillsInformation]);
147
+ const graphDatas = (0, _react.useMemo)(() => (0, _pipe2.default)((0, _map2.default)(skill => [skill, roundScore((0, _getOr2.default)(0, [skill, 'stats', 'score'], skillsInformation))]), _fromPairs2.default)(selectedSkillsList), [selectedSkillsList, skillsInformation]);
147
148
  const graphLegends = (0, _react.useMemo)(() => (0, _pipe2.default)((0, _map2.default)(skill => [skill, skillsLocales[skill]]), _fromPairs2.default)(selectedSkillsList), [selectedSkillsList, skillsLocales]);
148
149
  const filters = (0, _react.useMemo)(() => {
149
150
  return {
@@ -167,7 +168,7 @@ const MyLearning = (props, context) => {
167
168
  legend: skillChartPaneLegends,
168
169
  icon: {
169
170
  iconName: 'book-open-cover',
170
- backgroundColor: '#D9F4F7'
171
+ backgroundColor: _colors.COLORS.turquoise_100
171
172
  }
172
173
  }, {
173
174
  title: translate('skill_chart_side_panel_learning_hours'),
@@ -175,7 +176,7 @@ const MyLearning = (props, context) => {
175
176
  legend: skillChartPaneLegends,
176
177
  icon: {
177
178
  iconName: 'clock',
178
- backgroundColor: '#FAD6DE'
179
+ backgroundColor: _colors.COLORS.pink_100
179
180
  }
180
181
  }, {
181
182
  title: translate('skill_chart_side_panel_questions_to_review'),
@@ -183,7 +184,7 @@ const MyLearning = (props, context) => {
183
184
  legend: skillChartPaneLegends,
184
185
  icon: {
185
186
  iconName: 'circle-question',
186
- backgroundColor: '#FFDCD1'
187
+ backgroundColor: _colors.COLORS.orange_100
187
188
  }
188
189
  }];
189
190
  const skillsScore = (0, _react.useMemo)(() => (0, _pipe2.default)((0, _map2.default)(skill => [skill, (0, _getOr2.default)(0, [skill, 'stats', 'score'], skillsInformation)]), _fromPairs2.default)(skills), [skills, skillsInformation]);
@@ -217,9 +218,9 @@ const MyLearning = (props, context) => {
217
218
  subtitle: translate('learning_priorities_description'),
218
219
  icon: {
219
220
  iconName: 'sign-post',
220
- iconColor: '#A32700',
221
+ iconColor: _colors.COLORS.cm_orange_800,
221
222
  borderRadius: '12px',
222
- backgroundColor: '#FFDCD1'
223
+ backgroundColor: _colors.COLORS.orange_100
223
224
  },
224
225
  tag: {
225
226
  label: `${(0, _size2.default)(learningPriorities.cards)}`,
@@ -250,7 +251,7 @@ const MyLearning = (props, context) => {
250
251
  className: _style.default.skillFocusHeaderIcon
251
252
  }, /*#__PURE__*/_react.default.createElement(_icon.default, {
252
253
  iconName: "bullseye-arrow",
253
- backgroundColor: "#DDD1FF",
254
+ backgroundColor: _colors.COLORS.purple_100,
254
255
  borderRadius: "12px",
255
256
  size: {
256
257
  faSize: 20,
@@ -318,7 +319,7 @@ const MyLearning = (props, context) => {
318
319
  className: _style.default.skillListHeaderIcon
319
320
  }, /*#__PURE__*/_react.default.createElement(_icon.default, {
320
321
  iconName: "dumbbell",
321
- backgroundColor: "#FFF9D1",
322
+ backgroundColor: _colors.COLORS.yellow_100,
322
323
  size: {
323
324
  faSize: 20,
324
325
  wrapperSize: 48
@@ -373,7 +374,7 @@ const MyLearning = (props, context) => {
373
374
  onClick: handleSearchReset
374
375
  }, translate('empty_search_result_clear_search'))) : /*#__PURE__*/_react.default.createElement("div", {
375
376
  className: _style.default.skillListContainer
376
- }, activeFilter === 'review_mode_available' && filters[activeFilter].length === 0 ? /*#__PURE__*/_react.default.createElement("div", {
377
+ }, activeFilter === 'review' && filters[activeFilter].length === 0 ? /*#__PURE__*/_react.default.createElement("div", {
377
378
  className: _style.default.skillListEmptyContainer
378
379
  }, /*#__PURE__*/_react.default.createElement(_reviewNoSkills.default, {
379
380
  titleNoSkills: translate('review_skill_empty'),
@@ -387,9 +388,6 @@ const MyLearning = (props, context) => {
387
388
  contentCompleted: 0,
388
389
  questionsToReview: 0
389
390
  };
390
- function handleReviewSkill() {
391
- onReviewSkill(skill);
392
- }
393
391
  function handleExploreSkill() {
394
392
  onExploreSkill(skill);
395
393
  }
@@ -398,18 +396,25 @@ const MyLearning = (props, context) => {
398
396
  content,
399
397
  questionsToReview
400
398
  } = skillsInformation[skill] ? skillsInformation[skill].stats : defaultStats;
399
+ const {
400
+ color,
401
+ name
402
+ } = (0, _get2.default)([skill, 'icon'], skillsInformation);
401
403
  return /*#__PURE__*/_react.default.createElement("div", {
402
404
  key: index
403
405
  }, /*#__PURE__*/_react.default.createElement(_learnerSkillCard.default, {
404
406
  skillTitle: skillsLocales[skill],
407
+ cardIndex: index,
405
408
  focus: selectedSkills.includes(skill),
406
409
  metrics: {
407
- score: score.toFixed(1),
410
+ score,
408
411
  content,
409
412
  questionsToReview
410
413
  },
411
- review: skillsInformation[skill] ? skillsInformation[skill].availableForReview : false,
412
- onReviewClick: handleReviewSkill,
414
+ icon: {
415
+ color,
416
+ name
417
+ },
413
418
  onExploreClick: handleExploreSkill
414
419
  }));
415
420
  }))));
@@ -435,7 +440,6 @@ MyLearning.propTypes = process.env.NODE_ENV !== "production" ? {
435
440
  learnerFeature: _propTypes.default.bool,
436
441
  isLoading: _propTypes.default.bool,
437
442
  onSkillFocusConfirm: _propTypes.default.func,
438
- onReviewSkill: _propTypes.default.func,
439
443
  onExploreSkill: _propTypes.default.func,
440
444
  learningPriorities: _propTypes.default.shape(_cardsList.default.propTypes)
441
445
  } : {};