@coorpacademy/components 10.11.1 → 10.13.1

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 (295) hide show
  1. package/es/{molecule → atom}/checkbox-with-title/index.js +0 -0
  2. package/es/atom/checkbox-with-title/index.js.map +1 -0
  3. package/es/{molecule → atom}/checkbox-with-title/style.css +0 -0
  4. package/es/{molecule → atom}/checkbox-with-title/test/fixtures/checked.js +0 -0
  5. package/es/atom/checkbox-with-title/test/fixtures/checked.js.map +1 -0
  6. package/es/{molecule → atom}/checkbox-with-title/test/fixtures/unchecked.js +0 -0
  7. package/es/atom/checkbox-with-title/test/fixtures/unchecked.js.map +1 -0
  8. package/es/atom/input-checkbox/test/fixtures.js +0 -2
  9. package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
  10. package/es/atom/input-switch/test/fixtures.js +0 -10
  11. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  12. package/es/atom/input-text/index.js +9 -3
  13. package/es/atom/input-text/index.js.map +1 -1
  14. package/es/atom/input-text/test/fixtures.js +0 -2
  15. package/es/atom/input-text/test/fixtures.js.map +1 -1
  16. package/es/atom/input-textarea/test/fixtures.js +0 -4
  17. package/es/atom/input-textarea/test/fixtures.js.map +1 -1
  18. package/es/atom/loader/test/fixtures.js +0 -2
  19. package/es/atom/loader/test/fixtures.js.map +1 -1
  20. package/es/atom/review-header-step-item/index.js +55 -0
  21. package/es/atom/review-header-step-item/index.js.map +1 -0
  22. package/es/atom/review-header-step-item/style.css +71 -0
  23. package/es/atom/review-header-step-item/test/fixtures/current.js +8 -0
  24. package/es/atom/review-header-step-item/test/fixtures/current.js.map +1 -0
  25. package/es/atom/review-header-step-item/test/fixtures/default.js +8 -0
  26. package/es/atom/review-header-step-item/test/fixtures/default.js.map +1 -0
  27. package/es/atom/review-header-step-item/test/fixtures/right.js +8 -0
  28. package/es/atom/review-header-step-item/test/fixtures/right.js.map +1 -0
  29. package/es/atom/review-header-step-item/test/fixtures/wrong.js +8 -0
  30. package/es/atom/review-header-step-item/test/fixtures/wrong.js.map +1 -0
  31. package/es/atom/select/style.css +1 -0
  32. package/es/atom/select/test/fixtures.js +0 -4
  33. package/es/atom/select/test/fixtures.js.map +1 -1
  34. package/es/atom/title/test/fixtures.js +2 -6
  35. package/es/atom/title/test/fixtures.js.map +1 -1
  36. package/es/molecule/brand-form-group/test/fixtures.js +0 -2
  37. package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
  38. package/es/molecule/card/test/fixtures.js +0 -6
  39. package/es/molecule/card/test/fixtures.js.map +1 -1
  40. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  41. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  42. package/es/molecule/dashboard/review-banner/style.css +0 -3
  43. package/es/molecule/input-text-with-titeled-checkbox/index.js +63 -0
  44. package/es/molecule/input-text-with-titeled-checkbox/index.js.map +1 -0
  45. package/es/molecule/input-text-with-titeled-checkbox/style.css +3 -0
  46. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js +16 -0
  47. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +1 -0
  48. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js +18 -0
  49. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +1 -0
  50. package/es/molecule/questions/free-text/test/fixtures.js +2 -4
  51. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
  52. package/es/molecule/review-correction-popin/style.css +4 -0
  53. package/es/molecule/review-header-steps/index.js +26 -0
  54. package/es/molecule/review-header-steps/index.js.map +1 -0
  55. package/es/molecule/review-header-steps/style.css +6 -0
  56. package/es/molecule/review-header-steps/test/fixtures/all-questions-ok.js +26 -0
  57. package/es/molecule/review-header-steps/test/fixtures/all-questions-ok.js.map +1 -0
  58. package/es/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js +26 -0
  59. package/es/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js.map +1 -0
  60. package/es/molecule/review-header-steps/test/fixtures/current-question-wrong.js +26 -0
  61. package/es/molecule/review-header-steps/test/fixtures/current-question-wrong.js.map +1 -0
  62. package/es/molecule/review-header-steps/test/fixtures/first-question-current-right.js +26 -0
  63. package/es/molecule/review-header-steps/test/fixtures/first-question-current-right.js.map +1 -0
  64. package/es/molecule/review-header-steps/test/fixtures/no-answered-question.js +26 -0
  65. package/es/molecule/review-header-steps/test/fixtures/no-answered-question.js.map +1 -0
  66. package/es/molecule/review-header-steps/test/fixtures/question-to-repeat.js +26 -0
  67. package/es/molecule/review-header-steps/test/fixtures/question-to-repeat.js.map +1 -0
  68. package/es/molecule/search/test/fixtures.js +15 -0
  69. package/es/molecule/search/test/fixtures.js.map +1 -0
  70. package/es/molecule/select-multiple/test/fixtures.js +0 -8
  71. package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
  72. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -4
  73. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  74. package/es/organism/brand-dashboard/test/fixtures.js +10 -2
  75. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
  76. package/es/organism/brand-form/test/fixtures.js +0 -2
  77. package/es/organism/brand-form/test/fixtures.js.map +1 -1
  78. package/es/organism/wizard-contents/style.css +0 -1
  79. package/es/template/app-player/popin-end/test/fixtures.js +0 -2
  80. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
  81. package/es/template/back-office/brand-update/test/fixtures.js +2 -24
  82. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  83. package/lib/{molecule → atom}/checkbox-with-title/index.js +0 -0
  84. package/lib/atom/checkbox-with-title/index.js.map +1 -0
  85. package/lib/{molecule → atom}/checkbox-with-title/style.css +0 -0
  86. package/lib/{molecule → atom}/checkbox-with-title/test/fixtures/checked.js +0 -0
  87. package/lib/atom/checkbox-with-title/test/fixtures/checked.js.map +1 -0
  88. package/lib/{molecule → atom}/checkbox-with-title/test/fixtures/unchecked.js +0 -0
  89. package/lib/atom/checkbox-with-title/test/fixtures/unchecked.js.map +1 -0
  90. package/lib/atom/input-checkbox/test/fixtures.js +0 -3
  91. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
  92. package/lib/atom/input-switch/test/fixtures.js +0 -15
  93. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  94. package/lib/atom/input-text/index.js +9 -3
  95. package/lib/atom/input-text/index.js.map +1 -1
  96. package/lib/atom/input-text/test/fixtures.js +0 -3
  97. package/lib/atom/input-text/test/fixtures.js.map +1 -1
  98. package/lib/atom/input-textarea/test/fixtures.js +0 -6
  99. package/lib/atom/input-textarea/test/fixtures.js.map +1 -1
  100. package/lib/atom/loader/test/fixtures.js +0 -3
  101. package/lib/atom/loader/test/fixtures.js.map +1 -1
  102. package/lib/atom/review-header-step-item/index.js +67 -0
  103. package/lib/atom/review-header-step-item/index.js.map +1 -0
  104. package/lib/atom/review-header-step-item/style.css +71 -0
  105. package/lib/atom/review-header-step-item/test/fixtures/current.js +13 -0
  106. package/lib/atom/review-header-step-item/test/fixtures/current.js.map +1 -0
  107. package/lib/atom/review-header-step-item/test/fixtures/default.js +13 -0
  108. package/lib/atom/review-header-step-item/test/fixtures/default.js.map +1 -0
  109. package/lib/atom/review-header-step-item/test/fixtures/right.js +13 -0
  110. package/lib/atom/review-header-step-item/test/fixtures/right.js.map +1 -0
  111. package/lib/atom/review-header-step-item/test/fixtures/wrong.js +13 -0
  112. package/lib/atom/review-header-step-item/test/fixtures/wrong.js.map +1 -0
  113. package/lib/atom/select/style.css +1 -0
  114. package/lib/atom/select/test/fixtures.js +0 -6
  115. package/lib/atom/select/test/fixtures.js.map +1 -1
  116. package/lib/atom/title/test/fixtures.js +2 -8
  117. package/lib/atom/title/test/fixtures.js.map +1 -1
  118. package/lib/molecule/brand-form-group/test/fixtures.js +0 -3
  119. package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
  120. package/lib/molecule/card/test/fixtures.js +0 -9
  121. package/lib/molecule/card/test/fixtures.js.map +1 -1
  122. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  123. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  124. package/lib/molecule/dashboard/review-banner/style.css +0 -3
  125. package/lib/molecule/input-text-with-titeled-checkbox/index.js +75 -0
  126. package/lib/molecule/input-text-with-titeled-checkbox/index.js.map +1 -0
  127. package/lib/molecule/input-text-with-titeled-checkbox/style.css +3 -0
  128. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js +21 -0
  129. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js.map +1 -0
  130. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js +23 -0
  131. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js.map +1 -0
  132. package/lib/molecule/questions/free-text/test/fixtures.js +2 -5
  133. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
  134. package/lib/molecule/review-correction-popin/style.css +4 -0
  135. package/lib/molecule/review-header-steps/index.js +38 -0
  136. package/lib/molecule/review-header-steps/index.js.map +1 -0
  137. package/lib/molecule/review-header-steps/style.css +6 -0
  138. package/lib/molecule/review-header-steps/test/fixtures/all-questions-ok.js +31 -0
  139. package/lib/molecule/review-header-steps/test/fixtures/all-questions-ok.js.map +1 -0
  140. package/lib/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js +31 -0
  141. package/lib/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js.map +1 -0
  142. package/lib/molecule/review-header-steps/test/fixtures/current-question-wrong.js +31 -0
  143. package/lib/molecule/review-header-steps/test/fixtures/current-question-wrong.js.map +1 -0
  144. package/lib/molecule/review-header-steps/test/fixtures/first-question-current-right.js +31 -0
  145. package/lib/molecule/review-header-steps/test/fixtures/first-question-current-right.js.map +1 -0
  146. package/lib/molecule/review-header-steps/test/fixtures/no-answered-question.js +31 -0
  147. package/lib/molecule/review-header-steps/test/fixtures/no-answered-question.js.map +1 -0
  148. package/lib/molecule/review-header-steps/test/fixtures/question-to-repeat.js +31 -0
  149. package/lib/molecule/review-header-steps/test/fixtures/question-to-repeat.js.map +1 -0
  150. package/lib/molecule/search/test/fixtures.js +25 -0
  151. package/lib/molecule/search/test/fixtures.js.map +1 -0
  152. package/lib/molecule/select-multiple/test/fixtures.js +0 -12
  153. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
  154. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -6
  155. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  156. package/lib/organism/brand-dashboard/test/fixtures.js +14 -2
  157. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
  158. package/lib/organism/brand-form/test/fixtures.js +0 -3
  159. package/lib/organism/brand-form/test/fixtures.js.map +1 -1
  160. package/lib/organism/wizard-contents/style.css +0 -1
  161. package/lib/template/app-player/popin-end/test/fixtures.js +0 -3
  162. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
  163. package/lib/template/back-office/brand-update/test/fixtures.js +2 -35
  164. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  165. package/package.json +2 -2
  166. package/es/atom/button-link/test/fixtures.js +0 -31
  167. package/es/atom/button-link/test/fixtures.js.map +0 -1
  168. package/es/atom/button-link-icon-only/test/fixtures.js +0 -21
  169. package/es/atom/button-link-icon-only/test/fixtures.js.map +0 -1
  170. package/es/atom/button-menu/test/fixtures.js +0 -15
  171. package/es/atom/button-menu/test/fixtures.js.map +0 -1
  172. package/es/atom/card-image-preview/test/fixtures.js +0 -15
  173. package/es/atom/card-image-preview/test/fixtures.js.map +0 -1
  174. package/es/atom/chips/test/fixtures.js +0 -17
  175. package/es/atom/chips/test/fixtures.js.map +0 -1
  176. package/es/atom/content-badge/test/fixtures.js +0 -29
  177. package/es/atom/content-badge/test/fixtures.js.map +0 -1
  178. package/es/atom/empty-search-result/test/fixtures.js +0 -13
  179. package/es/atom/empty-search-result/test/fixtures.js.map +0 -1
  180. package/es/atom/input-search/test/fixtures.js +0 -19
  181. package/es/atom/input-search/test/fixtures.js.map +0 -1
  182. package/es/atom/tag/test/fixtures.js +0 -21
  183. package/es/atom/tag/test/fixtures.js.map +0 -1
  184. package/es/atom/wizard-steps/test/fixtures.js +0 -17
  185. package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
  186. package/es/molecule/banner/test/fixtures.js +0 -23
  187. package/es/molecule/banner/test/fixtures.js.map +0 -1
  188. package/es/molecule/bullet-point-menu-button/test/fixtures.js +0 -15
  189. package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
  190. package/es/molecule/checkbox-with-title/index.js.map +0 -1
  191. package/es/molecule/checkbox-with-title/test/fixtures/checked.js.map +0 -1
  192. package/es/molecule/checkbox-with-title/test/fixtures/unchecked.js.map +0 -1
  193. package/es/molecule/cm-popin/test/fixtures.js +0 -17
  194. package/es/molecule/cm-popin/test/fixtures.js.map +0 -1
  195. package/es/molecule/coorp-manager-roles/test/fixtures.js +0 -13
  196. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  197. package/es/molecule/course-section/test/fixtures.js +0 -15
  198. package/es/molecule/course-section/test/fixtures.js.map +0 -1
  199. package/es/molecule/course-sections/test/fixtures.js +0 -15
  200. package/es/molecule/course-sections/test/fixtures.js.map +0 -1
  201. package/es/molecule/draggable/test/fixtures.js +0 -13
  202. package/es/molecule/draggable/test/fixtures.js.map +0 -1
  203. package/es/molecule/draggable-list/test/fixtures.js +0 -15
  204. package/es/molecule/draggable-list/test/fixtures.js.map +0 -1
  205. package/es/molecule/popin/test/fixtures.js +0 -21
  206. package/es/molecule/popin/test/fixtures.js.map +0 -1
  207. package/es/molecule/quick-access-card/test/fixtures.js +0 -21
  208. package/es/molecule/quick-access-card/test/fixtures.js.map +0 -1
  209. package/es/molecule/quick-access-cards-group/test/fixtures.js +0 -21
  210. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  211. package/es/molecule/vertical-tabs/test/fixtures.js +0 -17
  212. package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  213. package/es/molecule/wizard-summary/test/fixtures.js +0 -23
  214. package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
  215. package/es/organism/brand-analytics/test/fixtures.js +0 -23
  216. package/es/organism/brand-analytics/test/fixtures.js.map +0 -1
  217. package/es/organism/content-translation/test/fixtures.js +0 -15
  218. package/es/organism/content-translation/test/fixtures.js.map +0 -1
  219. package/es/organism/course-selection/test/fixtures.js +0 -23
  220. package/es/organism/course-selection/test/fixtures.js.map +0 -1
  221. package/es/organism/list-item/test/fixtures.js +0 -19
  222. package/es/organism/list-item/test/fixtures.js.map +0 -1
  223. package/es/organism/list-items/test/fixtures.js +0 -17
  224. package/es/organism/list-items/test/fixtures.js.map +0 -1
  225. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  226. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  227. package/es/organism/search-and-chips-results/test/fixtures.js +0 -21
  228. package/es/organism/search-and-chips-results/test/fixtures.js.map +0 -1
  229. package/es/organism/wizard-contents/test/fixtures.js +0 -23
  230. package/es/organism/wizard-contents/test/fixtures.js.map +0 -1
  231. package/lib/atom/button-link/test/fixtures.js +0 -49
  232. package/lib/atom/button-link/test/fixtures.js.map +0 -1
  233. package/lib/atom/button-link-icon-only/test/fixtures.js +0 -34
  234. package/lib/atom/button-link-icon-only/test/fixtures.js.map +0 -1
  235. package/lib/atom/button-menu/test/fixtures.js +0 -25
  236. package/lib/atom/button-menu/test/fixtures.js.map +0 -1
  237. package/lib/atom/card-image-preview/test/fixtures.js +0 -25
  238. package/lib/atom/card-image-preview/test/fixtures.js.map +0 -1
  239. package/lib/atom/chips/test/fixtures.js +0 -28
  240. package/lib/atom/chips/test/fixtures.js.map +0 -1
  241. package/lib/atom/content-badge/test/fixtures.js +0 -46
  242. package/lib/atom/content-badge/test/fixtures.js.map +0 -1
  243. package/lib/atom/empty-search-result/test/fixtures.js +0 -22
  244. package/lib/atom/empty-search-result/test/fixtures.js.map +0 -1
  245. package/lib/atom/input-search/test/fixtures.js +0 -31
  246. package/lib/atom/input-search/test/fixtures.js.map +0 -1
  247. package/lib/atom/tag/test/fixtures.js +0 -34
  248. package/lib/atom/tag/test/fixtures.js.map +0 -1
  249. package/lib/atom/wizard-steps/test/fixtures.js +0 -28
  250. package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
  251. package/lib/molecule/banner/test/fixtures.js +0 -37
  252. package/lib/molecule/banner/test/fixtures.js.map +0 -1
  253. package/lib/molecule/bullet-point-menu-button/test/fixtures.js +0 -25
  254. package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +0 -1
  255. package/lib/molecule/checkbox-with-title/index.js.map +0 -1
  256. package/lib/molecule/checkbox-with-title/test/fixtures/checked.js.map +0 -1
  257. package/lib/molecule/checkbox-with-title/test/fixtures/unchecked.js.map +0 -1
  258. package/lib/molecule/cm-popin/test/fixtures.js +0 -28
  259. package/lib/molecule/cm-popin/test/fixtures.js.map +0 -1
  260. package/lib/molecule/coorp-manager-roles/test/fixtures.js +0 -22
  261. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  262. package/lib/molecule/course-section/test/fixtures.js +0 -25
  263. package/lib/molecule/course-section/test/fixtures.js.map +0 -1
  264. package/lib/molecule/course-sections/test/fixtures.js +0 -25
  265. package/lib/molecule/course-sections/test/fixtures.js.map +0 -1
  266. package/lib/molecule/draggable/test/fixtures.js +0 -22
  267. package/lib/molecule/draggable/test/fixtures.js.map +0 -1
  268. package/lib/molecule/draggable-list/test/fixtures.js +0 -25
  269. package/lib/molecule/draggable-list/test/fixtures.js.map +0 -1
  270. package/lib/molecule/popin/test/fixtures.js +0 -34
  271. package/lib/molecule/popin/test/fixtures.js.map +0 -1
  272. package/lib/molecule/quick-access-card/test/fixtures.js +0 -34
  273. package/lib/molecule/quick-access-card/test/fixtures.js.map +0 -1
  274. package/lib/molecule/quick-access-cards-group/test/fixtures.js +0 -34
  275. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  276. package/lib/molecule/vertical-tabs/test/fixtures.js +0 -28
  277. package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  278. package/lib/molecule/wizard-summary/test/fixtures.js +0 -37
  279. package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
  280. package/lib/organism/brand-analytics/test/fixtures.js +0 -37
  281. package/lib/organism/brand-analytics/test/fixtures.js.map +0 -1
  282. package/lib/organism/content-translation/test/fixtures.js +0 -25
  283. package/lib/organism/content-translation/test/fixtures.js.map +0 -1
  284. package/lib/organism/course-selection/test/fixtures.js +0 -37
  285. package/lib/organism/course-selection/test/fixtures.js.map +0 -1
  286. package/lib/organism/list-item/test/fixtures.js +0 -31
  287. package/lib/organism/list-item/test/fixtures.js.map +0 -1
  288. package/lib/organism/list-items/test/fixtures.js +0 -28
  289. package/lib/organism/list-items/test/fixtures.js.map +0 -1
  290. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  291. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
  292. package/lib/organism/search-and-chips-results/test/fixtures.js +0 -34
  293. package/lib/organism/search-and-chips-results/test/fixtures.js.map +0 -1
  294. package/lib/organism/wizard-contents/test/fixtures.js +0 -37
  295. package/lib/organism/wizard-contents/test/fixtures.js.map +0 -1
