@coorpacademy/components 11.9.3-alpha.25.24 → 11.9.3-alpha.29

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 (1553) hide show
  1. package/es/atom/autocomplete/index.js +0 -3
  2. package/es/atom/autocomplete/index.js.map +1 -1
  3. package/es/atom/avatar/index.js +0 -2
  4. package/es/atom/avatar/index.js.map +1 -1
  5. package/es/atom/button/index.js +0 -8
  6. package/es/atom/button/index.js.map +1 -1
  7. package/es/atom/button/index.native.d.ts +1 -1
  8. package/es/atom/button/index.native.d.ts.map +1 -1
  9. package/es/atom/button/index.native.js +0 -4
  10. package/es/atom/button/index.native.js.map +1 -1
  11. package/es/atom/button-link/index.js +0 -10
  12. package/es/atom/button-link/index.js.map +1 -1
  13. package/es/atom/button-link-icon-only/index.js +0 -12
  14. package/es/atom/button-link-icon-only/index.js.map +1 -1
  15. package/es/atom/button-menu/index.js +0 -5
  16. package/es/atom/button-menu/index.js.map +1 -1
  17. package/es/atom/card-image-preview/index.js +0 -3
  18. package/es/atom/card-image-preview/index.js.map +1 -1
  19. package/es/atom/catalog-section/index.js +0 -2
  20. package/es/atom/catalog-section/index.js.map +1 -1
  21. package/es/atom/centered-text/index.js +0 -2
  22. package/es/atom/centered-text/index.js.map +1 -1
  23. package/es/atom/checkbox/index.js +5 -11
  24. package/es/atom/checkbox/index.js.map +1 -1
  25. package/es/atom/checkbox-with-title/index.js +0 -4
  26. package/es/atom/checkbox-with-title/index.js.map +1 -1
  27. package/es/atom/chips/index.js +0 -2
  28. package/es/atom/chips/index.js.map +1 -1
  29. package/es/atom/choice/index.native.d.ts +1 -1
  30. package/es/atom/choice/index.native.d.ts.map +1 -1
  31. package/es/atom/choice/index.native.js +2 -12
  32. package/es/atom/choice/index.native.js.map +1 -1
  33. package/es/atom/clue/index.js +0 -14
  34. package/es/atom/clue/index.js.map +1 -1
  35. package/es/atom/content-badge/index.js +0 -2
  36. package/es/atom/content-badge/index.js.map +1 -1
  37. package/es/atom/cta/index.js +0 -13
  38. package/es/atom/cta/index.js.map +1 -1
  39. package/es/atom/difficulty-level/index.js +0 -7
  40. package/es/atom/difficulty-level/index.js.map +1 -1
  41. package/es/atom/drag-and-drop/index.js +0 -15
  42. package/es/atom/drag-and-drop/index.js.map +1 -1
  43. package/es/atom/empty-search-result/index.js +0 -2
  44. package/es/atom/empty-search-result/index.js.map +1 -1
  45. package/es/atom/gradient/index.native.d.ts +1 -1
  46. package/es/atom/gradient/index.native.d.ts.map +1 -1
  47. package/es/atom/gradient/index.native.js +0 -7
  48. package/es/atom/gradient/index.native.js.map +1 -1
  49. package/es/atom/header-back-button/index.native.d.ts +1 -1
  50. package/es/atom/header-back-button/index.native.d.ts.map +1 -1
  51. package/es/atom/header-back-button/index.native.js +0 -6
  52. package/es/atom/header-back-button/index.native.js.map +1 -1
  53. package/es/atom/header-back-icon/index.native.d.ts +1 -1
  54. package/es/atom/header-back-icon/index.native.d.ts.map +1 -1
  55. package/es/atom/header-back-icon/index.native.js +0 -2
  56. package/es/atom/header-back-icon/index.native.js.map +1 -1
  57. package/es/atom/html/index.native.d.ts +1 -1
  58. package/es/atom/html/index.native.d.ts.map +1 -1
  59. package/es/atom/html/index.native.js +6 -12
  60. package/es/atom/html/index.native.js.map +1 -1
  61. package/es/atom/image-background/index.native.d.ts +1 -1
  62. package/es/atom/image-background/index.native.d.ts.map +1 -1
  63. package/es/atom/image-background/index.native.js +11 -24
  64. package/es/atom/image-background/index.native.js.map +1 -1
  65. package/es/atom/image-upload/index.js +0 -6
  66. package/es/atom/image-upload/index.js.map +1 -1
  67. package/es/atom/input-checkbox/index.js +0 -4
  68. package/es/atom/input-checkbox/index.js.map +1 -1
  69. package/es/atom/input-color/index.js +0 -2
  70. package/es/atom/input-color/index.js.map +1 -1
  71. package/es/atom/input-doublestep/index.js +0 -14
  72. package/es/atom/input-doublestep/index.js.map +1 -1
  73. package/es/atom/input-html/index.js +0 -9
  74. package/es/atom/input-html/index.js.map +1 -1
  75. package/es/atom/input-html/input-preview.js +2 -3
  76. package/es/atom/input-html/input-preview.js.map +1 -1
  77. package/es/atom/input-readonly/index.js +0 -2
  78. package/es/atom/input-readonly/index.js.map +1 -1
  79. package/es/atom/input-search/index.js +0 -2
  80. package/es/atom/input-search/index.js.map +1 -1
  81. package/es/atom/input-switch/index.js +0 -8
  82. package/es/atom/input-switch/index.js.map +1 -1
  83. package/es/atom/input-text/index.js +2 -3
  84. package/es/atom/input-text/index.js.map +1 -1
  85. package/es/atom/input-text-with-title/index.js +0 -3
  86. package/es/atom/input-text-with-title/index.js.map +1 -1
  87. package/es/atom/input-textarea/index.js +2 -3
  88. package/es/atom/input-textarea/index.js.map +1 -1
  89. package/es/atom/label/index.js +0 -2
  90. package/es/atom/label/index.js.map +1 -1
  91. package/es/atom/life/index.js +0 -7
  92. package/es/atom/life/index.js.map +1 -1
  93. package/es/atom/link/index.js +7 -24
  94. package/es/atom/link/index.js.map +1 -1
  95. package/es/atom/loader/index.js +0 -2
  96. package/es/atom/loader/index.js.map +1 -1
  97. package/es/atom/loader/index.native.d.ts +1 -1
  98. package/es/atom/loader/index.native.d.ts.map +1 -1
  99. package/es/atom/loader/index.native.js +2 -12
  100. package/es/atom/loader/index.native.js.map +1 -1
  101. package/es/atom/lottie-wrapper/index.js +3 -11
  102. package/es/atom/lottie-wrapper/index.js.map +1 -1
  103. package/es/atom/lottie-wrapper/prop-types.d.ts +1 -1
  104. package/es/atom/lottie-wrapper/prop-types.d.ts.map +1 -1
  105. package/es/atom/lottie-wrapper/prop-types.js.map +1 -1
  106. package/es/atom/notification/index.js +0 -2
  107. package/es/atom/notification/index.js.map +1 -1
  108. package/es/atom/picture/index.js +0 -8
  109. package/es/atom/picture/index.js.map +1 -1
  110. package/es/atom/picture-background/index.js +0 -2
  111. package/es/atom/picture-background/index.js.map +1 -1
  112. package/es/atom/promo-code/index.js +0 -2
  113. package/es/atom/promo-code/index.js.map +1 -1
  114. package/es/atom/provider/index.js +2 -19
  115. package/es/atom/provider/index.js.map +1 -1
  116. package/es/atom/provider/web-context.d.ts +3 -3
  117. package/es/atom/provider/web-context.d.ts.map +1 -1
  118. package/es/atom/provider/web-context.js +5 -12
  119. package/es/atom/provider/web-context.js.map +1 -1
  120. package/es/atom/radio-group/index.js +0 -8
  121. package/es/atom/radio-group/index.js.map +1 -1
  122. package/es/atom/radio-group/item.js +0 -7
  123. package/es/atom/radio-group/item.js.map +1 -1
  124. package/es/atom/range/handle.js +9 -17
  125. package/es/atom/range/handle.js.map +1 -1
  126. package/es/atom/range/index.js +0 -23
  127. package/es/atom/range/index.js.map +1 -1
  128. package/es/atom/resource-miniature/index.js +2 -6
  129. package/es/atom/resource-miniature/index.js.map +1 -1
  130. package/es/atom/review-header-step-item/index.js +0 -8
  131. package/es/atom/review-header-step-item/index.js.map +1 -1
  132. package/es/atom/review-header-step-item/index.native.js +0 -14
  133. package/es/atom/review-header-step-item/index.native.js.map +1 -1
  134. package/es/atom/review-header-step-item/types.d.ts +2 -2
  135. package/es/atom/review-header-step-item/types.d.ts.map +1 -1
  136. package/es/atom/review-header-step-item/types.js.map +1 -1
  137. package/es/atom/review-presentation/index.js +5 -8
  138. package/es/atom/review-presentation/index.js.map +1 -1
  139. package/es/atom/review-presentation/index.native.js +3 -10
  140. package/es/atom/review-presentation/index.native.js.map +1 -1
  141. package/es/atom/review-presentation/prop-types.d.ts +2 -2
  142. package/es/atom/review-presentation/prop-types.d.ts.map +1 -1
  143. package/es/atom/review-presentation/prop-types.js.map +1 -1
  144. package/es/atom/select/index.js +2 -8
  145. package/es/atom/select/index.js.map +1 -1
  146. package/es/atom/select-modal/index.native.d.ts +2 -2
  147. package/es/atom/select-modal/index.native.d.ts.map +1 -1
  148. package/es/atom/select-modal/index.native.js +0 -11
  149. package/es/atom/select-modal/index.native.js.map +1 -1
  150. package/es/atom/slide/index.js +0 -3
  151. package/es/atom/slide/index.js.map +1 -1
  152. package/es/atom/social-link/index.js +0 -2
  153. package/es/atom/social-link/index.js.map +1 -1
  154. package/es/atom/space/index.native.d.ts +1 -1
  155. package/es/atom/space/index.native.d.ts.map +1 -1
  156. package/es/atom/space/index.native.js +0 -2
  157. package/es/atom/space/index.native.js.map +1 -1
  158. package/es/atom/spinner/index.js +0 -2
  159. package/es/atom/spinner/index.js.map +1 -1
  160. package/es/atom/tab/index.js +0 -2
  161. package/es/atom/tab/index.js.map +1 -1
  162. package/es/atom/tab-content/index.js +0 -2
  163. package/es/atom/tab-content/index.js.map +1 -1
  164. package/es/atom/tag/index.js +0 -2
  165. package/es/atom/tag/index.js.map +1 -1
  166. package/es/atom/text/index.native.d.ts +1 -1
  167. package/es/atom/text/index.native.d.ts.map +1 -1
  168. package/es/atom/text/index.native.js +0 -3
  169. package/es/atom/text/index.native.js.map +1 -1
  170. package/es/atom/title/index.js +0 -8
  171. package/es/atom/title/index.js.map +1 -1
  172. package/es/atom/tooltip/index.js +0 -5
  173. package/es/atom/tooltip/index.js.map +1 -1
  174. package/es/atom/video-upload/index.js +0 -3
  175. package/es/atom/video-upload/index.js.map +1 -1
  176. package/es/atom/wizard-steps/index.js +0 -2
  177. package/es/atom/wizard-steps/index.js.map +1 -1
  178. package/es/hoc/animation/index.js +0 -11
  179. package/es/hoc/animation/index.js.map +1 -1
  180. package/es/hoc/animation-scheduler/index.js +0 -18
  181. package/es/hoc/animation-scheduler/index.js.map +1 -1
  182. package/es/hoc/modal/index.native.d.ts +1 -1
  183. package/es/hoc/modal/index.native.d.ts.map +1 -1
  184. package/es/hoc/modal/index.native.js +0 -6
  185. package/es/hoc/modal/index.native.js.map +1 -1
  186. package/es/hoc/modal/select/index.native.d.ts +2 -2
  187. package/es/hoc/modal/select/index.native.d.ts.map +1 -1
  188. package/es/hoc/modal/select/index.native.js +0 -10
  189. package/es/hoc/modal/select/index.native.js.map +1 -1
  190. package/es/hoc/modal/select-item/index.native.d.ts +1 -1
  191. package/es/hoc/modal/select-item/index.native.d.ts.map +1 -1
  192. package/es/hoc/modal/select-item/index.native.js +0 -8
  193. package/es/hoc/modal/select-item/index.native.js.map +1 -1
  194. package/es/hoc/swapper/index.js +4 -14
  195. package/es/hoc/swapper/index.js.map +1 -1
  196. package/es/hoc/touchable/index.native.d.ts +1 -1
  197. package/es/hoc/touchable/index.native.d.ts.map +1 -1
  198. package/es/hoc/touchable/index.native.js +0 -6
  199. package/es/hoc/touchable/index.native.js.map +1 -1
  200. package/es/hoc/transition/index.js +0 -4
  201. package/es/hoc/transition/index.js.map +1 -1
  202. package/es/index.js.map +1 -1
  203. package/es/molecule/add-to-my-list/index.js +0 -7
  204. package/es/molecule/add-to-my-list/index.js.map +1 -1
  205. package/es/molecule/answer/index.d.ts +3 -0
  206. package/es/molecule/answer/index.d.ts.map +1 -1
  207. package/es/molecule/answer/index.js +14 -27
  208. package/es/molecule/answer/index.js.map +1 -1
  209. package/es/molecule/answer/index.native.js +0 -11
  210. package/es/molecule/answer/index.native.js.map +1 -1
  211. package/es/molecule/answer/prop-types.d.ts +3 -3
  212. package/es/molecule/answer/prop-types.d.ts.map +1 -1
  213. package/es/molecule/answer/prop-types.js +0 -3
  214. package/es/molecule/answer/prop-types.js.map +1 -1
  215. package/es/molecule/audio/index.js +2 -12
  216. package/es/molecule/audio/index.js.map +1 -1
  217. package/es/molecule/banner/index.js +0 -2
  218. package/es/molecule/banner/index.js.map +1 -1
  219. package/es/molecule/battle-request/index.js +2 -6
  220. package/es/molecule/battle-request/index.js.map +1 -1
  221. package/es/molecule/brand-card/description.js +0 -2
  222. package/es/molecule/brand-card/description.js.map +1 -1
  223. package/es/molecule/brand-card/index.js +0 -2
  224. package/es/molecule/brand-card/index.js.map +1 -1
  225. package/es/molecule/brand-card-create/index.js +0 -2
  226. package/es/molecule/brand-card-create/index.js.map +1 -1
  227. package/es/molecule/brand-create-form/index.js +0 -2
  228. package/es/molecule/brand-create-form/index.js.map +1 -1
  229. package/es/molecule/brand-download-box/index.js +0 -4
  230. package/es/molecule/brand-download-box/index.js.map +1 -1
  231. package/es/molecule/brand-form-group/index.js +0 -29
  232. package/es/molecule/brand-form-group/index.js.map +1 -1
  233. package/es/molecule/brand-logo/index.native.js +0 -5
  234. package/es/molecule/brand-logo/index.native.js.map +1 -1
  235. package/es/molecule/brand-tabs/index.js +0 -4
  236. package/es/molecule/brand-tabs/index.js.map +1 -1
  237. package/es/molecule/brand-upload-box/index.js +0 -11
  238. package/es/molecule/brand-upload-box/index.js.map +1 -1
  239. package/es/molecule/breadcrumbs/index.js +0 -6
  240. package/es/molecule/breadcrumbs/index.js.map +1 -1
  241. package/es/molecule/bullet-point-menu-button/index.js +0 -2
  242. package/es/molecule/bullet-point-menu-button/index.js.map +1 -1
  243. package/es/molecule/card/customer.js +0 -2
  244. package/es/molecule/card/customer.js.map +1 -1
  245. package/es/molecule/card/favorite.js +0 -9
  246. package/es/molecule/card/favorite.js.map +1 -1
  247. package/es/molecule/card/index.js +0 -21
  248. package/es/molecule/card/index.js.map +1 -1
  249. package/es/molecule/card/notification.js +0 -5
  250. package/es/molecule/card/notification.js.map +1 -1
  251. package/es/molecule/card/selectable.js +0 -2
  252. package/es/molecule/card/selectable.js.map +1 -1
  253. package/es/molecule/card-congrats/index.native.js +0 -7
  254. package/es/molecule/card-congrats/index.native.js.map +1 -1
  255. package/es/molecule/card-congrats/types.d.ts +1 -1
  256. package/es/molecule/card-congrats/types.d.ts.map +1 -1
  257. package/es/molecule/card-content/index.js +2 -13
  258. package/es/molecule/card-content/index.js.map +1 -1
  259. package/es/molecule/card-with-button/index.js +0 -6
  260. package/es/molecule/card-with-button/index.js.map +1 -1
  261. package/es/molecule/cm-popin/index.js +4 -10
  262. package/es/molecule/cm-popin/index.js.map +1 -1
  263. package/es/molecule/cm-popin/index.native.js +0 -6
  264. package/es/molecule/cm-popin/index.native.js.map +1 -1
  265. package/es/molecule/cm-popin/types.d.ts +2 -2
  266. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  267. package/es/molecule/cm-popin/types.js.map +1 -1
  268. package/es/molecule/cookie-banner/index.js +0 -4
  269. package/es/molecule/cookie-banner/index.js.map +1 -1
  270. package/es/molecule/coorp-manager-roles/index.js +0 -3
  271. package/es/molecule/coorp-manager-roles/index.js.map +1 -1
  272. package/es/molecule/course-section/index.js +0 -2
  273. package/es/molecule/course-section/index.js.map +1 -1
  274. package/es/molecule/course-sections/index.js +0 -6
  275. package/es/molecule/course-sections/index.js.map +1 -1
  276. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  277. package/es/molecule/dashboard/cards-list/index.js +2 -49
  278. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  279. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  280. package/es/molecule/dashboard/review-banner/index.js +0 -3
  281. package/es/molecule/dashboard/review-banner/index.js.map +1 -1
  282. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  283. package/es/molecule/discipline-cta/index.js +0 -4
  284. package/es/molecule/discipline-cta/index.js.map +1 -1
  285. package/es/molecule/discipline-header/index.js +4 -11
  286. package/es/molecule/discipline-header/index.js.map +1 -1
  287. package/es/molecule/discipline-partners/index.js +0 -11
  288. package/es/molecule/discipline-partners/index.js.map +1 -1
  289. package/es/molecule/discipline-scope/index.js +0 -2
  290. package/es/molecule/discipline-scope/index.js.map +1 -1
  291. package/es/molecule/drag-and-drop/index.js +0 -3
  292. package/es/molecule/drag-and-drop/index.js.map +1 -1
  293. package/es/molecule/drag-and-drop/overlay.js.map +1 -1
  294. package/es/molecule/drag-and-drop/placeholder.js.map +1 -1
  295. package/es/molecule/drag-and-drop/upload-report.js +0 -13
  296. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  297. package/es/molecule/drag-and-drop-wrapper/index.js +0 -4
  298. package/es/molecule/drag-and-drop-wrapper/index.js.map +1 -1
  299. package/es/molecule/draggable/index.js +0 -4
  300. package/es/molecule/draggable/index.js.map +1 -1
  301. package/es/molecule/draggable-list/index.js +0 -3
  302. package/es/molecule/draggable-list/index.js.map +1 -1
  303. package/es/molecule/empty-state-dashboard/index.js +0 -3
  304. package/es/molecule/empty-state-dashboard/index.js.map +1 -1
  305. package/es/molecule/empty-state-dashboard/types.d.ts +1 -1
  306. package/es/molecule/empty-state-dashboard/types.d.ts.map +1 -1
  307. package/es/molecule/empty-state-dashboard/types.js.map +1 -1
  308. package/es/molecule/external-content-button/index.js +0 -5
  309. package/es/molecule/external-content-button/index.js.map +1 -1
  310. package/es/molecule/external-content-viewer/index.js +0 -2
  311. package/es/molecule/external-content-viewer/index.js.map +1 -1
  312. package/es/molecule/feedback/index.js +6 -9
  313. package/es/molecule/feedback/index.js.map +1 -1
  314. package/es/molecule/filters/filters-wrapper.js +0 -13
  315. package/es/molecule/filters/filters-wrapper.js.map +1 -1
  316. package/es/molecule/filters/index.js +0 -11
  317. package/es/molecule/filters/index.js.map +1 -1
  318. package/es/molecule/forum/forum-comment/index.js +0 -5
  319. package/es/molecule/forum/forum-comment/index.js.map +1 -1
  320. package/es/molecule/forum/forum-post/index.js +0 -6
  321. package/es/molecule/forum/forum-post/index.js.map +1 -1
  322. package/es/molecule/forum/forum-thread/index.js +0 -4
  323. package/es/molecule/forum/forum-thread/index.js.map +1 -1
  324. package/es/molecule/forum/post-conditions.js.map +1 -1
  325. package/es/molecule/go1-banner/index.js +4 -4
  326. package/es/molecule/go1-banner/index.js.map +1 -1
  327. package/es/molecule/hero/index.js +0 -4
  328. package/es/molecule/hero/index.js.map +1 -1
  329. package/es/molecule/input-text-with-titled-checkbox/index.js +0 -2
  330. package/es/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
  331. package/es/molecule/list-badges/index.js +0 -2
  332. package/es/molecule/list-badges/index.js.map +1 -1
  333. package/es/molecule/login-alert/index.js +2 -3
  334. package/es/molecule/login-alert/index.js.map +1 -1
  335. package/es/molecule/menu-list/index.js +0 -2
  336. package/es/molecule/menu-list/index.js.map +1 -1
  337. package/es/molecule/message-popin/index.js +0 -2
  338. package/es/molecule/message-popin/index.js.map +1 -1
  339. package/es/molecule/modal/index.js +6 -7
  340. package/es/molecule/modal/index.js.map +1 -1
  341. package/es/molecule/module-bubble/index.js +0 -6
  342. package/es/molecule/module-bubble/index.js.map +1 -1
  343. package/es/molecule/module-card/index.js +2 -7
  344. package/es/molecule/module-card/index.js.map +1 -1
  345. package/es/molecule/news/index.js +0 -3
  346. package/es/molecule/news/index.js.map +1 -1
  347. package/es/molecule/notification-banner/index.js +0 -7
  348. package/es/molecule/notification-banner/index.js.map +1 -1
  349. package/es/molecule/pagination/index.js +0 -2
  350. package/es/molecule/pagination/index.js.map +1 -1
  351. package/es/molecule/payment-form/index.js +0 -13
  352. package/es/molecule/payment-form/index.js.map +1 -1
  353. package/es/molecule/pdf/index.js +2 -6
  354. package/es/molecule/pdf/index.js.map +1 -1
  355. package/es/molecule/popin/index.js +2 -7
  356. package/es/molecule/popin/index.js.map +1 -1
  357. package/es/molecule/product-card/index.js +0 -4
  358. package/es/molecule/product-card/index.js.map +1 -1
  359. package/es/molecule/progress-bar/index.js +0 -6
  360. package/es/molecule/progress-bar/index.js.map +1 -1
  361. package/es/molecule/questions/drop-down/index.js +0 -4
  362. package/es/molecule/questions/drop-down/index.js.map +1 -1
  363. package/es/molecule/questions/free-text/index.js +0 -6
  364. package/es/molecule/questions/free-text/index.js.map +1 -1
  365. package/es/molecule/questions/free-text/index.native.d.ts +1 -1
  366. package/es/molecule/questions/free-text/index.native.d.ts.map +1 -1
  367. package/es/molecule/questions/free-text/index.native.js +12 -11
  368. package/es/molecule/questions/free-text/index.native.js.map +1 -1
  369. package/es/molecule/questions/mobile/draggable/index.native.js +0 -11
  370. package/es/molecule/questions/mobile/draggable/index.native.js.map +1 -1
  371. package/es/molecule/questions/mobile/slider/index.native.d.ts +2 -2
  372. package/es/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
  373. package/es/molecule/questions/mobile/slider/index.native.js +0 -7
  374. package/es/molecule/questions/mobile/slider/index.native.js.map +1 -1
  375. package/es/molecule/questions/mobile/switch/index.native.d.ts +1 -1
  376. package/es/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
  377. package/es/molecule/questions/mobile/switch/index.native.js +0 -13
  378. package/es/molecule/questions/mobile/switch/index.native.js.map +1 -1
  379. package/es/molecule/questions/mobile/template/index.native.d.ts +1 -1
  380. package/es/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
  381. package/es/molecule/questions/mobile/template/index.native.js +0 -16
  382. package/es/molecule/questions/mobile/template/index.native.js.map +1 -1
  383. package/es/molecule/questions/qcm/index.js +3 -7
  384. package/es/molecule/questions/qcm/index.js.map +1 -1
  385. package/es/molecule/questions/qcm-drag/index.js +4 -14
  386. package/es/molecule/questions/qcm-drag/index.js.map +1 -1
  387. package/es/molecule/questions/qcm-graphic/index.js +2 -7
  388. package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
  389. package/es/molecule/questions/question-range/index.js +12 -17
  390. package/es/molecule/questions/question-range/index.js.map +1 -1
  391. package/es/molecule/questions/template/index.js +5 -16
  392. package/es/molecule/questions/template/index.js.map +1 -1
  393. package/es/molecule/questions/types.d.ts +12 -12
  394. package/es/molecule/questions/types.d.ts.map +1 -1
  395. package/es/molecule/quick-access-card/index.js +0 -18
  396. package/es/molecule/quick-access-card/index.js.map +1 -1
  397. package/es/molecule/quick-access-cards-group/index.js +0 -4
  398. package/es/molecule/quick-access-cards-group/index.js.map +1 -1
  399. package/es/molecule/resource-player/index.js +5 -25
  400. package/es/molecule/resource-player/index.js.map +1 -1
  401. package/es/molecule/review-card-congrats/index.js +2 -7
  402. package/es/molecule/review-card-congrats/index.js.map +1 -1
  403. package/es/molecule/review-card-congrats/prop-types.d.ts +1 -1
  404. package/es/molecule/review-card-congrats/prop-types.d.ts.map +1 -1
  405. package/es/molecule/review-card-congrats/prop-types.js.map +1 -1
  406. package/es/molecule/review-correction-popin/index.js +4 -9
  407. package/es/molecule/review-correction-popin/index.js.map +1 -1
  408. package/es/molecule/review-correction-popin/index.native.js +0 -9
  409. package/es/molecule/review-correction-popin/index.native.js.map +1 -1
  410. package/es/molecule/review-correction-popin/prop-types.d.ts +3 -3
  411. package/es/molecule/review-correction-popin/prop-types.d.ts.map +1 -1
  412. package/es/molecule/review-correction-popin/prop-types.js.map +1 -1
  413. package/es/molecule/review-header-steps/index.js +0 -3
  414. package/es/molecule/review-header-steps/index.js.map +1 -1
  415. package/es/molecule/review-header-steps/prop-types.d.ts +1 -1
  416. package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  417. package/es/molecule/review-header-steps/prop-types.js.map +1 -1
  418. package/es/molecule/scope-content/index.js +6 -21
  419. package/es/molecule/scope-content/index.js.map +1 -1
  420. package/es/molecule/scope-tabs/index.js +0 -6
  421. package/es/molecule/scope-tabs/index.js.map +1 -1
  422. package/es/molecule/search-form/index.js +0 -6
  423. package/es/molecule/search-form/index.js.map +1 -1
  424. package/es/molecule/select-multiple/index.js +2 -18
  425. package/es/molecule/select-multiple/index.js.map +1 -1
  426. package/es/molecule/setup-cohort-item/index.js +0 -10
  427. package/es/molecule/setup-cohort-item/index.js.map +1 -1
  428. package/es/molecule/setup-section/index.js +0 -10
  429. package/es/molecule/setup-section/index.js.map +1 -1
  430. package/es/molecule/setup-sections/index.js +0 -3
  431. package/es/molecule/setup-sections/index.js.map +1 -1
  432. package/es/molecule/setup-slide/index.js +0 -17
  433. package/es/molecule/setup-slide/index.js.map +1 -1
  434. package/es/molecule/setup-slider/index.js +0 -6
  435. package/es/molecule/setup-slider/index.js.map +1 -1
  436. package/es/molecule/share/index.js +6 -15
  437. package/es/molecule/share/index.js.map +1 -1
  438. package/es/molecule/skill-card/index.js +0 -3
  439. package/es/molecule/skill-card/index.js.map +1 -1
  440. package/es/molecule/skill-card/index.native.js +0 -6
  441. package/es/molecule/skill-card/index.native.js.map +1 -1
  442. package/es/molecule/skill-card/prop-types.d.ts +1 -1
  443. package/es/molecule/skill-card/prop-types.d.ts.map +1 -1
  444. package/es/molecule/skill-card/prop-types.js.map +1 -1
  445. package/es/molecule/ssmenu-list/index.js +0 -2
  446. package/es/molecule/ssmenu-list/index.js.map +1 -1
  447. package/es/molecule/subscription-freemium/index.js +0 -2
  448. package/es/molecule/subscription-freemium/index.js.map +1 -1
  449. package/es/molecule/subscription-premium/index.js +0 -6
  450. package/es/molecule/subscription-premium/index.js.map +1 -1
  451. package/es/molecule/table/index.js +0 -18
  452. package/es/molecule/table/index.js.map +1 -1
  453. package/es/molecule/teams-popin/index.js +0 -2
  454. package/es/molecule/teams-popin/index.js.map +1 -1
  455. package/es/molecule/theme-image/index.js +0 -2
  456. package/es/molecule/theme-image/index.js.map +1 -1
  457. package/es/molecule/title-and-checkbox-wrapper/index.js +0 -3
  458. package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  459. package/es/molecule/titled-checkbox/index.js +0 -2
  460. package/es/molecule/titled-checkbox/index.js.map +1 -1
  461. package/es/molecule/unsubscribe/index.js +0 -2
  462. package/es/molecule/unsubscribe/index.js.map +1 -1
  463. package/es/molecule/vertical-tabs/index.js +0 -4
  464. package/es/molecule/vertical-tabs/index.js.map +1 -1
  465. package/es/molecule/video-iframe/index.js +0 -12
  466. package/es/molecule/video-iframe/index.js.map +1 -1
  467. package/es/molecule/video-player/index.js +6 -23
  468. package/es/molecule/video-player/index.js.map +1 -1
  469. package/es/molecule/video-player/jwplayer-prop-types.js.map +1 -1
  470. package/es/molecule/video-player/jwplayer.js +3 -29
  471. package/es/molecule/video-player/jwplayer.js.map +1 -1
  472. package/es/molecule/video-player/prop-types.js.map +1 -1
  473. package/es/molecule/video-player/vimeo.js +0 -42
  474. package/es/molecule/video-player/vimeo.js.map +1 -1
  475. package/es/molecule/wizard-summary/index.js +2 -18
  476. package/es/molecule/wizard-summary/index.js.map +1 -1
  477. package/es/organism/accordion/container/index.js +0 -9
  478. package/es/organism/accordion/container/index.js.map +1 -1
  479. package/es/organism/accordion/coorp-manager/index.js +0 -13
  480. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  481. package/es/organism/accordion/coorp-manager/part/index.js +0 -10
  482. package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
  483. package/es/organism/accordion/part/index.js +0 -5
  484. package/es/organism/accordion/part/index.js.map +1 -1
  485. package/es/organism/accordion/toggler/index.js +0 -11
  486. package/es/organism/accordion/toggler/index.js.map +1 -1
  487. package/es/organism/brand-analytics/analytics-popin.js +0 -6
  488. package/es/organism/brand-analytics/analytics-popin.js.map +1 -1
  489. package/es/organism/brand-analytics/index.js +0 -11
  490. package/es/organism/brand-analytics/index.js.map +1 -1
  491. package/es/organism/brand-dashboard/index.js +0 -3
  492. package/es/organism/brand-dashboard/index.js.map +1 -1
  493. package/es/organism/brand-form/index.js +0 -6
  494. package/es/organism/brand-form/index.js.map +1 -1
  495. package/es/organism/brand-table/index.js +0 -2
  496. package/es/organism/brand-table/index.js.map +1 -1
  497. package/es/organism/brand-upload/index.js +0 -4
  498. package/es/organism/brand-upload/index.js.map +1 -1
  499. package/es/organism/cards-grid/index.js +0 -4
  500. package/es/organism/cards-grid/index.js.map +1 -1
  501. package/es/organism/cart/index.js +0 -2
  502. package/es/organism/cart/index.js.map +1 -1
  503. package/es/organism/content-translation/index.js +0 -5
  504. package/es/organism/content-translation/index.js.map +1 -1
  505. package/es/organism/course-selection/index.js +0 -8
  506. package/es/organism/course-selection/index.js.map +1 -1
  507. package/es/organism/discussion/index.js +2 -4
  508. package/es/organism/discussion/index.js.map +1 -1
  509. package/es/organism/get-the-app/index.js +0 -16
  510. package/es/organism/get-the-app/index.js.map +1 -1
  511. package/es/organism/grid-list/index.js +0 -2
  512. package/es/organism/grid-list/index.js.map +1 -1
  513. package/es/organism/header/index.js +0 -2
  514. package/es/organism/header/index.js.map +1 -1
  515. package/es/organism/header-v2/index.native.js +3 -6
  516. package/es/organism/header-v2/index.native.js.map +1 -1
  517. package/es/organism/hero/index.js +0 -4
  518. package/es/organism/hero/index.js.map +1 -1
  519. package/es/organism/list-item/index.js +0 -4
  520. package/es/organism/list-item/index.js.map +1 -1
  521. package/es/organism/list-items/index.js +0 -3
  522. package/es/organism/list-items/index.js.map +1 -1
  523. package/es/organism/mobile-navigation/index.native.d.ts +2 -2
  524. package/es/organism/mobile-navigation/index.native.d.ts.map +1 -1
  525. package/es/organism/mobile-navigation/index.native.js +0 -7
  526. package/es/organism/mobile-navigation/index.native.js.map +1 -1
  527. package/es/organism/mooc/image-slider/index.js +0 -5
  528. package/es/organism/mooc/image-slider/index.js.map +1 -1
  529. package/es/organism/mooc-footer/index.js +10 -9
  530. package/es/organism/mooc-footer/index.js.map +1 -1
  531. package/es/organism/mooc-header/index.d.ts +0 -6
  532. package/es/organism/mooc-header/index.d.ts.map +1 -1
  533. package/es/organism/mooc-header/index.js +8 -117
  534. package/es/organism/mooc-header/index.js.map +1 -1
  535. package/es/organism/mooc-header/style.css +0 -46
  536. package/es/organism/podcast-popin-intro/index.native.d.ts +2 -2
  537. package/es/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
  538. package/es/organism/podcast-popin-intro/index.native.js +0 -6
  539. package/es/organism/podcast-popin-intro/index.native.js.map +1 -1
  540. package/es/organism/popin/index.js +0 -5
  541. package/es/organism/popin/index.js.map +1 -1
  542. package/es/organism/resource-browser/index.js +0 -10
  543. package/es/organism/resource-browser/index.js.map +1 -1
  544. package/es/organism/review-congrats/index.js +1 -5
  545. package/es/organism/review-congrats/index.js.map +1 -1
  546. package/es/organism/review-congrats/index.native.js +2 -10
  547. package/es/organism/review-congrats/index.native.js.map +1 -1
  548. package/es/organism/review-congrats/prop-types.d.ts +1 -1
  549. package/es/organism/review-congrats/prop-types.d.ts.map +1 -1
  550. package/es/organism/review-congrats/prop-types.js.map +1 -1
  551. package/es/organism/review-header/index.js +0 -2
  552. package/es/organism/review-header/index.js.map +1 -1
  553. package/es/organism/review-header/index.native.js +0 -3
  554. package/es/organism/review-header/index.native.js.map +1 -1
  555. package/es/organism/review-header/types.d.ts +1 -1
  556. package/es/organism/review-header/types.d.ts.map +1 -1
  557. package/es/organism/review-header/types.js.map +1 -1
  558. package/es/organism/review-no-skills/index.js +0 -2
  559. package/es/organism/review-no-skills/index.js.map +1 -1
  560. package/es/organism/review-no-skills/index.native.js +0 -6
  561. package/es/organism/review-no-skills/index.native.js.map +1 -1
  562. package/es/organism/review-no-skills/prop-types.d.ts +1 -1
  563. package/es/organism/review-no-skills/prop-types.d.ts.map +1 -1
  564. package/es/organism/review-no-skills/prop-types.js.map +1 -1
  565. package/es/organism/review-skills/index.js +0 -2
  566. package/es/organism/review-skills/index.js.map +1 -1
  567. package/es/organism/review-skills/index.native.js +0 -3
  568. package/es/organism/review-skills/index.native.js.map +1 -1
  569. package/es/organism/review-skills/prop-types.d.ts +1 -1
  570. package/es/organism/review-skills/prop-types.d.ts.map +1 -1
  571. package/es/organism/review-skills/prop-types.js.map +1 -1
  572. package/es/organism/review-slide/index.js +8 -16
  573. package/es/organism/review-slide/index.js.map +1 -1
  574. package/es/organism/review-slide/index.native.js +3 -10
  575. package/es/organism/review-slide/index.native.js.map +1 -1
  576. package/es/organism/review-slide/prop-types.d.ts +5 -5
  577. package/es/organism/review-slide/prop-types.d.ts.map +1 -1
  578. package/es/organism/review-slide/prop-types.js +1 -1
  579. package/es/organism/review-slide/prop-types.js.map +1 -1
  580. package/es/organism/review-stacked-slides/index.js +2 -9
  581. package/es/organism/review-stacked-slides/index.js.map +1 -1
  582. package/es/organism/review-stacked-slides/index.native.js +5 -10
  583. package/es/organism/review-stacked-slides/index.native.js.map +1 -1
  584. package/es/organism/review-stacked-slides/prop-types.d.ts +1 -1
  585. package/es/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
  586. package/es/organism/review-stacked-slides/prop-types.js.map +1 -1
  587. package/es/organism/rewards-form/index.js +3 -8
  588. package/es/organism/rewards-form/index.js.map +1 -1
  589. package/es/organism/search-and-chips-results/index.js +0 -6
  590. package/es/organism/search-and-chips-results/index.js.map +1 -1
  591. package/es/organism/settings/index.js +5 -12
  592. package/es/organism/settings/index.js.map +1 -1
  593. package/es/organism/setup-header/index.js +0 -5
  594. package/es/organism/setup-header/index.js.map +1 -1
  595. package/es/organism/sidebar/index.js +8 -26
  596. package/es/organism/sidebar/index.js.map +1 -1
  597. package/es/organism/slider/index.js +2 -18
  598. package/es/organism/slider/index.js.map +1 -1
  599. package/es/organism/user-preferences/index.js +5 -13
  600. package/es/organism/user-preferences/index.js.map +1 -1
  601. package/es/organism/wizard-contents/index.js +0 -13
  602. package/es/organism/wizard-contents/index.js.map +1 -1
  603. package/es/template/activity/engine-stars.js +5 -17
  604. package/es/template/activity/engine-stars.js.map +1 -1
  605. package/es/template/activity/index.js +2 -4
  606. package/es/template/activity/index.js.map +1 -1
  607. package/es/template/activity/progression-item.js +2 -7
  608. package/es/template/activity/progression-item.js.map +1 -1
  609. package/es/template/activity/stars-summary.js +0 -13
  610. package/es/template/activity/stars-summary.js.map +1 -1
  611. package/es/template/app-player/loading/index.js +0 -2
  612. package/es/template/app-player/loading/index.js.map +1 -1
  613. package/es/template/app-player/player/index.js +0 -3
  614. package/es/template/app-player/player/index.js.map +1 -1
  615. package/es/template/app-player/player/slides/footer/index.js +0 -16
  616. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  617. package/es/template/app-player/player/slides/header/index.js +0 -2
  618. package/es/template/app-player/player/slides/header/index.js.map +1 -1
  619. package/es/template/app-player/player/slides/header/learner.js +4 -14
  620. package/es/template/app-player/player/slides/header/learner.js.map +1 -1
  621. package/es/template/app-player/player/slides/header/lives.js +0 -3
  622. package/es/template/app-player/player/slides/header/lives.js.map +1 -1
  623. package/es/template/app-player/player/slides/header/microlearning.js +2 -5
  624. package/es/template/app-player/player/slides/header/microlearning.js.map +1 -1
  625. package/es/template/app-player/player/slides/index.js +21 -64
  626. package/es/template/app-player/player/slides/index.js.map +1 -1
  627. package/es/template/app-player/popin-correction/index.js +10 -34
  628. package/es/template/app-player/popin-correction/index.js.map +1 -1
  629. package/es/template/app-player/popin-end/index.js +0 -5
  630. package/es/template/app-player/popin-end/index.js.map +1 -1
  631. package/es/template/app-player/popin-end/summary.js +22 -54
  632. package/es/template/app-player/popin-end/summary.js.map +1 -1
  633. package/es/template/app-player/popin-header/index.js +12 -46
  634. package/es/template/app-player/popin-header/index.js.map +1 -1
  635. package/es/template/app-player/popin-no-access/index.js +0 -2
  636. package/es/template/app-player/popin-no-access/index.js.map +1 -1
  637. package/es/template/app-review/demo-ts/index.js +0 -2
  638. package/es/template/app-review/demo-ts/index.js.map +1 -1
  639. package/es/template/app-review/demo-ts/index.native.js +0 -2
  640. package/es/template/app-review/demo-ts/index.native.js.map +1 -1
  641. package/es/template/app-review/demo-ts/typings.d.ts +1 -1
  642. package/es/template/app-review/demo-ts/typings.d.ts.map +1 -1
  643. package/es/template/app-review/demo-ts/typings.js.map +1 -1
  644. package/es/template/app-review/index.js +0 -3
  645. package/es/template/app-review/index.js.map +1 -1
  646. package/es/template/app-review/index.native.js +2 -4
  647. package/es/template/app-review/index.native.js.map +1 -1
  648. package/es/template/app-review/onboarding/index.js.map +1 -1
  649. package/es/template/app-review/onboarding/index.native.js.map +1 -1
  650. package/es/template/app-review/player/background-review.js +0 -2
  651. package/es/template/app-review/player/background-review.js.map +1 -1
  652. package/es/template/app-review/player/index.js +0 -2
  653. package/es/template/app-review/player/index.js.map +1 -1
  654. package/es/template/app-review/player/index.native.js +0 -6
  655. package/es/template/app-review/player/index.native.js.map +1 -1
  656. package/es/template/app-review/player/prop-types.d.ts +1 -1
  657. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  658. package/es/template/app-review/player/prop-types.js +0 -1
  659. package/es/template/app-review/player/prop-types.js.map +1 -1
  660. package/es/template/app-review/prop-types.d.ts +2 -2
  661. package/es/template/app-review/prop-types.d.ts.map +1 -1
  662. package/es/template/app-review/prop-types.js +0 -1
  663. package/es/template/app-review/prop-types.js.map +1 -1
  664. package/es/template/app-review/skills/index.js +0 -2
  665. package/es/template/app-review/skills/index.js.map +1 -1
  666. package/es/template/app-review/skills/index.native.js +0 -6
  667. package/es/template/app-review/skills/index.native.js.map +1 -1
  668. package/es/template/app-review/skills/prop-types.d.ts +1 -1
  669. package/es/template/app-review/skills/prop-types.d.ts.map +1 -1
  670. package/es/template/app-review/skills/prop-types.js.map +1 -1
  671. package/es/template/app-review/template-context.d.ts +5 -5
  672. package/es/template/app-review/template-context.d.ts.map +1 -1
  673. package/es/template/app-review/template-context.js +0 -5
  674. package/es/template/app-review/template-context.js.map +1 -1
  675. package/es/template/back-office/brand-create/index.js.map +1 -1
  676. package/es/template/back-office/brand-list/index.js +8 -14
  677. package/es/template/back-office/brand-list/index.js.map +1 -1
  678. package/es/template/back-office/brand-update/index.js +4 -25
  679. package/es/template/back-office/brand-update/index.js.map +1 -1
  680. package/es/template/back-office/dashboard-preview/dashboard-popin.js +0 -5
  681. package/es/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
  682. package/es/template/back-office/dashboard-preview/index.js +0 -14
  683. package/es/template/back-office/dashboard-preview/index.js.map +1 -1
  684. package/es/template/back-office/layout/index.js +0 -3
  685. package/es/template/back-office/layout/index.js.map +1 -1
  686. package/es/template/battle-requests/index.js +2 -3
  687. package/es/template/battle-requests/index.js.map +1 -1
  688. package/es/template/cockpit/jw-uploader/index.js +0 -3
  689. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  690. package/es/template/common/authors/index.js +2 -10
  691. package/es/template/common/authors/index.js.map +1 -1
  692. package/es/template/common/coorp-header/content.js +0 -4
  693. package/es/template/common/coorp-header/content.js.map +1 -1
  694. package/es/template/common/coorp-header/index.js +0 -2
  695. package/es/template/common/coorp-header/index.js.map +1 -1
  696. package/es/template/common/dashboard/index.js +0 -13
  697. package/es/template/common/dashboard/index.js.map +1 -1
  698. package/es/template/common/discipline/index.js +0 -2
  699. package/es/template/common/discipline/index.js.map +1 -1
  700. package/es/template/common/search-page/index.js +0 -6
  701. package/es/template/common/search-page/index.js.map +1 -1
  702. package/es/template/external-course/index.js +2 -10
  703. package/es/template/external-course/index.js.map +1 -1
  704. package/es/template/review-dashboard-skills/index.js +0 -2
  705. package/es/template/review-dashboard-skills/index.js.map +1 -1
  706. package/es/template/teams-dashboard/index.d.ts +0 -2
  707. package/es/template/teams-dashboard/index.js +0 -4
  708. package/es/template/teams-dashboard/index.js.map +1 -1
  709. package/es/util/bubbling.js +0 -1
  710. package/es/util/bubbling.js.map +1 -1
  711. package/es/util/build-query-string.d.ts +1 -1
  712. package/es/util/build-query-string.d.ts.map +1 -1
  713. package/es/util/build-query-string.js +0 -2
  714. package/es/util/build-query-string.js.map +1 -1
  715. package/es/util/button-icons.js.map +1 -1
  716. package/es/util/closest-step.js +0 -6
  717. package/es/util/closest-step.js.map +1 -1
  718. package/es/util/constants.js.map +1 -1
  719. package/es/util/external-content.js.map +1 -1
  720. package/es/util/get-class-state.js +0 -2
  721. package/es/util/get-class-state.js.map +1 -1
  722. package/es/util/get-clean-uri.js +0 -1
  723. package/es/util/get-clean-uri.js.map +1 -1
  724. package/es/util/get-resized-image.js +0 -7
  725. package/es/util/get-resized-image.js.map +1 -1
  726. package/es/util/get-shadow-box-color-from-primary.js +2 -1
  727. package/es/util/get-shadow-box-color-from-primary.js.map +1 -1
  728. package/es/util/image.js +0 -4
  729. package/es/util/image.js.map +1 -1
  730. package/es/util/navigation.js +0 -9
  731. package/es/util/navigation.js.map +1 -1
  732. package/es/util/parse-template-string.js +0 -6
  733. package/es/util/parse-template-string.js.map +1 -1
  734. package/es/util/proptypes.js.map +1 -1
  735. package/es/util/render-with-context.js +8 -14
  736. package/es/util/render-with-context.js.map +1 -1
  737. package/es/util/shallow-compare.js +0 -2
  738. package/es/util/shallow-compare.js.map +1 -1
  739. package/es/variables/analytics.d.ts +2 -2
  740. package/es/variables/analytics.d.ts.map +1 -1
  741. package/es/variables/analytics.js.map +1 -1
  742. package/es/variables/brand.native.d.ts +1 -1
  743. package/es/variables/brand.native.d.ts.map +1 -1
  744. package/es/variables/brand.native.js.map +1 -1
  745. package/es/variables/colors.d.ts +1 -1
  746. package/es/variables/colors.d.ts.map +1 -1
  747. package/es/variables/colors.js.map +1 -1
  748. package/es/variables/default-mobile-translations.d.ts +2 -2
  749. package/es/variables/default-mobile-translations.d.ts.map +1 -1
  750. package/es/variables/default-mobile-translations.js.map +1 -1
  751. package/es/variables/shadow.d.ts +1 -1
  752. package/es/variables/shadow.d.ts.map +1 -1
  753. package/es/variables/shadow.js +0 -1
  754. package/es/variables/shadow.js.map +1 -1
  755. package/es/variables/theme.native.d.ts +3 -3
  756. package/es/variables/theme.native.d.ts.map +1 -1
  757. package/es/variables/theme.native.js.map +1 -1
  758. package/es/variables/vibration.d.ts +2 -2
  759. package/es/variables/vibration.d.ts.map +1 -1
  760. package/es/variables/vibration.js.map +1 -1
  761. package/lib/atom/autocomplete/index.js +0 -14
  762. package/lib/atom/autocomplete/index.js.map +1 -1
  763. package/lib/atom/avatar/index.js +0 -7
  764. package/lib/atom/avatar/index.js.map +1 -1
  765. package/lib/atom/button/index.js +0 -15
  766. package/lib/atom/button/index.js.map +1 -1
  767. package/lib/atom/button/index.native.d.ts +1 -1
  768. package/lib/atom/button/index.native.d.ts.map +1 -1
  769. package/lib/atom/button/index.native.js +0 -12
  770. package/lib/atom/button/index.native.js.map +1 -1
  771. package/lib/atom/button-link/index.js +0 -20
  772. package/lib/atom/button-link/index.js.map +1 -1
  773. package/lib/atom/button-link-icon-only/index.js +0 -22
  774. package/lib/atom/button-link-icon-only/index.js.map +1 -1
  775. package/lib/atom/button-menu/index.js +0 -13
  776. package/lib/atom/button-menu/index.js.map +1 -1
  777. package/lib/atom/card-image-preview/index.js +0 -9
  778. package/lib/atom/card-image-preview/index.js.map +1 -1
  779. package/lib/atom/catalog-section/index.js +0 -6
  780. package/lib/atom/catalog-section/index.js.map +1 -1
  781. package/lib/atom/centered-text/index.js +0 -6
  782. package/lib/atom/centered-text/index.js.map +1 -1
  783. package/lib/atom/checkbox/index.js +5 -17
  784. package/lib/atom/checkbox/index.js.map +1 -1
  785. package/lib/atom/checkbox-with-title/index.js +0 -11
  786. package/lib/atom/checkbox-with-title/index.js.map +1 -1
  787. package/lib/atom/chips/index.js +0 -10
  788. package/lib/atom/chips/index.js.map +1 -1
  789. package/lib/atom/choice/index.native.d.ts +1 -1
  790. package/lib/atom/choice/index.native.d.ts.map +1 -1
  791. package/lib/atom/choice/index.native.js +2 -22
  792. package/lib/atom/choice/index.native.js.map +1 -1
  793. package/lib/atom/clue/index.js +0 -19
  794. package/lib/atom/clue/index.js.map +1 -1
  795. package/lib/atom/content-badge/index.js +0 -8
  796. package/lib/atom/content-badge/index.js.map +1 -1
  797. package/lib/atom/cta/index.js +0 -21
  798. package/lib/atom/cta/index.js.map +1 -1
  799. package/lib/atom/difficulty-level/index.js +0 -14
  800. package/lib/atom/difficulty-level/index.js.map +1 -1
  801. package/lib/atom/drag-and-drop/index.js +0 -25
  802. package/lib/atom/drag-and-drop/index.js.map +1 -1
  803. package/lib/atom/empty-search-result/index.js +0 -6
  804. package/lib/atom/empty-search-result/index.js.map +1 -1
  805. package/lib/atom/gradient/index.native.d.ts +1 -1
  806. package/lib/atom/gradient/index.native.d.ts.map +1 -1
  807. package/lib/atom/gradient/index.native.js +0 -11
  808. package/lib/atom/gradient/index.native.js.map +1 -1
  809. package/lib/atom/header-back-button/index.native.d.ts +1 -1
  810. package/lib/atom/header-back-button/index.native.d.ts.map +1 -1
  811. package/lib/atom/header-back-button/index.native.js +0 -16
  812. package/lib/atom/header-back-button/index.native.js.map +1 -1
  813. package/lib/atom/header-back-icon/index.native.d.ts +1 -1
  814. package/lib/atom/header-back-icon/index.native.d.ts.map +1 -1
  815. package/lib/atom/header-back-icon/index.native.js +0 -7
  816. package/lib/atom/header-back-icon/index.native.js.map +1 -1
  817. package/lib/atom/html/index.native.d.ts +1 -1
  818. package/lib/atom/html/index.native.d.ts.map +1 -1
  819. package/lib/atom/html/index.native.js +6 -21
  820. package/lib/atom/html/index.native.js.map +1 -1
  821. package/lib/atom/image-background/index.native.d.ts +1 -1
  822. package/lib/atom/image-background/index.native.d.ts.map +1 -1
  823. package/lib/atom/image-background/index.native.js +11 -33
  824. package/lib/atom/image-background/index.native.js.map +1 -1
  825. package/lib/atom/image-upload/index.js +0 -16
  826. package/lib/atom/image-upload/index.js.map +1 -1
  827. package/lib/atom/input-checkbox/index.js +0 -15
  828. package/lib/atom/input-checkbox/index.js.map +1 -1
  829. package/lib/atom/input-color/index.js +0 -10
  830. package/lib/atom/input-color/index.js.map +1 -1
  831. package/lib/atom/input-doublestep/index.js +0 -25
  832. package/lib/atom/input-doublestep/index.js.map +1 -1
  833. package/lib/atom/input-html/index.js +0 -16
  834. package/lib/atom/input-html/index.js.map +1 -1
  835. package/lib/atom/input-html/input-preview.js +2 -8
  836. package/lib/atom/input-html/input-preview.js.map +1 -1
  837. package/lib/atom/input-readonly/index.js +0 -6
  838. package/lib/atom/input-readonly/index.js.map +1 -1
  839. package/lib/atom/input-search/index.js +0 -13
  840. package/lib/atom/input-search/index.js.map +1 -1
  841. package/lib/atom/input-switch/index.js +0 -15
  842. package/lib/atom/input-switch/index.js.map +1 -1
  843. package/lib/atom/input-text/index.js +2 -17
  844. package/lib/atom/input-text/index.js.map +1 -1
  845. package/lib/atom/input-text-with-title/index.js +0 -8
  846. package/lib/atom/input-text-with-title/index.js.map +1 -1
  847. package/lib/atom/input-textarea/index.js +2 -16
  848. package/lib/atom/input-textarea/index.js.map +1 -1
  849. package/lib/atom/label/index.js +0 -7
  850. package/lib/atom/label/index.js.map +1 -1
  851. package/lib/atom/life/index.js +0 -15
  852. package/lib/atom/life/index.js.map +1 -1
  853. package/lib/atom/link/index.js +7 -32
  854. package/lib/atom/link/index.js.map +1 -1
  855. package/lib/atom/loader/index.js +0 -8
  856. package/lib/atom/loader/index.js.map +1 -1
  857. package/lib/atom/loader/index.native.d.ts +1 -1
  858. package/lib/atom/loader/index.native.d.ts.map +1 -1
  859. package/lib/atom/loader/index.native.js +2 -18
  860. package/lib/atom/loader/index.native.js.map +1 -1
  861. package/lib/atom/lottie-wrapper/index.js +3 -26
  862. package/lib/atom/lottie-wrapper/index.js.map +1 -1
  863. package/lib/atom/lottie-wrapper/prop-types.d.ts +1 -1
  864. package/lib/atom/lottie-wrapper/prop-types.d.ts.map +1 -1
  865. package/lib/atom/lottie-wrapper/prop-types.js +0 -4
  866. package/lib/atom/lottie-wrapper/prop-types.js.map +1 -1
  867. package/lib/atom/notification/index.js +0 -8
  868. package/lib/atom/notification/index.js.map +1 -1
  869. package/lib/atom/picture/index.js +0 -21
  870. package/lib/atom/picture/index.js.map +1 -1
  871. package/lib/atom/picture-background/index.js +0 -10
  872. package/lib/atom/picture-background/index.js.map +1 -1
  873. package/lib/atom/promo-code/index.js +0 -7
  874. package/lib/atom/promo-code/index.js.map +1 -1
  875. package/lib/atom/provider/index.js +2 -28
  876. package/lib/atom/provider/index.js.map +1 -1
  877. package/lib/atom/provider/web-context.d.ts +3 -3
  878. package/lib/atom/provider/web-context.d.ts.map +1 -1
  879. package/lib/atom/provider/web-context.js +6 -18
  880. package/lib/atom/provider/web-context.js.map +1 -1
  881. package/lib/atom/radio-group/index.js +0 -13
  882. package/lib/atom/radio-group/index.js.map +1 -1
  883. package/lib/atom/radio-group/item.js +0 -14
  884. package/lib/atom/radio-group/item.js.map +1 -1
  885. package/lib/atom/range/handle.js +9 -25
  886. package/lib/atom/range/handle.js.map +1 -1
  887. package/lib/atom/range/index.js +0 -28
  888. package/lib/atom/range/index.js.map +1 -1
  889. package/lib/atom/resource-miniature/index.js +2 -13
  890. package/lib/atom/resource-miniature/index.js.map +1 -1
  891. package/lib/atom/review-header-step-item/index.js +0 -15
  892. package/lib/atom/review-header-step-item/index.js.map +1 -1
  893. package/lib/atom/review-header-step-item/index.native.js +0 -20
  894. package/lib/atom/review-header-step-item/index.native.js.map +1 -1
  895. package/lib/atom/review-header-step-item/types.d.ts +2 -2
  896. package/lib/atom/review-header-step-item/types.d.ts.map +1 -1
  897. package/lib/atom/review-header-step-item/types.js +0 -3
  898. package/lib/atom/review-header-step-item/types.js.map +1 -1
  899. package/lib/atom/review-presentation/index.js +5 -18
  900. package/lib/atom/review-presentation/index.js.map +1 -1
  901. package/lib/atom/review-presentation/index.native.js +3 -19
  902. package/lib/atom/review-presentation/index.native.js.map +1 -1
  903. package/lib/atom/review-presentation/prop-types.d.ts +2 -2
  904. package/lib/atom/review-presentation/prop-types.d.ts.map +1 -1
  905. package/lib/atom/review-presentation/prop-types.js +0 -4
  906. package/lib/atom/review-presentation/prop-types.js.map +1 -1
  907. package/lib/atom/select/index.js +2 -30
  908. package/lib/atom/select/index.js.map +1 -1
  909. package/lib/atom/select-modal/index.native.d.ts +2 -2
  910. package/lib/atom/select-modal/index.native.d.ts.map +1 -1
  911. package/lib/atom/select-modal/index.native.js +0 -25
  912. package/lib/atom/select-modal/index.native.js.map +1 -1
  913. package/lib/atom/slide/index.js +0 -8
  914. package/lib/atom/slide/index.js.map +1 -1
  915. package/lib/atom/social-link/index.js +0 -8
  916. package/lib/atom/social-link/index.js.map +1 -1
  917. package/lib/atom/space/index.native.d.ts +1 -1
  918. package/lib/atom/space/index.native.d.ts.map +1 -1
  919. package/lib/atom/space/index.native.js +0 -7
  920. package/lib/atom/space/index.native.js.map +1 -1
  921. package/lib/atom/spinner/index.js +0 -5
  922. package/lib/atom/spinner/index.js.map +1 -1
  923. package/lib/atom/tab/index.js +0 -9
  924. package/lib/atom/tab/index.js.map +1 -1
  925. package/lib/atom/tab-content/index.js +0 -7
  926. package/lib/atom/tab-content/index.js.map +1 -1
  927. package/lib/atom/tag/index.js +0 -8
  928. package/lib/atom/tag/index.js.map +1 -1
  929. package/lib/atom/text/index.native.d.ts +1 -1
  930. package/lib/atom/text/index.native.d.ts.map +1 -1
  931. package/lib/atom/text/index.native.js +0 -10
  932. package/lib/atom/text/index.native.js.map +1 -1
  933. package/lib/atom/title/index.js +0 -12
  934. package/lib/atom/title/index.js.map +1 -1
  935. package/lib/atom/tooltip/index.js +0 -16
  936. package/lib/atom/tooltip/index.js.map +1 -1
  937. package/lib/atom/video-upload/index.js +0 -8
  938. package/lib/atom/video-upload/index.js.map +1 -1
  939. package/lib/atom/wizard-steps/index.js +0 -7
  940. package/lib/atom/wizard-steps/index.js.map +1 -1
  941. package/lib/hoc/animation/index.js +0 -18
  942. package/lib/hoc/animation/index.js.map +1 -1
  943. package/lib/hoc/animation-scheduler/index.js +0 -39
  944. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  945. package/lib/hoc/modal/index.native.d.ts +1 -1
  946. package/lib/hoc/modal/index.native.d.ts.map +1 -1
  947. package/lib/hoc/modal/index.native.js +0 -14
  948. package/lib/hoc/modal/index.native.js.map +1 -1
  949. package/lib/hoc/modal/select/index.native.d.ts +2 -2
  950. package/lib/hoc/modal/select/index.native.d.ts.map +1 -1
  951. package/lib/hoc/modal/select/index.native.js +0 -19
  952. package/lib/hoc/modal/select/index.native.js.map +1 -1
  953. package/lib/hoc/modal/select-item/index.native.d.ts +1 -1
  954. package/lib/hoc/modal/select-item/index.native.d.ts.map +1 -1
  955. package/lib/hoc/modal/select-item/index.native.js +0 -16
  956. package/lib/hoc/modal/select-item/index.native.js.map +1 -1
  957. package/lib/hoc/swapper/index.js +4 -20
  958. package/lib/hoc/swapper/index.js.map +1 -1
  959. package/lib/hoc/touchable/index.native.d.ts +1 -1
  960. package/lib/hoc/touchable/index.native.d.ts.map +1 -1
  961. package/lib/hoc/touchable/index.native.js +0 -13
  962. package/lib/hoc/touchable/index.native.js.map +1 -1
  963. package/lib/hoc/transition/index.js +0 -11
  964. package/lib/hoc/transition/index.js.map +1 -1
  965. package/lib/index.js +0 -13
  966. package/lib/index.js.map +1 -1
  967. package/lib/molecule/add-to-my-list/index.js +0 -22
  968. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  969. package/lib/molecule/answer/index.d.ts +3 -0
  970. package/lib/molecule/answer/index.d.ts.map +1 -1
  971. package/lib/molecule/answer/index.js +14 -44
  972. package/lib/molecule/answer/index.js.map +1 -1
  973. package/lib/molecule/answer/index.native.js +0 -14
  974. package/lib/molecule/answer/index.native.js.map +1 -1
  975. package/lib/molecule/answer/prop-types.d.ts +3 -3
  976. package/lib/molecule/answer/prop-types.d.ts.map +1 -1
  977. package/lib/molecule/answer/prop-types.js +0 -13
  978. package/lib/molecule/answer/prop-types.js.map +1 -1
  979. package/lib/molecule/audio/index.js +2 -18
  980. package/lib/molecule/audio/index.js.map +1 -1
  981. package/lib/molecule/banner/index.js +0 -11
  982. package/lib/molecule/banner/index.js.map +1 -1
  983. package/lib/molecule/battle-request/index.js +2 -13
  984. package/lib/molecule/battle-request/index.js.map +1 -1
  985. package/lib/molecule/brand-card/description.js +0 -7
  986. package/lib/molecule/brand-card/description.js.map +1 -1
  987. package/lib/molecule/brand-card/index.js +0 -10
  988. package/lib/molecule/brand-card/index.js.map +1 -1
  989. package/lib/molecule/brand-card-create/index.js +0 -7
  990. package/lib/molecule/brand-card-create/index.js.map +1 -1
  991. package/lib/molecule/brand-create-form/index.js +0 -11
  992. package/lib/molecule/brand-create-form/index.js.map +1 -1
  993. package/lib/molecule/brand-download-box/index.js +0 -10
  994. package/lib/molecule/brand-download-box/index.js.map +1 -1
  995. package/lib/molecule/brand-form-group/index.js +0 -58
  996. package/lib/molecule/brand-form-group/index.js.map +1 -1
  997. package/lib/molecule/brand-logo/index.native.js +0 -11
  998. package/lib/molecule/brand-logo/index.native.js.map +1 -1
  999. package/lib/molecule/brand-tabs/index.js +0 -10
  1000. package/lib/molecule/brand-tabs/index.js.map +1 -1
  1001. package/lib/molecule/brand-upload-box/index.js +0 -17
  1002. package/lib/molecule/brand-upload-box/index.js.map +1 -1
  1003. package/lib/molecule/breadcrumbs/index.js +0 -13
  1004. package/lib/molecule/breadcrumbs/index.js.map +1 -1
  1005. package/lib/molecule/bullet-point-menu-button/index.js +0 -12
  1006. package/lib/molecule/bullet-point-menu-button/index.js.map +1 -1
  1007. package/lib/molecule/card/customer.js +0 -9
  1008. package/lib/molecule/card/customer.js.map +1 -1
  1009. package/lib/molecule/card/favorite.js +0 -15
  1010. package/lib/molecule/card/favorite.js.map +1 -1
  1011. package/lib/molecule/card/index.js +0 -34
  1012. package/lib/molecule/card/index.js.map +1 -1
  1013. package/lib/molecule/card/notification.js +0 -12
  1014. package/lib/molecule/card/notification.js.map +1 -1
  1015. package/lib/molecule/card/selectable.js +0 -9
  1016. package/lib/molecule/card/selectable.js.map +1 -1
  1017. package/lib/molecule/card-congrats/index.native.js +0 -15
  1018. package/lib/molecule/card-congrats/index.native.js.map +1 -1
  1019. package/lib/molecule/card-congrats/types.d.ts +1 -1
  1020. package/lib/molecule/card-congrats/types.d.ts.map +1 -1
  1021. package/lib/molecule/card-content/index.js +2 -26
  1022. package/lib/molecule/card-content/index.js.map +1 -1
  1023. package/lib/molecule/card-with-button/index.js +0 -12
  1024. package/lib/molecule/card-with-button/index.js.map +1 -1
  1025. package/lib/molecule/cm-popin/index.js +4 -19
  1026. package/lib/molecule/cm-popin/index.js.map +1 -1
  1027. package/lib/molecule/cm-popin/index.native.js +0 -15
  1028. package/lib/molecule/cm-popin/index.native.js.map +1 -1
  1029. package/lib/molecule/cm-popin/types.d.ts +2 -2
  1030. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  1031. package/lib/molecule/cm-popin/types.js +0 -5
  1032. package/lib/molecule/cm-popin/types.js.map +1 -1
  1033. package/lib/molecule/cookie-banner/index.js +0 -10
  1034. package/lib/molecule/cookie-banner/index.js.map +1 -1
  1035. package/lib/molecule/coorp-manager-roles/index.js +0 -8
  1036. package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
  1037. package/lib/molecule/course-section/index.js +0 -9
  1038. package/lib/molecule/course-section/index.js.map +1 -1
  1039. package/lib/molecule/course-sections/index.js +0 -16
  1040. package/lib/molecule/course-sections/index.js.map +1 -1
  1041. package/lib/molecule/dashboard/battle-request-list/index.js +0 -7
  1042. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  1043. package/lib/molecule/dashboard/cards-list/index.js +2 -59
  1044. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  1045. package/lib/molecule/dashboard/news-list/index.js +0 -10
  1046. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  1047. package/lib/molecule/dashboard/review-banner/index.js +0 -10
  1048. package/lib/molecule/dashboard/review-banner/index.js.map +1 -1
  1049. package/lib/molecule/dashboard/start-battle/index.js +0 -9
  1050. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  1051. package/lib/molecule/discipline-cta/index.js +0 -11
  1052. package/lib/molecule/discipline-cta/index.js.map +1 -1
  1053. package/lib/molecule/discipline-header/index.js +4 -20
  1054. package/lib/molecule/discipline-header/index.js.map +1 -1
  1055. package/lib/molecule/discipline-partners/index.js +0 -21
  1056. package/lib/molecule/discipline-partners/index.js.map +1 -1
  1057. package/lib/molecule/discipline-scope/index.js +0 -7
  1058. package/lib/molecule/discipline-scope/index.js.map +1 -1
  1059. package/lib/molecule/drag-and-drop/index.js +0 -20
  1060. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  1061. package/lib/molecule/drag-and-drop/overlay.js +0 -10
  1062. package/lib/molecule/drag-and-drop/overlay.js.map +1 -1
  1063. package/lib/molecule/drag-and-drop/placeholder.js +0 -7
  1064. package/lib/molecule/drag-and-drop/placeholder.js.map +1 -1
  1065. package/lib/molecule/drag-and-drop/upload-report.js +0 -30
  1066. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  1067. package/lib/molecule/drag-and-drop-wrapper/index.js +0 -8
  1068. package/lib/molecule/drag-and-drop-wrapper/index.js.map +1 -1
  1069. package/lib/molecule/draggable/index.js +0 -11
  1070. package/lib/molecule/draggable/index.js.map +1 -1
  1071. package/lib/molecule/draggable-list/index.js +0 -12
  1072. package/lib/molecule/draggable-list/index.js.map +1 -1
  1073. package/lib/molecule/empty-state-dashboard/index.js +0 -8
  1074. package/lib/molecule/empty-state-dashboard/index.js.map +1 -1
  1075. package/lib/molecule/empty-state-dashboard/types.d.ts +1 -1
  1076. package/lib/molecule/empty-state-dashboard/types.d.ts.map +1 -1
  1077. package/lib/molecule/empty-state-dashboard/types.js +0 -4
  1078. package/lib/molecule/empty-state-dashboard/types.js.map +1 -1
  1079. package/lib/molecule/external-content-button/index.js +0 -11
  1080. package/lib/molecule/external-content-button/index.js.map +1 -1
  1081. package/lib/molecule/external-content-viewer/index.js +0 -9
  1082. package/lib/molecule/external-content-viewer/index.js.map +1 -1
  1083. package/lib/molecule/feedback/index.js +6 -19
  1084. package/lib/molecule/feedback/index.js.map +1 -1
  1085. package/lib/molecule/filters/filters-wrapper.js +0 -22
  1086. package/lib/molecule/filters/filters-wrapper.js.map +1 -1
  1087. package/lib/molecule/filters/index.js +0 -17
  1088. package/lib/molecule/filters/index.js.map +1 -1
  1089. package/lib/molecule/forum/forum-comment/index.js +0 -14
  1090. package/lib/molecule/forum/forum-comment/index.js.map +1 -1
  1091. package/lib/molecule/forum/forum-post/index.js +0 -15
  1092. package/lib/molecule/forum/forum-post/index.js.map +1 -1
  1093. package/lib/molecule/forum/forum-thread/index.js +0 -9
  1094. package/lib/molecule/forum/forum-thread/index.js.map +1 -1
  1095. package/lib/molecule/forum/post-conditions.js +0 -4
  1096. package/lib/molecule/forum/post-conditions.js.map +1 -1
  1097. package/lib/molecule/go1-banner/index.js +4 -9
  1098. package/lib/molecule/go1-banner/index.js.map +1 -1
  1099. package/lib/molecule/hero/index.js +0 -13
  1100. package/lib/molecule/hero/index.js.map +1 -1
  1101. package/lib/molecule/input-text-with-titled-checkbox/index.js +0 -8
  1102. package/lib/molecule/input-text-with-titled-checkbox/index.js.map +1 -1
  1103. package/lib/molecule/list-badges/index.js +0 -8
  1104. package/lib/molecule/list-badges/index.js.map +1 -1
  1105. package/lib/molecule/login-alert/index.js +2 -8
  1106. package/lib/molecule/login-alert/index.js.map +1 -1
  1107. package/lib/molecule/menu-list/index.js +0 -10
  1108. package/lib/molecule/menu-list/index.js.map +1 -1
  1109. package/lib/molecule/message-popin/index.js +0 -6
  1110. package/lib/molecule/message-popin/index.js.map +1 -1
  1111. package/lib/molecule/modal/index.js +6 -13
  1112. package/lib/molecule/modal/index.js.map +1 -1
  1113. package/lib/molecule/module-bubble/index.js +0 -12
  1114. package/lib/molecule/module-bubble/index.js.map +1 -1
  1115. package/lib/molecule/module-card/index.js +2 -12
  1116. package/lib/molecule/module-card/index.js.map +1 -1
  1117. package/lib/molecule/news/index.js +0 -10
  1118. package/lib/molecule/news/index.js.map +1 -1
  1119. package/lib/molecule/notification-banner/index.js +0 -14
  1120. package/lib/molecule/notification-banner/index.js.map +1 -1
  1121. package/lib/molecule/pagination/index.js +0 -7
  1122. package/lib/molecule/pagination/index.js.map +1 -1
  1123. package/lib/molecule/payment-form/index.js +0 -18
  1124. package/lib/molecule/payment-form/index.js.map +1 -1
  1125. package/lib/molecule/pdf/index.js +2 -12
  1126. package/lib/molecule/pdf/index.js.map +1 -1
  1127. package/lib/molecule/popin/index.js +2 -14
  1128. package/lib/molecule/popin/index.js.map +1 -1
  1129. package/lib/molecule/product-card/index.js +0 -8
  1130. package/lib/molecule/product-card/index.js.map +1 -1
  1131. package/lib/molecule/progress-bar/index.js +0 -9
  1132. package/lib/molecule/progress-bar/index.js.map +1 -1
  1133. package/lib/molecule/questions/drop-down/index.js +0 -10
  1134. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  1135. package/lib/molecule/questions/free-text/index.js +0 -13
  1136. package/lib/molecule/questions/free-text/index.js.map +1 -1
  1137. package/lib/molecule/questions/free-text/index.native.d.ts +1 -1
  1138. package/lib/molecule/questions/free-text/index.native.d.ts.map +1 -1
  1139. package/lib/molecule/questions/free-text/index.native.js +12 -18
  1140. package/lib/molecule/questions/free-text/index.native.js.map +1 -1
  1141. package/lib/molecule/questions/mobile/draggable/index.native.js +0 -18
  1142. package/lib/molecule/questions/mobile/draggable/index.native.js.map +1 -1
  1143. package/lib/molecule/questions/mobile/slider/index.native.d.ts +2 -2
  1144. package/lib/molecule/questions/mobile/slider/index.native.d.ts.map +1 -1
  1145. package/lib/molecule/questions/mobile/slider/index.native.js +0 -16
  1146. package/lib/molecule/questions/mobile/slider/index.native.js.map +1 -1
  1147. package/lib/molecule/questions/mobile/switch/index.native.d.ts +1 -1
  1148. package/lib/molecule/questions/mobile/switch/index.native.d.ts.map +1 -1
  1149. package/lib/molecule/questions/mobile/switch/index.native.js +0 -26
  1150. package/lib/molecule/questions/mobile/switch/index.native.js.map +1 -1
  1151. package/lib/molecule/questions/mobile/template/index.native.d.ts +1 -1
  1152. package/lib/molecule/questions/mobile/template/index.native.d.ts.map +1 -1
  1153. package/lib/molecule/questions/mobile/template/index.native.js +0 -29
  1154. package/lib/molecule/questions/mobile/template/index.native.js.map +1 -1
  1155. package/lib/molecule/questions/qcm/index.js +3 -18
  1156. package/lib/molecule/questions/qcm/index.js.map +1 -1
  1157. package/lib/molecule/questions/qcm-drag/index.js +4 -25
  1158. package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
  1159. package/lib/molecule/questions/qcm-graphic/index.js +2 -14
  1160. package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
  1161. package/lib/molecule/questions/question-range/index.js +12 -25
  1162. package/lib/molecule/questions/question-range/index.js.map +1 -1
  1163. package/lib/molecule/questions/template/index.js +5 -24
  1164. package/lib/molecule/questions/template/index.js.map +1 -1
  1165. package/lib/molecule/questions/types.d.ts +12 -12
  1166. package/lib/molecule/questions/types.d.ts.map +1 -1
  1167. package/lib/molecule/quick-access-card/index.js +0 -24
  1168. package/lib/molecule/quick-access-card/index.js.map +1 -1
  1169. package/lib/molecule/quick-access-cards-group/index.js +0 -10
  1170. package/lib/molecule/quick-access-cards-group/index.js.map +1 -1
  1171. package/lib/molecule/resource-player/index.js +5 -36
  1172. package/lib/molecule/resource-player/index.js.map +1 -1
  1173. package/lib/molecule/review-card-congrats/index.js +2 -23
  1174. package/lib/molecule/review-card-congrats/index.js.map +1 -1
  1175. package/lib/molecule/review-card-congrats/prop-types.d.ts +1 -1
  1176. package/lib/molecule/review-card-congrats/prop-types.d.ts.map +1 -1
  1177. package/lib/molecule/review-card-congrats/prop-types.js +0 -4
  1178. package/lib/molecule/review-card-congrats/prop-types.js.map +1 -1
  1179. package/lib/molecule/review-correction-popin/index.js +4 -16
  1180. package/lib/molecule/review-correction-popin/index.js.map +1 -1
  1181. package/lib/molecule/review-correction-popin/index.native.js +0 -20
  1182. package/lib/molecule/review-correction-popin/index.native.js.map +1 -1
  1183. package/lib/molecule/review-correction-popin/prop-types.d.ts +3 -3
  1184. package/lib/molecule/review-correction-popin/prop-types.d.ts.map +1 -1
  1185. package/lib/molecule/review-correction-popin/prop-types.js +0 -3
  1186. package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
  1187. package/lib/molecule/review-header-steps/index.js +0 -11
  1188. package/lib/molecule/review-header-steps/index.js.map +1 -1
  1189. package/lib/molecule/review-header-steps/prop-types.d.ts +1 -1
  1190. package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  1191. package/lib/molecule/review-header-steps/prop-types.js +0 -4
  1192. package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
  1193. package/lib/molecule/scope-content/index.js +6 -25
  1194. package/lib/molecule/scope-content/index.js.map +1 -1
  1195. package/lib/molecule/scope-tabs/index.js +0 -16
  1196. package/lib/molecule/scope-tabs/index.js.map +1 -1
  1197. package/lib/molecule/search-form/index.js +0 -12
  1198. package/lib/molecule/search-form/index.js.map +1 -1
  1199. package/lib/molecule/select-multiple/index.js +2 -35
  1200. package/lib/molecule/select-multiple/index.js.map +1 -1
  1201. package/lib/molecule/setup-cohort-item/index.js +0 -17
  1202. package/lib/molecule/setup-cohort-item/index.js.map +1 -1
  1203. package/lib/molecule/setup-section/index.js +0 -15
  1204. package/lib/molecule/setup-section/index.js.map +1 -1
  1205. package/lib/molecule/setup-sections/index.js +0 -10
  1206. package/lib/molecule/setup-sections/index.js.map +1 -1
  1207. package/lib/molecule/setup-slide/index.js +0 -30
  1208. package/lib/molecule/setup-slide/index.js.map +1 -1
  1209. package/lib/molecule/setup-slider/index.js +0 -11
  1210. package/lib/molecule/setup-slider/index.js.map +1 -1
  1211. package/lib/molecule/share/index.js +6 -29
  1212. package/lib/molecule/share/index.js.map +1 -1
  1213. package/lib/molecule/skill-card/index.js +0 -13
  1214. package/lib/molecule/skill-card/index.js.map +1 -1
  1215. package/lib/molecule/skill-card/index.native.js +0 -12
  1216. package/lib/molecule/skill-card/index.native.js.map +1 -1
  1217. package/lib/molecule/skill-card/prop-types.d.ts +1 -1
  1218. package/lib/molecule/skill-card/prop-types.d.ts.map +1 -1
  1219. package/lib/molecule/skill-card/prop-types.js +0 -3
  1220. package/lib/molecule/skill-card/prop-types.js.map +1 -1
  1221. package/lib/molecule/ssmenu-list/index.js +0 -6
  1222. package/lib/molecule/ssmenu-list/index.js.map +1 -1
  1223. package/lib/molecule/subscription-freemium/index.js +0 -7
  1224. package/lib/molecule/subscription-freemium/index.js.map +1 -1
  1225. package/lib/molecule/subscription-premium/index.js +0 -11
  1226. package/lib/molecule/subscription-premium/index.js.map +1 -1
  1227. package/lib/molecule/table/index.js +0 -28
  1228. package/lib/molecule/table/index.js.map +1 -1
  1229. package/lib/molecule/teams-popin/index.js +0 -10
  1230. package/lib/molecule/teams-popin/index.js.map +1 -1
  1231. package/lib/molecule/theme-image/index.js +0 -8
  1232. package/lib/molecule/theme-image/index.js.map +1 -1
  1233. package/lib/molecule/title-and-checkbox-wrapper/index.js +0 -12
  1234. package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  1235. package/lib/molecule/titled-checkbox/index.js +0 -11
  1236. package/lib/molecule/titled-checkbox/index.js.map +1 -1
  1237. package/lib/molecule/unsubscribe/index.js +0 -8
  1238. package/lib/molecule/unsubscribe/index.js.map +1 -1
  1239. package/lib/molecule/vertical-tabs/index.js +0 -14
  1240. package/lib/molecule/vertical-tabs/index.js.map +1 -1
  1241. package/lib/molecule/video-iframe/index.js +0 -19
  1242. package/lib/molecule/video-iframe/index.js.map +1 -1
  1243. package/lib/molecule/video-player/index.js +6 -31
  1244. package/lib/molecule/video-player/index.js.map +1 -1
  1245. package/lib/molecule/video-player/jwplayer-prop-types.js +0 -4
  1246. package/lib/molecule/video-player/jwplayer-prop-types.js.map +1 -1
  1247. package/lib/molecule/video-player/jwplayer.js +3 -36
  1248. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  1249. package/lib/molecule/video-player/prop-types.js +0 -4
  1250. package/lib/molecule/video-player/prop-types.js.map +1 -1
  1251. package/lib/molecule/video-player/vimeo.js +0 -46
  1252. package/lib/molecule/video-player/vimeo.js.map +1 -1
  1253. package/lib/molecule/wizard-summary/index.js +2 -28
  1254. package/lib/molecule/wizard-summary/index.js.map +1 -1
  1255. package/lib/organism/accordion/container/index.js +0 -18
  1256. package/lib/organism/accordion/container/index.js.map +1 -1
  1257. package/lib/organism/accordion/coorp-manager/index.js +0 -21
  1258. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  1259. package/lib/organism/accordion/coorp-manager/part/index.js +0 -19
  1260. package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
  1261. package/lib/organism/accordion/part/index.js +0 -12
  1262. package/lib/organism/accordion/part/index.js.map +1 -1
  1263. package/lib/organism/accordion/toggler/index.js +0 -20
  1264. package/lib/organism/accordion/toggler/index.js.map +1 -1
  1265. package/lib/organism/brand-analytics/analytics-popin.js +0 -14
  1266. package/lib/organism/brand-analytics/analytics-popin.js.map +1 -1
  1267. package/lib/organism/brand-analytics/index.js +0 -21
  1268. package/lib/organism/brand-analytics/index.js.map +1 -1
  1269. package/lib/organism/brand-dashboard/index.js +0 -10
  1270. package/lib/organism/brand-dashboard/index.js.map +1 -1
  1271. package/lib/organism/brand-form/index.js +0 -18
  1272. package/lib/organism/brand-form/index.js.map +1 -1
  1273. package/lib/organism/brand-table/index.js +0 -12
  1274. package/lib/organism/brand-table/index.js.map +1 -1
  1275. package/lib/organism/brand-upload/index.js +0 -13
  1276. package/lib/organism/brand-upload/index.js.map +1 -1
  1277. package/lib/organism/cards-grid/index.js +0 -9
  1278. package/lib/organism/cards-grid/index.js.map +1 -1
  1279. package/lib/organism/cart/index.js +0 -11
  1280. package/lib/organism/cart/index.js.map +1 -1
  1281. package/lib/organism/content-translation/index.js +0 -14
  1282. package/lib/organism/content-translation/index.js.map +1 -1
  1283. package/lib/organism/course-selection/index.js +0 -18
  1284. package/lib/organism/course-selection/index.js.map +1 -1
  1285. package/lib/organism/discussion/index.js +2 -14
  1286. package/lib/organism/discussion/index.js.map +1 -1
  1287. package/lib/organism/get-the-app/index.js +0 -21
  1288. package/lib/organism/get-the-app/index.js.map +1 -1
  1289. package/lib/organism/grid-list/index.js +0 -6
  1290. package/lib/organism/grid-list/index.js.map +1 -1
  1291. package/lib/organism/header/index.js +0 -9
  1292. package/lib/organism/header/index.js.map +1 -1
  1293. package/lib/organism/header-v2/index.native.js +3 -17
  1294. package/lib/organism/header-v2/index.native.js.map +1 -1
  1295. package/lib/organism/hero/index.js +0 -11
  1296. package/lib/organism/hero/index.js.map +1 -1
  1297. package/lib/organism/list-item/index.js +0 -12
  1298. package/lib/organism/list-item/index.js.map +1 -1
  1299. package/lib/organism/list-items/index.js +0 -10
  1300. package/lib/organism/list-items/index.js.map +1 -1
  1301. package/lib/organism/mobile-navigation/index.native.d.ts +2 -2
  1302. package/lib/organism/mobile-navigation/index.native.d.ts.map +1 -1
  1303. package/lib/organism/mobile-navigation/index.native.js +0 -16
  1304. package/lib/organism/mobile-navigation/index.native.js.map +1 -1
  1305. package/lib/organism/mooc/image-slider/index.js +0 -9
  1306. package/lib/organism/mooc/image-slider/index.js.map +1 -1
  1307. package/lib/organism/mooc-footer/index.js +10 -22
  1308. package/lib/organism/mooc-footer/index.js.map +1 -1
  1309. package/lib/organism/mooc-header/index.d.ts +0 -6
  1310. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  1311. package/lib/organism/mooc-header/index.js +7 -124
  1312. package/lib/organism/mooc-header/index.js.map +1 -1
  1313. package/lib/organism/mooc-header/style.css +0 -46
  1314. package/lib/organism/podcast-popin-intro/index.native.d.ts +2 -2
  1315. package/lib/organism/podcast-popin-intro/index.native.d.ts.map +1 -1
  1316. package/lib/organism/podcast-popin-intro/index.native.js +0 -15
  1317. package/lib/organism/podcast-popin-intro/index.native.js.map +1 -1
  1318. package/lib/organism/popin/index.js +0 -12
  1319. package/lib/organism/popin/index.js.map +1 -1
  1320. package/lib/organism/resource-browser/index.js +0 -16
  1321. package/lib/organism/resource-browser/index.js.map +1 -1
  1322. package/lib/organism/review-congrats/index.js +1 -16
  1323. package/lib/organism/review-congrats/index.js.map +1 -1
  1324. package/lib/organism/review-congrats/index.native.js +2 -22
  1325. package/lib/organism/review-congrats/index.native.js.map +1 -1
  1326. package/lib/organism/review-congrats/prop-types.d.ts +1 -1
  1327. package/lib/organism/review-congrats/prop-types.d.ts.map +1 -1
  1328. package/lib/organism/review-congrats/prop-types.js +0 -5
  1329. package/lib/organism/review-congrats/prop-types.js.map +1 -1
  1330. package/lib/organism/review-header/index.js +0 -10
  1331. package/lib/organism/review-header/index.js.map +1 -1
  1332. package/lib/organism/review-header/index.native.js +0 -10
  1333. package/lib/organism/review-header/index.native.js.map +1 -1
  1334. package/lib/organism/review-header/types.d.ts +1 -1
  1335. package/lib/organism/review-header/types.d.ts.map +1 -1
  1336. package/lib/organism/review-header/types.js +0 -4
  1337. package/lib/organism/review-header/types.js.map +1 -1
  1338. package/lib/organism/review-no-skills/index.js +0 -7
  1339. package/lib/organism/review-no-skills/index.js.map +1 -1
  1340. package/lib/organism/review-no-skills/index.native.js +0 -12
  1341. package/lib/organism/review-no-skills/index.native.js.map +1 -1
  1342. package/lib/organism/review-no-skills/prop-types.d.ts +1 -1
  1343. package/lib/organism/review-no-skills/prop-types.d.ts.map +1 -1
  1344. package/lib/organism/review-no-skills/prop-types.js +0 -3
  1345. package/lib/organism/review-no-skills/prop-types.js.map +1 -1
  1346. package/lib/organism/review-skills/index.js +0 -8
  1347. package/lib/organism/review-skills/index.js.map +1 -1
  1348. package/lib/organism/review-skills/index.native.js +0 -8
  1349. package/lib/organism/review-skills/index.native.js.map +1 -1
  1350. package/lib/organism/review-skills/prop-types.d.ts +1 -1
  1351. package/lib/organism/review-skills/prop-types.d.ts.map +1 -1
  1352. package/lib/organism/review-skills/prop-types.js +0 -4
  1353. package/lib/organism/review-skills/prop-types.js.map +1 -1
  1354. package/lib/organism/review-slide/index.js +8 -31
  1355. package/lib/organism/review-slide/index.js.map +1 -1
  1356. package/lib/organism/review-slide/index.native.js +3 -24
  1357. package/lib/organism/review-slide/index.native.js.map +1 -1
  1358. package/lib/organism/review-slide/prop-types.d.ts +5 -5
  1359. package/lib/organism/review-slide/prop-types.d.ts.map +1 -1
  1360. package/lib/organism/review-slide/prop-types.js +1 -7
  1361. package/lib/organism/review-slide/prop-types.js.map +1 -1
  1362. package/lib/organism/review-stacked-slides/index.js +2 -18
  1363. package/lib/organism/review-stacked-slides/index.js.map +1 -1
  1364. package/lib/organism/review-stacked-slides/index.native.js +5 -20
  1365. package/lib/organism/review-stacked-slides/index.native.js.map +1 -1
  1366. package/lib/organism/review-stacked-slides/prop-types.d.ts +1 -1
  1367. package/lib/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
  1368. package/lib/organism/review-stacked-slides/prop-types.js +0 -6
  1369. package/lib/organism/review-stacked-slides/prop-types.js.map +1 -1
  1370. package/lib/organism/rewards-form/index.js +3 -14
  1371. package/lib/organism/rewards-form/index.js.map +1 -1
  1372. package/lib/organism/search-and-chips-results/index.js +0 -15
  1373. package/lib/organism/search-and-chips-results/index.js.map +1 -1
  1374. package/lib/organism/settings/index.js +5 -25
  1375. package/lib/organism/settings/index.js.map +1 -1
  1376. package/lib/organism/setup-header/index.js +0 -15
  1377. package/lib/organism/setup-header/index.js.map +1 -1
  1378. package/lib/organism/sidebar/index.js +8 -58
  1379. package/lib/organism/sidebar/index.js.map +1 -1
  1380. package/lib/organism/slider/index.js +2 -24
  1381. package/lib/organism/slider/index.js.map +1 -1
  1382. package/lib/organism/user-preferences/index.js +5 -21
  1383. package/lib/organism/user-preferences/index.js.map +1 -1
  1384. package/lib/organism/wizard-contents/index.js +0 -28
  1385. package/lib/organism/wizard-contents/index.js.map +1 -1
  1386. package/lib/template/activity/engine-stars.js +5 -27
  1387. package/lib/template/activity/engine-stars.js.map +1 -1
  1388. package/lib/template/activity/index.js +2 -26
  1389. package/lib/template/activity/index.js.map +1 -1
  1390. package/lib/template/activity/progression-item.js +2 -17
  1391. package/lib/template/activity/progression-item.js.map +1 -1
  1392. package/lib/template/activity/stars-summary.js +0 -22
  1393. package/lib/template/activity/stars-summary.js.map +1 -1
  1394. package/lib/template/app-player/loading/index.js +0 -8
  1395. package/lib/template/app-player/loading/index.js.map +1 -1
  1396. package/lib/template/app-player/player/index.js +0 -9
  1397. package/lib/template/app-player/player/index.js.map +1 -1
  1398. package/lib/template/app-player/player/slides/footer/index.js +0 -20
  1399. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  1400. package/lib/template/app-player/player/slides/header/index.js +1 -11
  1401. package/lib/template/app-player/player/slides/header/index.js.map +1 -1
  1402. package/lib/template/app-player/player/slides/header/learner.js +4 -20
  1403. package/lib/template/app-player/player/slides/header/learner.js.map +1 -1
  1404. package/lib/template/app-player/player/slides/header/lives.js +0 -9
  1405. package/lib/template/app-player/player/slides/header/lives.js.map +1 -1
  1406. package/lib/template/app-player/player/slides/header/microlearning.js +2 -12
  1407. package/lib/template/app-player/player/slides/header/microlearning.js.map +1 -1
  1408. package/lib/template/app-player/player/slides/index.js +21 -89
  1409. package/lib/template/app-player/player/slides/index.js.map +1 -1
  1410. package/lib/template/app-player/popin-correction/index.js +10 -50
  1411. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  1412. package/lib/template/app-player/popin-end/index.js +0 -12
  1413. package/lib/template/app-player/popin-end/index.js.map +1 -1
  1414. package/lib/template/app-player/popin-end/summary.js +22 -69
  1415. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  1416. package/lib/template/app-player/popin-header/index.js +12 -67
  1417. package/lib/template/app-player/popin-header/index.js.map +1 -1
  1418. package/lib/template/app-player/popin-no-access/index.js +0 -6
  1419. package/lib/template/app-player/popin-no-access/index.js.map +1 -1
  1420. package/lib/template/app-review/demo-ts/index.js +0 -5
  1421. package/lib/template/app-review/demo-ts/index.js.map +1 -1
  1422. package/lib/template/app-review/demo-ts/index.native.js +0 -5
  1423. package/lib/template/app-review/demo-ts/index.native.js.map +1 -1
  1424. package/lib/template/app-review/demo-ts/typings.d.ts +1 -1
  1425. package/lib/template/app-review/demo-ts/typings.d.ts.map +1 -1
  1426. package/lib/template/app-review/demo-ts/typings.js +0 -3
  1427. package/lib/template/app-review/demo-ts/typings.js.map +1 -1
  1428. package/lib/template/app-review/index.js +0 -8
  1429. package/lib/template/app-review/index.js.map +1 -1
  1430. package/lib/template/app-review/index.native.js +2 -14
  1431. package/lib/template/app-review/index.native.js.map +1 -1
  1432. package/lib/template/app-review/onboarding/index.js +0 -3
  1433. package/lib/template/app-review/onboarding/index.js.map +1 -1
  1434. package/lib/template/app-review/onboarding/index.native.js +0 -3
  1435. package/lib/template/app-review/onboarding/index.native.js.map +1 -1
  1436. package/lib/template/app-review/player/background-review.js +0 -5
  1437. package/lib/template/app-review/player/background-review.js.map +1 -1
  1438. package/lib/template/app-review/player/index.js +0 -13
  1439. package/lib/template/app-review/player/index.js.map +1 -1
  1440. package/lib/template/app-review/player/index.native.js +0 -16
  1441. package/lib/template/app-review/player/index.native.js.map +1 -1
  1442. package/lib/template/app-review/player/prop-types.d.ts +1 -1
  1443. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  1444. package/lib/template/app-review/player/prop-types.js +0 -8
  1445. package/lib/template/app-review/player/prop-types.js.map +1 -1
  1446. package/lib/template/app-review/prop-types.d.ts +2 -2
  1447. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  1448. package/lib/template/app-review/prop-types.js +0 -5
  1449. package/lib/template/app-review/prop-types.js.map +1 -1
  1450. package/lib/template/app-review/skills/index.js +0 -10
  1451. package/lib/template/app-review/skills/index.js.map +1 -1
  1452. package/lib/template/app-review/skills/index.native.js +0 -16
  1453. package/lib/template/app-review/skills/index.native.js.map +1 -1
  1454. package/lib/template/app-review/skills/prop-types.d.ts +1 -1
  1455. package/lib/template/app-review/skills/prop-types.d.ts.map +1 -1
  1456. package/lib/template/app-review/skills/prop-types.js +0 -4
  1457. package/lib/template/app-review/skills/prop-types.js.map +1 -1
  1458. package/lib/template/app-review/template-context.d.ts +5 -5
  1459. package/lib/template/app-review/template-context.d.ts.map +1 -1
  1460. package/lib/template/app-review/template-context.js +0 -15
  1461. package/lib/template/app-review/template-context.js.map +1 -1
  1462. package/lib/template/back-office/brand-create/index.js +0 -8
  1463. package/lib/template/back-office/brand-create/index.js.map +1 -1
  1464. package/lib/template/back-office/brand-list/index.js +8 -26
  1465. package/lib/template/back-office/brand-list/index.js.map +1 -1
  1466. package/lib/template/back-office/brand-update/index.js +4 -51
  1467. package/lib/template/back-office/brand-update/index.js.map +1 -1
  1468. package/lib/template/back-office/dashboard-preview/dashboard-popin.js +0 -12
  1469. package/lib/template/back-office/dashboard-preview/dashboard-popin.js.map +1 -1
  1470. package/lib/template/back-office/dashboard-preview/index.js +0 -30
  1471. package/lib/template/back-office/dashboard-preview/index.js.map +1 -1
  1472. package/lib/template/back-office/layout/index.js +0 -8
  1473. package/lib/template/back-office/layout/index.js.map +1 -1
  1474. package/lib/template/battle-requests/index.js +2 -12
  1475. package/lib/template/battle-requests/index.js.map +1 -1
  1476. package/lib/template/cockpit/jw-uploader/index.js +0 -11
  1477. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  1478. package/lib/template/common/authors/index.js +2 -18
  1479. package/lib/template/common/authors/index.js.map +1 -1
  1480. package/lib/template/common/coorp-header/content.js +0 -6
  1481. package/lib/template/common/coorp-header/content.js.map +1 -1
  1482. package/lib/template/common/coorp-header/index.js +0 -7
  1483. package/lib/template/common/coorp-header/index.js.map +1 -1
  1484. package/lib/template/common/dashboard/index.js +0 -27
  1485. package/lib/template/common/dashboard/index.js.map +1 -1
  1486. package/lib/template/common/discipline/index.js +0 -20
  1487. package/lib/template/common/discipline/index.js.map +1 -1
  1488. package/lib/template/common/search-page/index.js +0 -14
  1489. package/lib/template/common/search-page/index.js.map +1 -1
  1490. package/lib/template/external-course/index.js +2 -25
  1491. package/lib/template/external-course/index.js.map +1 -1
  1492. package/lib/template/review-dashboard-skills/index.js +0 -8
  1493. package/lib/template/review-dashboard-skills/index.js.map +1 -1
  1494. package/lib/template/teams-dashboard/index.d.ts +0 -2
  1495. package/lib/template/teams-dashboard/index.js +0 -14
  1496. package/lib/template/teams-dashboard/index.js.map +1 -1
  1497. package/lib/util/bubbling.js +0 -2
  1498. package/lib/util/bubbling.js.map +1 -1
  1499. package/lib/util/build-query-string.d.ts +1 -1
  1500. package/lib/util/build-query-string.d.ts.map +1 -1
  1501. package/lib/util/build-query-string.js +0 -4
  1502. package/lib/util/build-query-string.js.map +1 -1
  1503. package/lib/util/button-icons.js +0 -2
  1504. package/lib/util/button-icons.js.map +1 -1
  1505. package/lib/util/closest-step.js +0 -7
  1506. package/lib/util/closest-step.js.map +1 -1
  1507. package/lib/util/constants.js.map +1 -1
  1508. package/lib/util/external-content.js +0 -5
  1509. package/lib/util/external-content.js.map +1 -1
  1510. package/lib/util/get-class-state.js +0 -3
  1511. package/lib/util/get-class-state.js.map +1 -1
  1512. package/lib/util/get-clean-uri.js +0 -2
  1513. package/lib/util/get-clean-uri.js.map +1 -1
  1514. package/lib/util/get-resized-image.js +0 -11
  1515. package/lib/util/get-resized-image.js.map +1 -1
  1516. package/lib/util/get-shadow-box-color-from-primary.js +0 -3
  1517. package/lib/util/get-shadow-box-color-from-primary.js.map +1 -1
  1518. package/lib/util/image.js +0 -5
  1519. package/lib/util/image.js.map +1 -1
  1520. package/lib/util/navigation.js +1 -13
  1521. package/lib/util/navigation.js.map +1 -1
  1522. package/lib/util/parse-template-string.js +0 -9
  1523. package/lib/util/parse-template-string.js.map +1 -1
  1524. package/lib/util/proptypes.js +0 -11
  1525. package/lib/util/proptypes.js.map +1 -1
  1526. package/lib/util/render-with-context.js +8 -22
  1527. package/lib/util/render-with-context.js.map +1 -1
  1528. package/lib/util/shallow-compare.js +0 -4
  1529. package/lib/util/shallow-compare.js.map +1 -1
  1530. package/lib/variables/analytics.d.ts +2 -2
  1531. package/lib/variables/analytics.d.ts.map +1 -1
  1532. package/lib/variables/analytics.js.map +1 -1
  1533. package/lib/variables/brand.native.d.ts +1 -1
  1534. package/lib/variables/brand.native.d.ts.map +1 -1
  1535. package/lib/variables/brand.native.js.map +1 -1
  1536. package/lib/variables/colors.d.ts +1 -1
  1537. package/lib/variables/colors.d.ts.map +1 -1
  1538. package/lib/variables/colors.js.map +1 -1
  1539. package/lib/variables/default-mobile-translations.d.ts +2 -2
  1540. package/lib/variables/default-mobile-translations.d.ts.map +1 -1
  1541. package/lib/variables/default-mobile-translations.js.map +1 -1
  1542. package/lib/variables/shadow.d.ts +1 -1
  1543. package/lib/variables/shadow.d.ts.map +1 -1
  1544. package/lib/variables/shadow.js +0 -1
  1545. package/lib/variables/shadow.js.map +1 -1
  1546. package/lib/variables/theme.native.d.ts +3 -3
  1547. package/lib/variables/theme.native.d.ts.map +1 -1
  1548. package/lib/variables/theme.native.js +0 -2
  1549. package/lib/variables/theme.native.js.map +1 -1
  1550. package/lib/variables/vibration.d.ts +2 -2
  1551. package/lib/variables/vibration.d.ts.map +1 -1
  1552. package/lib/variables/vibration.js.map +1 -1
  1553. package/package.json +3 -3
