@coorpacademy/components 10.0.49 → 10.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (899) hide show
  1. package/es/atom/autocomplete/test/fixtures.js +19 -0
  2. package/es/atom/autocomplete/test/fixtures.js.map +1 -0
  3. package/es/atom/avatar/test/fixtures.js +13 -0
  4. package/es/atom/avatar/test/fixtures.js.map +1 -0
  5. package/es/atom/bullet-point-menu-button/test/fixtures.js +27 -0
  6. package/es/atom/bullet-point-menu-button/test/fixtures.js.map +1 -0
  7. package/es/atom/button/index.js +3 -1
  8. package/es/atom/button/index.js.map +1 -1
  9. package/es/atom/button/test/fixtures.js +27 -0
  10. package/es/atom/button/test/fixtures.js.map +1 -0
  11. package/es/atom/catalog-section/test/fixtures.js +15 -0
  12. package/es/atom/catalog-section/test/fixtures.js.map +1 -0
  13. package/es/atom/centered-text/test/fixtures.js +13 -0
  14. package/es/atom/centered-text/test/fixtures.js.map +1 -0
  15. package/es/atom/checkbox/test/fixtures.js +19 -0
  16. package/es/atom/checkbox/test/fixtures.js.map +1 -0
  17. package/es/atom/chips/index.js +36 -0
  18. package/es/atom/chips/index.js.map +1 -0
  19. package/es/atom/chips/style.css +66 -0
  20. package/es/atom/chips/test/fixtures/default.js +9 -0
  21. package/es/atom/chips/test/fixtures/default.js.map +1 -0
  22. package/es/atom/chips/test/fixtures/non-selected.js +9 -0
  23. package/es/atom/chips/test/fixtures/non-selected.js.map +1 -0
  24. package/es/atom/clue/test/fixtures.js +17 -0
  25. package/es/atom/clue/test/fixtures.js.map +1 -0
  26. package/es/atom/content-badge/index.js +21 -0
  27. package/es/atom/content-badge/index.js.map +1 -0
  28. package/es/atom/content-badge/style.css +59 -0
  29. package/es/atom/content-badge/test/fixtures/advanced.js +7 -0
  30. package/es/atom/content-badge/test/fixtures/advanced.js.map +1 -0
  31. package/es/atom/content-badge/test/fixtures/article.js +7 -0
  32. package/es/atom/content-badge/test/fixtures/article.js.map +1 -0
  33. package/es/atom/content-badge/test/fixtures/chapter.js +7 -0
  34. package/es/atom/content-badge/test/fixtures/chapter.js.map +1 -0
  35. package/es/atom/content-badge/test/fixtures/coach.js +7 -0
  36. package/es/atom/content-badge/test/fixtures/coach.js.map +1 -0
  37. package/es/atom/content-badge/test/fixtures/default.js +7 -0
  38. package/es/atom/content-badge/test/fixtures/default.js.map +1 -0
  39. package/es/atom/content-badge/test/fixtures/podcast.js +7 -0
  40. package/es/atom/content-badge/test/fixtures/podcast.js.map +1 -0
  41. package/es/atom/content-badge/test/fixtures/scorm.js +7 -0
  42. package/es/atom/content-badge/test/fixtures/scorm.js.map +1 -0
  43. package/es/atom/content-badge/test/fixtures/video.js +7 -0
  44. package/es/atom/content-badge/test/fixtures/video.js.map +1 -0
  45. package/es/atom/cta/test/fixtures.js +37 -0
  46. package/es/atom/cta/test/fixtures.js.map +1 -0
  47. package/es/atom/difficulty-level/test/fixtures.js +19 -0
  48. package/es/atom/difficulty-level/test/fixtures.js.map +1 -0
  49. package/es/atom/drag-and-drop/test/fixtures.js +23 -0
  50. package/es/atom/drag-and-drop/test/fixtures.js.map +1 -0
  51. package/es/atom/image-upload/test/fixtures.js +29 -0
  52. package/es/atom/image-upload/test/fixtures.js.map +1 -0
  53. package/es/atom/input-checkbox/test/fixtures.js +23 -0
  54. package/es/atom/input-checkbox/test/fixtures.js.map +1 -0
  55. package/es/atom/input-color/test/fixtures.js +19 -0
  56. package/es/atom/input-color/test/fixtures.js.map +1 -0
  57. package/es/atom/input-doublestep/test/fixtures.js +21 -0
  58. package/es/atom/input-doublestep/test/fixtures.js.map +1 -0
  59. package/es/atom/input-html/test/fixtures.js +17 -0
  60. package/es/atom/input-html/test/fixtures.js.map +1 -0
  61. package/es/atom/input-readonly/test/fixtures.js +13 -0
  62. package/es/atom/input-readonly/test/fixtures.js.map +1 -0
  63. package/es/atom/input-switch/test/fixtures.js +23 -0
  64. package/es/atom/input-switch/test/fixtures.js.map +1 -0
  65. package/es/atom/input-text/index.js +34 -6
  66. package/es/atom/input-text/index.js.map +1 -1
  67. package/es/atom/input-text/style.css +229 -1
  68. package/es/atom/input-text/test/fixtures/cm-default.js +17 -0
  69. package/es/atom/input-text/test/fixtures/cm-default.js.map +1 -0
  70. package/es/atom/input-text/test/fixtures.js +25 -0
  71. package/es/atom/input-text/test/fixtures.js.map +1 -0
  72. package/es/atom/input-textarea/index.js +36 -11
  73. package/es/atom/input-textarea/index.js.map +1 -1
  74. package/es/atom/input-textarea/style.css +265 -0
  75. package/es/atom/input-textarea/test/fixtures/cm-default.js +17 -0
  76. package/es/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
  77. package/es/atom/input-textarea/test/fixtures/cm-empty.js +17 -0
  78. package/es/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
  79. package/es/atom/input-textarea/test/fixtures.js +17 -0
  80. package/es/atom/input-textarea/test/fixtures.js.map +1 -0
  81. package/es/atom/label/test/fixtures.js +15 -0
  82. package/es/atom/label/test/fixtures.js.map +1 -0
  83. package/es/atom/life/test/fixtures.js +25 -0
  84. package/es/atom/life/test/fixtures.js.map +1 -0
  85. package/es/atom/link/test/fixtures.js +17 -0
  86. package/es/atom/link/test/fixtures.js.map +1 -0
  87. package/es/atom/loader/test/fixtures.js +13 -0
  88. package/es/atom/loader/test/fixtures.js.map +1 -0
  89. package/es/atom/notification/test/fixtures.js +17 -0
  90. package/es/atom/notification/test/fixtures.js.map +1 -0
  91. package/es/atom/picture/test/fixtures.js +19 -0
  92. package/es/atom/picture/test/fixtures.js.map +1 -0
  93. package/es/atom/picture-background/test/fixtures.js +19 -0
  94. package/es/atom/picture-background/test/fixtures.js.map +1 -0
  95. package/es/atom/promo-code/test/fixtures.js +17 -0
  96. package/es/atom/promo-code/test/fixtures.js.map +1 -0
  97. package/es/atom/provider/test/fixtures.js +13 -0
  98. package/es/atom/provider/test/fixtures.js.map +1 -0
  99. package/es/atom/radio-group/test/fixtures.js +17 -0
  100. package/es/atom/radio-group/test/fixtures.js.map +1 -0
  101. package/es/atom/range/test/fixtures.js +15 -0
  102. package/es/atom/range/test/fixtures.js.map +1 -0
  103. package/es/atom/resource-miniature/test/fixtures.js +21 -0
  104. package/es/atom/resource-miniature/test/fixtures.js.map +1 -0
  105. package/es/atom/select/test/fixtures.js +43 -0
  106. package/es/atom/select/test/fixtures.js.map +1 -0
  107. package/es/atom/slide/test/fixtures.js +21 -0
  108. package/es/atom/slide/test/fixtures.js.map +1 -0
  109. package/es/atom/social-link/test/fixtures.js +17 -0
  110. package/es/atom/social-link/test/fixtures.js.map +1 -0
  111. package/es/atom/spinner/test/fixtures.js +13 -0
  112. package/es/atom/spinner/test/fixtures.js.map +1 -0
  113. package/es/atom/tab/test/fixtures.js +13 -0
  114. package/es/atom/tab/test/fixtures.js.map +1 -0
  115. package/es/atom/tab-content/test/fixtures.js +15 -0
  116. package/es/atom/tab-content/test/fixtures.js.map +1 -0
  117. package/es/atom/title/test/fixtures.js +13 -0
  118. package/es/atom/title/test/fixtures.js.map +1 -0
  119. package/es/atom/video-upload/test/fixtures.js +21 -0
  120. package/es/atom/video-upload/test/fixtures.js.map +1 -0
  121. package/es/atom/wizard-steps/index.js +38 -0
  122. package/es/atom/wizard-steps/index.js.map +1 -0
  123. package/es/atom/wizard-steps/style.css +150 -0
  124. package/es/atom/wizard-steps/test/fixtures/default.js +28 -0
  125. package/es/atom/wizard-steps/test/fixtures/default.js.map +1 -0
  126. package/es/atom/wizard-steps/test/fixtures/first-step.js +28 -0
  127. package/es/atom/wizard-steps/test/fixtures/first-step.js.map +1 -0
  128. package/es/atom/wizard-steps/test/fixtures/last-step.js +28 -0
  129. package/es/atom/wizard-steps/test/fixtures/last-step.js.map +1 -0
  130. package/es/hoc/animation/test/fixtures.js +15 -0
  131. package/es/hoc/animation/test/fixtures.js.map +1 -0
  132. package/es/hoc/animation-scheduler/test/fixtures.js +15 -0
  133. package/es/hoc/animation-scheduler/test/fixtures.js.map +1 -0
  134. package/es/hoc/swapper/test/fixtures.js +13 -0
  135. package/es/hoc/swapper/test/fixtures.js.map +1 -0
  136. package/es/hoc/transition/test/fixtures.js +13 -0
  137. package/es/hoc/transition/test/fixtures.js.map +1 -0
  138. package/es/molecule/add-to-my-list/test/fixtures.js +15 -0
  139. package/es/molecule/add-to-my-list/test/fixtures.js.map +1 -0
  140. package/es/molecule/answer/test/fixtures.js +35 -0
  141. package/es/molecule/answer/test/fixtures.js.map +1 -0
  142. package/es/molecule/audio/test/fixtures.js +15 -0
  143. package/es/molecule/audio/test/fixtures.js.map +1 -0
  144. package/es/molecule/banner/index.js +46 -0
  145. package/es/molecule/banner/index.js.map +1 -0
  146. package/es/molecule/banner/style.css +63 -0
  147. package/es/molecule/banner/test/fixtures/default.js +11 -0
  148. package/es/molecule/banner/test/fixtures/default.js.map +1 -0
  149. package/es/molecule/banner/test/fixtures/error-banner.js +7 -0
  150. package/es/molecule/banner/test/fixtures/error-banner.js.map +1 -0
  151. package/es/molecule/battle-request/test/fixtures.js +15 -0
  152. package/es/molecule/battle-request/test/fixtures.js.map +1 -0
  153. package/es/molecule/brand-card/test/fixtures.js +15 -0
  154. package/es/molecule/brand-card/test/fixtures.js.map +1 -0
  155. package/es/molecule/brand-card-create/test/fixtures.js +13 -0
  156. package/es/molecule/brand-card-create/test/fixtures.js.map +1 -0
  157. package/es/molecule/brand-create-form/test/fixtures.js +19 -0
  158. package/es/molecule/brand-create-form/test/fixtures.js.map +1 -0
  159. package/es/molecule/brand-download-box/test/fixtures.js +17 -0
  160. package/es/molecule/brand-download-box/test/fixtures.js.map +1 -0
  161. package/es/molecule/brand-form-group/test/fixtures/cm-default.js +51 -0
  162. package/es/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
  163. package/es/molecule/brand-form-group/test/fixtures/default.js +12 -3
  164. package/es/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
  165. package/es/molecule/brand-form-group/test/fixtures.js +33 -0
  166. package/es/molecule/brand-form-group/test/fixtures.js.map +1 -0
  167. package/es/molecule/brand-tabs/test/fixtures.js +29 -0
  168. package/es/molecule/brand-tabs/test/fixtures.js.map +1 -0
  169. package/es/molecule/brand-upload-box/test/fixtures.js +17 -0
  170. package/es/molecule/brand-upload-box/test/fixtures.js.map +1 -0
  171. package/es/molecule/breadcrumbs/test/fixtures.js +13 -0
  172. package/es/molecule/breadcrumbs/test/fixtures.js.map +1 -0
  173. package/es/molecule/card/index.js +16 -5
  174. package/es/molecule/card/index.js.map +1 -1
  175. package/es/molecule/card/selectable.css +71 -0
  176. package/es/molecule/card/selectable.js +32 -0
  177. package/es/molecule/card/selectable.js.map +1 -0
  178. package/es/molecule/card/test/fixtures/default.js +1 -0
  179. package/es/molecule/card/test/fixtures/default.js.map +1 -1
  180. package/es/molecule/card/test/fixtures/selectable-false.js +16 -0
  181. package/es/molecule/card/test/fixtures/selectable-false.js.map +1 -0
  182. package/es/molecule/card/test/fixtures/selectable-true.js +17 -0
  183. package/es/molecule/card/test/fixtures/selectable-true.js.map +1 -0
  184. package/es/molecule/card/test/fixtures.js +39 -0
  185. package/es/molecule/card/test/fixtures.js.map +1 -0
  186. package/es/molecule/card-content/index.js +13 -3
  187. package/es/molecule/card-content/index.js.map +1 -1
  188. package/es/molecule/card-content/style.css +13 -3
  189. package/es/molecule/card-content/test/fixtures.js +27 -0
  190. package/es/molecule/card-content/test/fixtures.js.map +1 -0
  191. package/es/molecule/card-with-button/test/fixtures.js +17 -0
  192. package/es/molecule/card-with-button/test/fixtures.js.map +1 -0
  193. package/es/molecule/cm-popin/index.js +76 -0
  194. package/es/molecule/cm-popin/index.js.map +1 -0
  195. package/es/molecule/cm-popin/style.css +157 -0
  196. package/es/molecule/cm-popin/test/fixtures/dangerous.js +16 -0
  197. package/es/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
  198. package/es/molecule/cm-popin/test/fixtures/default.js +16 -0
  199. package/es/molecule/cm-popin/test/fixtures/default.js.map +1 -0
  200. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js +17 -0
  201. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
  202. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  203. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  204. package/es/molecule/cookie-banner/test/fixtures.js +13 -0
  205. package/es/molecule/cookie-banner/test/fixtures.js.map +1 -0
  206. package/es/molecule/dashboard/battle-request-list/test/fixtures.js +15 -0
  207. package/es/molecule/dashboard/battle-request-list/test/fixtures.js.map +1 -0
  208. package/es/molecule/dashboard/cards-list/test/fixtures.js +23 -0
  209. package/es/molecule/dashboard/cards-list/test/fixtures.js.map +1 -0
  210. package/es/molecule/dashboard/news-list/test/fixtures.js +17 -0
  211. package/es/molecule/dashboard/news-list/test/fixtures.js.map +1 -0
  212. package/es/molecule/dashboard/start-battle/test/fixtures.js +15 -0
  213. package/es/molecule/dashboard/start-battle/test/fixtures.js.map +1 -0
  214. package/es/molecule/discipline-cta/test/fixtures.js +15 -0
  215. package/es/molecule/discipline-cta/test/fixtures.js.map +1 -0
  216. package/es/molecule/discipline-header/test/fixtures.js +27 -0
  217. package/es/molecule/discipline-header/test/fixtures.js.map +1 -0
  218. package/es/molecule/discipline-partners/index.js +5 -2
  219. package/es/molecule/discipline-partners/index.js.map +1 -1
  220. package/es/molecule/discipline-partners/test/fixtures.js +21 -0
  221. package/es/molecule/discipline-partners/test/fixtures.js.map +1 -0
  222. package/es/molecule/discipline-scope/test/fixtures.js +27 -0
  223. package/es/molecule/discipline-scope/test/fixtures.js.map +1 -0
  224. package/es/molecule/drag-and-drop/test/fixtures.js +25 -0
  225. package/es/molecule/drag-and-drop/test/fixtures.js.map +1 -0
  226. package/es/molecule/external-content-button/test/fixtures.js +19 -0
  227. package/es/molecule/external-content-button/test/fixtures.js.map +1 -0
  228. package/es/molecule/external-content-viewer/test/fixtures.js +27 -0
  229. package/es/molecule/external-content-viewer/test/fixtures.js.map +1 -0
  230. package/es/molecule/feedback/test/fixtures.js +27 -0
  231. package/es/molecule/feedback/test/fixtures.js.map +1 -0
  232. package/es/molecule/filters/test/fixtures.js +33 -0
  233. package/es/molecule/filters/test/fixtures.js.map +1 -0
  234. package/es/molecule/forum/forum-comment/test/fixtures.js +17 -0
  235. package/es/molecule/forum/forum-comment/test/fixtures.js.map +1 -0
  236. package/es/molecule/forum/forum-post/test/fixtures.js +31 -0
  237. package/es/molecule/forum/forum-post/test/fixtures.js.map +1 -0
  238. package/es/molecule/forum/forum-thread/test/fixtures.js +17 -0
  239. package/es/molecule/forum/forum-thread/test/fixtures.js.map +1 -0
  240. package/es/molecule/hero/test/fixtures.js +15 -0
  241. package/es/molecule/hero/test/fixtures.js.map +1 -0
  242. package/es/molecule/login-alert/test/fixtures.js +13 -0
  243. package/es/molecule/login-alert/test/fixtures.js.map +1 -0
  244. package/es/molecule/menu-list/test/fixtures.js +13 -0
  245. package/es/molecule/menu-list/test/fixtures.js.map +1 -0
  246. package/es/molecule/message-popin/test/fixtures.js +13 -0
  247. package/es/molecule/message-popin/test/fixtures.js.map +1 -0
  248. package/es/molecule/modal/test/fixtures.js +13 -0
  249. package/es/molecule/modal/test/fixtures.js.map +1 -0
  250. package/es/molecule/module-bubble/test/fixtures.js +17 -0
  251. package/es/molecule/module-bubble/test/fixtures.js.map +1 -0
  252. package/es/molecule/module-card/test/fixtures.js +17 -0
  253. package/es/molecule/module-card/test/fixtures.js.map +1 -0
  254. package/es/molecule/news/test/fixtures.js +23 -0
  255. package/es/molecule/news/test/fixtures.js.map +1 -0
  256. package/es/molecule/notification-banner/test/fixtures.js +17 -0
  257. package/es/molecule/notification-banner/test/fixtures.js.map +1 -0
  258. package/es/molecule/pagination/test/fixtures.js +15 -0
  259. package/es/molecule/pagination/test/fixtures.js.map +1 -0
  260. package/es/molecule/payment-form/test/fixtures.js +17 -0
  261. package/es/molecule/payment-form/test/fixtures.js.map +1 -0
  262. package/es/molecule/pdf/test/fixtures.js +13 -0
  263. package/es/molecule/pdf/test/fixtures.js.map +1 -0
  264. package/es/molecule/popin/test/fixtures.js +21 -0
  265. package/es/molecule/popin/test/fixtures.js.map +1 -0
  266. package/es/molecule/product-card/test/fixtures.js +13 -0
  267. package/es/molecule/product-card/test/fixtures.js.map +1 -0
  268. package/es/molecule/progress-bar/test/fixtures.js +15 -0
  269. package/es/molecule/progress-bar/test/fixtures.js.map +1 -0
  270. package/es/molecule/questions/drop-down/test/fixtures.js +15 -0
  271. package/es/molecule/questions/drop-down/test/fixtures.js.map +1 -0
  272. package/es/molecule/questions/free-text/test/fixtures.js +15 -0
  273. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -0
  274. package/es/molecule/questions/qcm/test/fixtures.js +19 -0
  275. package/es/molecule/questions/qcm/test/fixtures.js.map +1 -0
  276. package/es/molecule/questions/qcm-drag/test/fixtures.js +15 -0
  277. package/es/molecule/questions/qcm-drag/test/fixtures.js.map +1 -0
  278. package/es/molecule/questions/qcm-graphic/test/fixtures.js +15 -0
  279. package/es/molecule/questions/qcm-graphic/test/fixtures.js.map +1 -0
  280. package/es/molecule/questions/question-range/test/fixtures.js +13 -0
  281. package/es/molecule/questions/question-range/test/fixtures.js.map +1 -0
  282. package/es/molecule/questions/template/test/fixtures.js +15 -0
  283. package/es/molecule/questions/template/test/fixtures.js.map +1 -0
  284. package/es/molecule/resource-player/test/fixtures.js +25 -0
  285. package/es/molecule/resource-player/test/fixtures.js.map +1 -0
  286. package/es/molecule/scope-content/test/fixtures.js +27 -0
  287. package/es/molecule/scope-content/test/fixtures.js.map +1 -0
  288. package/es/molecule/scope-tabs/test/fixtures.js +17 -0
  289. package/es/molecule/scope-tabs/test/fixtures.js.map +1 -0
  290. package/es/molecule/search/test/fixtures.js +15 -0
  291. package/es/molecule/search/test/fixtures.js.map +1 -0
  292. package/es/molecule/search-form/test/fixtures.js +13 -0
  293. package/es/molecule/search-form/test/fixtures.js.map +1 -0
  294. package/es/molecule/select-multiple/test/fixtures.js +23 -0
  295. package/es/molecule/select-multiple/test/fixtures.js.map +1 -0
  296. package/es/molecule/setup-cohort-item/test/fixtures.js +19 -0
  297. package/es/molecule/setup-cohort-item/test/fixtures.js.map +1 -0
  298. package/es/molecule/setup-section/test/fixtures.js +25 -0
  299. package/es/molecule/setup-section/test/fixtures.js.map +1 -0
  300. package/es/molecule/setup-sections/test/fixtures.js +19 -0
  301. package/es/molecule/setup-sections/test/fixtures.js.map +1 -0
  302. package/es/molecule/setup-slide/test/fixtures.js +23 -0
  303. package/es/molecule/setup-slide/test/fixtures.js.map +1 -0
  304. package/es/molecule/setup-slider/test/fixtures.js +15 -0
  305. package/es/molecule/setup-slider/test/fixtures.js.map +1 -0
  306. package/es/molecule/share/test/fixtures.js +13 -0
  307. package/es/molecule/share/test/fixtures.js.map +1 -0
  308. package/es/molecule/ssmenu-list/test/fixtures.js +19 -0
  309. package/es/molecule/ssmenu-list/test/fixtures.js.map +1 -0
  310. package/es/molecule/subscription-freemium/test/fixtures.js +13 -0
  311. package/es/molecule/subscription-freemium/test/fixtures.js.map +1 -0
  312. package/es/molecule/subscription-premium/test/fixtures.js +15 -0
  313. package/es/molecule/subscription-premium/test/fixtures.js.map +1 -0
  314. package/es/molecule/table/test/fixtures.js +19 -0
  315. package/es/molecule/table/test/fixtures.js.map +1 -0
  316. package/es/molecule/teams-popin/test/fixtures.js +29 -0
  317. package/es/molecule/teams-popin/test/fixtures.js.map +1 -0
  318. package/es/molecule/theme-image/test/fixtures.js +13 -0
  319. package/es/molecule/theme-image/test/fixtures.js.map +1 -0
  320. package/es/molecule/titled-checkbox/test/fixtures.js +17 -0
  321. package/es/molecule/titled-checkbox/test/fixtures.js.map +1 -0
  322. package/es/molecule/unsubscribe/test/fixtures.js +15 -0
  323. package/es/molecule/unsubscribe/test/fixtures.js.map +1 -0
  324. package/es/molecule/vertical-tabs/index.js +51 -0
  325. package/es/molecule/vertical-tabs/index.js.map +1 -0
  326. package/es/molecule/vertical-tabs/style.css +69 -0
  327. package/es/molecule/vertical-tabs/test/fixtures/default.js +41 -0
  328. package/es/molecule/vertical-tabs/test/fixtures/default.js.map +1 -0
  329. package/es/molecule/vertical-tabs/test/fixtures/with-selected-item.js +81 -0
  330. package/es/molecule/vertical-tabs/test/fixtures/with-selected-item.js.map +1 -0
  331. package/es/molecule/video-iframe/test/fixtures.js +25 -0
  332. package/es/molecule/video-iframe/test/fixtures.js.map +1 -0
  333. package/es/molecule/video-player/test/fixtures.js +29 -0
  334. package/es/molecule/video-player/test/fixtures.js.map +1 -0
  335. package/es/molecule/wizard-summary/index.js +187 -0
  336. package/es/molecule/wizard-summary/index.js.map +1 -0
  337. package/es/molecule/wizard-summary/style.css +247 -0
  338. package/es/molecule/wizard-summary/test/fixtures/default.js +123 -0
  339. package/es/molecule/wizard-summary/test/fixtures/default.js.map +1 -0
  340. package/es/molecule/wizard-summary/test/fixtures/one-section.js +22 -0
  341. package/es/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -0
  342. package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js +117 -0
  343. package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
  344. package/es/molecule/wizard-summary/test/fixtures/three-sections.js +41 -0
  345. package/es/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -0
  346. package/es/molecule/wizard-summary/test/fixtures/two-sections.js +34 -0
  347. package/es/molecule/wizard-summary/test/fixtures/two-sections.js.map +1 -0
  348. package/es/organism/accordion/container/test/fixtures.js +17 -0
  349. package/es/organism/accordion/container/test/fixtures.js.map +1 -0
  350. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +13 -0
  351. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
  352. package/es/organism/accordion/coorp-manager/test/fixtures.js +13 -0
  353. package/es/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
  354. package/es/organism/accordion/part/test/fixtures.js +15 -0
  355. package/es/organism/accordion/part/test/fixtures.js.map +1 -0
  356. package/es/organism/accordion/toggler/test/fixtures.js +17 -0
  357. package/es/organism/accordion/toggler/test/fixtures.js.map +1 -0
  358. package/es/organism/brand-analytics/test/fixtures.js +23 -0
  359. package/es/organism/brand-analytics/test/fixtures.js.map +1 -0
  360. package/es/organism/brand-dashboard/test/fixtures.js +13 -0
  361. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -0
  362. package/es/organism/brand-form/test/fixtures.js +31 -0
  363. package/es/organism/brand-form/test/fixtures.js.map +1 -0
  364. package/es/organism/brand-table/test/fixtures.js +19 -0
  365. package/es/organism/brand-table/test/fixtures.js.map +1 -0
  366. package/es/organism/brand-upload/test/fixtures.js +15 -0
  367. package/es/organism/brand-upload/test/fixtures.js.map +1 -0
  368. package/es/organism/cards-grid/test/fixtures.js +19 -0
  369. package/es/organism/cards-grid/test/fixtures.js.map +1 -0
  370. package/es/organism/cart/test/fixtures.js +13 -0
  371. package/es/organism/cart/test/fixtures.js.map +1 -0
  372. package/es/organism/discussion/test/fixtures.js +19 -0
  373. package/es/organism/discussion/test/fixtures.js.map +1 -0
  374. package/es/organism/get-the-app/test/fixtures.js +13 -0
  375. package/es/organism/get-the-app/test/fixtures.js.map +1 -0
  376. package/es/organism/grid-list/test/fixtures.js +13 -0
  377. package/es/organism/grid-list/test/fixtures.js.map +1 -0
  378. package/es/organism/header/test/fixtures.js +13 -0
  379. package/es/organism/header/test/fixtures.js.map +1 -0
  380. package/es/organism/hero/test/fixtures.js +17 -0
  381. package/es/organism/hero/test/fixtures.js.map +1 -0
  382. package/es/organism/mooc/image-slider/test/fixtures.js +15 -0
  383. package/es/organism/mooc/image-slider/test/fixtures.js.map +1 -0
  384. package/es/organism/mooc-footer/test/fixtures.js +23 -0
  385. package/es/organism/mooc-footer/test/fixtures.js.map +1 -0
  386. package/es/organism/mooc-header/test/fixtures.js +31 -0
  387. package/es/organism/mooc-header/test/fixtures.js.map +1 -0
  388. package/es/organism/popin/test/fixtures.js +13 -0
  389. package/es/organism/popin/test/fixtures.js.map +1 -0
  390. package/es/organism/resource-browser/test/fixtures.js +37 -0
  391. package/es/organism/resource-browser/test/fixtures.js.map +1 -0
  392. package/es/organism/settings/test/fixtures.js +19 -0
  393. package/es/organism/settings/test/fixtures.js.map +1 -0
  394. package/es/organism/setup-header/test/fixtures.js +15 -0
  395. package/es/organism/setup-header/test/fixtures.js.map +1 -0
  396. package/es/organism/sidebar/test/fixtures.js +23 -0
  397. package/es/organism/sidebar/test/fixtures.js.map +1 -0
  398. package/es/organism/slider/test/fixtures.js +15 -0
  399. package/es/organism/slider/test/fixtures.js.map +1 -0
  400. package/es/organism/user-preferences/style.css +1 -0
  401. package/es/organism/user-preferences/test/fixtures.js +13 -0
  402. package/es/organism/user-preferences/test/fixtures.js.map +1 -0
  403. package/es/template/activity/test/fixtures.js +21 -0
  404. package/es/template/activity/test/fixtures.js.map +1 -0
  405. package/es/template/app-player/loading/test/fixtures.js +13 -0
  406. package/es/template/app-player/loading/test/fixtures.js.map +1 -0
  407. package/es/template/app-player/player/slides/footer/test/fixtures.js +29 -0
  408. package/es/template/app-player/player/slides/footer/test/fixtures.js.map +1 -0
  409. package/es/template/app-player/player/slides/header/test/fixtures.js +23 -0
  410. package/es/template/app-player/player/slides/header/test/fixtures.js.map +1 -0
  411. package/es/template/app-player/player/slides/test/fixtures.js +79 -0
  412. package/es/template/app-player/player/slides/test/fixtures.js.map +1 -0
  413. package/es/template/app-player/player/test/fixtures.js +55 -0
  414. package/es/template/app-player/player/test/fixtures.js.map +1 -0
  415. package/es/template/app-player/popin-correction/test/fixtures.js +47 -0
  416. package/es/template/app-player/popin-correction/test/fixtures.js.map +1 -0
  417. package/es/template/app-player/popin-end/test/fixtures.js +49 -0
  418. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -0
  419. package/es/template/app-player/popin-header/test/fixtures.js +29 -0
  420. package/es/template/app-player/popin-header/test/fixtures.js.map +1 -0
  421. package/es/template/back-office/brand-create/test/fixtures.js +19 -0
  422. package/es/template/back-office/brand-create/test/fixtures.js.map +1 -0
  423. package/es/template/back-office/brand-list/test/fixtures.js +17 -0
  424. package/es/template/back-office/brand-list/test/fixtures.js.map +1 -0
  425. package/es/template/back-office/brand-update/index.js +1 -1
  426. package/es/template/back-office/brand-update/index.js.map +1 -1
  427. package/es/template/back-office/brand-update/test/fixtures.js +67 -0
  428. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -0
  429. package/es/template/back-office/dashboard-preview/test/fixtures.js +23 -0
  430. package/es/template/back-office/dashboard-preview/test/fixtures.js.map +1 -0
  431. package/es/template/battle-requests/test/fixtures.js +13 -0
  432. package/es/template/battle-requests/test/fixtures.js.map +1 -0
  433. package/es/template/cockpit/jw-uploader/test/fixtures.js +13 -0
  434. package/es/template/cockpit/jw-uploader/test/fixtures.js.map +1 -0
  435. package/es/template/common/authors/test/fixtures.js +15 -0
  436. package/es/template/common/authors/test/fixtures.js.map +1 -0
  437. package/es/template/common/coorp-header/test/fixtures.js +15 -0
  438. package/es/template/common/coorp-header/test/fixtures.js.map +1 -0
  439. package/es/template/common/dashboard/test/fixtures.js +17 -0
  440. package/es/template/common/dashboard/test/fixtures.js.map +1 -0
  441. package/es/template/common/discipline/test/fixtures.js +47 -0
  442. package/es/template/common/discipline/test/fixtures.js.map +1 -0
  443. package/es/template/common/search-page/test/fixtures.js +17 -0
  444. package/es/template/common/search-page/test/fixtures.js.map +1 -0
  445. package/es/template/external-course/test/fixtures.js +31 -0
  446. package/es/template/external-course/test/fixtures.js.map +1 -0
  447. package/es/template/teams-dashboard/test/fixtures.js +17 -0
  448. package/es/template/teams-dashboard/test/fixtures.js.map +1 -0
  449. package/es/variables/colors.css +20 -2
  450. package/lib/atom/autocomplete/test/fixtures.js +31 -0
  451. package/lib/atom/autocomplete/test/fixtures.js.map +1 -0
  452. package/lib/atom/avatar/test/fixtures.js +22 -0
  453. package/lib/atom/avatar/test/fixtures.js.map +1 -0
  454. package/lib/atom/bullet-point-menu-button/test/fixtures.js +43 -0
  455. package/lib/atom/bullet-point-menu-button/test/fixtures.js.map +1 -0
  456. package/lib/atom/button/index.js +3 -1
  457. package/lib/atom/button/index.js.map +1 -1
  458. package/lib/atom/button/test/fixtures.js +43 -0
  459. package/lib/atom/button/test/fixtures.js.map +1 -0
  460. package/lib/atom/catalog-section/test/fixtures.js +25 -0
  461. package/lib/atom/catalog-section/test/fixtures.js.map +1 -0
  462. package/lib/atom/centered-text/test/fixtures.js +22 -0
  463. package/lib/atom/centered-text/test/fixtures.js.map +1 -0
  464. package/lib/atom/checkbox/test/fixtures.js +31 -0
  465. package/lib/atom/checkbox/test/fixtures.js.map +1 -0
  466. package/lib/atom/chips/index.js +52 -0
  467. package/lib/atom/chips/index.js.map +1 -0
  468. package/lib/atom/chips/style.css +66 -0
  469. package/lib/atom/chips/test/fixtures/default.js +14 -0
  470. package/lib/atom/chips/test/fixtures/default.js.map +1 -0
  471. package/lib/atom/chips/test/fixtures/non-selected.js +14 -0
  472. package/lib/atom/chips/test/fixtures/non-selected.js.map +1 -0
  473. package/lib/atom/clue/test/fixtures.js +28 -0
  474. package/lib/atom/clue/test/fixtures.js.map +1 -0
  475. package/lib/atom/content-badge/index.js +32 -0
  476. package/lib/atom/content-badge/index.js.map +1 -0
  477. package/lib/atom/content-badge/style.css +59 -0
  478. package/lib/atom/content-badge/test/fixtures/advanced.js +12 -0
  479. package/lib/atom/content-badge/test/fixtures/advanced.js.map +1 -0
  480. package/lib/atom/content-badge/test/fixtures/article.js +12 -0
  481. package/lib/atom/content-badge/test/fixtures/article.js.map +1 -0
  482. package/lib/atom/content-badge/test/fixtures/chapter.js +12 -0
  483. package/lib/atom/content-badge/test/fixtures/chapter.js.map +1 -0
  484. package/lib/atom/content-badge/test/fixtures/coach.js +12 -0
  485. package/lib/atom/content-badge/test/fixtures/coach.js.map +1 -0
  486. package/lib/atom/content-badge/test/fixtures/default.js +12 -0
  487. package/lib/atom/content-badge/test/fixtures/default.js.map +1 -0
  488. package/lib/atom/content-badge/test/fixtures/podcast.js +12 -0
  489. package/lib/atom/content-badge/test/fixtures/podcast.js.map +1 -0
  490. package/lib/atom/content-badge/test/fixtures/scorm.js +12 -0
  491. package/lib/atom/content-badge/test/fixtures/scorm.js.map +1 -0
  492. package/lib/atom/content-badge/test/fixtures/video.js +12 -0
  493. package/lib/atom/content-badge/test/fixtures/video.js.map +1 -0
  494. package/lib/atom/cta/test/fixtures.js +58 -0
  495. package/lib/atom/cta/test/fixtures.js.map +1 -0
  496. package/lib/atom/difficulty-level/test/fixtures.js +31 -0
  497. package/lib/atom/difficulty-level/test/fixtures.js.map +1 -0
  498. package/lib/atom/drag-and-drop/test/fixtures.js +37 -0
  499. package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -0
  500. package/lib/atom/image-upload/test/fixtures.js +46 -0
  501. package/lib/atom/image-upload/test/fixtures.js.map +1 -0
  502. package/lib/atom/input-checkbox/test/fixtures.js +37 -0
  503. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -0
  504. package/lib/atom/input-color/test/fixtures.js +31 -0
  505. package/lib/atom/input-color/test/fixtures.js.map +1 -0
  506. package/lib/atom/input-doublestep/test/fixtures.js +34 -0
  507. package/lib/atom/input-doublestep/test/fixtures.js.map +1 -0
  508. package/lib/atom/input-html/test/fixtures.js +28 -0
  509. package/lib/atom/input-html/test/fixtures.js.map +1 -0
  510. package/lib/atom/input-readonly/test/fixtures.js +22 -0
  511. package/lib/atom/input-readonly/test/fixtures.js.map +1 -0
  512. package/lib/atom/input-switch/test/fixtures.js +37 -0
  513. package/lib/atom/input-switch/test/fixtures.js.map +1 -0
  514. package/lib/atom/input-text/index.js +36 -6
  515. package/lib/atom/input-text/index.js.map +1 -1
  516. package/lib/atom/input-text/style.css +229 -1
  517. package/lib/atom/input-text/test/fixtures/cm-default.js +22 -0
  518. package/lib/atom/input-text/test/fixtures/cm-default.js.map +1 -0
  519. package/lib/atom/input-text/test/fixtures.js +40 -0
  520. package/lib/atom/input-text/test/fixtures.js.map +1 -0
  521. package/lib/atom/input-textarea/index.js +38 -11
  522. package/lib/atom/input-textarea/index.js.map +1 -1
  523. package/lib/atom/input-textarea/style.css +265 -0
  524. package/lib/atom/input-textarea/test/fixtures/cm-default.js +22 -0
  525. package/lib/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
  526. package/lib/atom/input-textarea/test/fixtures/cm-empty.js +22 -0
  527. package/lib/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
  528. package/lib/atom/input-textarea/test/fixtures.js +28 -0
  529. package/lib/atom/input-textarea/test/fixtures.js.map +1 -0
  530. package/lib/atom/label/test/fixtures.js +25 -0
  531. package/lib/atom/label/test/fixtures.js.map +1 -0
  532. package/lib/atom/life/test/fixtures.js +40 -0
  533. package/lib/atom/life/test/fixtures.js.map +1 -0
  534. package/lib/atom/link/test/fixtures.js +28 -0
  535. package/lib/atom/link/test/fixtures.js.map +1 -0
  536. package/lib/atom/loader/test/fixtures.js +22 -0
  537. package/lib/atom/loader/test/fixtures.js.map +1 -0
  538. package/lib/atom/notification/test/fixtures.js +28 -0
  539. package/lib/atom/notification/test/fixtures.js.map +1 -0
  540. package/lib/atom/picture/test/fixtures.js +31 -0
  541. package/lib/atom/picture/test/fixtures.js.map +1 -0
  542. package/lib/atom/picture-background/test/fixtures.js +31 -0
  543. package/lib/atom/picture-background/test/fixtures.js.map +1 -0
  544. package/lib/atom/promo-code/test/fixtures.js +28 -0
  545. package/lib/atom/promo-code/test/fixtures.js.map +1 -0
  546. package/lib/atom/provider/test/fixtures.js +22 -0
  547. package/lib/atom/provider/test/fixtures.js.map +1 -0
  548. package/lib/atom/radio-group/test/fixtures.js +28 -0
  549. package/lib/atom/radio-group/test/fixtures.js.map +1 -0
  550. package/lib/atom/range/test/fixtures.js +25 -0
  551. package/lib/atom/range/test/fixtures.js.map +1 -0
  552. package/lib/atom/resource-miniature/test/fixtures.js +34 -0
  553. package/lib/atom/resource-miniature/test/fixtures.js.map +1 -0
  554. package/lib/atom/select/test/fixtures.js +67 -0
  555. package/lib/atom/select/test/fixtures.js.map +1 -0
  556. package/lib/atom/slide/test/fixtures.js +34 -0
  557. package/lib/atom/slide/test/fixtures.js.map +1 -0
  558. package/lib/atom/social-link/test/fixtures.js +28 -0
  559. package/lib/atom/social-link/test/fixtures.js.map +1 -0
  560. package/lib/atom/spinner/test/fixtures.js +22 -0
  561. package/lib/atom/spinner/test/fixtures.js.map +1 -0
  562. package/lib/atom/tab/test/fixtures.js +22 -0
  563. package/lib/atom/tab/test/fixtures.js.map +1 -0
  564. package/lib/atom/tab-content/test/fixtures.js +25 -0
  565. package/lib/atom/tab-content/test/fixtures.js.map +1 -0
  566. package/lib/atom/title/test/fixtures.js +22 -0
  567. package/lib/atom/title/test/fixtures.js.map +1 -0
  568. package/lib/atom/video-upload/test/fixtures.js +34 -0
  569. package/lib/atom/video-upload/test/fixtures.js.map +1 -0
  570. package/lib/atom/wizard-steps/index.js +49 -0
  571. package/lib/atom/wizard-steps/index.js.map +1 -0
  572. package/lib/atom/wizard-steps/style.css +150 -0
  573. package/lib/atom/wizard-steps/test/fixtures/default.js +33 -0
  574. package/lib/atom/wizard-steps/test/fixtures/default.js.map +1 -0
  575. package/lib/atom/wizard-steps/test/fixtures/first-step.js +33 -0
  576. package/lib/atom/wizard-steps/test/fixtures/first-step.js.map +1 -0
  577. package/lib/atom/wizard-steps/test/fixtures/last-step.js +33 -0
  578. package/lib/atom/wizard-steps/test/fixtures/last-step.js.map +1 -0
  579. package/lib/hoc/animation/test/fixtures.js +25 -0
  580. package/lib/hoc/animation/test/fixtures.js.map +1 -0
  581. package/lib/hoc/animation-scheduler/test/fixtures.js +25 -0
  582. package/lib/hoc/animation-scheduler/test/fixtures.js.map +1 -0
  583. package/lib/hoc/swapper/test/fixtures.js +22 -0
  584. package/lib/hoc/swapper/test/fixtures.js.map +1 -0
  585. package/lib/hoc/transition/test/fixtures.js +22 -0
  586. package/lib/hoc/transition/test/fixtures.js.map +1 -0
  587. package/lib/molecule/add-to-my-list/test/fixtures.js +25 -0
  588. package/lib/molecule/add-to-my-list/test/fixtures.js.map +1 -0
  589. package/lib/molecule/answer/test/fixtures.js +55 -0
  590. package/lib/molecule/answer/test/fixtures.js.map +1 -0
  591. package/lib/molecule/audio/test/fixtures.js +25 -0
  592. package/lib/molecule/audio/test/fixtures.js.map +1 -0
  593. package/lib/molecule/banner/index.js +59 -0
  594. package/lib/molecule/banner/index.js.map +1 -0
  595. package/lib/molecule/banner/style.css +63 -0
  596. package/lib/molecule/banner/test/fixtures/default.js +16 -0
  597. package/lib/molecule/banner/test/fixtures/default.js.map +1 -0
  598. package/lib/molecule/banner/test/fixtures/error-banner.js +12 -0
  599. package/lib/molecule/banner/test/fixtures/error-banner.js.map +1 -0
  600. package/lib/molecule/battle-request/test/fixtures.js +25 -0
  601. package/lib/molecule/battle-request/test/fixtures.js.map +1 -0
  602. package/lib/molecule/brand-card/test/fixtures.js +25 -0
  603. package/lib/molecule/brand-card/test/fixtures.js.map +1 -0
  604. package/lib/molecule/brand-card-create/test/fixtures.js +22 -0
  605. package/lib/molecule/brand-card-create/test/fixtures.js.map +1 -0
  606. package/lib/molecule/brand-create-form/test/fixtures.js +31 -0
  607. package/lib/molecule/brand-create-form/test/fixtures.js.map +1 -0
  608. package/lib/molecule/brand-download-box/test/fixtures.js +28 -0
  609. package/lib/molecule/brand-download-box/test/fixtures.js.map +1 -0
  610. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js +56 -0
  611. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
  612. package/lib/molecule/brand-form-group/test/fixtures/default.js +12 -3
  613. package/lib/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
  614. package/lib/molecule/brand-form-group/test/fixtures.js +52 -0
  615. package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -0
  616. package/lib/molecule/brand-tabs/test/fixtures.js +46 -0
  617. package/lib/molecule/brand-tabs/test/fixtures.js.map +1 -0
  618. package/lib/molecule/brand-upload-box/test/fixtures.js +28 -0
  619. package/lib/molecule/brand-upload-box/test/fixtures.js.map +1 -0
  620. package/lib/molecule/breadcrumbs/test/fixtures.js +22 -0
  621. package/lib/molecule/breadcrumbs/test/fixtures.js.map +1 -0
  622. package/lib/molecule/card/index.js +17 -5
  623. package/lib/molecule/card/index.js.map +1 -1
  624. package/lib/molecule/card/selectable.css +71 -0
  625. package/lib/molecule/card/selectable.js +45 -0
  626. package/lib/molecule/card/selectable.js.map +1 -0
  627. package/lib/molecule/card/test/fixtures/default.js +1 -0
  628. package/lib/molecule/card/test/fixtures/default.js.map +1 -1
  629. package/lib/molecule/card/test/fixtures/selectable-false.js +26 -0
  630. package/lib/molecule/card/test/fixtures/selectable-false.js.map +1 -0
  631. package/lib/molecule/card/test/fixtures/selectable-true.js +27 -0
  632. package/lib/molecule/card/test/fixtures/selectable-true.js.map +1 -0
  633. package/lib/molecule/card/test/fixtures.js +61 -0
  634. package/lib/molecule/card/test/fixtures.js.map +1 -0
  635. package/lib/molecule/card-content/index.js +14 -3
  636. package/lib/molecule/card-content/index.js.map +1 -1
  637. package/lib/molecule/card-content/style.css +13 -3
  638. package/lib/molecule/card-content/test/fixtures.js +43 -0
  639. package/lib/molecule/card-content/test/fixtures.js.map +1 -0
  640. package/lib/molecule/card-with-button/test/fixtures.js +28 -0
  641. package/lib/molecule/card-with-button/test/fixtures.js.map +1 -0
  642. package/lib/molecule/cm-popin/index.js +89 -0
  643. package/lib/molecule/cm-popin/index.js.map +1 -0
  644. package/lib/molecule/cm-popin/style.css +157 -0
  645. package/lib/molecule/cm-popin/test/fixtures/dangerous.js +21 -0
  646. package/lib/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
  647. package/lib/molecule/cm-popin/test/fixtures/default.js +21 -0
  648. package/lib/molecule/cm-popin/test/fixtures/default.js.map +1 -0
  649. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js +22 -0
  650. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
  651. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  652. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  653. package/lib/molecule/cookie-banner/test/fixtures.js +22 -0
  654. package/lib/molecule/cookie-banner/test/fixtures.js.map +1 -0
  655. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +25 -0
  656. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js.map +1 -0
  657. package/lib/molecule/dashboard/cards-list/test/fixtures.js +37 -0
  658. package/lib/molecule/dashboard/cards-list/test/fixtures.js.map +1 -0
  659. package/lib/molecule/dashboard/news-list/test/fixtures.js +28 -0
  660. package/lib/molecule/dashboard/news-list/test/fixtures.js.map +1 -0
  661. package/lib/molecule/dashboard/start-battle/test/fixtures.js +25 -0
  662. package/lib/molecule/dashboard/start-battle/test/fixtures.js.map +1 -0
  663. package/lib/molecule/discipline-cta/test/fixtures.js +25 -0
  664. package/lib/molecule/discipline-cta/test/fixtures.js.map +1 -0
  665. package/lib/molecule/discipline-header/test/fixtures.js +43 -0
  666. package/lib/molecule/discipline-header/test/fixtures.js.map +1 -0
  667. package/lib/molecule/discipline-partners/index.js +5 -2
  668. package/lib/molecule/discipline-partners/index.js.map +1 -1
  669. package/lib/molecule/discipline-partners/test/fixtures.js +34 -0
  670. package/lib/molecule/discipline-partners/test/fixtures.js.map +1 -0
  671. package/lib/molecule/discipline-scope/test/fixtures.js +43 -0
  672. package/lib/molecule/discipline-scope/test/fixtures.js.map +1 -0
  673. package/lib/molecule/drag-and-drop/test/fixtures.js +40 -0
  674. package/lib/molecule/drag-and-drop/test/fixtures.js.map +1 -0
  675. package/lib/molecule/external-content-button/test/fixtures.js +31 -0
  676. package/lib/molecule/external-content-button/test/fixtures.js.map +1 -0
  677. package/lib/molecule/external-content-viewer/test/fixtures.js +43 -0
  678. package/lib/molecule/external-content-viewer/test/fixtures.js.map +1 -0
  679. package/lib/molecule/feedback/test/fixtures.js +43 -0
  680. package/lib/molecule/feedback/test/fixtures.js.map +1 -0
  681. package/lib/molecule/filters/test/fixtures.js +52 -0
  682. package/lib/molecule/filters/test/fixtures.js.map +1 -0
  683. package/lib/molecule/forum/forum-comment/test/fixtures.js +28 -0
  684. package/lib/molecule/forum/forum-comment/test/fixtures.js.map +1 -0
  685. package/lib/molecule/forum/forum-post/test/fixtures.js +49 -0
  686. package/lib/molecule/forum/forum-post/test/fixtures.js.map +1 -0
  687. package/lib/molecule/forum/forum-thread/test/fixtures.js +28 -0
  688. package/lib/molecule/forum/forum-thread/test/fixtures.js.map +1 -0
  689. package/lib/molecule/hero/test/fixtures.js +25 -0
  690. package/lib/molecule/hero/test/fixtures.js.map +1 -0
  691. package/lib/molecule/login-alert/test/fixtures.js +22 -0
  692. package/lib/molecule/login-alert/test/fixtures.js.map +1 -0
  693. package/lib/molecule/menu-list/test/fixtures.js +22 -0
  694. package/lib/molecule/menu-list/test/fixtures.js.map +1 -0
  695. package/lib/molecule/message-popin/test/fixtures.js +22 -0
  696. package/lib/molecule/message-popin/test/fixtures.js.map +1 -0
  697. package/lib/molecule/modal/test/fixtures.js +22 -0
  698. package/lib/molecule/modal/test/fixtures.js.map +1 -0
  699. package/lib/molecule/module-bubble/test/fixtures.js +28 -0
  700. package/lib/molecule/module-bubble/test/fixtures.js.map +1 -0
  701. package/lib/molecule/module-card/test/fixtures.js +28 -0
  702. package/lib/molecule/module-card/test/fixtures.js.map +1 -0
  703. package/lib/molecule/news/test/fixtures.js +37 -0
  704. package/lib/molecule/news/test/fixtures.js.map +1 -0
  705. package/lib/molecule/notification-banner/test/fixtures.js +28 -0
  706. package/lib/molecule/notification-banner/test/fixtures.js.map +1 -0
  707. package/lib/molecule/pagination/test/fixtures.js +25 -0
  708. package/lib/molecule/pagination/test/fixtures.js.map +1 -0
  709. package/lib/molecule/payment-form/test/fixtures.js +28 -0
  710. package/lib/molecule/payment-form/test/fixtures.js.map +1 -0
  711. package/lib/molecule/pdf/test/fixtures.js +22 -0
  712. package/lib/molecule/pdf/test/fixtures.js.map +1 -0
  713. package/lib/molecule/popin/test/fixtures.js +34 -0
  714. package/lib/molecule/popin/test/fixtures.js.map +1 -0
  715. package/lib/molecule/product-card/test/fixtures.js +22 -0
  716. package/lib/molecule/product-card/test/fixtures.js.map +1 -0
  717. package/lib/molecule/progress-bar/test/fixtures.js +25 -0
  718. package/lib/molecule/progress-bar/test/fixtures.js.map +1 -0
  719. package/lib/molecule/questions/drop-down/test/fixtures.js +25 -0
  720. package/lib/molecule/questions/drop-down/test/fixtures.js.map +1 -0
  721. package/lib/molecule/questions/free-text/test/fixtures.js +25 -0
  722. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -0
  723. package/lib/molecule/questions/qcm/test/fixtures.js +31 -0
  724. package/lib/molecule/questions/qcm/test/fixtures.js.map +1 -0
  725. package/lib/molecule/questions/qcm-drag/test/fixtures.js +25 -0
  726. package/lib/molecule/questions/qcm-drag/test/fixtures.js.map +1 -0
  727. package/lib/molecule/questions/qcm-graphic/test/fixtures.js +25 -0
  728. package/lib/molecule/questions/qcm-graphic/test/fixtures.js.map +1 -0
  729. package/lib/molecule/questions/question-range/test/fixtures.js +22 -0
  730. package/lib/molecule/questions/question-range/test/fixtures.js.map +1 -0
  731. package/lib/molecule/questions/template/test/fixtures.js +25 -0
  732. package/lib/molecule/questions/template/test/fixtures.js.map +1 -0
  733. package/lib/molecule/resource-player/test/fixtures.js +40 -0
  734. package/lib/molecule/resource-player/test/fixtures.js.map +1 -0
  735. package/lib/molecule/scope-content/test/fixtures.js +43 -0
  736. package/lib/molecule/scope-content/test/fixtures.js.map +1 -0
  737. package/lib/molecule/scope-tabs/test/fixtures.js +28 -0
  738. package/lib/molecule/scope-tabs/test/fixtures.js.map +1 -0
  739. package/lib/molecule/search/test/fixtures.js +25 -0
  740. package/lib/molecule/search/test/fixtures.js.map +1 -0
  741. package/lib/molecule/search-form/test/fixtures.js +22 -0
  742. package/lib/molecule/search-form/test/fixtures.js.map +1 -0
  743. package/lib/molecule/select-multiple/test/fixtures.js +37 -0
  744. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -0
  745. package/lib/molecule/setup-cohort-item/test/fixtures.js +31 -0
  746. package/lib/molecule/setup-cohort-item/test/fixtures.js.map +1 -0
  747. package/lib/molecule/setup-section/test/fixtures.js +40 -0
  748. package/lib/molecule/setup-section/test/fixtures.js.map +1 -0
  749. package/lib/molecule/setup-sections/test/fixtures.js +31 -0
  750. package/lib/molecule/setup-sections/test/fixtures.js.map +1 -0
  751. package/lib/molecule/setup-slide/test/fixtures.js +37 -0
  752. package/lib/molecule/setup-slide/test/fixtures.js.map +1 -0
  753. package/lib/molecule/setup-slider/test/fixtures.js +25 -0
  754. package/lib/molecule/setup-slider/test/fixtures.js.map +1 -0
  755. package/lib/molecule/share/test/fixtures.js +22 -0
  756. package/lib/molecule/share/test/fixtures.js.map +1 -0
  757. package/lib/molecule/ssmenu-list/test/fixtures.js +31 -0
  758. package/lib/molecule/ssmenu-list/test/fixtures.js.map +1 -0
  759. package/lib/molecule/subscription-freemium/test/fixtures.js +22 -0
  760. package/lib/molecule/subscription-freemium/test/fixtures.js.map +1 -0
  761. package/lib/molecule/subscription-premium/test/fixtures.js +25 -0
  762. package/lib/molecule/subscription-premium/test/fixtures.js.map +1 -0
  763. package/lib/molecule/table/test/fixtures.js +31 -0
  764. package/lib/molecule/table/test/fixtures.js.map +1 -0
  765. package/lib/molecule/teams-popin/test/fixtures.js +46 -0
  766. package/lib/molecule/teams-popin/test/fixtures.js.map +1 -0
  767. package/lib/molecule/theme-image/test/fixtures.js +22 -0
  768. package/lib/molecule/theme-image/test/fixtures.js.map +1 -0
  769. package/lib/molecule/titled-checkbox/test/fixtures.js +28 -0
  770. package/lib/molecule/titled-checkbox/test/fixtures.js.map +1 -0
  771. package/lib/molecule/unsubscribe/test/fixtures.js +25 -0
  772. package/lib/molecule/unsubscribe/test/fixtures.js.map +1 -0
  773. package/lib/molecule/vertical-tabs/index.js +66 -0
  774. package/lib/molecule/vertical-tabs/index.js.map +1 -0
  775. package/lib/molecule/vertical-tabs/style.css +69 -0
  776. package/lib/molecule/vertical-tabs/test/fixtures/default.js +46 -0
  777. package/lib/molecule/vertical-tabs/test/fixtures/default.js.map +1 -0
  778. package/lib/molecule/vertical-tabs/test/fixtures/with-selected-item.js +86 -0
  779. package/lib/molecule/vertical-tabs/test/fixtures/with-selected-item.js.map +1 -0
  780. package/lib/molecule/video-iframe/test/fixtures.js +40 -0
  781. package/lib/molecule/video-iframe/test/fixtures.js.map +1 -0
  782. package/lib/molecule/video-player/test/fixtures.js +46 -0
  783. package/lib/molecule/video-player/test/fixtures.js.map +1 -0
  784. package/lib/molecule/wizard-summary/index.js +205 -0
  785. package/lib/molecule/wizard-summary/index.js.map +1 -0
  786. package/lib/molecule/wizard-summary/style.css +247 -0
  787. package/lib/molecule/wizard-summary/test/fixtures/default.js +128 -0
  788. package/lib/molecule/wizard-summary/test/fixtures/default.js.map +1 -0
  789. package/lib/molecule/wizard-summary/test/fixtures/one-section.js +27 -0
  790. package/lib/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -0
  791. package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js +122 -0
  792. package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
  793. package/lib/molecule/wizard-summary/test/fixtures/three-sections.js +46 -0
  794. package/lib/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -0
  795. package/lib/molecule/wizard-summary/test/fixtures/two-sections.js +39 -0
  796. package/lib/molecule/wizard-summary/test/fixtures/two-sections.js.map +1 -0
  797. package/lib/organism/accordion/container/test/fixtures.js +28 -0
  798. package/lib/organism/accordion/container/test/fixtures.js.map +1 -0
  799. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +22 -0
  800. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
  801. package/lib/organism/accordion/coorp-manager/test/fixtures.js +22 -0
  802. package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
  803. package/lib/organism/accordion/part/test/fixtures.js +25 -0
  804. package/lib/organism/accordion/part/test/fixtures.js.map +1 -0
  805. package/lib/organism/accordion/toggler/test/fixtures.js +28 -0
  806. package/lib/organism/accordion/toggler/test/fixtures.js.map +1 -0
  807. package/lib/organism/brand-analytics/test/fixtures.js +37 -0
  808. package/lib/organism/brand-analytics/test/fixtures.js.map +1 -0
  809. package/lib/organism/brand-dashboard/test/fixtures.js +22 -0
  810. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -0
  811. package/lib/organism/brand-form/test/fixtures.js +49 -0
  812. package/lib/organism/brand-form/test/fixtures.js.map +1 -0
  813. package/lib/organism/brand-table/test/fixtures.js +31 -0
  814. package/lib/organism/brand-table/test/fixtures.js.map +1 -0
  815. package/lib/organism/brand-upload/test/fixtures.js +25 -0
  816. package/lib/organism/brand-upload/test/fixtures.js.map +1 -0
  817. package/lib/organism/cards-grid/test/fixtures.js +31 -0
  818. package/lib/organism/cards-grid/test/fixtures.js.map +1 -0
  819. package/lib/organism/cart/test/fixtures.js +22 -0
  820. package/lib/organism/cart/test/fixtures.js.map +1 -0
  821. package/lib/organism/discussion/test/fixtures.js +31 -0
  822. package/lib/organism/discussion/test/fixtures.js.map +1 -0
  823. package/lib/organism/get-the-app/test/fixtures.js +22 -0
  824. package/lib/organism/get-the-app/test/fixtures.js.map +1 -0
  825. package/lib/organism/grid-list/test/fixtures.js +22 -0
  826. package/lib/organism/grid-list/test/fixtures.js.map +1 -0
  827. package/lib/organism/header/test/fixtures.js +22 -0
  828. package/lib/organism/header/test/fixtures.js.map +1 -0
  829. package/lib/organism/hero/test/fixtures.js +28 -0
  830. package/lib/organism/hero/test/fixtures.js.map +1 -0
  831. package/lib/organism/mooc/image-slider/test/fixtures.js +25 -0
  832. package/lib/organism/mooc/image-slider/test/fixtures.js.map +1 -0
  833. package/lib/organism/mooc-footer/test/fixtures.js +37 -0
  834. package/lib/organism/mooc-footer/test/fixtures.js.map +1 -0
  835. package/lib/organism/mooc-header/test/fixtures.js +49 -0
  836. package/lib/organism/mooc-header/test/fixtures.js.map +1 -0
  837. package/lib/organism/popin/test/fixtures.js +22 -0
  838. package/lib/organism/popin/test/fixtures.js.map +1 -0
  839. package/lib/organism/resource-browser/test/fixtures.js +58 -0
  840. package/lib/organism/resource-browser/test/fixtures.js.map +1 -0
  841. package/lib/organism/settings/test/fixtures.js +31 -0
  842. package/lib/organism/settings/test/fixtures.js.map +1 -0
  843. package/lib/organism/setup-header/test/fixtures.js +25 -0
  844. package/lib/organism/setup-header/test/fixtures.js.map +1 -0
  845. package/lib/organism/sidebar/test/fixtures.js +37 -0
  846. package/lib/organism/sidebar/test/fixtures.js.map +1 -0
  847. package/lib/organism/slider/test/fixtures.js +25 -0
  848. package/lib/organism/slider/test/fixtures.js.map +1 -0
  849. package/lib/organism/user-preferences/style.css +1 -0
  850. package/lib/organism/user-preferences/test/fixtures.js +22 -0
  851. package/lib/organism/user-preferences/test/fixtures.js.map +1 -0
  852. package/lib/template/activity/test/fixtures.js +34 -0
  853. package/lib/template/activity/test/fixtures.js.map +1 -0
  854. package/lib/template/app-player/loading/test/fixtures.js +22 -0
  855. package/lib/template/app-player/loading/test/fixtures.js.map +1 -0
  856. package/lib/template/app-player/player/slides/footer/test/fixtures.js +46 -0
  857. package/lib/template/app-player/player/slides/footer/test/fixtures.js.map +1 -0
  858. package/lib/template/app-player/player/slides/header/test/fixtures.js +37 -0
  859. package/lib/template/app-player/player/slides/header/test/fixtures.js.map +1 -0
  860. package/lib/template/app-player/player/slides/test/fixtures.js +121 -0
  861. package/lib/template/app-player/player/slides/test/fixtures.js.map +1 -0
  862. package/lib/template/app-player/player/test/fixtures.js +85 -0
  863. package/lib/template/app-player/player/test/fixtures.js.map +1 -0
  864. package/lib/template/app-player/popin-correction/test/fixtures.js +73 -0
  865. package/lib/template/app-player/popin-correction/test/fixtures.js.map +1 -0
  866. package/lib/template/app-player/popin-end/test/fixtures.js +76 -0
  867. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -0
  868. package/lib/template/app-player/popin-header/test/fixtures.js +46 -0
  869. package/lib/template/app-player/popin-header/test/fixtures.js.map +1 -0
  870. package/lib/template/back-office/brand-create/test/fixtures.js +31 -0
  871. package/lib/template/back-office/brand-create/test/fixtures.js.map +1 -0
  872. package/lib/template/back-office/brand-list/test/fixtures.js +28 -0
  873. package/lib/template/back-office/brand-list/test/fixtures.js.map +1 -0
  874. package/lib/template/back-office/brand-update/index.js +1 -1
  875. package/lib/template/back-office/brand-update/index.js.map +1 -1
  876. package/lib/template/back-office/brand-update/test/fixtures.js +103 -0
  877. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -0
  878. package/lib/template/back-office/dashboard-preview/test/fixtures.js +37 -0
  879. package/lib/template/back-office/dashboard-preview/test/fixtures.js.map +1 -0
  880. package/lib/template/battle-requests/test/fixtures.js +22 -0
  881. package/lib/template/battle-requests/test/fixtures.js.map +1 -0
  882. package/lib/template/cockpit/jw-uploader/test/fixtures.js +22 -0
  883. package/lib/template/cockpit/jw-uploader/test/fixtures.js.map +1 -0
  884. package/lib/template/common/authors/test/fixtures.js +25 -0
  885. package/lib/template/common/authors/test/fixtures.js.map +1 -0
  886. package/lib/template/common/coorp-header/test/fixtures.js +25 -0
  887. package/lib/template/common/coorp-header/test/fixtures.js.map +1 -0
  888. package/lib/template/common/dashboard/test/fixtures.js +28 -0
  889. package/lib/template/common/dashboard/test/fixtures.js.map +1 -0
  890. package/lib/template/common/discipline/test/fixtures.js +73 -0
  891. package/lib/template/common/discipline/test/fixtures.js.map +1 -0
  892. package/lib/template/common/search-page/test/fixtures.js +28 -0
  893. package/lib/template/common/search-page/test/fixtures.js.map +1 -0
  894. package/lib/template/external-course/test/fixtures.js +49 -0
  895. package/lib/template/external-course/test/fixtures.js.map +1 -0
  896. package/lib/template/teams-dashboard/test/fixtures.js +28 -0
  897. package/lib/template/teams-dashboard/test/fixtures.js.map +1 -0
  898. package/lib/variables/colors.css +20 -2
  899. package/package.json +3 -3