@@ -4,7 +4,6 @@ import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import MoleculeBrandFormGroup from '..';
5
5
  import fixtureAnalytics from './fixtures/analytics';
6
6
  import fixtureAnimations from './fixtures/animations';
7
- import fixtureCmDefault from './fixtures/cm-default';
8
7
  import fixtureCohort from './fixtures/cohort';
9
8
  import fixtureDashboard from './fixtures/dashboard';
10
9
  import fixtureDefault from './fixtures/default';
@@ -22,7 +21,6 @@ test('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {
22
21
  });
23
22
  test('Molecule › MoleculeBrandFormGroup › Analytics › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnalytics);
24
23
  test('Molecule › MoleculeBrandFormGroup › Animations › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnimations);
25
- test('Molecule › MoleculeBrandFormGroup › CmDefault › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCmDefault);
26
24
  test('Molecule › MoleculeBrandFormGroup › Cohort › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCohort);
27
25
  test('Molecule › MoleculeBrandFormGroup › Dashboard › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDashboard);
28
26
  test('Molecule › MoleculeBrandFormGroup › Default › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDefault);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/brand-form-group/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeBrandFormGroup","fixtureAnalytics","fixtureAnimations","fixtureCmDefault","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureDoublefield","fixtureImages","fixtureLookandfeel","fixtureRoles","fixtureSlider","fixtureSso","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,sBAAP,MAAmC,IAAnC;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AAEAf,IAAI,CAAC,iEAAD,EAAoEgB,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAhB,EAAAA,OAAO,CAACE,sBAAsB,CAACe,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOApB,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHC,gBAArH,CAAJ;AACAJ,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,sBAA9F,EAAsHE,iBAAtH,CAAJ;AACAL,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHG,gBAArH,CAAJ;AACAN,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHI,aAAlH,CAAJ;AACAP,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHK,gBAArH,CAAJ;AACAR,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHM,cAAnH,CAAJ;AACAT,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,sBAA/F,EAAuHO,kBAAvH,CAAJ;AACAV,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHQ,aAAlH,CAAJ;AACAX,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,sBAA/F,EAAuHS,kBAAvH,CAAJ;AACAZ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHU,YAAjH,CAAJ;AACAb,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHW,aAAlH,CAAJ;AACAd,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GY,UAA/G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeBrandFormGroup from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCmDefault from './fixtures/cm-default';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoublefield from './fixtures/doublefield';\nimport fixtureImages from './fixtures/images';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureRoles from './fixtures/roles';\nimport fixtureSlider from './fixtures/slider';\nimport fixtureSso from './fixtures/sso';\n\ntest('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeBrandFormGroup.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeBrandFormGroup.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeBrandFormGroup › Analytics › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnalytics);\ntest('Molecule › MoleculeBrandFormGroup › Animations › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnimations);\ntest('Molecule › MoleculeBrandFormGroup › CmDefault › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCmDefault);\ntest('Molecule › MoleculeBrandFormGroup › Cohort › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCohort);\ntest('Molecule › MoleculeBrandFormGroup › Dashboard › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDashboard);\ntest('Molecule › MoleculeBrandFormGroup › Default › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDefault);\ntest('Molecule › MoleculeBrandFormGroup › Doublefield › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDoublefield);\ntest('Molecule › MoleculeBrandFormGroup › Images › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureImages);\ntest('Molecule › MoleculeBrandFormGroup › Lookandfeel › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureLookandfeel);\ntest('Molecule › MoleculeBrandFormGroup › Roles › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureRoles);\ntest('Molecule › MoleculeBrandFormGroup › Slider › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSlider);\ntest('Molecule › MoleculeBrandFormGroup › Sso › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSso);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/brand-form-group/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeBrandFormGroup","fixtureAnalytics","fixtureAnimations","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureDoublefield","fixtureImages","fixtureLookandfeel","fixtureRoles","fixtureSlider","fixtureSso","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,sBAAP,MAAmC,IAAnC;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AAEAd,IAAI,CAAC,iEAAD,EAAoEe,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAf,EAAAA,OAAO,CAACE,sBAAsB,CAACc,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAnB,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHC,gBAArH,CAAJ;AACAJ,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,sBAA9F,EAAsHE,iBAAtH,CAAJ;AACAL,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHG,aAAlH,CAAJ;AACAN,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHI,gBAArH,CAAJ;AACAP,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHK,cAAnH,CAAJ;AACAR,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,sBAA/F,EAAuHM,kBAAvH,CAAJ;AACAT,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHO,aAAlH,CAAJ;AACAV,IAAI,CAAC,sEAAD,EAAyEE,oBAAzE,EAA+FC,sBAA/F,EAAuHQ,kBAAvH,CAAJ;AACAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,sBAAzF,EAAiHS,YAAjH,CAAJ;AACAZ,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,sBAA1F,EAAkHU,aAAlH,CAAJ;AACAb,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,sBAAvF,EAA+GW,UAA/G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeBrandFormGroup from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoublefield from './fixtures/doublefield';\nimport fixtureImages from './fixtures/images';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureRoles from './fixtures/roles';\nimport fixtureSlider from './fixtures/slider';\nimport fixtureSso from './fixtures/sso';\n\ntest('Molecule › MoleculeBrandFormGroup > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeBrandFormGroup.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeBrandFormGroup.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeBrandFormGroup › Analytics › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnalytics);\ntest('Molecule › MoleculeBrandFormGroup › Animations › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureAnimations);\ntest('Molecule › MoleculeBrandFormGroup › Cohort › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureCohort);\ntest('Molecule › MoleculeBrandFormGroup › Dashboard › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDashboard);\ntest('Molecule › MoleculeBrandFormGroup › Default › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDefault);\ntest('Molecule › MoleculeBrandFormGroup › Doublefield › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureDoublefield);\ntest('Molecule › MoleculeBrandFormGroup › Images › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureImages);\ntest('Molecule › MoleculeBrandFormGroup › Lookandfeel › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureLookandfeel);\ntest('Molecule › MoleculeBrandFormGroup › Roles › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureRoles);\ntest('Molecule › MoleculeBrandFormGroup › Slider › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSlider);\ntest('Molecule › MoleculeBrandFormGroup › Sso › should be rendered', renderComponentMacro, MoleculeBrandFormGroup, fixtureSso);\n"],"file":"fixtures.js"}
@@ -6,7 +6,6 @@ import fixtureAdaptivAndDisabled from './fixtures/adaptiv-and-disabled';
6
6
  import fixtureAdaptiv from './fixtures/adaptiv';
7
7
  import fixtureArabic from './fixtures/arabic';
8
8
  import fixtureArticle from './fixtures/article';
9
- import fixtureCoorpmanager from './fixtures/coorpmanager';
10
9
  import fixtureDefault from './fixtures/default';
11
10
  import fixtureDisabled from './fixtures/disabled';
12
11
  import fixtureEmpty from './fixtures/empty';
@@ -16,8 +15,6 @@ import fixtureFreerunAndDisabled from './fixtures/freerun-and-disabled';
16
15
  import fixtureFreerun from './fixtures/freerun';
17
16
  import fixturePodcast from './fixtures/podcast';
18
17
  import fixtureScorm from './fixtures/scorm';
19
- import fixtureSelectableFalse from './fixtures/selectable-false';
20
- import fixtureSelectableTrue from './fixtures/selectable-true';
21
18
  import fixtureVideo from './fixtures/video';
22
19
  test('Molecule › MoleculeCard > should have valid propTypes', t => {
23
20
  t.pass();
@@ -29,7 +26,6 @@ test('Molecule › MoleculeCard › AdaptivAndDisabled › should be rendered',
29
26
  test('Molecule › MoleculeCard › Adaptiv › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptiv);
30
27
  test('Molecule › MoleculeCard › Arabic › should be rendered', renderComponentMacro, MoleculeCard, fixtureArabic);
31
28
  test('Molecule › MoleculeCard › Article › should be rendered', renderComponentMacro, MoleculeCard, fixtureArticle);
32
- test('Molecule › MoleculeCard › Coorpmanager › should be rendered', renderComponentMacro, MoleculeCard, fixtureCoorpmanager);
33
29
  test('Molecule › MoleculeCard › Default › should be rendered', renderComponentMacro, MoleculeCard, fixtureDefault);
34
30
  test('Molecule › MoleculeCard › Disabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureDisabled);
35
31
  test('Molecule › MoleculeCard › Empty › should be rendered', renderComponentMacro, MoleculeCard, fixtureEmpty);
@@ -39,7 +35,5 @@ test('Molecule › MoleculeCard › FreerunAndDisabled › should be rendered',
39
35
  test('Molecule › MoleculeCard › Freerun › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerun);
40
36
  test('Molecule › MoleculeCard › Podcast › should be rendered', renderComponentMacro, MoleculeCard, fixturePodcast);
41
37
  test('Molecule › MoleculeCard › Scorm › should be rendered', renderComponentMacro, MoleculeCard, fixtureScorm);
42
- test('Molecule › MoleculeCard › SelectableFalse › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableFalse);
43
- test('Molecule › MoleculeCard › SelectableTrue › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableTrue);
44
38
  test('Molecule › MoleculeCard › Video › should be rendered', renderComponentMacro, MoleculeCard, fixtureVideo);
45
39
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/card/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCard","fixtureAdaptivAndDisabled","fixtureAdaptiv","fixtureArabic","fixtureArticle","fixtureCoorpmanager","fixtureDefault","fixtureDisabled","fixtureEmpty","fixtureExternalContent","fixtureFavorite","fixtureFreerunAndDisabled","fixtureFreerun","fixturePodcast","fixtureScorm","fixtureSelectableFalse","fixtureSelectableTrue","fixtureVideo","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,YAAP,MAAyB,IAAzB;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,mBAAP,MAAgC,yBAAhC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AAEApB,IAAI,CAAC,uDAAD,EAA0DqB,CAAC,IAAI;AACjEA,EAAAA,CAAC,CAACC,IAAF;AACArB,EAAAA,OAAO,CAACE,YAAY,CAACoB,SAAd,EAAyB,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC9CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,iDAAgDF,GAAI,mEAA7E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAzB,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,YAA5F,EAA0GC,yBAA1G,CAAJ;AACAJ,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FE,cAA/F,CAAJ;AACAL,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,YAAhF,EAA8FG,aAA9F,CAAJ;AACAN,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FI,cAA/F,CAAJ;AACAP,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,YAAtF,EAAoGK,mBAApG,CAAJ;AACAR,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FM,cAA/F,CAAJ;AACAT,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,YAAlF,EAAgGO,eAAhG,CAAJ;AACAV,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6FQ,YAA7F,CAAJ;AACAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,YAAzF,EAAuGS,sBAAvG,CAAJ;AACAZ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,YAAlF,EAAgGU,eAAhG,CAAJ;AACAb,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,YAA5F,EAA0GW,yBAA1G,CAAJ;AACAd,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FY,cAA/F,CAAJ;AACAf,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+Fa,cAA/F,CAAJ;AACAhB,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6Fc,YAA7F,CAAJ;AACAjB,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,YAAzF,EAAuGe,sBAAvG,CAAJ;AACAlB,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,YAAxF,EAAsGgB,qBAAtG,CAAJ;AACAnB,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6FiB,YAA7F,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCard from '..';\nimport fixtureAdaptivAndDisabled from './fixtures/adaptiv-and-disabled';\nimport fixtureAdaptiv from './fixtures/adaptiv';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureArticle from './fixtures/article';\nimport fixtureCoorpmanager from './fixtures/coorpmanager';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureExternalContent from './fixtures/external-content';\nimport fixtureFavorite from './fixtures/favorite';\nimport fixtureFreerunAndDisabled from './fixtures/freerun-and-disabled';\nimport fixtureFreerun from './fixtures/freerun';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureScorm from './fixtures/scorm';\nimport fixtureSelectableFalse from './fixtures/selectable-false';\nimport fixtureSelectableTrue from './fixtures/selectable-true';\nimport fixtureVideo from './fixtures/video';\n\ntest('Molecule › MoleculeCard > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCard › AdaptivAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptivAndDisabled);\ntest('Molecule › MoleculeCard › Adaptiv › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptiv);\ntest('Molecule › MoleculeCard › Arabic › should be rendered', renderComponentMacro, MoleculeCard, fixtureArabic);\ntest('Molecule › MoleculeCard › Article › should be rendered', renderComponentMacro, MoleculeCard, fixtureArticle);\ntest('Molecule › MoleculeCard › Coorpmanager › should be rendered', renderComponentMacro, MoleculeCard, fixtureCoorpmanager);\ntest('Molecule › MoleculeCard › Default › should be rendered', renderComponentMacro, MoleculeCard, fixtureDefault);\ntest('Molecule › MoleculeCard › Disabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureDisabled);\ntest('Molecule › MoleculeCard › Empty › should be rendered', renderComponentMacro, MoleculeCard, fixtureEmpty);\ntest('Molecule › MoleculeCard › ExternalContent › should be rendered', renderComponentMacro, MoleculeCard, fixtureExternalContent);\ntest('Molecule › MoleculeCard › Favorite › should be rendered', renderComponentMacro, MoleculeCard, fixtureFavorite);\ntest('Molecule › MoleculeCard › FreerunAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerunAndDisabled);\ntest('Molecule › MoleculeCard › Freerun › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerun);\ntest('Molecule › MoleculeCard › Podcast › should be rendered', renderComponentMacro, MoleculeCard, fixturePodcast);\ntest('Molecule › MoleculeCard › Scorm › should be rendered', renderComponentMacro, MoleculeCard, fixtureScorm);\ntest('Molecule › MoleculeCard › SelectableFalse › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableFalse);\ntest('Molecule › MoleculeCard › SelectableTrue › should be rendered', renderComponentMacro, MoleculeCard, fixtureSelectableTrue);\ntest('Molecule › MoleculeCard › Video › should be rendered', renderComponentMacro, MoleculeCard, fixtureVideo);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/card/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCard","fixtureAdaptivAndDisabled","fixtureAdaptiv","fixtureArabic","fixtureArticle","fixtureDefault","fixtureDisabled","fixtureEmpty","fixtureExternalContent","fixtureFavorite","fixtureFreerunAndDisabled","fixtureFreerun","fixturePodcast","fixtureScorm","fixtureVideo","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,YAAP,MAAyB,IAAzB;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,yBAAP,MAAsC,iCAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AAEAjB,IAAI,CAAC,uDAAD,EAA0DkB,CAAC,IAAI;AACjEA,EAAAA,CAAC,CAACC,IAAF;AACAlB,EAAAA,OAAO,CAACE,YAAY,CAACiB,SAAd,EAAyB,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC9CJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,iDAAgDF,GAAI,mEAA7E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAtB,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,YAA5F,EAA0GC,yBAA1G,CAAJ;AACAJ,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FE,cAA/F,CAAJ;AACAL,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,YAAhF,EAA8FG,aAA9F,CAAJ;AACAN,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FI,cAA/F,CAAJ;AACAP,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FK,cAA/F,CAAJ;AACAR,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,YAAlF,EAAgGM,eAAhG,CAAJ;AACAT,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6FO,YAA7F,CAAJ;AACAV,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,YAAzF,EAAuGQ,sBAAvG,CAAJ;AACAX,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,YAAlF,EAAgGS,eAAhG,CAAJ;AACAZ,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,YAA5F,EAA0GU,yBAA1G,CAAJ;AACAb,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FW,cAA/F,CAAJ;AACAd,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,YAAjF,EAA+FY,cAA/F,CAAJ;AACAf,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6Fa,YAA7F,CAAJ;AACAhB,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,YAA/E,EAA6Fc,YAA7F,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCard from '..';\nimport fixtureAdaptivAndDisabled from './fixtures/adaptiv-and-disabled';\nimport fixtureAdaptiv from './fixtures/adaptiv';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureArticle from './fixtures/article';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureExternalContent from './fixtures/external-content';\nimport fixtureFavorite from './fixtures/favorite';\nimport fixtureFreerunAndDisabled from './fixtures/freerun-and-disabled';\nimport fixtureFreerun from './fixtures/freerun';\nimport fixturePodcast from './fixtures/podcast';\nimport fixtureScorm from './fixtures/scorm';\nimport fixtureVideo from './fixtures/video';\n\ntest('Molecule › MoleculeCard > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCard › AdaptivAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptivAndDisabled);\ntest('Molecule › MoleculeCard › Adaptiv › should be rendered', renderComponentMacro, MoleculeCard, fixtureAdaptiv);\ntest('Molecule › MoleculeCard › Arabic › should be rendered', renderComponentMacro, MoleculeCard, fixtureArabic);\ntest('Molecule › MoleculeCard › Article › should be rendered', renderComponentMacro, MoleculeCard, fixtureArticle);\ntest('Molecule › MoleculeCard › Default › should be rendered', renderComponentMacro, MoleculeCard, fixtureDefault);\ntest('Molecule › MoleculeCard › Disabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureDisabled);\ntest('Molecule › MoleculeCard › Empty › should be rendered', renderComponentMacro, MoleculeCard, fixtureEmpty);\ntest('Molecule › MoleculeCard › ExternalContent › should be rendered', renderComponentMacro, MoleculeCard, fixtureExternalContent);\ntest('Molecule › MoleculeCard › Favorite › should be rendered', renderComponentMacro, MoleculeCard, fixtureFavorite);\ntest('Molecule › MoleculeCard › FreerunAndDisabled › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerunAndDisabled);\ntest('Molecule › MoleculeCard › Freerun › should be rendered', renderComponentMacro, MoleculeCard, fixtureFreerun);\ntest('Molecule › MoleculeCard › Podcast › should be rendered', renderComponentMacro, MoleculeCard, fixturePodcast);\ntest('Molecule › MoleculeCard › Scorm › should be rendered', renderComponentMacro, MoleculeCard, fixtureScorm);\ntest('Molecule › MoleculeCard › Video › should be rendered', renderComponentMacro, MoleculeCard, fixtureVideo);\n"],"file":"fixtures.js"}
@@ -0,0 +1,17 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeCockpitPopin from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureLoading from './fixtures/loading';
7
+ import fixtureVideoTranslate from './fixtures/video-translate';
8
+ test('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {
9
+ t.pass();
10
+ forEach(MoleculeCockpitPopin.propTypes, (value, key) => {
11
+ t.not(value, undefined, `PropType for "Molecule.MoleculeCockpitPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
12
+ });
13
+ });
14
+ test('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);
15
+ test('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);
16
+ test('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);
17
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/cockpit-popin/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCockpitPopin","fixtureDefault","fixtureLoading","fixtureVideoTranslate","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,oBAAP,MAAiC,IAAjC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AAEAN,IAAI,CAAC,+DAAD,EAAkEO,CAAC,IAAI;AACzEA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,oBAAoB,CAACM,SAAtB,EAAiC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yDAAwDF,GAAI,mEAArF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,oBAAzF,EAA+GC,cAA/G,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,oBAAzF,EAA+GE,cAA/G,CAAJ;AACAL,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,oBAAhG,EAAsHG,qBAAtH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCockpitPopin from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureVideoTranslate from './fixtures/video-translate';\n\ntest('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCockpitPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCockpitPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);\ntest('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);\ntest('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);\n"],"file":"fixtures.js"}
@@ -85,7 +85,6 @@
85
85
  }
86
86
 
87
87
  .title {
88
- padding-top: 30px;
89
88
  font-weight: 800;
90
89
  font-size: 48px;
91
90
  line-height: 59px;
@@ -133,7 +132,6 @@
133
132
  }
134
133
 
135
134
  .title {
136
- padding-top: 5px;
137
135
  font-size: 32px;
138
136
  line-height: 39px;
139
137
  }
@@ -167,7 +165,6 @@
167
165
  }
168
166
 
169
167
  .title {
170
- padding-top: 5px;
171
168
  font-size: 32px;
172
169
  line-height: 39px;
173
170
  }
@@ -0,0 +1,63 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import InputText from '../../atom/input-text';
4
+ import CheckboxWithTitle from '../../atom/checkbox-with-title';
5
+ import style from './style.css';
6
+
7
+ const InputTextWithTiteledCheckbox = props => {
8
+ const {
9
+ title,
10
+ name,
11
+ checked,
12
+ checkBoxOnChange,
13
+ 'aria-label': ariaLabel,
14
+ inputTextTitle,
15
+ inputTextValue,
16
+ inputTextPlaceholder,
17
+ inputTextDescription,
18
+ inputTextDisabled,
19
+ inputTextModified,
20
+ inputTextOnChange
21
+ } = props;
22
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CheckboxWithTitle, {
23
+ title: title,
24
+ name: name,
25
+ checked: checked,
26
+ onChange: checkBoxOnChange,
27
+ "data-name": "check-box",
28
+ "aria-label": ariaLabel.checkbox
29
+ }), /*#__PURE__*/React.createElement("div", {
30
+ className: style.inputText
31
+ }, /*#__PURE__*/React.createElement(InputText, {
32
+ title: inputTextTitle,
33
+ value: inputTextValue,
34
+ placeholder: inputTextPlaceholder,
35
+ theme: "coorpmanager",
36
+ description: inputTextDescription,
37
+ disabled: inputTextDisabled,
38
+ modified: inputTextModified,
39
+ onChange: inputTextOnChange,
40
+ "data-name": "input-text",
41
+ "aria-label": ariaLabel.input
42
+ })));
43
+ };
44
+
45
+ InputTextWithTiteledCheckbox.propTypes = process.env.NODE_ENV !== "production" ? {
46
+ title: PropTypes.string,
47
+ name: PropTypes.string,
48
+ checked: PropTypes.bool,
49
+ checkBoxOnChange: PropTypes.func,
50
+ 'aria-label': PropTypes.shape({
51
+ input: PropTypes.string,
52
+ checkbox: PropTypes.string
53
+ }),
54
+ inputTextTitle: PropTypes.string,
55
+ inputTextValue: PropTypes.string,
56
+ inputTextPlaceholder: PropTypes.string,
57
+ inputTextDescription: PropTypes.string,
58
+ inputTextDisabled: PropTypes.bool,
59
+ inputTextModified: PropTypes.bool,
60
+ inputTextOnChange: PropTypes.func
61
+ } : {};
62
+ export default InputTextWithTiteledCheckbox;
63
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/molecule/input-text-with-titeled-checkbox/index.js"],"names":["React","PropTypes","InputText","CheckboxWithTitle","style","InputTextWithTiteledCheckbox","props","title","name","checked","checkBoxOnChange","ariaLabel","inputTextTitle","inputTextValue","inputTextPlaceholder","inputTextDescription","inputTextDisabled","inputTextModified","inputTextOnChange","checkbox","inputText","input","propTypes","string","bool","func","shape"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,SAAP,MAAsB,uBAAtB;AACA,OAAOC,iBAAP,MAA8B,gCAA9B;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,4BAA4B,GAAGC,KAAK,IAAI;AAC5C,QAAM;AACJC,IAAAA,KADI;AAEJC,IAAAA,IAFI;AAGJC,IAAAA,OAHI;AAIJC,IAAAA,gBAJI;AAKJ,kBAAcC,SALV;AAMJC,IAAAA,cANI;AAOJC,IAAAA,cAPI;AAQJC,IAAAA,oBARI;AASJC,IAAAA,oBATI;AAUJC,IAAAA,iBAVI;AAWJC,IAAAA,iBAXI;AAYJC,IAAAA;AAZI,MAaFZ,KAbJ;AAeA,sBACE,8CACE,oBAAC,iBAAD;AACE,IAAA,KAAK,EAAEC,KADT;AAEE,IAAA,IAAI,EAAEC,IAFR;AAGE,IAAA,OAAO,EAAEC,OAHX;AAIE,IAAA,QAAQ,EAAEC,gBAJZ;AAKE,iBAAU,WALZ;AAME,kBAAYC,SAAS,CAACQ;AANxB,IADF,eASE;AAAK,IAAA,SAAS,EAAEf,KAAK,CAACgB;AAAtB,kBACE,oBAAC,SAAD;AACE,IAAA,KAAK,EAAER,cADT;AAEE,IAAA,KAAK,EAAEC,cAFT;AAGE,IAAA,WAAW,EAAEC,oBAHf;AAIE,IAAA,KAAK,EAAC,cAJR;AAKE,IAAA,WAAW,EAAEC,oBALf;AAME,IAAA,QAAQ,EAAEC,iBANZ;AAOE,IAAA,QAAQ,EAAEC,iBAPZ;AAQE,IAAA,QAAQ,EAAEC,iBARZ;AASE,iBAAU,YATZ;AAUE,kBAAYP,SAAS,CAACU;AAVxB,IADF,CATF,CADF;AA0BD,CA1CD;;AA4CAhB,4BAA4B,CAACiB,SAA7B,2CAAyC;AACvCf,EAAAA,KAAK,EAAEN,SAAS,CAACsB,MADsB;AAEvCf,EAAAA,IAAI,EAAEP,SAAS,CAACsB,MAFuB;AAGvCd,EAAAA,OAAO,EAAER,SAAS,CAACuB,IAHoB;AAIvCd,EAAAA,gBAAgB,EAAET,SAAS,CAACwB,IAJW;AAKvC,gBAAcxB,SAAS,CAACyB,KAAV,CAAgB;AAC5BL,IAAAA,KAAK,EAAEpB,SAAS,CAACsB,MADW;AAE5BJ,IAAAA,QAAQ,EAAElB,SAAS,CAACsB;AAFQ,GAAhB,CALyB;AASvCX,EAAAA,cAAc,EAAEX,SAAS,CAACsB,MATa;AAUvCV,EAAAA,cAAc,EAAEZ,SAAS,CAACsB,MAVa;AAWvCT,EAAAA,oBAAoB,EAAEb,SAAS,CAACsB,MAXO;AAYvCR,EAAAA,oBAAoB,EAAEd,SAAS,CAACsB,MAZO;AAavCP,EAAAA,iBAAiB,EAAEf,SAAS,CAACuB,IAbU;AAcvCP,EAAAA,iBAAiB,EAAEhB,SAAS,CAACuB,IAdU;AAevCN,EAAAA,iBAAiB,EAAEjB,SAAS,CAACwB;AAfU,CAAzC;AAiBA,eAAepB,4BAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputText from '../../atom/input-text';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport style from './style.css';\n\nconst InputTextWithTiteledCheckbox = props => {\n const {\n title,\n name,\n checked,\n checkBoxOnChange,\n 'aria-label': ariaLabel,\n inputTextTitle,\n inputTextValue,\n inputTextPlaceholder,\n inputTextDescription,\n inputTextDisabled,\n inputTextModified,\n inputTextOnChange\n } = props;\n\n return (\n <div>\n <CheckboxWithTitle\n title={title}\n name={name}\n checked={checked}\n onChange={checkBoxOnChange}\n data-name=\"check-box\"\n aria-label={ariaLabel.checkbox}\n />\n <div className={style.inputText}>\n <InputText\n title={inputTextTitle}\n value={inputTextValue}\n placeholder={inputTextPlaceholder}\n theme=\"coorpmanager\"\n description={inputTextDescription}\n disabled={inputTextDisabled}\n modified={inputTextModified}\n onChange={inputTextOnChange}\n data-name=\"input-text\"\n aria-label={ariaLabel.input}\n />\n </div>\n </div>\n );\n};\n\nInputTextWithTiteledCheckbox.propTypes = {\n title: PropTypes.string,\n name: PropTypes.string,\n checked: PropTypes.bool,\n checkBoxOnChange: PropTypes.func,\n 'aria-label': PropTypes.shape({\n input: PropTypes.string,\n checkbox: PropTypes.string\n }),\n inputTextTitle: PropTypes.string,\n inputTextValue: PropTypes.string,\n inputTextPlaceholder: PropTypes.string,\n inputTextDescription: PropTypes.string,\n inputTextDisabled: PropTypes.bool,\n inputTextModified: PropTypes.bool,\n inputTextOnChange: PropTypes.func\n};\nexport default InputTextWithTiteledCheckbox;\n"],"file":"index.js"}
@@ -0,0 +1,3 @@
1
+ .inputText {
2
+ margin-left: 32px;
3
+ }
@@ -0,0 +1,16 @@
1
+ export default {
2
+ props: {
3
+ title: 'Add stars',
4
+ checked: true,
5
+ checkBoxOnChange: value => console.log(value),
6
+ inputTextTitle: 'Stars amount',
7
+ inputTextValue: '250',
8
+ inputTextDescription: 'This is the tooltip text',
9
+ inputTextOnChange: value => console.log(value),
10
+ 'aria-label': {
11
+ checkbox: 'check box',
12
+ input: 'input text'
13
+ }
14
+ }
15
+ };
16
+ //# sourceMappingURL=checked.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/input-text-with-titeled-checkbox/test/fixtures/checked.js"],"names":["props","title","checked","checkBoxOnChange","value","console","log","inputTextTitle","inputTextValue","inputTextDescription","inputTextOnChange","checkbox","input"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,WADF;AAELC,IAAAA,OAAO,EAAE,IAFJ;AAGLC,IAAAA,gBAAgB,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAHtB;AAILG,IAAAA,cAAc,EAAE,cAJX;AAKLC,IAAAA,cAAc,EAAE,KALX;AAMLC,IAAAA,oBAAoB,EAAE,0BANjB;AAOLC,IAAAA,iBAAiB,EAAEN,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAPvB;AAQL,kBAAc;AAACO,MAAAA,QAAQ,EAAE,WAAX;AAAwBC,MAAAA,KAAK,EAAE;AAA/B;AART;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Add stars',\n checked: true,\n checkBoxOnChange: value => console.log(value),\n inputTextTitle: 'Stars amount',\n inputTextValue: '250',\n inputTextDescription: 'This is the tooltip text',\n inputTextOnChange: value => console.log(value),\n 'aria-label': {checkbox: 'check box', input: 'input text'}\n }\n};\n"],"file":"checked.js"}
@@ -0,0 +1,18 @@
1
+ export default {
2
+ props: {
3
+ title: 'Create badge',
4
+ checked: false,
5
+ onChange: value => console.log(value),
6
+ checkBoxOnChange: value => console.log(value),
7
+ inputTextTitle: 'Stars amount',
8
+ inputTextValue: '250',
9
+ inputTextDescription: 'This is the tooltip text',
10
+ inputTextDisabled: true,
11
+ inputTextOnChange: value => console.log(value),
12
+ 'aria-label': {
13
+ checkbox: 'check box',
14
+ input: 'input text'
15
+ }
16
+ }
17
+ };
18
+ //# sourceMappingURL=unchecked.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/input-text-with-titeled-checkbox/test/fixtures/unchecked.js"],"names":["props","title","checked","onChange","value","console","log","checkBoxOnChange","inputTextTitle","inputTextValue","inputTextDescription","inputTextDisabled","inputTextOnChange","checkbox","input"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,cADF;AAELC,IAAAA,OAAO,EAAE,KAFJ;AAGLC,IAAAA,QAAQ,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAHd;AAILG,IAAAA,gBAAgB,EAAEH,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAJtB;AAKLI,IAAAA,cAAc,EAAE,cALX;AAMLC,IAAAA,cAAc,EAAE,KANX;AAOLC,IAAAA,oBAAoB,EAAE,0BAPjB;AAQLC,IAAAA,iBAAiB,EAAE,IARd;AASLC,IAAAA,iBAAiB,EAAER,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CATvB;AAUL,kBAAc;AAACS,MAAAA,QAAQ,EAAE,WAAX;AAAwBC,MAAAA,KAAK,EAAE;AAA/B;AAVT;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Create badge',\n checked: false,\n onChange: value => console.log(value),\n checkBoxOnChange: value => console.log(value),\n inputTextTitle: 'Stars amount',\n inputTextValue: '250',\n inputTextDescription: 'This is the tooltip text',\n inputTextDisabled: true,\n inputTextOnChange: value => console.log(value),\n 'aria-label': {checkbox: 'check box', input: 'input text'}\n }\n};\n"],"file":"unchecked.js"}
@@ -3,8 +3,7 @@ import forEach from 'lodash/forEach';
3
3
  import renderComponentMacro from '../../../../test/helpers/render-component';
4
4
  import MoleculeQuestionsFreeText from '..';
5
5
  import fixtureDefault from './fixtures/default';
6
- import fixtureWithValueOnChange from './fixtures/with-value-on-change';
7
- import fixtureWithValue from './fixtures/with-value';
6
+ import fixtureWithDefaultValue from './fixtures/with-default-value';
8
7
  test('MoleculeQuestions › MoleculeQuestionsFreeText > should have valid propTypes', t => {
9
8
  t.pass();
10
9
  forEach(MoleculeQuestionsFreeText.propTypes, (value, key) => {
@@ -12,6 +11,5 @@ test('MoleculeQuestions › MoleculeQuestionsFreeText > should have valid propTy
12
11
  });
13
12
  });
14
13
  test('MoleculeQuestions › MoleculeQuestionsFreeText › Default › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureDefault);
15
- test('MoleculeQuestions › MoleculeQuestionsFreeText › WithValueOnChange › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithValueOnChange);
16
- test('MoleculeQuestions › MoleculeQuestionsFreeText › WithValue › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithValue);
14
+ test('MoleculeQuestions › MoleculeQuestionsFreeText › WithDefaultValue › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithDefaultValue);
17
15
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/questions/free-text/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeQuestionsFreeText","fixtureDefault","fixtureWithValueOnChange","fixtureWithValue","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,wBAAP,MAAqC,iCAArC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAN,IAAI,CAAC,6EAAD,EAAgFO,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,yBAAyB,CAACM,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,yBAAvG,EAAkIC,cAAlI,CAAJ;AACAJ,IAAI,CAAC,wFAAD,EAA2FE,oBAA3F,EAAiHC,yBAAjH,EAA4IE,wBAA5I,CAAJ;AACAL,IAAI,CAAC,gFAAD,EAAmFE,oBAAnF,EAAyGC,yBAAzG,EAAoIG,gBAApI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeQuestionsFreeText from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValueOnChange from './fixtures/with-value-on-change';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('MoleculeQuestions › MoleculeQuestionsFreeText > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeQuestionsFreeText.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeQuestions.MoleculeQuestionsFreeText.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › Default › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureDefault);\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › WithValueOnChange › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithValueOnChange);\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › WithValue › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithValue);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/questions/free-text/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeQuestionsFreeText","fixtureDefault","fixtureWithDefaultValue","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,uBAAP,MAAoC,+BAApC;AAEAL,IAAI,CAAC,6EAAD,EAAgFM,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,yBAAyB,CAACK,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,yBAAvG,EAAkIC,cAAlI,CAAJ;AACAJ,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,yBAAhH,EAA2IE,uBAA3I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport MoleculeQuestionsFreeText from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithDefaultValue from './fixtures/with-default-value';\n\ntest('MoleculeQuestions › MoleculeQuestionsFreeText > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeQuestionsFreeText.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"MoleculeQuestions.MoleculeQuestionsFreeText.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › Default › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureDefault);\ntest('MoleculeQuestions › MoleculeQuestionsFreeText › WithDefaultValue › should be rendered', renderComponentMacro, MoleculeQuestionsFreeText, fixtureWithDefaultValue);\n"],"file":"fixtures.js"}
@@ -229,6 +229,10 @@
229
229
  display: none;
230
230
  }
231
231
 
232
+ .feedbackSection {
233
+ margin: 0 20px 0 20px;
234
+ }
235
+
232
236
  .correctionSection {
233
237
  min-width: 60px;
234
238
  }
@@ -0,0 +1,26 @@
1
+ function _extends() { _extends = Object.assign || 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); }
2
+
3
+ import React from 'react';
4
+ import PropTypes from 'prop-types';
5
+ import map from 'lodash/fp/map';
6
+ import ReviewHeaderStepItem from '../../atom/review-header-step-item';
7
+ import style from './style.css';
8
+
9
+ const ReviewHeaderStep = props => {
10
+ const {
11
+ steps
12
+ } = props;
13
+ const items = map(step => /*#__PURE__*/React.createElement(ReviewHeaderStepItem, _extends({}, step, {
14
+ key: step.value
15
+ })), steps);
16
+ return /*#__PURE__*/React.createElement("div", {
17
+ className: style.wrapper,
18
+ "data-name": "header-steps"
19
+ }, items);
20
+ };
21
+
22
+ ReviewHeaderStep.propTypes = process.env.NODE_ENV !== "production" ? {
23
+ steps: PropTypes.arrayOf(PropTypes.shape(ReviewHeaderStepItem.props))
24
+ } : {};
25
+ export default ReviewHeaderStep;
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/molecule/review-header-steps/index.js"],"names":["React","PropTypes","map","ReviewHeaderStepItem","style","ReviewHeaderStep","props","steps","items","step","value","wrapper","propTypes","arrayOf","shape"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,oBAAP,MAAiC,oCAAjC;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;AAChC,QAAM;AAACC,IAAAA;AAAD,MAAUD,KAAhB;AAEA,QAAME,KAAK,GAAGN,GAAG,CAACO,IAAI,iBAAI,oBAAC,oBAAD,eAA0BA,IAA1B;AAAgC,IAAA,GAAG,EAAEA,IAAI,CAACC;AAA1C,KAAT,EAA8DH,KAA9D,CAAjB;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEH,KAAK,CAACO,OAAtB;AAA+B,iBAAU;AAAzC,KACGH,KADH,CADF;AAKD,CAVD;;AAYAH,gBAAgB,CAACO,SAAjB,2CAA6B;AAC3BL,EAAAA,KAAK,EAAEN,SAAS,CAACY,OAAV,CAAkBZ,SAAS,CAACa,KAAV,CAAgBX,oBAAoB,CAACG,KAArC,CAAlB;AADoB,CAA7B;AAIA,eAAeD,gBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport ReviewHeaderStepItem from '../../atom/review-header-step-item';\nimport style from './style.css';\n\nconst ReviewHeaderStep = props => {\n const {steps} = props;\n\n const items = map(step => <ReviewHeaderStepItem {...step} key={step.value} />, steps);\n\n return (\n <div className={style.wrapper} data-name=\"header-steps\">\n {items}\n </div>\n );\n};\n\nReviewHeaderStep.propTypes = {\n steps: PropTypes.arrayOf(PropTypes.shape(ReviewHeaderStepItem.props))\n};\n\nexport default ReviewHeaderStep;\n"],"file":"index.js"}
@@ -0,0 +1,6 @@
1
+ .wrapper {
2
+ width: 264px;
3
+ display: flex;
4
+ align-items: center;
5
+ justify-content: space-between;
6
+ }
@@ -0,0 +1,26 @@
1
+ export default {
2
+ props: {
3
+ steps: [{
4
+ icon: 'right',
5
+ current: false,
6
+ value: '1'
7
+ }, {
8
+ icon: 'right',
9
+ current: false,
10
+ value: '2'
11
+ }, {
12
+ icon: 'right',
13
+ current: true,
14
+ value: '3'
15
+ }, {
16
+ icon: 'right',
17
+ current: false,
18
+ value: '4'
19
+ }, {
20
+ icon: 'right',
21
+ current: false,
22
+ value: '5'
23
+ }]
24
+ }
25
+ };
26
+ //# sourceMappingURL=all-questions-ok.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-header-steps/test/fixtures/all-questions-ok.js"],"names":["props","steps","icon","current","value"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,CACL;AACEC,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KADK,EAML;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KANK,EAWL;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,IAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAXK,EAgBL;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAhBK,EAqBL;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KArBK;AADF;AADM,CAAf","sourcesContent":["export default {\n props: {\n steps: [\n {\n icon: 'right',\n current: false,\n value: '1'\n },\n {\n icon: 'right',\n current: false,\n value: '2'\n },\n {\n icon: 'right',\n current: true,\n value: '3'\n },\n {\n icon: 'right',\n current: false,\n value: '4'\n },\n {\n icon: 'right',\n current: false,\n value: '5'\n }\n ]\n }\n};\n"],"file":"all-questions-ok.js"}
@@ -0,0 +1,26 @@
1
+ export default {
2
+ props: {
3
+ steps: [{
4
+ icon: 'right',
5
+ current: false,
6
+ value: '1'
7
+ }, {
8
+ icon: 'wrong',
9
+ current: false,
10
+ value: '2'
11
+ }, {
12
+ icon: null,
13
+ current: true,
14
+ value: '3'
15
+ }, {
16
+ icon: null,
17
+ current: false,
18
+ value: '4'
19
+ }, {
20
+ icon: null,
21
+ current: false,
22
+ value: '5'
23
+ }]
24
+ }
25
+ };
26
+ //# sourceMappingURL=current-question-no-aswered.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-header-steps/test/fixtures/current-question-no-aswered.js"],"names":["props","steps","icon","current","value"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,CACL;AACEC,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KADK,EAML;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KANK,EAWL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,IAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAXK,EAgBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAhBK,EAqBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KArBK;AADF;AADM,CAAf","sourcesContent":["export default {\n props: {\n steps: [\n {\n icon: 'right',\n current: false,\n value: '1'\n },\n {\n icon: 'wrong',\n current: false,\n value: '2'\n },\n {\n icon: null,\n current: true,\n value: '3'\n },\n {\n icon: null,\n current: false,\n value: '4'\n },\n {\n icon: null,\n current: false,\n value: '5'\n }\n ]\n }\n};\n"],"file":"current-question-no-aswered.js"}
@@ -0,0 +1,26 @@
1
+ export default {
2
+ props: {
3
+ steps: [{
4
+ icon: 'right',
5
+ current: false,
6
+ value: '1'
7
+ }, {
8
+ icon: 'wrong',
9
+ current: false,
10
+ value: '2'
11
+ }, {
12
+ icon: 'wrong',
13
+ current: true,
14
+ value: '3'
15
+ }, {
16
+ icon: null,
17
+ current: false,
18
+ value: '4'
19
+ }, {
20
+ icon: null,
21
+ current: false,
22
+ value: '5'
23
+ }]
24
+ }
25
+ };
26
+ //# sourceMappingURL=current-question-wrong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-header-steps/test/fixtures/current-question-wrong.js"],"names":["props","steps","icon","current","value"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,CACL;AACEC,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KADK,EAML;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KANK,EAWL;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,IAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAXK,EAgBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAhBK,EAqBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KArBK;AADF;AADM,CAAf","sourcesContent":["export default {\n props: {\n steps: [\n {\n icon: 'right',\n current: false,\n value: '1'\n },\n {\n icon: 'wrong',\n current: false,\n value: '2'\n },\n {\n icon: 'wrong',\n current: true,\n value: '3'\n },\n {\n icon: null,\n current: false,\n value: '4'\n },\n {\n icon: null,\n current: false,\n value: '5'\n }\n ]\n }\n};\n"],"file":"current-question-wrong.js"}
@@ -0,0 +1,26 @@
1
+ export default {
2
+ props: {
3
+ steps: [{
4
+ icon: 'right',
5
+ current: true,
6
+ value: '1'
7
+ }, {
8
+ icon: null,
9
+ current: false,
10
+ value: '2'
11
+ }, {
12
+ icon: null,
13
+ current: false,
14
+ value: '3'
15
+ }, {
16
+ icon: null,
17
+ current: false,
18
+ value: '4'
19
+ }, {
20
+ icon: null,
21
+ current: false,
22
+ value: '5'
23
+ }]
24
+ }
25
+ };
26
+ //# sourceMappingURL=first-question-current-right.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-header-steps/test/fixtures/first-question-current-right.js"],"names":["props","steps","icon","current","value"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,CACL;AACEC,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,IAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KADK,EAML;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KANK,EAWL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAXK,EAgBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAhBK,EAqBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KArBK;AADF;AADM,CAAf","sourcesContent":["export default {\n props: {\n steps: [\n {\n icon: 'right',\n current: true,\n value: '1'\n },\n {\n icon: null,\n current: false,\n value: '2'\n },\n {\n icon: null,\n current: false,\n value: '3'\n },\n {\n icon: null,\n current: false,\n value: '4'\n },\n {\n icon: null,\n current: false,\n value: '5'\n }\n ]\n }\n};\n"],"file":"first-question-current-right.js"}
@@ -0,0 +1,26 @@
1
+ export default {
2
+ props: {
3
+ steps: [{
4
+ icon: null,
5
+ current: true,
6
+ value: '1'
7
+ }, {
8
+ icon: null,
9
+ current: false,
10
+ value: '2'
11
+ }, {
12
+ icon: null,
13
+ current: false,
14
+ value: '3'
15
+ }, {
16
+ icon: null,
17
+ current: false,
18
+ value: '4'
19
+ }, {
20
+ icon: null,
21
+ current: false,
22
+ value: '5'
23
+ }]
24
+ }
25
+ };
26
+ //# sourceMappingURL=no-answered-question.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-header-steps/test/fixtures/no-answered-question.js"],"names":["props","steps","icon","current","value"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,CACL;AACEC,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,IAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KADK,EAML;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KANK,EAWL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAXK,EAgBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAhBK,EAqBL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KArBK;AADF;AADM,CAAf","sourcesContent":["export default {\n props: {\n steps: [\n {\n icon: null,\n current: true,\n value: '1'\n },\n {\n icon: null,\n current: false,\n value: '2'\n },\n {\n icon: null,\n current: false,\n value: '3'\n },\n {\n icon: null,\n current: false,\n value: '4'\n },\n {\n icon: null,\n current: false,\n value: '5'\n }\n ]\n }\n};\n"],"file":"no-answered-question.js"}
@@ -0,0 +1,26 @@
1
+ export default {
2
+ props: {
3
+ steps: [{
4
+ icon: 'right',
5
+ current: false,
6
+ value: '1'
7
+ }, {
8
+ icon: 'right',
9
+ current: false,
10
+ value: '2'
11
+ }, {
12
+ icon: null,
13
+ current: true,
14
+ value: '3'
15
+ }, {
16
+ icon: 'right',
17
+ current: false,
18
+ value: '4'
19
+ }, {
20
+ icon: 'right',
21
+ current: false,
22
+ value: '5'
23
+ }]
24
+ }
25
+ };
26
+ //# sourceMappingURL=question-to-repeat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-header-steps/test/fixtures/question-to-repeat.js"],"names":["props","steps","icon","current","value"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,CACL;AACEC,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KADK,EAML;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KANK,EAWL;AACEF,MAAAA,IAAI,EAAE,IADR;AAEEC,MAAAA,OAAO,EAAE,IAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAXK,EAgBL;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KAhBK,EAqBL;AACEF,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,OAAO,EAAE,KAFX;AAGEC,MAAAA,KAAK,EAAE;AAHT,KArBK;AADF;AADM,CAAf","sourcesContent":["export default {\n props: {\n steps: [\n {\n icon: 'right',\n current: false,\n value: '1'\n },\n {\n icon: 'right',\n current: false,\n value: '2'\n },\n {\n icon: null,\n current: true,\n value: '3'\n },\n {\n icon: 'right',\n current: false,\n value: '4'\n },\n {\n icon: 'right',\n current: false,\n value: '5'\n }\n ]\n }\n};\n"],"file":"question-to-repeat.js"}
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import MoleculeSearch from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureWithValue from './fixtures/with-value';
7
+ test('Molecule › MoleculeSearch > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(MoleculeSearch.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "Molecule.MoleculeSearch.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);
14
+ test('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/search/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeSearch","fixtureDefault","fixtureWithValue","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,cAAP,MAA2B,IAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAL,IAAI,CAAC,yDAAD,EAA4DM,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,cAAc,CAACK,SAAhB,EAA2B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,cAAnF,EAAmGC,cAAnG,CAAJ;AACAJ,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,cAArF,EAAqGE,gBAArG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeSearch from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Molecule › MoleculeSearch > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);\ntest('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);\n"],"file":"fixtures.js"}