@@ -1,14 +1,11 @@
1
1
  import _clamp from "lodash/fp/clamp";
2
2
  import _set from "lodash/fp/set";
3
3
  import _noop from "lodash/fp/noop";
4
-
5
4
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
-
7
5
  import React from 'react';
8
6
  import PropTypes from 'prop-types';
9
7
  import Handle from './handle';
10
8
  import style from './style.css';
11
-
12
9
  const valueOnTrack = (track, x) => {
13
10
  const {
14
11
  left,
@@ -16,7 +13,6 @@ const valueOnTrack = (track, x) => {
16
13
  } = track.getBoundingClientRect();
17
14
  return _clamp(0, 1, (x - left) / (right - left));
18
15
  };
19
-
20
16
  const extractStateFromProps = props => {
21
17
  const {
22
18
  multi = false,
@@ -27,7 +23,6 @@ const extractStateFromProps = props => {
27
23
  value: multi ? value : [0, value]
28
24
  };
29
25
  };
30
-
31
26
  const RenderHandles = props => {
32
27
  const {
33
28
  left,
@@ -59,7 +54,6 @@ const RenderHandles = props => {
59
54
  onPanEnd: onHandleMaxChangeEnd
60
55
  })));
61
56
  };
62
-
63
57
  RenderHandles.propTypes = process.env.NODE_ENV !== "production" ? {
64
58
  left: PropTypes.number,
65
59
  right: PropTypes.number,
@@ -70,7 +64,6 @@ RenderHandles.propTypes = process.env.NODE_ENV !== "production" ? {
70
64
  onHandleMaxChange: PropTypes.func,
71
65
  onHandleMaxChangeEnd: PropTypes.func
72
66
  } : {};
73
-
74
67
  class Range extends React.Component {
75
68
  static getDerivedStateFromProps(props, state) {
76
69
  const {
@@ -79,7 +72,6 @@ class Range extends React.Component {
79
72
  if (pending) return null;
80
73
  return extractStateFromProps(props);
81
74
  }
82
-
83
75
  constructor(props, context) {
84
76
  super(props, context);
85
77
  this.state = _extends({}, extractStateFromProps(props), {
@@ -92,46 +84,38 @@ class Range extends React.Component {
92
84
  this.handleMinChangeEnd = this.handleMinChangeEnd.bind(this);
93
85
  this.handleMaxChangeEnd = this.handleMaxChangeEnd.bind(this);
94
86
  }
95
-
96
87
  setRefTrack(track) {
97
88
  this.track = track;
98
89
  }
99
-
100
90
  handleMinChange(e) {
101
91
  e.srcEvent.stopPropagation();
102
92
  e.srcEvent.preventDefault();
103
93
  const newValue = valueOnTrack(this.track, e.center.x);
104
94
  return this.handleChange(newValue, 0, true);
105
95
  }
106
-
107
96
  handleMaxChange(e) {
108
97
  e.srcEvent.stopPropagation();
109
98
  e.srcEvent.preventDefault();
110
99
  const newValue = valueOnTrack(this.track, e.center.x);
111
100
  return this.handleChange(newValue, 1, true);
112
101
  }
113
-
114
102
  handleMinChangeEnd(e) {
115
103
  e.srcEvent.stopPropagation();
116
104
  e.srcEvent.preventDefault();
117
105
  const newValue = valueOnTrack(this.track, e.center.x);
118
106
  return this.handleChange(newValue, 0, false);
119
107
  }
120
-
121
108
  handleMaxChangeEnd(e) {
122
109
  e.srcEvent.stopPropagation();
123
110
  e.srcEvent.preventDefault();
124
111
  const newValue = valueOnTrack(this.track, e.center.x);
125
112
  return this.handleChange(newValue, 1, false);
126
113
  }
127
-
128
114
  handleChange(value, valueIndex, pending) {
129
115
  const {
130
116
  value: prevValue
131
117
  } = this.state;
132
-
133
118
  const newValue = _set(valueIndex, value, prevValue);
134
-
135
119
  const [minValue, maxValue] = newValue;
136
120
  const nextValue = minValue > maxValue ? prevValue : newValue;
137
121
  this.triggerChange(nextValue, pending);
@@ -140,7 +124,6 @@ class Range extends React.Component {
140
124
  value: pending ? nextValue : extractStateFromProps(this.props).value
141
125
  });
142
126
  }
143
-
144
127
  triggerChange(newValues, pending) {
145
128
  const {
146
129
  onChange = _noop,
@@ -150,7 +133,6 @@ class Range extends React.Component {
150
133
  const handle = pending ? onChange : onChangeEnd;
151
134
  return handle(multi ? newValues : newValues[1]);
152
135
  }
153
-
154
136
  handleClick(e) {
155
137
  e.stopPropagation();
156
138
  e.preventDefault();
@@ -161,16 +143,13 @@ class Range extends React.Component {
161
143
  const x = e.clientX;
162
144
  const newValue = valueOnTrack(this.track, x);
163
145
  if (!multi) return this.handleChange(newValue, 1, false);
164
-
165
146
  if (left === right) {
166
147
  const isClickToTheLeft = left - newValue > 0;
167
148
  return this.handleChange(newValue, isClickToTheLeft ? 0 : 1, false);
168
149
  }
169
-
170
150
  const closestHandle = Math.abs(newValue - left) < Math.abs(newValue - right) ? 0 : 1;
171
151
  return this.handleChange(newValue, closestHandle, false);
172
152
  }
173
-
174
153
  render() {
175
154
  const {
176
155
  multi = false,
@@ -207,9 +186,7 @@ class Range extends React.Component {
207
186
  onHandleMaxChangeEnd: this.handleMaxChangeEnd
208
187
  })));
209
188
  }
210
-
211
189
  }
212
-
213
190
  Range.propTypes = process.env.NODE_ENV !== "production" ? {
214
191
  onChange: PropTypes.func,
215
192
  onChangeEnd: PropTypes.func,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","Handle","style","valueOnTrack","track","x","left","right","getBoundingClientRect","extractStateFromProps","props","multi","value","RenderHandles","pending","onHandleMinChange","onHandleMinChangeEnd","onHandleMaxChange","onHandleMaxChangeEnd","handle","animatedHandle","propTypes","number","bool","func","Range","Component","getDerivedStateFromProps","state","constructor","context","handleClick","bind","setRefTrack","handleMinChange","handleMaxChange","handleMinChangeEnd","handleMaxChangeEnd","e","srcEvent","stopPropagation","preventDefault","newValue","center","handleChange","valueIndex","prevValue","minValue","maxValue","nextValue","triggerChange","setState","newValues","onChange","onChangeEnd","clientX","isClickToTheLeft","closestHandle","Math","abs","render","railWidth","railLeft","railStyle","backgroundColor","width","containerWrapper","container","rail","animatedRail","oneOfType","arrayOf"],"sources":["../../../src/atom/range/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {noop, set, clamp} from 'lodash/fp';\nimport Handle from './handle';\nimport style from './style.css';\n\nconst valueOnTrack = (track, x) => {\n const {left, right} = track.getBoundingClientRect();\n return clamp(0, 1, (x - left) / (right - left));\n};\n\nconst extractStateFromProps = props => {\n const {multi = false, value = multi ? [0, 1] : 0} = props;\n return {\n multi,\n value: multi ? value : [0, value]\n };\n};\n\nconst RenderHandles = props => {\n const {\n left,\n right,\n multi = false,\n pending,\n onHandleMinChange,\n onHandleMinChangeEnd,\n onHandleMaxChange,\n onHandleMaxChangeEnd\n } = props;\n\n return (\n <div>\n {multi ? (\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${left * 100}%`}}\n >\n <Handle axis=\"x\" onPan={onHandleMinChange} onPanEnd={onHandleMinChangeEnd} />\n </span>\n ) : null}\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${right * 100}%`}}\n >\n <Handle axis=\"x\" onPan={onHandleMaxChange} onPanEnd={onHandleMaxChangeEnd} />\n </span>\n </div>\n );\n};\n\nRenderHandles.propTypes = {\n left: PropTypes.number,\n right: PropTypes.number,\n multi: PropTypes.bool,\n pending: PropTypes.bool,\n onHandleMinChange: PropTypes.func,\n onHandleMinChangeEnd: PropTypes.func,\n onHandleMaxChange: PropTypes.func,\n onHandleMaxChangeEnd: PropTypes.func\n};\n\nclass Range extends React.Component {\n static propTypes = {\n onChange: PropTypes.func,\n onChangeEnd: PropTypes.func,\n multi: PropTypes.bool,\n // eslint-disable-next-line react/no-unused-prop-types\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)])\n };\n\n static getDerivedStateFromProps(props, state) {\n const {pending} = state;\n\n if (pending) return null;\n\n return extractStateFromProps(props);\n }\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...extractStateFromProps(props),\n pending: false\n };\n\n this.handleClick = this.handleClick.bind(this);\n this.setRefTrack = this.setRefTrack.bind(this);\n this.handleMinChange = this.handleMinChange.bind(this);\n this.handleMaxChange = this.handleMaxChange.bind(this);\n this.handleMinChangeEnd = this.handleMinChangeEnd.bind(this);\n this.handleMaxChangeEnd = this.handleMaxChangeEnd.bind(this);\n }\n\n setRefTrack(track) {\n this.track = track;\n }\n\n handleMinChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, true);\n }\n\n handleMaxChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, true);\n }\n\n handleMinChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, false);\n }\n\n handleMaxChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, false);\n }\n\n handleChange(value, valueIndex, pending) {\n const {value: prevValue} = this.state;\n\n const newValue = set(valueIndex, value, prevValue);\n\n const [minValue, maxValue] = newValue;\n\n const nextValue = minValue > maxValue ? prevValue : newValue;\n\n this.triggerChange(nextValue, pending);\n return this.setState({\n pending,\n value: pending ? nextValue : extractStateFromProps(this.props).value\n });\n }\n\n triggerChange(newValues, pending) {\n const {onChange = noop, onChangeEnd = onChange, multi = false} = this.props;\n\n const handle = pending ? onChange : onChangeEnd;\n\n return handle(multi ? newValues : newValues[1]);\n }\n\n handleClick(e) {\n e.stopPropagation();\n e.preventDefault();\n const {\n value: [left, right],\n multi\n } = this.state;\n const x = e.clientX;\n const newValue = valueOnTrack(this.track, x);\n\n if (!multi) return this.handleChange(newValue, 1, false);\n\n if (left === right) {\n const isClickToTheLeft = left - newValue > 0;\n return this.handleChange(newValue, isClickToTheLeft ? 0 : 1, false);\n }\n\n const closestHandle = Math.abs(newValue - left) < Math.abs(newValue - right) ? 0 : 1;\n return this.handleChange(newValue, closestHandle, false);\n }\n\n render() {\n const {\n multi = false,\n value: [left, right],\n pending\n } = this.state;\n const railWidth = right - left;\n const railLeft = left;\n const railStyle = {\n backgroundColor: '#9999A8',\n width: `${railWidth * 100}%`,\n left: `${railLeft * 100}%`\n };\n\n return (\n <div className={style.containerWrapper} onClick={this.handleClick}>\n <div className={style.container}>\n <div className={style.track} data-name=\"sliderTrack\" ref={this.setRefTrack} />\n <div className={pending ? style.rail : style.animatedRail} style={railStyle} />\n <RenderHandles\n left={left}\n right={right}\n pending={pending}\n multi={multi}\n onHandleMinChange={this.handleMinChange}\n onHandleMinChangeEnd={this.handleMinChangeEnd}\n onHandleMaxChange={this.handleMaxChange}\n onHandleMaxChangeEnd={this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D,KAAK,CAACgE,gBAAtB;MAAwC,OAAO,EAAE,KAAKnC;IAAtD,gBACE;MAAK,SAAS,EAAE7B,KAAK,CAACiE;IAAtB,gBACE;MAAK,SAAS,EAAEjE,KAAK,CAACE,KAAtB;MAA6B,aAAU,aAAvC;MAAqD,GAAG,EAAE,KAAK6B;IAA/D,EADF,eAEE;MAAK,SAAS,EAAEnB,OAAO,GAAGZ,KAAK,CAACkE,IAAT,GAAgBlE,KAAK,CAACmE,YAA7C;MAA2D,KAAK,EAAEN;IAAlE,EAFF,eAGE,oBAAC,aAAD;MACE,IAAI,EAAEzD,IADR;MAEE,KAAK,EAAEC,KAFT;MAGE,OAAO,EAAEO,OAHX;MAIE,KAAK,EAAEH,KAJT;MAKE,iBAAiB,EAAE,KAAKuB,eAL1B;MAME,oBAAoB,EAAE,KAAKE,kBAN7B;MAOE,iBAAiB,EAAE,KAAKD,eAP1B;MAQE,oBAAoB,EAAE,KAAKE;IAR7B,EAHF,CADF,CADF;EAkBD;;AA9IiC;;AAA9BZ,K,CACGJ,S,2CAAY;EACjBgC,QAAQ,EAAErD,SAAS,CAACwB,IADH;EAEjB8B,WAAW,EAAEtD,SAAS,CAACwB,IAFN;EAGjBb,KAAK,EAAEX,SAAS,CAACuB,IAHA;EAIjB;EACAX,KAAK,EAAEZ,SAAS,CAACsE,SAAV,CAAoB,CAACtE,SAAS,CAACsB,MAAX,EAAmBtB,SAAS,CAACuE,OAAV,CAAkBvE,SAAS,CAACsB,MAA5B,CAAnB,CAApB;AALU,C;AAgJrB,eAAeG,KAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","Handle","style","valueOnTrack","track","x","left","right","getBoundingClientRect","extractStateFromProps","props","multi","value","RenderHandles","pending","onHandleMinChange","onHandleMinChangeEnd","onHandleMaxChange","onHandleMaxChangeEnd","handle","animatedHandle","propTypes","number","bool","func","Range","Component","getDerivedStateFromProps","state","constructor","context","handleClick","bind","setRefTrack","handleMinChange","handleMaxChange","handleMinChangeEnd","handleMaxChangeEnd","e","srcEvent","stopPropagation","preventDefault","newValue","center","handleChange","valueIndex","prevValue","minValue","maxValue","nextValue","triggerChange","setState","newValues","onChange","onChangeEnd","clientX","isClickToTheLeft","closestHandle","Math","abs","render","railWidth","railLeft","railStyle","backgroundColor","width","containerWrapper","container","rail","animatedRail","oneOfType","arrayOf"],"sources":["../../../src/atom/range/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {noop, set, clamp} from 'lodash/fp';\nimport Handle from './handle';\nimport style from './style.css';\n\nconst valueOnTrack = (track, x) => {\n const {left, right} = track.getBoundingClientRect();\n return clamp(0, 1, (x - left) / (right - left));\n};\n\nconst extractStateFromProps = props => {\n const {multi = false, value = multi ? [0, 1] : 0} = props;\n return {\n multi,\n value: multi ? value : [0, value]\n };\n};\n\nconst RenderHandles = props => {\n const {\n left,\n right,\n multi = false,\n pending,\n onHandleMinChange,\n onHandleMinChangeEnd,\n onHandleMaxChange,\n onHandleMaxChangeEnd\n } = props;\n\n return (\n <div>\n {multi ? (\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${left * 100}%`}}\n >\n <Handle axis=\"x\" onPan={onHandleMinChange} onPanEnd={onHandleMinChangeEnd} />\n </span>\n ) : null}\n <span\n className={pending ? style.handle : style.animatedHandle}\n style={{left: `${right * 100}%`}}\n >\n <Handle axis=\"x\" onPan={onHandleMaxChange} onPanEnd={onHandleMaxChangeEnd} />\n </span>\n </div>\n );\n};\n\nRenderHandles.propTypes = {\n left: PropTypes.number,\n right: PropTypes.number,\n multi: PropTypes.bool,\n pending: PropTypes.bool,\n onHandleMinChange: PropTypes.func,\n onHandleMinChangeEnd: PropTypes.func,\n onHandleMaxChange: PropTypes.func,\n onHandleMaxChangeEnd: PropTypes.func\n};\n\nclass Range extends React.Component {\n static propTypes = {\n onChange: PropTypes.func,\n onChangeEnd: PropTypes.func,\n multi: PropTypes.bool,\n // eslint-disable-next-line react/no-unused-prop-types\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)])\n };\n\n static getDerivedStateFromProps(props, state) {\n const {pending} = state;\n\n if (pending) return null;\n\n return extractStateFromProps(props);\n }\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...extractStateFromProps(props),\n pending: false\n };\n\n this.handleClick = this.handleClick.bind(this);\n this.setRefTrack = this.setRefTrack.bind(this);\n this.handleMinChange = this.handleMinChange.bind(this);\n this.handleMaxChange = this.handleMaxChange.bind(this);\n this.handleMinChangeEnd = this.handleMinChangeEnd.bind(this);\n this.handleMaxChangeEnd = this.handleMaxChangeEnd.bind(this);\n }\n\n setRefTrack(track) {\n this.track = track;\n }\n\n handleMinChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, true);\n }\n\n handleMaxChange(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, true);\n }\n\n handleMinChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 0, false);\n }\n\n handleMaxChangeEnd(e) {\n e.srcEvent.stopPropagation();\n e.srcEvent.preventDefault();\n const newValue = valueOnTrack(this.track, e.center.x);\n return this.handleChange(newValue, 1, false);\n }\n\n handleChange(value, valueIndex, pending) {\n const {value: prevValue} = this.state;\n\n const newValue = set(valueIndex, value, prevValue);\n\n const [minValue, maxValue] = newValue;\n\n const nextValue = minValue > maxValue ? prevValue : newValue;\n\n this.triggerChange(nextValue, pending);\n return this.setState({\n pending,\n value: pending ? nextValue : extractStateFromProps(this.props).value\n });\n }\n\n triggerChange(newValues, pending) {\n const {onChange = noop, onChangeEnd = onChange, multi = false} = this.props;\n\n const handle = pending ? onChange : onChangeEnd;\n\n return handle(multi ? newValues : newValues[1]);\n }\n\n handleClick(e) {\n e.stopPropagation();\n e.preventDefault();\n const {\n value: [left, right],\n multi\n } = this.state;\n const x = e.clientX;\n const newValue = valueOnTrack(this.track, x);\n\n if (!multi) return this.handleChange(newValue, 1, false);\n\n if (left === right) {\n const isClickToTheLeft = left - newValue > 0;\n return this.handleChange(newValue, isClickToTheLeft ? 0 : 1, false);\n }\n\n const closestHandle = Math.abs(newValue - left) < Math.abs(newValue - right) ? 0 : 1;\n return this.handleChange(newValue, closestHandle, false);\n }\n\n render() {\n const {\n multi = false,\n value: [left, right],\n pending\n } = this.state;\n const railWidth = right - left;\n const railLeft = left;\n const railStyle = {\n backgroundColor: '#9999A8',\n width: `${railWidth * 100}%`,\n left: `${railLeft * 100}%`\n };\n\n return (\n <div className={style.containerWrapper} onClick={this.handleClick}>\n <div className={style.container}>\n <div className={style.track} data-name=\"sliderTrack\" ref={this.setRefTrack} />\n <div className={pending ? style.rail : style.animatedRail} style={railStyle} />\n <RenderHandles\n left={left}\n right={right}\n pending={pending}\n multi={multi}\n onHandleMinChange={this.handleMinChange}\n onHandleMinChangeEnd={this.handleMinChangeEnd}\n onHandleMaxChange={this.handleMaxChange}\n onHandleMaxChangeEnd={this.handleMaxChangeEnd}\n />\n </div>\n </div>\n );\n }\n}\n\nexport default Range;\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,OAAOC,MAAM,MAAM,UAAU;AAC7B,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,YAAY,GAAG,CAACC,KAAK,EAAEC,CAAC,KAAK;EACjC,MAAM;IAACC,IAAI;IAAEC;EAAK,CAAC,GAAGH,KAAK,CAACI,qBAAqB,EAAE;EACnD,OAAO,OAAM,CAAC,EAAE,CAAC,EAAE,CAACH,CAAC,GAAGC,IAAI,KAAKC,KAAK,GAAGD,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,MAAMG,qBAAqB,GAAGC,KAAK,IAAI;EACrC,MAAM;IAACC,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BAAC,aAAa;MACZ,IAAI,EAAEzD,IAAK;MACX,KAAK,EAAEC,KAAM;MACb,OAAO,EAAEO,OAAQ;MACjB,KAAK,EAAEH,KAAM;MACb,iBAAiB,EAAE,IAAI,CAACuB,eAAgB;MACxC,oBAAoB,EAAE,IAAI,CAACE,kBAAmB;MAC9C,iBAAiB,EAAE,IAAI,CAACD,eAAgB;MACxC,oBAAoB,EAAE,IAAI,CAACE;IAAmB,EAC9C,CACE,CACF;EAEV;AACF;AA/IMZ,KAAK,CACFJ,SAAS,2CAAG;EACjBgC,QAAQ,EAAErD,SAAS,CAACwB,IAAI;EACxB8B,WAAW,EAAEtD,SAAS,CAACwB,IAAI;EAC3Bb,KAAK,EAAEX,SAAS,CAACuB,IAAI;EACrB;EACAX,KAAK,EAAEZ,SAAS,CAACsE,SAAS,CAAC,CAACtE,SAAS,CAACsB,MAAM,EAAEtB,SAAS,CAACuE,OAAO,CAACvE,SAAS,CAACsB,MAAM,CAAC,CAAC;AACpF,CAAC;AA0IH,eAAeG,KAAK"}
@@ -20,7 +20,6 @@ const TYPES = {
20
20
  icon: PlayIcon
21
21
  }
22
22
  };
23
-
24
23
  const ResourceMiniature = (props, context) => {
25
24
  const {
26
25
  skin
@@ -33,11 +32,8 @@ const ResourceMiniature = (props, context) => {
33
32
  selected = false
34
33
  } = props;
35
34
  const descriptionClassName = selected ? style.selectedDescription : style.description;
36
-
37
35
  const white = _get('common.white', skin);
38
-
39
36
  const primary = _get('common.primary', skin);
40
-
41
37
  const posterOutlineColor = selected ? primary : white;
42
38
  const Icon = TYPES[type].icon;
43
39
  return /*#__PURE__*/React.createElement("div", {
@@ -58,14 +54,14 @@ const ResourceMiniature = (props, context) => {
58
54
  color: white,
59
55
  className: style.icon
60
56
  }) : null), /*#__PURE__*/React.createElement("div", {
61
- className: classnames(descriptionClassName, style.innerHTML) // eslint-disable-next-line react/no-danger
57
+ className: classnames(descriptionClassName, style.innerHTML)
58
+ // eslint-disable-next-line react/no-danger
62
59
  ,
63
60
  dangerouslySetInnerHTML: {
64
61
  __html: description
65
62
  }
66
63
  }));
67
64
  };
68
-
69
65
  ResourceMiniature.propTypes = process.env.NODE_ENV !== "production" ? {
70
66
  type: PropTypes.oneOf(_keys(TYPES)),
71
67
  selected: PropTypes.bool,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","NovaSolidAudioAudioControlPlay","PlayIcon","NovaLineFilesOfficeFileOfficePdf","PDFIcon","NovaCompositionCoorpacademyMicrophone","PodcastIcon","classnames","Provider","style","TYPES","pdf","icon","audio","video","ResourceMiniature","props","context","skin","type","description","poster","onClick","handleOnClick","selected","descriptionClassName","selectedDescription","white","primary","posterOutlineColor","Icon","posterWrapper","borderColor","backgroundImage","innerHTML","__html","propTypes","oneOf","bool","string","func","contextTypes","childContextTypes"],"sources":["../../../src/atom/resource-miniature/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, keys} from 'lodash/fp';\nimport {\n NovaSolidAudioAudioControlPlay as PlayIcon,\n NovaLineFilesOfficeFileOfficePdf as PDFIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst TYPES = {\n pdf: {style: style.pdf, icon: PDFIcon},\n audio: {style: style.audio, icon: PodcastIcon},\n video: {style: style.video, icon: PlayIcon}\n};\n\nconst ResourceMiniature = (props, context) => {\n const {skin} = context;\n const {type, description, poster, onClick: handleOnClick, selected = false} = props;\n const descriptionClassName = selected ? style.selectedDescription : style.description;\n const white = get('common.white', skin);\n const primary = get('common.primary', skin);\n const posterOutlineColor = selected ? primary : white;\n const Icon = TYPES[type].icon;\n return (\n <div className={TYPES[type].style} onClick={handleOnClick} data-type={type}>\n <div className={style.posterWrapper} style={{borderColor: posterOutlineColor}}>\n <div className={style.poster} style={{backgroundImage: `url(${poster})`}} />\n {!selected ? <Icon color={white} className={style.icon} /> : null}\n </div>\n <div\n className={classnames(descriptionClassName, style.innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: description}}\n />\n </div>\n );\n};\n\nResourceMiniature.propTypes = {\n type: PropTypes.oneOf(keys(TYPES)),\n selected: PropTypes.bool,\n description: PropTypes.string,\n poster: PropTypes.string,\n onClick: PropTypes.func\n};\n\nResourceMiniature.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default ResourceMiniature;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SACEC,8BAA8B,IAAIC,QADpC,EAEEC,gCAAgC,IAAIC,OAFtC,EAGEC,qCAAqC,IAAIC,WAH3C,QAIO,0BAJP;AAKA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,MAAqB,aAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,KAAK,GAAG;EACZC,GAAG,EAAE;IAACF,KAAK,EAAEA,KAAK,CAACE,GAAd;IAAmBC,IAAI,EAAER;EAAzB,CADO;EAEZS,KAAK,EAAE;IAACJ,KAAK,EAAEA,KAAK,CAACI,KAAd;IAAqBD,IAAI,EAAEN;EAA3B,CAFK;EAGZQ,KAAK,EAAE;IAACL,KAAK,EAAEA,KAAK,CAACK,KAAd;IAAqBF,IAAI,EAAEV;EAA3B;AAHK,CAAd;;AAMA,MAAMa,iBAAiB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC5C,MAAM;IAACC;EAAD,IAASD,OAAf;EACA,MAAM;IAACE,IAAD;IAAOC,WAAP;IAAoBC,MAApB;IAA4BC,OAAO,EAAEC,aAArC;IAAoDC,QAAQ,GAAG;EAA/D,IAAwER,KAA9E;EACA,MAAMS,oBAAoB,GAAGD,QAAQ,GAAGf,KAAK,CAACiB,mBAAT,GAA+BjB,KAAK,CAACW,WAA1E;;EACA,MAAMO,KAAK,GAAG,KAAI,cAAJ,EA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F,CAAjC;AAIA,eAAeH,iBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","NovaSolidAudioAudioControlPlay","PlayIcon","NovaLineFilesOfficeFileOfficePdf","PDFIcon","NovaCompositionCoorpacademyMicrophone","PodcastIcon","classnames","Provider","style","TYPES","pdf","icon","audio","video","ResourceMiniature","props","context","skin","type","description","poster","onClick","handleOnClick","selected","descriptionClassName","selectedDescription","white","primary","posterOutlineColor","Icon","posterWrapper","borderColor","backgroundImage","innerHTML","__html","propTypes","oneOf","bool","string","func","contextTypes","childContextTypes"],"sources":["../../../src/atom/resource-miniature/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, keys} from 'lodash/fp';\nimport {\n NovaSolidAudioAudioControlPlay as PlayIcon,\n NovaLineFilesOfficeFileOfficePdf as PDFIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst TYPES = {\n pdf: {style: style.pdf, icon: PDFIcon},\n audio: {style: style.audio, icon: PodcastIcon},\n video: {style: style.video, icon: PlayIcon}\n};\n\nconst ResourceMiniature = (props, context) => {\n const {skin} = context;\n const {type, description, poster, onClick: handleOnClick, selected = false} = props;\n const descriptionClassName = selected ? style.selectedDescription : style.description;\n const white = get('common.white', skin);\n const primary = get('common.primary', skin);\n const posterOutlineColor = selected ? primary : white;\n const Icon = TYPES[type].icon;\n return (\n <div className={TYPES[type].style} onClick={handleOnClick} data-type={type}>\n <div className={style.posterWrapper} style={{borderColor: posterOutlineColor}}>\n <div className={style.poster} style={{backgroundImage: `url(${poster})`}} />\n {!selected ? <Icon color={white} className={style.icon} /> : null}\n </div>\n <div\n className={classnames(descriptionClassName, style.innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: description}}\n />\n </div>\n );\n};\n\nResourceMiniature.propTypes = {\n type: PropTypes.oneOf(keys(TYPES)),\n selected: PropTypes.bool,\n description: PropTypes.string,\n poster: PropTypes.string,\n onClick: PropTypes.func\n};\n\nResourceMiniature.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nexport default ResourceMiniature;\n"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,SACEC,8BAA8B,IAAIC,QAAQ,EAC1CC,gCAAgC,IAAIC,OAAO,EAC3CC,qCAAqC,IAAIC,WAAW,QAC/C,0BAA0B;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,QAAQ,MAAM,aAAa;AAClC,OAAOC,KAAK,MAAM,aAAa;AAE/B,MAAMC,KAAK,GAAG;EACZC,GAAG,EAAE;IAACF,KAAK,EAAEA,KAAK,CAACE,GAAG;IAAEC,IAAI,EAAER;EAAO,CAAC;EACtCS,KAAK,EAAE;IAACJ,KAAK,EAAEA,KAAK,CAACI,KAAK;IAAED,IAAI,EAAEN;EAAW,CAAC;EAC9CQ,KAAK,EAAE;IAACL,KAAK,EAAEA,KAAK,CAACK,KAAK;IAAEF,IAAI,EAAEV;EAAQ;AAC5C,CAAC;AAED,MAAMa,iBAAiB,GAAG,CAACC,KAAK,EAAEC,OAAO,KAAK;EAC5C,MAAM;IAACC;EAAI,CAAC,GAAGD,OAAO;EACtB,MAAM;IAACE,IAAI;IAAEC,WAAW;IAAEC,MAAM;IAAEC,OAAO,EAAEC,aAAa;IAAEC,QAAQ,GAAG;EAAK,CAAC,GAAGR,KAAK;EACnF,MAAMS,oBAAoB,GAAGD,QAAQ,GAAGf,KAAK,CAACiB,mBAAmB,GAAGjB,KAAK,CAACW,WAAW;EACrF,MAAMO,KAAK,GAAG,KAAI,cAAc,EAAET,IAAI,CAAC;EACvC,MAAMU,OAAO,GAAG,KAAI,gBAAgB,EAAEV,IAAI,CAAC;EAC3C,MAAMW,kBAAkB,GAAGL,QAAQ,GAAGI,OAAO,GAAGD,KAAK;EACrD,MAAMG,IAAI,GAAGpB,KAAK,CAACS,IAAI,CAAC,CAACP,IAAI;EAC7B,oBACE;IAAK,SAAS,EAAEF,KAAK,CAACS,IAAI,CAAC,CAACV,KAAM;IAAC,OAAO,EAAEc,aAAc;IAAC,aAAWJ;EAAK,gBACzE;IAAK,SAAS,EAAEV,KAAK,CAACsB,aAAc;IAAC,KAAK,EAAE;MAACC,WAAW,EAAEH;IAAkB;EAAE,gBAC5E;IAAK,SAAS,EAAEpB,KAAK,CAACY,MAAO;IAAC,KAAK,EAAE;MAACY,eAAe,EAAG,OAAMZ,MAAO;IAAE;EAAE,EAAG,EAC3E,CAACG,QAAQ,gBAAG,oBAAC,IAAI;IAAC,KAAK,EAAEG,KAAM;IAAC,SAAS,EAAElB,KAAK,CAACG;EAAK,EAAG,GAAG,IAAI,CAC7D,eACN;IACE,SAAS,EAAEL,UAAU,CAACkB,oBAAoB,EAAEhB,KAAK,CAACyB,SAAS;IAC3D;IAAA;IACA,uBAAuB,EAAE;MAACC,MAAM,EAAEf;IAAW;EAAE,EAC/C,CACE;AAEV,CAAC;AAEDL,iBAAiB,CAACqB,SAAS,2CAAG;EAC5BjB,IAAI,EAAEnB,SAAS,CAACqC,KAAK,CAAC,MAAK3B,KAAK,CAAC,CAAC;EAClCc,QAAQ,EAAExB,SAAS,CAACsC,IAAI;EACxBlB,WAAW,EAAEpB,SAAS,CAACuC,MAAM;EAC7BlB,MAAM,EAAErB,SAAS,CAACuC,MAAM;EACxBjB,OAAO,EAAEtB,SAAS,CAACwC;AACrB,CAAC;AAEDzB,iBAAiB,CAAC0B,YAAY,GAAG;EAC/BvB,IAAI,EAAEV,QAAQ,CAACkC,iBAAiB,CAACxB;AACnC,CAAC;AAED,eAAeH,iBAAiB"}
@@ -4,7 +4,6 @@ import { NovaCompositionCoorpacademyCheck as RightIcon, NovaSolidStatusClose as
4
4
  import { GetTranslateFromContext } from '../provider';
5
5
  import style from './style.css';
6
6
  import propTypes from './types';
7
-
8
7
  const Content = props => {
9
8
  const {
10
9
  icon,
@@ -14,7 +13,6 @@ const Content = props => {
14
13
  const translate = GetTranslateFromContext();
15
14
  let child;
16
15
  let ariaDescription;
17
-
18
16
  switch (icon) {
19
17
  case 'no-answer':
20
18
  child = value;
@@ -24,7 +22,6 @@ const Content = props => {
24
22
  headerStepValue: value
25
23
  });
26
24
  break;
27
-
28
25
  case 'right':
29
26
  child = /*#__PURE__*/React.createElement(RightIcon, {
30
27
  className: classnames(style.rightIcon, current && style.currentRightIcon)
@@ -33,7 +30,6 @@ const Content = props => {
33
30
  headerStepValue: value
34
31
  });
35
32
  break;
36
-
37
33
  case 'wrong':
38
34
  child = /*#__PURE__*/React.createElement(WrongIcon, {
39
35
  className: classnames(style.wrongIcon, current && style.currentWrongIcon)
@@ -42,11 +38,9 @@ const Content = props => {
42
38
  headerStepValue: value
43
39
  });
44
40
  break;
45
-
46
41
  default:
47
42
  return null;
48
43
  }
49
-
50
44
  return /*#__PURE__*/React.createElement("span", {
51
45
  className: style.value,
52
46
  "aria-label": translate('review_header_step_item.aria_label', {
@@ -55,7 +49,6 @@ const Content = props => {
55
49
  "aria-describedby": ariaDescription
56
50
  }, child);
57
51
  };
58
-
59
52
  const ReviewHeaderStepItem = props => {
60
53
  const {
61
54
  icon,
@@ -66,7 +59,6 @@ const ReviewHeaderStepItem = props => {
66
59
  "data-name": "header-step-item"
67
60
  }, /*#__PURE__*/React.createElement(Content, props));
68
61
  };
69
-
70
62
  ReviewHeaderStepItem.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
71
63
  export default ReviewHeaderStepItem;
72
64
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","classnames","NovaCompositionCoorpacademyCheck","RightIcon","NovaSolidStatusClose","WrongIcon","GetTranslateFromContext","style","propTypes","Content","props","icon","current","value","translate","child","ariaDescription","headerStepValue","rightIcon","currentRightIcon","wrongIcon","currentWrongIcon","ReviewHeaderStepItem","default","right","wrong"],"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 {GetTranslateFromContext} from '../provider';\nimport style from './style.css';\nimport propTypes, {HeaderStepItemProps} from './types';\n\nconst Content = (props: HeaderStepItemProps) => {\n const {icon, current, value} = props;\n const translate = GetTranslateFromContext();\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\nReviewHeaderStepItem.propTypes = propTypes;\n\nexport default ReviewHeaderStepItem;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SACEC,gCAAgC,IAAIC,SADtC,EAEEC,oBAAoB,IAAIC,SAF1B,QAGO,0BAHP;AAIA,SAAQC,uBAAR,QAAsC,aAAtC;AACA,OAAOC,KAAP,MAAk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AAgC;EAC3D,MAAM;IAACC,IAAD;IAAOC;EAAP,IAAkBF,KAAxB;EACA,oBACE;IACE,SAAS,EAAET,UAAU,CACnBM,KAAK,CAACgB,OADa,EAEnBZ,IAAI,KAAK,OAAT,IAAoBJ,KAAK,CAACiB,KAFP,EAGnBb,IAAI,KAAK,OAAT,IAAoBJ,KAAK,CAACkB,KAHP,EAInBb,OAAO,IAAIL,KAAK,CAACK,OAJE,CADvB;IAOE,aAAU;EAPZ,gBASE,oBAAC,OAAD,EAAaF,KAAb,CATF,CADF;AAaD,CAfD;;AAiBAY,oBAAoB,CAACd,SAArB,2CAAiCA,SAAjC;AAEA,eAAec,oBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","classnames","NovaCompositionCoorpacademyCheck","RightIcon","NovaSolidStatusClose","WrongIcon","GetTranslateFromContext","style","propTypes","Content","props","icon","current","value","translate","child","ariaDescription","headerStepValue","rightIcon","currentRightIcon","wrongIcon","currentWrongIcon","ReviewHeaderStepItem","default","right","wrong"],"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 {GetTranslateFromContext} from '../provider';\nimport style from './style.css';\nimport propTypes, {HeaderStepItemProps} from './types';\n\nconst Content = (props: HeaderStepItemProps) => {\n const {icon, current, value} = props;\n const translate = GetTranslateFromContext();\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\nReviewHeaderStepItem.propTypes = propTypes;\n\nexport default ReviewHeaderStepItem;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,YAAY;AACnC,SACEC,gCAAgC,IAAIC,SAAS,EAC7CC,oBAAoB,IAAIC,SAAS,QAC5B,0BAA0B;AACjC,SAAQC,uBAAuB,QAAO,aAAa;AACnD,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAA6B,SAAS;AAEtD,MAAMC,OAAO,GAAIC,KAA0B,IAAK;EAC9C,MAAM;IAACC,IAAI;IAAEC,OAAO;IAAEC;EAAK,CAAC,GAAGH,KAAK;EACpC,MAAMI,SAAS,GAAGR,uBAAuB,EAAE;EAC3C,IAAIS,KAAK;EACT,IAAIC,eAAe;EACnB,QAAQL,IAAI;IACV,KAAK,WAAW;MACdI,KAAK,GAAGF,KAAK;MACbG,eAAe,GAAGJ,OAAO,GACrBE,SAAS,CAAC,0CAA0C,EAAE;QACpDG,eAAe,EAAEJ;MACnB,CAAC,CAAC,GACFC,SAAS,CAAC,+CAA+C,EAAE;QACzDG,eAAe,EAAEJ;MACnB,CAAC,CAAC;MACN;IAEF,KAAK,OAAO;MACVE,KAAK,gBACH,oBAAC,SAAS;QAAC,SAAS,EAAEd,UAAU,CAACM,KAAK,CAACW,SAAS,EAAEN,OAAO,IAAIL,KAAK,CAACY,gBAAgB;MAAE,EACtF;MACDH,eAAe,GAAGF,SAAS,CAAC,0CAA0C,EAAE;QACtEG,eAAe,EAAEJ;MACnB,CAAC,CAAC;MACF;IAEF,KAAK,OAAO;MACVE,KAAK,gBACH,oBAAC,SAAS;QAAC,SAAS,EAAEd,UAAU,CAACM,KAAK,CAACa,SAAS,EAAER,OAAO,IAAIL,KAAK,CAACc,gBAAgB;MAAE,EACtF;MACDL,eAAe,GAAGF,SAAS,CAAC,4CAA4C,EAAE;QACxEG,eAAe,EAAEJ;MACnB,CAAC,CAAC;MACF;IAEF;MACE,OAAO,IAAI;EAAC;EAGhB,oBACE;IACE,SAAS,EAAEN,KAAK,CAACM,KAAM;IACvB,cAAYC,SAAS,CAAC,oCAAoC,EAAE;MAC1DG,eAAe,EAAEJ;IACnB,CAAC,CAAE;IACH,oBAAkBG;EAAgB,GAEjCD,KAAK,CACD;AAEX,CAAC;AAED,MAAMO,oBAAoB,GAAIZ,KAA0B,IAAK;EAC3D,MAAM;IAACC,IAAI;IAAEC;EAAO,CAAC,GAAGF,KAAK;EAC7B,oBACE;IACE,SAAS,EAAET,UAAU,CACnBM,KAAK,CAACgB,OAAO,EACbZ,IAAI,KAAK,OAAO,IAAIJ,KAAK,CAACiB,KAAK,EAC/Bb,IAAI,KAAK,OAAO,IAAIJ,KAAK,CAACkB,KAAK,EAC/Bb,OAAO,IAAIL,KAAK,CAACK,OAAO,CACxB;IACF,aAAU;EAAkB,gBAE5B,oBAAC,OAAO,EAAKF,KAAK,CAAI,CAClB;AAEV,CAAC;AAEDY,oBAAoB,CAACd,SAAS,2CAAGA,SAAS;AAE1C,eAAec,oBAAoB"}
@@ -2,24 +2,19 @@ import React, { useEffect, useState } from 'react';
2
2
  import { StyleSheet, Text, View } from 'react-native';
3
3
  import { NovaCompositionCoorpacademyCheck as RightIcon, NovaSolidStatusClose as WrongIcon } from '@coorpacademy/nova-icons';
4
4
  import { COLORS } from '../../variables/colors';
5
-
6
5
  const createStyle = (current, icon) => {
7
6
  let backgroundColor;
8
-
9
7
  switch (icon) {
10
8
  case 'right':
11
9
  backgroundColor = COLORS.positive;
12
10
  break;
13
-
14
11
  case 'wrong':
15
12
  backgroundColor = COLORS.negative;
16
13
  break;
17
-
18
14
  case 'no-answer':
19
15
  default:
20
16
  backgroundColor = COLORS.gray;
21
17
  }
22
-
23
18
  return StyleSheet.create({
24
19
  step: {
25
20
  width: current ? 40 : 32,
@@ -41,7 +36,6 @@ const createStyle = (current, icon) => {
41
36
  }
42
37
  });
43
38
  };
44
-
45
39
  const Step = ({
46
40
  value,
47
41
  icon,
@@ -50,16 +44,12 @@ const Step = ({
50
44
  const [style, setStyle] = useState(null);
51
45
  useEffect(() => {
52
46
  const _style = createStyle(current, icon);
53
-
54
47
  setStyle(_style);
55
48
  }, [current, icon]);
56
-
57
49
  if (!style) {
58
50
  return null;
59
51
  }
60
-
61
52
  let child;
62
-
63
53
  switch (icon) {
64
54
  case 'right':
65
55
  child = /*#__PURE__*/React.createElement(RightIcon, {
@@ -67,25 +57,21 @@ const Step = ({
67
57
  color: "#fff"
68
58
  });
69
59
  break;
70
-
71
60
  case 'wrong':
72
61
  child = /*#__PURE__*/React.createElement(WrongIcon, {
73
62
  style: style.icon,
74
63
  color: "#fff"
75
64
  });
76
65
  break;
77
-
78
66
  case 'no-answer':
79
67
  default:
80
68
  child = /*#__PURE__*/React.createElement(Text, {
81
69
  style: style.stepText
82
70
  }, value);
83
71
  }
84
-
85
72
  return /*#__PURE__*/React.createElement(View, {
86
73
  style: style.step
87
74
  }, child);
88
75
  };
89
-
90
76
  export default Step;
91
77
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
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,E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d,MAAMiC,MAAM,GAAGvB,WAAW,CAACC,OAAD,EAAUC,IAAV,CAA1B;;IACAoB,QAAQ,CAACC,MAAD,CAAR;EACD,CAHQ,EAGN,CAACtB,OAAD,EAAUC,IAAV,CAHM,CAAT;;EAKA,IAAI,CAACmB,KAAL,EAAY;IACV,OAAO,IAAP;EACD;;EAED,IAAIG,KAAJ;;EAEA,QAAQtB,IAAR;IACE,KAAK,OAAL;MACEsB,KAAK,gBAAG,oBAAC,SAAD;QAAW,KAAK,EAAEH,KAAK,CAACnB,IAAxB;QAA8B,KAAK,EAAC;MAApC,EAAR;MACA;;IACF,KAAK,OAAL;MACEsB,KAAK,gBAAG,oBAAC,SAAD;QAAW,KAAK,EAAEH,KAAK,CAACnB,IAAxB;QAA8B,KAAK,EAAC;MAApC,EAAR;MACA;;IACF,KAAK,WAAL;IACA;MACEsB,KAAK,gBAAG,oBAAC,IAAD;QAAM,KAAK,EAAEH,KAAK,CAACL;MAAnB,GAA8BI,KAA9B,CAAR;EATJ;;EAYA,oBAAO,oBAAC,IAAD;IAAM,KAAK,EAAEC,KAAK,CAACb;EAAnB,GAA0BgB,KAA1B,CAAP;AACD,CA3BD;;AA6BA,eAAeL,IAAf"}
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,KAAK,IAAGC,SAAS,EAAEC,QAAQ,QAAO,OAAO;AAChD,SAAQC,UAAU,EAAEC,IAAI,EAAaC,IAAI,QAAkB,cAAc;AACzE,SACEC,gCAAgC,IAAIC,SAAS,EAC7CC,oBAAoB,IAAIC,SAAS,QAC5B,0BAA0B;AACjC,SAAQC,MAAM,QAAO,wBAAwB;AAS7C,MAAMC,WAAW,GAAG,CAACC,OAAgB,EAAEC,IAAiC,KAAqB;EAC3F,IAAIC,eAAe;EAEnB,QAAQD,IAAI;IACV,KAAK,OAAO;MACVC,eAAe,GAAGJ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AK,EAAEH,KAAK,CAACnB,IAAK;QAAC,KAAK,EAAC;MAAM,EAAG;MACrD;IACF,KAAK,OAAO;MACVsB,KAAK,gBAAG,oBAAC,SAAS;QAAC,KAAK,EAAEH,KAAK,CAACnB,IAAK;QAAC,KAAK,EAAC;MAAM,EAAG;MACrD;IACF,KAAK,WAAW;IAChB;MACEsB,KAAK,gBAAG,oBAAC,IAAI;QAAC,KAAK,EAAEH,KAAK,CAACL;MAAS,GAAEI,KAAK,CAAQ;EAAC;EAGxD,oBAAO,oBAAC,IAAI;IAAC,KAAK,EAAEC,KAAK,CAACb;EAAK,GAAEgB,KAAK,CAAQ;AAChD,CAAC;AAED,eAAeL,IAAI"}
@@ -5,12 +5,12 @@ declare const propTypes: {
5
5
  value: PropTypes.Requireable<string>;
6
6
  };
7
7
  export default propTypes;
8
- export declare type HeaderStepItemProps = {
8
+ export type HeaderStepItemProps = {
9
9
  current: boolean;
10
10
  icon: 'no-answer' | 'right' | 'wrong';
11
11
  value: string;
12
12
  };
13
- export declare type Fixture = {
13
+ export type Fixture = {
14
14
  props: HeaderStepItemProps;
15
15
  };
16
16
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
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
+ {"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,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,mBAAmB,CAAC;CAC5B,CAAC"}
@@ -1 +1 @@
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
+ {"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,SAAS,MAAM,YAAY;AAElC,MAAMC,SAAS,GAAG;EAChBC,OAAO,EAAEF,SAAS,CAACG,IAAI;EACvBC,IAAI,EAAEJ,SAAS,CAACK,KAAK,CAAC,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;EACtDC,KAAK,EAAEN,SAAS,CAACO;AACnB,CAAC;AAED,eAAeN,SAAS"}
@@ -12,24 +12,21 @@ const ICONS = {
12
12
  lifes: HeartIcon,
13
13
  allright: CheckIcon
14
14
  };
15
-
16
15
  const ReviewIcon = ({
17
16
  icon
18
17
  }) => {
19
18
  const Icon = getOr(null, icon, ICONS);
20
- /* istanbul ignore next */
21
19
 
20
+ /* istanbul ignore next */
22
21
  if (!Icon) {
23
22
  return /*#__PURE__*/React.createElement("div", {
24
23
  className: style.labelIcon
25
24
  });
26
25
  }
27
-
28
26
  return /*#__PURE__*/React.createElement(Icon, {
29
27
  className: style.labelIcon
30
28
  });
31
29
  };
32
-
33
30
  const ReviewListItemWrapper = ({
34
31
  iconKey,
35
32
  label
@@ -50,7 +47,6 @@ const ReviewListItemWrapper = ({
50
47
  "aria-label": label.moreDetailsAriaLabel
51
48
  }));
52
49
  };
53
-
54
50
  const ReviewPresentation = props => {
55
51
  const {
56
52
  'aria-label': ariaLabel,
@@ -62,13 +58,15 @@ const ReviewPresentation = props => {
62
58
  className: style.reviewWrapper,
63
59
  "aria-label": ariaLabel
64
60
  }, /*#__PURE__*/React.createElement("div", {
65
- className: style.reviewTitle // eslint-disable-next-line react/no-danger
61
+ className: style.reviewTitle
62
+ // eslint-disable-next-line react/no-danger
66
63
  ,
67
64
  dangerouslySetInnerHTML: {
68
65
  __html: reviewTitle
69
66
  }
70
67
  }), /*#__PURE__*/React.createElement("div", {
71
- className: style.reviewText // eslint-disable-next-line react/no-danger
68
+ className: style.reviewText
69
+ // eslint-disable-next-line react/no-danger
72
70
  ,
73
71
  dangerouslySetInnerHTML: {
74
72
  __html: reviewText
@@ -89,7 +87,6 @@ const ReviewPresentation = props => {
89
87
  }));
90
88
  }, labelsList)));
91
89
  };
92
-
93
90
  ReviewIcon.propTypes = process.env.NODE_ENV !== "production" ? {
94
91
  icon: PropTypes.string
95
92
  } : {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","getOr","map","NovaSolidStatusCheckCircle2","CheckIcon","NovaSolidVoteRewardsVoteHeart","HeartIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","ToolTip","style","propTypes","ICONS","skills","questions","lifes","allright","ReviewIcon","icon","Icon","labelIcon","ReviewListItemWrapper","iconKey","label","reviewListItemWrapper","reviewListText","text","tooltipText","closeToolTipInformationTextAriaLabel","moreDetailsAriaLabel","ReviewPresentation","props","ariaLabel","reviewTitle","reviewText","labelsList","reviewWrapper","__html","reviewListWrapper","convert","cap","key","reviewList","string","shape"],"sources":["../../../src/atom/review-presentation/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport getOr from 'lodash/fp/getOr';\nimport map from 'lodash/fp/map';\nimport {\n NovaSolidStatusCheckCircle2 as CheckIcon,\n NovaSolidVoteRewardsVoteHeart as HeartIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon,\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon\n} from '@coorpacademy/nova-icons';\nimport ToolTip from '../tooltip';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ICONS = {\n skills: TargetIcon,\n questions: QuestionIcon,\n lifes: HeartIcon,\n allright: CheckIcon\n};\n\nconst ReviewIcon = ({icon}) => {\n const Icon = getOr(null, icon, ICONS);\n\n /* istanbul ignore next */\n if (!Icon) {\n return <div className={style.labelIcon} />;\n }\n return <Icon className={style.labelIcon} />;\n};\n\nconst ReviewListItemWrapper = ({iconKey, label}) => {\n return (\n <div className={style.reviewListItemWrapper} data-tip data-for=\"reviewListItem\" tabIndex={0}>\n <div className={style.reviewListText}>\n <ReviewIcon icon={iconKey} /> {label.text}\n </div>\n <ToolTip\n TooltipContent={label.tooltipText}\n closeToolTipInformationTextAriaLabel={label.closeToolTipInformationTextAriaLabel}\n data-testid={`review-list-item-tooltip-button-${iconKey}`}\n aria-label={label.moreDetailsAriaLabel}\n />\n </div>\n );\n};\n\nconst ReviewPresentation = props => {\n const {'aria-label': ariaLabel, reviewTitle, reviewText, labelsList} = props;\n\n return (\n <div className={style.reviewWrapper} aria-label={ariaLabel}>\n <div\n className={style.reviewTitle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewTitle}}\n />\n <div\n className={style.reviewText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewText}}\n />\n <ul className={style.reviewListWrapper}>\n {map.convert({cap: false})((label, key) => {\n return (\n <li key={`step-${key}`} className={style.reviewList}>\n <ReviewListItemWrapper\n iconKey={key}\n label={label}\n tooltipText={label.tooltipText}\n aria-label={label.moreDetailsAriaLabel}\n />\n </li>\n );\n }, labelsList)}\n </ul>\n </div>\n );\n};\n\nReviewIcon.propTypes = {\n icon: PropTypes.string\n};\n\nReviewListItemWrapper.propTypes = {\n iconKey: PropTypes.string,\n label: PropTypes.shape({\n tooltipText: ToolTip.propTypes.tooltipText,\n moreDetailsAriaLabel: ToolTip.propTypes['aria-label'],\n closeToolTipInformationTextAriaLabel: ToolTip.propTypes.closeToolTipInformationTextAriaLabel,\n text: PropTypes.string\n })\n};\n\nReviewPresentation.propTypes = propTypes;\n\nexport default ReviewPresentation;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,SACEC,2BAA2B,IAAIC,SADjC,EAEEC,6BAA6B,IAAIC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CAAhB;AAFyB,CAAlC;AAUAb,kBAAkB,CAACnB,SAAnB,2CAA+BA,SAA/B;AAEA,eAAemB,kBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","getOr","map","NovaSolidStatusCheckCircle2","CheckIcon","NovaSolidVoteRewardsVoteHeart","HeartIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","ToolTip","style","propTypes","ICONS","skills","questions","lifes","allright","ReviewIcon","icon","Icon","labelIcon","ReviewListItemWrapper","iconKey","label","reviewListItemWrapper","reviewListText","text","tooltipText","closeToolTipInformationTextAriaLabel","moreDetailsAriaLabel","ReviewPresentation","props","ariaLabel","reviewTitle","reviewText","labelsList","reviewWrapper","__html","reviewListWrapper","convert","cap","key","reviewList","string","shape"],"sources":["../../../src/atom/review-presentation/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport getOr from 'lodash/fp/getOr';\nimport map from 'lodash/fp/map';\nimport {\n NovaSolidStatusCheckCircle2 as CheckIcon,\n NovaSolidVoteRewardsVoteHeart as HeartIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon,\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon\n} from '@coorpacademy/nova-icons';\nimport ToolTip from '../tooltip';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ICONS = {\n skills: TargetIcon,\n questions: QuestionIcon,\n lifes: HeartIcon,\n allright: CheckIcon\n};\n\nconst ReviewIcon = ({icon}) => {\n const Icon = getOr(null, icon, ICONS);\n\n /* istanbul ignore next */\n if (!Icon) {\n return <div className={style.labelIcon} />;\n }\n return <Icon className={style.labelIcon} />;\n};\n\nconst ReviewListItemWrapper = ({iconKey, label}) => {\n return (\n <div className={style.reviewListItemWrapper} data-tip data-for=\"reviewListItem\" tabIndex={0}>\n <div className={style.reviewListText}>\n <ReviewIcon icon={iconKey} /> {label.text}\n </div>\n <ToolTip\n TooltipContent={label.tooltipText}\n closeToolTipInformationTextAriaLabel={label.closeToolTipInformationTextAriaLabel}\n data-testid={`review-list-item-tooltip-button-${iconKey}`}\n aria-label={label.moreDetailsAriaLabel}\n />\n </div>\n );\n};\n\nconst ReviewPresentation = props => {\n const {'aria-label': ariaLabel, reviewTitle, reviewText, labelsList} = props;\n\n return (\n <div className={style.reviewWrapper} aria-label={ariaLabel}>\n <div\n className={style.reviewTitle}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewTitle}}\n />\n <div\n className={style.reviewText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: reviewText}}\n />\n <ul className={style.reviewListWrapper}>\n {map.convert({cap: false})((label, key) => {\n return (\n <li key={`step-${key}`} className={style.reviewList}>\n <ReviewListItemWrapper\n iconKey={key}\n label={label}\n tooltipText={label.tooltipText}\n aria-label={label.moreDetailsAriaLabel}\n />\n </li>\n );\n }, labelsList)}\n </ul>\n </div>\n );\n};\n\nReviewIcon.propTypes = {\n icon: PropTypes.string\n};\n\nReviewListItemWrapper.propTypes = {\n iconKey: PropTypes.string,\n label: PropTypes.shape({\n tooltipText: ToolTip.propTypes.tooltipText,\n moreDetailsAriaLabel: ToolTip.propTypes['aria-label'],\n closeToolTipInformationTextAriaLabel: ToolTip.propTypes.closeToolTipInformationTextAriaLabel,\n text: PropTypes.string\n })\n};\n\nReviewPresentation.propTypes = propTypes;\n\nexport default ReviewPresentation;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,MAAM,iBAAiB;AACnC,OAAOC,GAAG,MAAM,eAAe;AAC/B,SACEC,2BAA2B,IAAIC,SAAS,EACxCC,6BAA6B,IAAIC,SAAS,EAC1CC,+CAA+C,IAAIC,YAAY,EAC/DC,yCAAyC,IAAIC,UAAU,QAClD,0BAA0B;AACjC,OAAOC,OAAO,MAAM,YAAY;AAChC,OAAOC,K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