@@ -5,6 +5,15 @@
5
5
  @value dark from colors;
6
6
  @value grey from colors;
7
7
  @value medium from colors;
8
+ @value xtraLightGrey from colors;
9
+ @value cm_positive_100 from colors;
10
+ @value cm_negative_100 from colors;
11
+ @value cm_grey_100 from colors;
12
+ @value cm_grey_150 from colors;
13
+ @value cm_grey_200 from colors;
14
+ @value cm_grey_400 from colors;
15
+ @value cm_grey_500 from colors;
16
+ @value cm_grey_700 from colors;
8
17
 
9
18
  .default {
10
19
  display: flex;
@@ -64,7 +73,7 @@
64
73
  bottom: 65px;
65
74
  left: 20px;
66
75
  max-width: 380px;
67
- transition: opacity 0.5s ease-in;
76
+ transition: opacity 0.25s ease-in;
68
77
  }
69
78
  .cockpit .description:after {
70
79
  content: "";
@@ -168,3 +177,222 @@
168
177
  color: medium;
169
178
  font-style: italic;
170
179
  }
180
+ /******************************* coorpmanager theme ***************************************/
181
+
182
+
183
+ .coorpmanager {
184
+ width: 300px;
185
+ position: relative;
186
+ display: flex;
187
+ flex-direction: column;
188
+ align-items: flex-start;
189
+ flex-wrap: nowrap;
190
+ }
191
+
192
+ .coorpmanager label {
193
+ display: flex;
194
+ flex-direction: column;
195
+ align-items: flex-start;
196
+ position: relative;
197
+ height: 64px;
198
+ }
199
+
200
+ .coorpmanager .title {
201
+ flex-grow: 0;
202
+ font-family: Gilroy;
203
+ font-size: 10px;
204
+ font-weight: bold;
205
+ font-stretch: normal;
206
+ font-style: normal;
207
+ line-height: 1.2;
208
+ letter-spacing: normal;
209
+ text-align: left;
210
+ z-index: 1;
211
+ color: cm_grey_400;
212
+ width: auto;
213
+ transition: all 0.25s linear;
214
+ pointer-events: none;
215
+ display: flex;
216
+ flex-direction: row;
217
+ flex-wrap: nowrap;
218
+ position: absolute;
219
+ top: 7px;
220
+ left: 16px;
221
+ }
222
+
223
+ .coorpmanager .title.noValue .infoIcon {
224
+ height: 10px;
225
+ width: 10px;
226
+ line-height: 12px;
227
+ color: cm_grey_500;
228
+ }
229
+
230
+ .coorpmanager input {
231
+ width: 300px;
232
+ height: 44px;
233
+ margin: 0px;
234
+ flex-grow: 0;
235
+ display: flex;
236
+ box-sizing: border-box;
237
+ flex-direction: column;
238
+ justify-content: center;
239
+ align-items: flex-start;
240
+ padding: 19px 30px 5px 16px;
241
+ border-radius: 7px;
242
+ background-color: cm_grey_100;
243
+ font-family: Gilroy;
244
+ font-size: 14px;
245
+ font-weight: 500;
246
+ font-stretch: normal;
247
+ font-style: normal;
248
+ line-height: 44px;
249
+ letter-spacing: normal;
250
+ text-align: left;
251
+ color: cm_grey_700;
252
+ border: none;
253
+ transition: all 0.25s linear;
254
+ outline: none;
255
+ display: flex;
256
+ }
257
+
258
+ .coorpmanager .title.noValue{
259
+ font-size: 14px;
260
+ font-weight: 500;
261
+ color: cm_grey_700;
262
+ top: 14px;
263
+ }
264
+
265
+ .coorpmanager:focus-within .title.noValue {
266
+ font-size: 10px;
267
+ font-weight: bold;
268
+ color: cm_grey_400;
269
+ top: 7px;
270
+ }
271
+
272
+ .coorpmanager:focus-within input::placeholder {
273
+ color: cm_grey_400;
274
+ }
275
+
276
+ .coorpmanager:focus-within .title.noValue .infoIcon {
277
+ width: 8px;
278
+ height: 8px;
279
+ line-height: 12px;
280
+ color: cm_grey_400;
281
+ }
282
+
283
+ .coorpmanager input:hover {
284
+ background-color: cm_grey_150;
285
+ }
286
+
287
+ .coorpmanager input::placeholder {
288
+ color: transparent;
289
+ transition: color 0.25s linear;
290
+ }
291
+
292
+ .coorpmanager .hint {
293
+ flex-grow: 0;
294
+ opacity: 0.5;
295
+ font-family: Gilroy;
296
+ font-size: 10px;
297
+ font-weight: 500;
298
+ font-stretch: normal;
299
+ font-style: normal;
300
+ line-height: 1.2;
301
+ letter-spacing: normal;
302
+ text-align: left;
303
+ padding-top: 8px;
304
+ color: cm_grey_700;
305
+ }
306
+
307
+ .coorpmanager.error .hint {
308
+ color: cm_negative_100;
309
+ }
310
+
311
+ .coorpmanager.error .leftIcon {
312
+ background-color: cm_negative_100;
313
+ color: white;
314
+ border-radius: 50%;
315
+ padding: 2px;
316
+ width: 10px;
317
+ height: 10px;
318
+ right: 17px;
319
+ top: 14px;
320
+ }
321
+
322
+ .coorpmanager .leftIcon {
323
+ color: cm_positive_100;
324
+ width: 17px;
325
+ height: 17px;
326
+ position: absolute;
327
+ right: 16px;
328
+ top: 13px;
329
+ }
330
+
331
+ .coorpmanager.disabled {
332
+ opacity: 0.5;
333
+ }
334
+
335
+ .coorpmanager .infoIconWrapper {
336
+ overflow: visible;
337
+ height: 12px;
338
+ margin: 0px 4px;
339
+ cursor: pointer;
340
+ pointer-events: fill;
341
+ position: relative;
342
+ }
343
+
344
+ .coorpmanager .infoIcon {
345
+ cursor: pointer;
346
+ width: 8px;
347
+ height: 8px;
348
+ line-height: 16px;
349
+ color: cm_grey_400;
350
+ transition: all 0.25s linear;
351
+ }
352
+
353
+ .coorpmanager .infoIconWrapper:hover .descriptionLabel {
354
+ visibility: visible;
355
+ opacity: 1;
356
+ }
357
+
358
+ .coorpmanager .descriptionLabel {
359
+ margin: 0 1px 18px 0;
360
+ padding: 8px 16px;
361
+ border-radius: 7px;
362
+ background-color: cm_grey_700;
363
+ flex-grow: 0;
364
+ font-family: Gilroy;
365
+ font-size: 14px;
366
+ font-weight: 500;
367
+ font-stretch: normal;
368
+ font-style: normal;
369
+ line-height: 1.43;
370
+ letter-spacing: normal;
371
+ text-align: center;
372
+ color: white;
373
+ padding: 8px 16px;
374
+ max-width: 200px;
375
+ position: absolute;
376
+ left: -24px;
377
+ z-index: 3;
378
+ bottom: 5px;
379
+ width: max-content;
380
+ visibility: hidden;
381
+ opacity: 0s
382
+ }
383
+
384
+ .coorpmanager .descriptionLabel::after{
385
+ content:'';
386
+ border-left: 6px solid transparent;
387
+ border-right: 6px solid transparent;
388
+ border-top: 6px solid cm_grey_700;
389
+ position: absolute;
390
+ bottom: -6px;
391
+ left: 21px;
392
+ }
393
+ .coorpmanager .title.noValue .descriptionLabel::after{
394
+ left: 22px;
395
+ }
396
+ .coorpmanager:focus-within .title.noValue .descriptionLabel::after{
397
+ left: 21px;
398
+ }
@@ -0,0 +1,17 @@
1
+ export default {
2
+ props: {
3
+ type: 'text',
4
+ title: 'Input name',
5
+ hint: 'Hint <span style="color:red;">10<span>/40',
6
+ placeholder: 'This is an input',
7
+ theme: 'coorpmanager',
8
+ description: 'This is the tooltip text',
9
+ value: 'This is an input',
10
+ disabled: false,
11
+ valid: false,
12
+ error: '',
13
+ required: true,
14
+ onChange: value => console.log(value)
15
+ }
16
+ };
17
+ //# sourceMappingURL=cm-default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/input-text/test/fixtures/cm-default.js"],"names":["props","type","title","hint","placeholder","theme","description","value","disabled","valid","error","required","onChange","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,MADD;AAELC,IAAAA,KAAK,EAAE,YAFF;AAGLC,IAAAA,IAAI,EAAE,2CAHD;AAILC,IAAAA,WAAW,EAAE,kBAJR;AAKLC,IAAAA,KAAK,EAAE,cALF;AAMLC,IAAAA,WAAW,EAAE,0BANR;AAOLC,IAAAA,KAAK,EAAE,kBAPF;AAQLC,IAAAA,QAAQ,EAAE,KARL;AASLC,IAAAA,KAAK,EAAE,KATF;AAULC,IAAAA,KAAK,EAAE,EAVF;AAWLC,IAAAA,QAAQ,EAAE,IAXL;AAYLC,IAAAA,QAAQ,EAAEL,KAAK,IAAIM,OAAO,CAACC,GAAR,CAAYP,KAAZ;AAZd;AADM,CAAf","sourcesContent":["export default {\n props: {\n type: 'text',\n title: 'Input name',\n hint: 'Hint <span style=\"color:red;\">10<span>/40',\n placeholder: 'This is an input',\n theme: 'coorpmanager',\n description: 'This is the tooltip text',\n value: 'This is an input',\n disabled: false,\n valid: false,\n error: '',\n required: true,\n onChange: value => console.log(value)\n }\n};\n"],"file":"cm-default.js"}
@@ -0,0 +1,25 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import AtomInputText from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureDisabled from './fixtures/disabled';
7
+ import fixtureEmpty from './fixtures/empty';
8
+ import fixtureError from './fixtures/error';
9
+ import fixtureModified from './fixtures/modified';
10
+ import fixtureNotitle from './fixtures/notitle';
11
+ import fixtureRequired from './fixtures/required';
12
+ test('Atom › AtomInputText > should have valid propTypes', t => {
13
+ t.pass();
14
+ forEach(AtomInputText.propTypes, (value, key) => {
15
+ t.not(value, undefined, `PropType for "Atom.AtomInputText.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
16
+ });
17
+ });
18
+ test('Atom › AtomInputText › Default › should be rendered', renderComponentMacro, AtomInputText, fixtureDefault);
19
+ test('Atom › AtomInputText › Disabled › should be rendered', renderComponentMacro, AtomInputText, fixtureDisabled);
20
+ test('Atom › AtomInputText › Empty › should be rendered', renderComponentMacro, AtomInputText, fixtureEmpty);
21
+ test('Atom › AtomInputText › Error › should be rendered', renderComponentMacro, AtomInputText, fixtureError);
22
+ test('Atom › AtomInputText › Modified › should be rendered', renderComponentMacro, AtomInputText, fixtureModified);
23
+ test('Atom › AtomInputText › Notitle › should be rendered', renderComponentMacro, AtomInputText, fixtureNotitle);
24
+ test('Atom › AtomInputText › Required › should be rendered', renderComponentMacro, AtomInputText, fixtureRequired);
25
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/atom/input-text/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputText","fixtureDefault","fixtureDisabled","fixtureEmpty","fixtureError","fixtureModified","fixtureNotitle","fixtureRequired","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,aAAP,MAA0B,IAA1B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAV,IAAI,CAAC,oDAAD,EAAuDW,CAAC,IAAI;AAC9DA,EAAAA,CAAC,CAACC,IAAF;AACAX,EAAAA,OAAO,CAACE,aAAa,CAACU,SAAf,EAA0B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,8CAA6CF,GAAI,mEAA1E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAf,IAAI,CAAC,qDAAD,EAAwDE,oBAAxD,EAA8EC,aAA9E,EAA6FC,cAA7F,CAAJ;AACAJ,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,aAA/E,EAA8FE,eAA9F,CAAJ;AACAL,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,aAA5E,EAA2FG,YAA3F,CAAJ;AACAN,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,aAA5E,EAA2FI,YAA3F,CAAJ;AACAP,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,aAA/E,EAA8FK,eAA9F,CAAJ;AACAR,IAAI,CAAC,qDAAD,EAAwDE,oBAAxD,EAA8EC,aAA9E,EAA6FM,cAA7F,CAAJ;AACAT,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,aAA/E,EAA8FO,eAA9F,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputText from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureError from './fixtures/error';\nimport fixtureModified from './fixtures/modified';\nimport fixtureNotitle from './fixtures/notitle';\nimport fixtureRequired from './fixtures/required';\n\ntest('Atom › AtomInputText > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputText.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputText.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputText › Default › should be rendered', renderComponentMacro, AtomInputText, fixtureDefault);\ntest('Atom › AtomInputText › Disabled › should be rendered', renderComponentMacro, AtomInputText, fixtureDisabled);\ntest('Atom › AtomInputText › Empty › should be rendered', renderComponentMacro, AtomInputText, fixtureEmpty);\ntest('Atom › AtomInputText › Error › should be rendered', renderComponentMacro, AtomInputText, fixtureError);\ntest('Atom › AtomInputText › Modified › should be rendered', renderComponentMacro, AtomInputText, fixtureModified);\ntest('Atom › AtomInputText › Notitle › should be rendered', renderComponentMacro, AtomInputText, fixtureNotitle);\ntest('Atom › AtomInputText › Required › should be rendered', renderComponentMacro, AtomInputText, fixtureRequired);\n"],"file":"fixtures.js"}
@@ -1,12 +1,15 @@
1
+ import _isEmpty from "lodash/fp/isEmpty";
1
2
  import _keys from "lodash/fp/keys";
2
3
  import _noop from "lodash/fp/noop";
3
4
  import React, { useMemo } from 'react';
4
5
  import PropTypes from 'prop-types';
5
6
  import classnames from 'classnames';
7
+ import { NovaSolidStatusCheckCircle2 as CheckIcon, NovaSolidStatusClose as ErrorIcon, NovaCompositionCoorpacademyInformationIcon as InfoIcon } from '@coorpacademy/nova-icons';
6
8
  import getClassState from '../../util/get-class-state';
7
9
  import style from './style.css';
8
10
  const themeStyle = {
9
11
  setup: style.setup,
12
+ coorpmanager: style.coorpmanager,
10
13
  cockpit: style.cockpit,
11
14
  default: style.default
12
15
  };
@@ -17,9 +20,11 @@ const InputTextarea = props => {
17
20
  name,
18
21
  placeholder,
19
22
  value,
23
+ hint,
20
24
  theme = 'default',
21
25
  onChange = _noop,
22
26
  error,
27
+ valid,
23
28
  required,
24
29
  description,
25
30
  disabled,
@@ -29,22 +34,40 @@ const InputTextarea = props => {
29
34
  const mainClass = themeStyle[theme];
30
35
  const className = getClassState(style.default, style.modified, style.error, modified, error);
31
36
  const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);
37
+ const descriptionView = description && theme !== 'coorpmanager' ? /*#__PURE__*/React.createElement("div", {
38
+ className: style.description
39
+ }, description) : null;
40
+ const toolTipView = description && theme === 'coorpmanager' ? /*#__PURE__*/React.createElement("div", {
41
+ className: style.infoIconWrapper
42
+ }, /*#__PURE__*/React.createElement(InfoIcon, {
43
+ className: style.infoIcon
44
+ }), /*#__PURE__*/React.createElement("div", {
45
+ className: style.descriptionLabel
46
+ }, description)) : null;
47
+ const hintView = theme === 'coorpmanager' ? /*#__PURE__*/React.createElement("div", {
48
+ className: style.hint // eslint-disable-next-line react/no-danger
49
+ ,
50
+ dangerouslySetInnerHTML: {
51
+ __html: error || hint
52
+ }
53
+ }) : null;
54
+ const errorIconView = error ? /*#__PURE__*/React.createElement(ErrorIcon, {
55
+ className: style.leftIcon
56
+ }) : null;
57
+ const validIconView = valid ? /*#__PURE__*/React.createElement(CheckIcon, {
58
+ className: style.leftIcon
59
+ }) : null;
32
60
  return /*#__PURE__*/React.createElement("div", {
33
- className: classnames(mainClass, className)
61
+ className: classnames(mainClass, className, disabled && style.disabled)
34
62
  }, /*#__PURE__*/React.createElement("label", null, /*#__PURE__*/React.createElement("span", {
35
- className: style.title
36
- }, title), /*#__PURE__*/React.createElement("textarea", {
63
+ className: classnames(style.title, _isEmpty(value) && style.noValue)
64
+ }, title, toolTipView), /*#__PURE__*/React.createElement("textarea", {
37
65
  name: name,
38
66
  defaultValue: value,
39
67
  placeholder: placeholder,
40
68
  onInput: handleChange,
41
- disabled: disabled,
42
- style: {
43
- resize: 'none'
44
- }
45
- })), /*#__PURE__*/React.createElement("div", {
46
- className: style.description
47
- }, description));
69
+ disabled: disabled
70
+ }), errorIconView, validIconView, hintView), descriptionView);
48
71
  };
49
72
 
50
73
  InputTextarea.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -55,10 +78,12 @@ InputTextarea.propTypes = process.env.NODE_ENV !== "production" ? {
55
78
  theme: PropTypes.oneOf(_keys(themeStyle)),
56
79
  disabled: PropTypes.bool,
57
80
  value: PropTypes.string,
81
+ hint: PropTypes.string,
58
82
  error: PropTypes.string,
59
83
  onChange: PropTypes.func,
60
84
  description: PropTypes.string,
61
- modified: PropTypes.bool
85
+ modified: PropTypes.bool,
86
+ valid: PropTypes.bool
62
87
  } : {};
63
88
  export default InputTextarea;
64
89
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/atom/input-textarea/index.js"],"names":["React","useMemo","PropTypes","classnames","getClassState","style","themeStyle","setup","cockpit","default","InputTextarea","props","title","propsTitle","name","placeholder","value","theme","onChange","error","required","description","disabled","modified","mainClass","className","handleChange","e","target","resize","propTypes","string","bool","oneOf","func"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,aAAP,MAA0B,4BAA1B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,UAAU,GAAG;AACjBC,EAAAA,KAAK,EAAEF,KAAK,CAACE,KADI;AAEjBC,EAAAA,OAAO,EAAEH,KAAK,CAACG,OAFE;AAGjBC,EAAAA,OAAO,EAAEJ,KAAK,CAACI;AAHE,CAAnB;;AAKA,MAAMC,aAAa,GAAGC,KAAK,IAAI;AAC7B,QAAM;AACJC,IAAAA,KAAK,EAAEC,UADH;AAEJC,IAAAA,IAFI;AAGJC,IAAAA,WAHI;AAIJC,IAAAA,KAJI;AAKJC,IAAAA,KAAK,GAAG,SALJ;AAMJC,IAAAA,QAAQ,QANJ;AAOJC,IAAAA,KAPI;AAQJC,IAAAA,QARI;AASJC,IAAAA,WATI;AAUJC,IAAAA,QAVI;AAWJC,IAAAA,QAAQ,GAAG;AAXP,MAYFZ,KAZJ;AAcA,QAAMC,KAAK,GAAI,GAAEC,UAAW,GAAEO,QAAQ,GAAG,IAAH,GAAU,GAAI,EAApD;AACA,QAAMI,SAAS,GAAGlB,UAAU,CAACW,KAAD,CAA5B;AACA,QAAMQ,SAAS,GAAGrB,aAAa,CAACC,KAAK,CAACI,OAAP,EAAgBJ,KAAK,CAACkB,QAAtB,EAAgClB,KAAK,CAACc,KAAtC,EAA6CI,QAA7C,EAAuDJ,KAAvD,CAA/B;AACA,QAAMO,YAAY,GAAGzB,OAAO,CAAC,MAAM0B,CAAC,IAAIT,QAAQ,CAACS,CAAC,CAACC,MAAF,CAASZ,KAAV,CAApB,EAAsC,CAACE,QAAD,CAAtC,CAA5B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEf,UAAU,CAACqB,SAAD,EAAYC,SAAZ;AAA1B,kBACE,gDACE;AAAM,IAAA,SAAS,EAAEpB,KAAK,CAACO;AAAvB,KAA+BA,KAA/B,CADF,eAEE;AACE,IAAA,IAAI,EAAEE,IADR;AAEE,IAAA,YAAY,EAAEE,KAFhB;AAGE,IAAA,WAAW,EAAED,WAHf;AAIE,IAAA,OAAO,EAAEW,YAJX;AAKE,IAAA,QAAQ,EAAEJ,QALZ;AAME,IAAA,KAAK,EAAE;AACLO,MAAAA,MAAM,EAAE;AADH;AANT,IAFF,CADF,eAcE;AAAK,IAAA,SAAS,EAAExB,KAAK,CAACgB;AAAtB,KAAoCA,WAApC,CAdF,CADF;AAkBD,CAtCD;;AAwCAX,aAAa,CAACoB,SAAd,2CAA0B;AACxBf,EAAAA,WAAW,EAAEb,SAAS,CAAC6B,MADC;AAExBnB,EAAAA,KAAK,EAAEV,SAAS,CAAC6B,MAFO;AAGxBX,EAAAA,QAAQ,EAAElB,SAAS,CAAC8B,IAHI;AAIxBlB,EAAAA,IAAI,EAAEZ,SAAS,CAAC6B,MAJQ;AAKxBd,EAAAA,KAAK,EAAEf,SAAS,CAAC+B,KAAV,CAAgB,MAAK3B,UAAL,CAAhB,CALiB;AAMxBgB,EAAAA,QAAQ,EAAEpB,SAAS,CAAC8B,IANI;AAOxBhB,EAAAA,KAAK,EAAEd,SAAS,CAAC6B,MAPO;AAQxBZ,EAAAA,KAAK,EAAEjB,SAAS,CAAC6B,MARO;AASxBb,EAAAA,QAAQ,EAAEhB,SAAS,CAACgC,IATI;AAUxBb,EAAAA,WAAW,EAAEnB,SAAS,CAAC6B,MAVC;AAWxBR,EAAAA,QAAQ,EAAErB,SAAS,CAAC8B;AAXI,CAA1B;AAaA,eAAetB,aAAf","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {noop, keys} from 'lodash/fp';\nimport classnames from 'classnames';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst themeStyle = {\n setup: style.setup,\n cockpit: style.cockpit,\n default: style.default\n};\nconst InputTextarea = props => {\n const {\n title: propsTitle,\n name,\n placeholder,\n value,\n theme = 'default',\n onChange = noop,\n error,\n required,\n description,\n disabled,\n modified = false\n } = props;\n\n const title = `${propsTitle}${required ? '* ' : ' '}`;\n const mainClass = themeStyle[theme];\n const className = getClassState(style.default, style.modified, style.error, modified, error);\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n\n return (\n <div className={classnames(mainClass, className)}>\n <label>\n <span className={style.title}>{title}</span>\n <textarea\n name={name}\n defaultValue={value}\n placeholder={placeholder}\n onInput={handleChange}\n disabled={disabled}\n style={{\n resize: 'none'\n }}\n />\n </label>\n <div className={style.description}>{description}</div>\n </div>\n );\n};\n\nInputTextarea.propTypes = {\n placeholder: PropTypes.string,\n title: PropTypes.string,\n required: PropTypes.bool,\n name: PropTypes.string,\n theme: PropTypes.oneOf(keys(themeStyle)),\n disabled: PropTypes.bool,\n value: PropTypes.string,\n error: PropTypes.string,\n onChange: PropTypes.func,\n description: PropTypes.string,\n modified: PropTypes.bool\n};\nexport default InputTextarea;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/atom/input-textarea/index.js"],"names":["React","useMemo","PropTypes","classnames","NovaSolidStatusCheckCircle2","CheckIcon","NovaSolidStatusClose","ErrorIcon","NovaCompositionCoorpacademyInformationIcon","InfoIcon","getClassState","style","themeStyle","setup","coorpmanager","cockpit","default","InputTextarea","props","title","propsTitle","name","placeholder","value","hint","theme","onChange","error","valid","required","description","disabled","modified","mainClass","className","handleChange","e","target","descriptionView","toolTipView","infoIconWrapper","infoIcon","descriptionLabel","hintView","__html","errorIconView","leftIcon","validIconView","noValue","propTypes","string","bool","oneOf","func"],"mappings":";;;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SACEC,2BAA2B,IAAIC,SADjC,EAEEC,oBAAoB,IAAIC,SAF1B,EAGEC,0CAA0C,IAAIC,QAHhD,QAIO,0BAJP;AAKA,OAAOC,aAAP,MAA0B,4BAA1B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,UAAU,GAAG;AACjBC,EAAAA,KAAK,EAAEF,KAAK,CAACE,KADI;AAEjBC,EAAAA,YAAY,EAAEH,KAAK,CAACG,YAFH;AAGjBC,EAAAA,OAAO,EAAEJ,KAAK,CAACI,OAHE;AAIjBC,EAAAA,OAAO,EAAEL,KAAK,CAACK;AAJE,CAAnB;;AAMA,MAAMC,aAAa,GAAGC,KAAK,IAAI;AAC7B,QAAM;AACJC,IAAAA,KAAK,EAAEC,UADH;AAEJC,IAAAA,IAFI;AAGJC,IAAAA,WAHI;AAIJC,IAAAA,KAJI;AAKJC,IAAAA,IALI;AAMJC,IAAAA,KAAK,GAAG,SANJ;AAOJC,IAAAA,QAAQ,QAPJ;AAQJC,IAAAA,KARI;AASJC,IAAAA,KATI;AAUJC,IAAAA,QAVI;AAWJC,IAAAA,WAXI;AAYJC,IAAAA,QAZI;AAaJC,IAAAA,QAAQ,GAAG;AAbP,MAcFd,KAdJ;AAgBA,QAAMC,KAAK,GAAI,GAAEC,UAAW,GAAES,QAAQ,GAAG,IAAH,GAAU,GAAI,EAApD;AACA,QAAMI,SAAS,GAAGrB,UAAU,CAACa,KAAD,CAA5B;AACA,QAAMS,SAAS,GAAGxB,aAAa,CAACC,KAAK,CAACK,OAAP,EAAgBL,KAAK,CAACqB,QAAtB,EAAgCrB,KAAK,CAACgB,KAAtC,EAA6CK,QAA7C,EAAuDL,KAAvD,CAA/B;AACA,QAAMQ,YAAY,GAAGlC,OAAO,CAAC,MAAMmC,CAAC,IAAIV,QAAQ,CAACU,CAAC,CAACC,MAAF,CAASd,KAAV,CAApB,EAAsC,CAACG,QAAD,CAAtC,CAA5B;AAEA,QAAMY,eAAe,GACnBR,WAAW,IAAIL,KAAK,KAAK,cAAzB,gBACE;AAAK,IAAA,SAAS,EAAEd,KAAK,CAACmB;AAAtB,KAAoCA,WAApC,CADF,GAEI,IAHN;AAIA,QAAMS,WAAW,GACfT,WAAW,IAAIL,KAAK,KAAK,cAAzB,gBACE;AAAK,IAAA,SAAS,EAAEd,KAAK,CAAC6B;AAAtB,kBACE,oBAAC,QAAD;AAAU,IAAA,SAAS,EAAE7B,KAAK,CAAC8B;AAA3B,IADF,eAEE;AAAK,IAAA,SAAS,EAAE9B,KAAK,CAAC+B;AAAtB,KAAyCZ,WAAzC,CAFF,CADF,GAKI,IANN;AAOA,QAAMa,QAAQ,GACZlB,KAAK,KAAK,cAAV,gBACE;AACE,IAAA,SAAS,EAAEd,KAAK,CAACa,IADnB,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACoB,MAAAA,MAAM,EAAEjB,KAAK,IAAIH;AAAlB;AAH3B,IADF,GAMI,IAPN;AAQA,QAAMqB,aAAa,GAAGlB,KAAK,gBAAG,oBAAC,SAAD;AAAW,IAAA,SAAS,EAAEhB,KAAK,CAACmC;AAA5B,IAAH,GAA8C,IAAzE;AACA,QAAMC,aAAa,GAAGnB,KAAK,gBAAG,oBAAC,SAAD;AAAW,IAAA,SAAS,EAAEjB,KAAK,CAACmC;AAA5B,IAAH,GAA8C,IAAzE;AAEA,sBACE;AAAK,IAAA,SAAS,EAAE3C,UAAU,CAAC8B,SAAD,EAAYC,SAAZ,EAAuBH,QAAQ,IAAIpB,KAAK,CAACoB,QAAzC;AAA1B,kBACE,gDACE;AAAM,IAAA,SAAS,EAAE5B,UAAU,CAACQ,KAAK,CAACQ,KAAP,EAAc,SAAQI,KAAR,KAAkBZ,KAAK,CAACqC,OAAtC;AAA3B,KACG7B,KADH,EAEGoB,WAFH,CADF,eAKE;AACE,IAAA,IAAI,EAAElB,IADR;AAEE,IAAA,YAAY,EAAEE,KAFhB;AAGE,IAAA,WAAW,EAAED,WAHf;AAIE,IAAA,OAAO,EAAEa,YAJX;AAKE,IAAA,QAAQ,EAAEJ;AALZ,IALF,EAYGc,aAZH,EAaGE,aAbH,EAcGJ,QAdH,CADF,EAiBGL,eAjBH,CADF;AAqBD,CAjED;;AAmEArB,aAAa,CAACgC,SAAd,2CAA0B;AACxB3B,EAAAA,WAAW,EAAEpB,SAAS,CAACgD,MADC;AAExB/B,EAAAA,KAAK,EAAEjB,SAAS,CAACgD,MAFO;AAGxBrB,EAAAA,QAAQ,EAAE3B,SAAS,CAACiD,IAHI;AAIxB9B,EAAAA,IAAI,EAAEnB,SAAS,CAACgD,MAJQ;AAKxBzB,EAAAA,KAAK,EAAEvB,SAAS,CAACkD,KAAV,CAAgB,MAAKxC,UAAL,CAAhB,CALiB;AAMxBmB,EAAAA,QAAQ,EAAE7B,SAAS,CAACiD,IANI;AAOxB5B,EAAAA,KAAK,EAAErB,SAAS,CAACgD,MAPO;AAQxB1B,EAAAA,IAAI,EAAEtB,SAAS,CAACgD,MARQ;AASxBvB,EAAAA,KAAK,EAAEzB,SAAS,CAACgD,MATO;AAUxBxB,EAAAA,QAAQ,EAAExB,SAAS,CAACmD,IAVI;AAWxBvB,EAAAA,WAAW,EAAE5B,SAAS,CAACgD,MAXC;AAYxBlB,EAAAA,QAAQ,EAAE9B,SAAS,CAACiD,IAZI;AAaxBvB,EAAAA,KAAK,EAAE1B,SAAS,CAACiD;AAbO,CAA1B;AAeA,eAAelC,aAAf","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {noop, keys, isEmpty} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {\n NovaSolidStatusCheckCircle2 as CheckIcon,\n NovaSolidStatusClose as ErrorIcon,\n NovaCompositionCoorpacademyInformationIcon as InfoIcon\n} from '@coorpacademy/nova-icons';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst themeStyle = {\n setup: style.setup,\n coorpmanager: style.coorpmanager,\n cockpit: style.cockpit,\n default: style.default\n};\nconst InputTextarea = props => {\n const {\n title: propsTitle,\n name,\n placeholder,\n value,\n hint,\n theme = 'default',\n onChange = noop,\n error,\n valid,\n required,\n description,\n disabled,\n modified = false\n } = props;\n\n const title = `${propsTitle}${required ? '* ' : ' '}`;\n const mainClass = themeStyle[theme];\n const className = getClassState(style.default, style.modified, style.error, modified, error);\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n\n const descriptionView =\n description && theme !== 'coorpmanager' ? (\n <div className={style.description}>{description}</div>\n ) : null;\n const toolTipView =\n description && theme === 'coorpmanager' ? (\n <div className={style.infoIconWrapper}>\n <InfoIcon className={style.infoIcon} />\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n ) : null;\n const hintView =\n theme === 'coorpmanager' ? (\n <div\n className={style.hint}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: error || hint}}\n />\n ) : null;\n const errorIconView = error ? <ErrorIcon className={style.leftIcon} /> : null;\n const validIconView = valid ? <CheckIcon className={style.leftIcon} /> : null;\n\n return (\n <div className={classnames(mainClass, className, disabled && style.disabled)}>\n <label>\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {title}\n {toolTipView}\n </span>\n <textarea\n name={name}\n defaultValue={value}\n placeholder={placeholder}\n onInput={handleChange}\n disabled={disabled}\n />\n {errorIconView}\n {validIconView}\n {hintView}\n </label>\n {descriptionView}\n </div>\n );\n};\n\nInputTextarea.propTypes = {\n placeholder: PropTypes.string,\n title: PropTypes.string,\n required: PropTypes.bool,\n name: PropTypes.string,\n theme: PropTypes.oneOf(keys(themeStyle)),\n disabled: PropTypes.bool,\n value: PropTypes.string,\n hint: PropTypes.string,\n error: PropTypes.string,\n onChange: PropTypes.func,\n description: PropTypes.string,\n modified: PropTypes.bool,\n valid: PropTypes.bool\n};\nexport default InputTextarea;\n"],"file":"index.js"}