@coorpacademy/components 10.13.1 → 10.13.3-alpha.5

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 (315) hide show
  1. package/es/atom/button-link/test/fixtures.js +31 -0
  2. package/es/atom/button-link/test/fixtures.js.map +1 -0
  3. package/es/atom/button-link-icon-only/test/fixtures.js +21 -0
  4. package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -0
  5. package/es/atom/button-menu/test/fixtures.js +15 -0
  6. package/es/atom/button-menu/test/fixtures.js.map +1 -0
  7. package/es/atom/card-image-preview/test/fixtures.js +15 -0
  8. package/es/atom/card-image-preview/test/fixtures.js.map +1 -0
  9. package/es/atom/checkbox-with-title/test/fixtures.js +15 -0
  10. package/es/atom/checkbox-with-title/test/fixtures.js.map +1 -0
  11. package/es/atom/chips/test/fixtures.js +17 -0
  12. package/es/atom/chips/test/fixtures.js.map +1 -0
  13. package/es/atom/content-badge/test/fixtures.js +29 -0
  14. package/es/atom/content-badge/test/fixtures.js.map +1 -0
  15. package/es/atom/drag-and-drop/index.js +40 -36
  16. package/es/atom/drag-and-drop/index.js.map +1 -1
  17. package/es/atom/drag-and-drop/style.css +110 -75
  18. package/es/atom/drag-and-drop/test/fixtures/default.js +3 -3
  19. package/es/atom/drag-and-drop/test/fixtures/default.js.map +1 -1
  20. package/es/atom/drag-and-drop/test/fixtures/loading.js +2 -1
  21. package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  22. package/es/atom/drag-and-drop/test/fixtures/with-children.js +1 -0
  23. package/es/atom/drag-and-drop/test/fixtures/with-children.js.map +1 -1
  24. package/es/atom/drag-and-drop/test/fixtures/with-image.js +2 -1
  25. package/es/atom/drag-and-drop/test/fixtures/with-image.js.map +1 -1
  26. package/es/atom/drag-and-drop/test/fixtures/with-video.js +3 -1
  27. package/es/atom/drag-and-drop/test/fixtures/with-video.js.map +1 -1
  28. package/es/atom/drag-and-drop/test/fixtures/withLongDescription.js +9 -0
  29. package/es/atom/drag-and-drop/test/fixtures/withLongDescription.js.map +1 -0
  30. package/es/atom/drag-and-drop/test/fixtures.js +2 -0
  31. package/es/atom/drag-and-drop/test/fixtures.js.map +1 -1
  32. package/es/atom/empty-search-result/test/fixtures.js +13 -0
  33. package/es/atom/empty-search-result/test/fixtures.js.map +1 -0
  34. package/es/atom/input-checkbox/test/fixtures.js +2 -0
  35. package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
  36. package/es/atom/input-search/test/fixtures.js +19 -0
  37. package/es/atom/input-search/test/fixtures.js.map +1 -0
  38. package/es/atom/input-switch/test/fixtures.js +10 -0
  39. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  40. package/es/atom/input-text/test/fixtures.js +2 -0
  41. package/es/atom/input-text/test/fixtures.js.map +1 -1
  42. package/es/atom/input-text-with-title/index.js +35 -0
  43. package/es/atom/input-text-with-title/index.js.map +1 -0
  44. package/es/atom/input-text-with-title/style.css +24 -0
  45. package/es/atom/input-text-with-title/test/fixtures/default.js +12 -0
  46. package/es/atom/input-text-with-title/test/fixtures/default.js.map +1 -0
  47. package/es/atom/input-text-with-title/test/fixtures/error.js +13 -0
  48. package/es/atom/input-text-with-title/test/fixtures/error.js.map +1 -0
  49. package/es/atom/input-text-with-title/test/fixtures.js +15 -0
  50. package/es/atom/input-text-with-title/test/fixtures.js.map +1 -0
  51. package/es/atom/input-textarea/test/fixtures.js +4 -0
  52. package/es/atom/input-textarea/test/fixtures.js.map +1 -1
  53. package/es/atom/loader/style.css +7 -3
  54. package/es/atom/loader/test/fixtures.js +2 -0
  55. package/es/atom/loader/test/fixtures.js.map +1 -1
  56. package/es/atom/review-header-step-item/test/fixtures.js +19 -0
  57. package/es/atom/review-header-step-item/test/fixtures.js.map +1 -0
  58. package/es/atom/select/test/fixtures.js +4 -0
  59. package/es/atom/select/test/fixtures.js.map +1 -1
  60. package/es/atom/tag/test/fixtures.js +21 -0
  61. package/es/atom/tag/test/fixtures.js.map +1 -0
  62. package/es/atom/title/test/fixtures.js +6 -2
  63. package/es/atom/title/test/fixtures.js.map +1 -1
  64. package/es/atom/wizard-steps/test/fixtures.js +17 -0
  65. package/es/atom/wizard-steps/test/fixtures.js.map +1 -0
  66. package/es/molecule/banner/test/fixtures.js +23 -0
  67. package/es/molecule/banner/test/fixtures.js.map +1 -0
  68. package/es/molecule/brand-form-group/test/fixtures.js +2 -0
  69. package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
  70. package/es/molecule/bullet-point-menu-button/test/fixtures.js +15 -0
  71. package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  72. package/es/molecule/card/test/fixtures.js +6 -0
  73. package/es/molecule/card/test/fixtures.js.map +1 -1
  74. package/es/molecule/cm-popin/test/fixtures.js +17 -0
  75. package/es/molecule/cm-popin/test/fixtures.js.map +1 -0
  76. package/es/molecule/coorp-manager-roles/test/fixtures.js +13 -0
  77. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
  78. package/es/molecule/course-section/test/fixtures.js +15 -0
  79. package/es/molecule/course-section/test/fixtures.js.map +1 -0
  80. package/es/molecule/course-sections/index.js +20 -4
  81. package/es/molecule/course-sections/index.js.map +1 -1
  82. package/es/molecule/course-sections/style.css +17 -0
  83. package/es/molecule/course-sections/test/fixtures/with-mandatory-courses-input.js +11 -0
  84. package/es/molecule/course-sections/test/fixtures/with-mandatory-courses-input.js.map +1 -0
  85. package/es/molecule/course-sections/test/fixtures.js +17 -0
  86. package/es/molecule/course-sections/test/fixtures.js.map +1 -0
  87. package/es/molecule/dashboard/review-banner/test/fixtures.js +13 -0
  88. package/es/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  89. package/es/molecule/draggable/test/fixtures.js +13 -0
  90. package/es/molecule/draggable/test/fixtures.js.map +1 -0
  91. package/es/molecule/draggable-list/test/fixtures.js +15 -0
  92. package/es/molecule/draggable-list/test/fixtures.js.map +1 -0
  93. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js +15 -0
  94. package/es/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +1 -0
  95. package/es/molecule/popin/test/fixtures.js +21 -0
  96. package/es/molecule/popin/test/fixtures.js.map +1 -0
  97. package/es/molecule/questions/free-text/test/fixtures.js +4 -2
  98. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
  99. package/es/molecule/quick-access-card/test/fixtures.js +21 -0
  100. package/es/molecule/quick-access-card/test/fixtures.js.map +1 -0
  101. package/es/molecule/quick-access-cards-group/test/fixtures.js +21 -0
  102. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
  103. package/es/molecule/review-correction-popin/test/fixtures.js +15 -0
  104. package/es/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  105. package/es/molecule/review-header-steps/test/fixtures.js +23 -0
  106. package/es/molecule/review-header-steps/test/fixtures.js.map +1 -0
  107. package/es/molecule/select-multiple/test/fixtures.js +8 -0
  108. package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
  109. package/es/molecule/vertical-tabs/test/fixtures.js +17 -0
  110. package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  111. package/es/molecule/wizard-summary/test/fixtures.js +23 -0
  112. package/es/molecule/wizard-summary/test/fixtures.js.map +1 -0
  113. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +4 -0
  114. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  115. package/es/organism/brand-analytics/test/fixtures.js +23 -0
  116. package/es/organism/brand-analytics/test/fixtures.js.map +1 -0
  117. package/es/organism/brand-dashboard/test/fixtures.js +2 -10
  118. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
  119. package/es/organism/brand-form/test/fixtures.js +2 -0
  120. package/es/organism/brand-form/test/fixtures.js.map +1 -1
  121. package/es/organism/content-translation/test/fixtures.js +15 -0
  122. package/es/organism/content-translation/test/fixtures.js.map +1 -0
  123. package/es/organism/course-selection/index.js +2 -1
  124. package/es/organism/course-selection/index.js.map +1 -1
  125. package/es/organism/course-selection/style.css +12 -3
  126. package/es/organism/course-selection/test/fixtures/loading.js +9 -0
  127. package/es/organism/course-selection/test/fixtures/loading.js.map +1 -0
  128. package/es/organism/course-selection/test/fixtures.js +25 -0
  129. package/es/organism/course-selection/test/fixtures.js.map +1 -0
  130. package/es/organism/list-item/test/fixtures.js +19 -0
  131. package/es/organism/list-item/test/fixtures.js.map +1 -0
  132. package/es/organism/list-items/test/fixtures.js +17 -0
  133. package/es/organism/list-items/test/fixtures.js.map +1 -0
  134. package/es/organism/playlist-translation/test/fixtures.js +15 -0
  135. package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
  136. package/es/organism/search-and-chips-results/index.js +2 -1
  137. package/es/organism/search-and-chips-results/index.js.map +1 -1
  138. package/es/organism/search-and-chips-results/style.css +10 -3
  139. package/es/organism/search-and-chips-results/test/fixtures/loading.js +9 -0
  140. package/es/organism/search-and-chips-results/test/fixtures/loading.js.map +1 -0
  141. package/es/organism/search-and-chips-results/test/fixtures.js +23 -0
  142. package/es/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  143. package/es/organism/wizard-contents/test/fixtures/playlist-organize-courses.js +1 -1
  144. package/es/organism/wizard-contents/test/fixtures/playlist-organize-courses.js.map +1 -1
  145. package/es/organism/wizard-contents/test/fixtures.js +23 -0
  146. package/es/organism/wizard-contents/test/fixtures.js.map +1 -0
  147. package/es/template/app-player/popin-end/test/fixtures.js +2 -0
  148. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
  149. package/es/template/back-office/brand-update/index.js +5 -2
  150. package/es/template/back-office/brand-update/index.js.map +1 -1
  151. package/es/template/back-office/brand-update/style.css +10 -1
  152. package/es/template/back-office/brand-update/test/fixtures.js +24 -2
  153. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  154. package/es/util/button-icons.js +3 -2
  155. package/es/util/button-icons.js.map +1 -1
  156. package/lib/atom/button-link/test/fixtures.js +49 -0
  157. package/lib/atom/button-link/test/fixtures.js.map +1 -0
  158. package/lib/atom/button-link-icon-only/test/fixtures.js +34 -0
  159. package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -0
  160. package/lib/atom/button-menu/test/fixtures.js +25 -0
  161. package/lib/atom/button-menu/test/fixtures.js.map +1 -0
  162. package/lib/atom/card-image-preview/test/fixtures.js +25 -0
  163. package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
  164. package/lib/atom/checkbox-with-title/test/fixtures.js +25 -0
  165. package/lib/atom/checkbox-with-title/test/fixtures.js.map +1 -0
  166. package/lib/atom/chips/test/fixtures.js +28 -0
  167. package/lib/atom/chips/test/fixtures.js.map +1 -0
  168. package/lib/atom/content-badge/test/fixtures.js +46 -0
  169. package/lib/atom/content-badge/test/fixtures.js.map +1 -0
  170. package/lib/atom/drag-and-drop/index.js +41 -34
  171. package/lib/atom/drag-and-drop/index.js.map +1 -1
  172. package/lib/atom/drag-and-drop/style.css +110 -75
  173. package/lib/atom/drag-and-drop/test/fixtures/default.js +3 -3
  174. package/lib/atom/drag-and-drop/test/fixtures/default.js.map +1 -1
  175. package/lib/atom/drag-and-drop/test/fixtures/loading.js +2 -1
  176. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  177. package/lib/atom/drag-and-drop/test/fixtures/with-children.js +1 -0
  178. package/lib/atom/drag-and-drop/test/fixtures/with-children.js.map +1 -1
  179. package/lib/atom/drag-and-drop/test/fixtures/with-image.js +2 -1
  180. package/lib/atom/drag-and-drop/test/fixtures/with-image.js.map +1 -1
  181. package/lib/atom/drag-and-drop/test/fixtures/with-video.js +3 -1
  182. package/lib/atom/drag-and-drop/test/fixtures/with-video.js.map +1 -1
  183. package/lib/atom/drag-and-drop/test/fixtures/withLongDescription.js +18 -0
  184. package/lib/atom/drag-and-drop/test/fixtures/withLongDescription.js.map +1 -0
  185. package/lib/atom/drag-and-drop/test/fixtures.js +3 -0
  186. package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -1
  187. package/lib/atom/empty-search-result/test/fixtures.js +22 -0
  188. package/lib/atom/empty-search-result/test/fixtures.js.map +1 -0
  189. package/lib/atom/input-checkbox/test/fixtures.js +3 -0
  190. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
  191. package/lib/atom/input-search/test/fixtures.js +31 -0
  192. package/lib/atom/input-search/test/fixtures.js.map +1 -0
  193. package/lib/atom/input-switch/test/fixtures.js +15 -0
  194. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  195. package/lib/atom/input-text/test/fixtures.js +3 -0
  196. package/lib/atom/input-text/test/fixtures.js.map +1 -1
  197. package/lib/atom/input-text-with-title/index.js +46 -0
  198. package/lib/atom/input-text-with-title/index.js.map +1 -0
  199. package/lib/atom/input-text-with-title/style.css +24 -0
  200. package/lib/atom/input-text-with-title/test/fixtures/default.js +21 -0
  201. package/lib/atom/input-text-with-title/test/fixtures/default.js.map +1 -0
  202. package/lib/atom/input-text-with-title/test/fixtures/error.js +22 -0
  203. package/lib/atom/input-text-with-title/test/fixtures/error.js.map +1 -0
  204. package/lib/atom/input-text-with-title/test/fixtures.js +25 -0
  205. package/lib/atom/input-text-with-title/test/fixtures.js.map +1 -0
  206. package/lib/atom/input-textarea/test/fixtures.js +6 -0
  207. package/lib/atom/input-textarea/test/fixtures.js.map +1 -1
  208. package/lib/atom/loader/style.css +7 -3
  209. package/lib/atom/loader/test/fixtures.js +3 -0
  210. package/lib/atom/loader/test/fixtures.js.map +1 -1
  211. package/lib/atom/review-header-step-item/test/fixtures.js +31 -0
  212. package/lib/atom/review-header-step-item/test/fixtures.js.map +1 -0
  213. package/lib/atom/select/test/fixtures.js +6 -0
  214. package/lib/atom/select/test/fixtures.js.map +1 -1
  215. package/lib/atom/tag/test/fixtures.js +34 -0
  216. package/lib/atom/tag/test/fixtures.js.map +1 -0
  217. package/lib/atom/title/test/fixtures.js +8 -2
  218. package/lib/atom/title/test/fixtures.js.map +1 -1
  219. package/lib/atom/wizard-steps/test/fixtures.js +28 -0
  220. package/lib/atom/wizard-steps/test/fixtures.js.map +1 -0
  221. package/lib/molecule/banner/test/fixtures.js +37 -0
  222. package/lib/molecule/banner/test/fixtures.js.map +1 -0
  223. package/lib/molecule/brand-form-group/test/fixtures.js +3 -0
  224. package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
  225. package/lib/molecule/bullet-point-menu-button/test/fixtures.js +25 -0
  226. package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  227. package/lib/molecule/card/test/fixtures.js +9 -0
  228. package/lib/molecule/card/test/fixtures.js.map +1 -1
  229. package/lib/molecule/cm-popin/test/fixtures.js +28 -0
  230. package/lib/molecule/cm-popin/test/fixtures.js.map +1 -0
  231. package/lib/molecule/coorp-manager-roles/test/fixtures.js +22 -0
  232. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
  233. package/lib/molecule/course-section/test/fixtures.js +25 -0
  234. package/lib/molecule/course-section/test/fixtures.js.map +1 -0
  235. package/lib/molecule/course-sections/index.js +21 -4
  236. package/lib/molecule/course-sections/index.js.map +1 -1
  237. package/lib/molecule/course-sections/style.css +17 -0
  238. package/lib/molecule/course-sections/test/fixtures/with-mandatory-courses-input.js +21 -0
  239. package/lib/molecule/course-sections/test/fixtures/with-mandatory-courses-input.js.map +1 -0
  240. package/lib/molecule/course-sections/test/fixtures.js +28 -0
  241. package/lib/molecule/course-sections/test/fixtures.js.map +1 -0
  242. package/lib/molecule/dashboard/review-banner/test/fixtures.js +22 -0
  243. package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  244. package/lib/molecule/draggable/test/fixtures.js +22 -0
  245. package/lib/molecule/draggable/test/fixtures.js.map +1 -0
  246. package/lib/molecule/draggable-list/test/fixtures.js +25 -0
  247. package/lib/molecule/draggable-list/test/fixtures.js.map +1 -0
  248. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js +25 -0
  249. package/lib/molecule/input-text-with-titeled-checkbox/test/fixtures.js.map +1 -0
  250. package/lib/molecule/popin/test/fixtures.js +34 -0
  251. package/lib/molecule/popin/test/fixtures.js.map +1 -0
  252. package/lib/molecule/questions/free-text/test/fixtures.js +5 -2
  253. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
  254. package/lib/molecule/quick-access-card/test/fixtures.js +34 -0
  255. package/lib/molecule/quick-access-card/test/fixtures.js.map +1 -0
  256. package/lib/molecule/quick-access-cards-group/test/fixtures.js +34 -0
  257. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
  258. package/lib/molecule/review-correction-popin/test/fixtures.js +25 -0
  259. package/lib/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  260. package/lib/molecule/review-header-steps/test/fixtures.js +37 -0
  261. package/lib/molecule/review-header-steps/test/fixtures.js.map +1 -0
  262. package/lib/molecule/select-multiple/test/fixtures.js +12 -0
  263. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
  264. package/lib/molecule/vertical-tabs/test/fixtures.js +28 -0
  265. package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  266. package/lib/molecule/wizard-summary/test/fixtures.js +37 -0
  267. package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -0
  268. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +6 -0
  269. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  270. package/lib/organism/brand-analytics/test/fixtures.js +37 -0
  271. package/lib/organism/brand-analytics/test/fixtures.js.map +1 -0
  272. package/lib/organism/brand-dashboard/test/fixtures.js +2 -14
  273. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
  274. package/lib/organism/brand-form/test/fixtures.js +3 -0
  275. package/lib/organism/brand-form/test/fixtures.js.map +1 -1
  276. package/lib/organism/content-translation/test/fixtures.js +25 -0
  277. package/lib/organism/content-translation/test/fixtures.js.map +1 -0
  278. package/lib/organism/course-selection/index.js +2 -1
  279. package/lib/organism/course-selection/index.js.map +1 -1
  280. package/lib/organism/course-selection/style.css +12 -3
  281. package/lib/organism/course-selection/test/fixtures/loading.js +19 -0
  282. package/lib/organism/course-selection/test/fixtures/loading.js.map +1 -0
  283. package/lib/organism/course-selection/test/fixtures.js +40 -0
  284. package/lib/organism/course-selection/test/fixtures.js.map +1 -0
  285. package/lib/organism/list-item/test/fixtures.js +31 -0
  286. package/lib/organism/list-item/test/fixtures.js.map +1 -0
  287. package/lib/organism/list-items/test/fixtures.js +28 -0
  288. package/lib/organism/list-items/test/fixtures.js.map +1 -0
  289. package/lib/organism/playlist-translation/test/fixtures.js +25 -0
  290. package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
  291. package/lib/organism/search-and-chips-results/index.js +2 -1
  292. package/lib/organism/search-and-chips-results/index.js.map +1 -1
  293. package/lib/organism/search-and-chips-results/style.css +10 -3
  294. package/lib/organism/search-and-chips-results/test/fixtures/loading.js +19 -0
  295. package/lib/organism/search-and-chips-results/test/fixtures/loading.js.map +1 -0
  296. package/lib/organism/search-and-chips-results/test/fixtures.js +37 -0
  297. package/lib/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  298. package/lib/organism/wizard-contents/test/fixtures/playlist-organize-courses.js +2 -2
  299. package/lib/organism/wizard-contents/test/fixtures/playlist-organize-courses.js.map +1 -1
  300. package/lib/organism/wizard-contents/test/fixtures.js +37 -0
  301. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -0
  302. package/lib/template/app-player/popin-end/test/fixtures.js +3 -0
  303. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
  304. package/lib/template/back-office/brand-update/index.js +5 -2
  305. package/lib/template/back-office/brand-update/index.js.map +1 -1
  306. package/lib/template/back-office/brand-update/style.css +10 -1
  307. package/lib/template/back-office/brand-update/test/fixtures.js +35 -2
  308. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  309. package/lib/util/button-icons.js +2 -1
  310. package/lib/util/button-icons.js.map +1 -1
  311. package/package.json +2 -2
  312. package/es/molecule/cockpit-popin/test/fixtures.js +0 -17
  313. package/es/molecule/cockpit-popin/test/fixtures.js.map +0 -1
  314. package/lib/molecule/cockpit-popin/test/fixtures.js +0 -28
  315. package/lib/molecule/cockpit-popin/test/fixtures.js.map +0 -1
@@ -6,145 +6,180 @@
6
6
  @value battle from colors;
7
7
  @value light from colors;
8
8
  @value xtraLightGrey from colors;
9
+ @value cm_grey_300 from colors;
10
+ @value cm_grey_700 from colors;
11
+ @value cm_grey_50 from colors;
12
+ @value cm_grey_200 from colors;
13
+ @value cm_grey_100 from colors;
14
+ @value cm_grey_400 from colors;
9
15
 
10
16
  .wrapper {
11
- width: 360px;
17
+ font-family: "Gilroy";
18
+ height: 100%;
19
+ width: 100%;
20
+ /* height: 133px;
21
+ width: 202px; */
22
+ border-radius: 3px;
12
23
  }
13
24
 
14
25
  .title {
15
- font-family: "Gilroy";
16
- font-size: 15px;
17
- text-transform: none;
18
- color: dark;
19
- margin-bottom: 20px;
26
+ font-size: 12px;
27
+ font-weight: 700;
28
+ color: cm_grey_700;
29
+ margin-bottom: 14px;
20
30
  }
21
31
 
22
32
  .description {
23
- font-family: 'Gilroy';
24
- font-size: 13px;
33
+ font-size: 10px;
25
34
  font-weight: 400;
26
- font-style: italic;
27
- color: dark;
28
- margin: 10px 0;
29
- text-align: justify;
30
- }
31
-
32
- .previewWrapper {
35
+ color: cm_grey_300;
36
+ margin-bottom: 8px;
37
+ text-align: center;
33
38
  width: 100%;
34
- box-sizing: border-box;
35
- border: 1px dashed medium;
36
- margin-bottom: 10px;
37
- display: flex;
38
- align-items: center;
39
- justify-content: center;
40
- }
41
-
42
- .modified {
43
- composes: previewWrapper;
44
- border: 2px solid battle;
39
+ text-overflow: ellipsis;
40
+ overflow: hidden;
45
41
  }
46
42
 
47
- .previewWrapper span {
48
- font-family: 'Gilroy';
49
- color: dark;
50
- font-size: 15px;
51
- font-weight: 700;
52
- line-height: 100px;
43
+ .modificationsContainer {
44
+ width: 100%;
45
+ height: 100%;
46
+ border: none;
47
+ border-radius: 3px;;
48
+ background: cm_grey_50;
53
49
  }
54
50
 
55
- .previewView {
56
- padding: 10px;
51
+ .preview {
52
+ padding: 8px;
57
53
  width: 100%;
58
- height: 100px;
54
+ height: 100%;
59
55
  box-sizing: border-box;
60
56
  display: flex;
61
57
  }
62
58
 
63
- .previewView img {
64
- max-width: 100%;
65
- max-height: 100%;
66
- margin: auto;
59
+ .preview img, video {
60
+ width: 100%;
61
+ height: 100%;
62
+ border: 1px cm_grey_100 solid;
67
63
  }
68
64
 
69
65
  .inputWrapper {
66
+ background: cm_grey_50;
70
67
  width: 100%;
71
- height: 70px;
68
+ height: 100%;
72
69
  box-sizing: border-box;
73
- border: 1px dashed medium;
74
- border-radius: 3px;
70
+ border: 1px dashed cm_grey_200;
71
+ border-radius: 7px;
75
72
  position: relative;
76
73
  display: flex;
74
+ flex-direction: column;
77
75
  align-items: center;
78
76
  justify-content: center;
77
+ padding: 14px 8px 8px 8px;
78
+ white-space: nowrap;
79
+ overflow: hidden;
80
+ text-overflow: ellipsis;
79
81
  }
80
82
 
81
83
  .resetUploadWrapper {
82
84
  width: 100%;
83
- height: 30px;
85
+ height: 20px;
84
86
  box-sizing: border-box;
85
- background-color: xtraLightGrey;
86
- border: solid 1px light;
87
+ background-color: cm_grey_50;
87
88
  border-radius: 3px;
88
- position: relative;
89
89
  display: flex;
90
90
  align-items: center;
91
91
  justify-content: space-between;
92
- /* fonts */
93
- font-family: Gilroy;
94
- font-size: 13px;
92
+ margin-top: 16px;
93
+ padding: 4px 8px;
94
+ font-size: 10px;
95
95
  font-weight: 400;
96
- margin-top: 15px;
97
96
  }
98
97
 
99
98
  .resetSrcLabel {
100
- font-family: Gilroy;
101
- color: dark;
102
- max-width: 220px;
99
+ color: cm_grey_700;
103
100
  display: inline-block;
104
101
  white-space: nowrap;
105
102
  overflow: hidden;
106
103
  text-overflow: ellipsis;
107
104
  direction: rtl;
108
105
  text-align: left;
109
- margin-left: 9px;
110
106
  }
111
107
 
112
108
  .closeIcon {
113
- margin-right: 9px;
114
109
  cursor: pointer;
115
- color: dark;
116
- }
117
-
118
- .closeIcon:hover {
119
- color: black;
110
+ color: cm_grey_400;
111
+ padding: 6px;
120
112
  }
121
113
 
122
114
  .dragging {
123
115
  composes: inputWrapper;
124
- border: 3px dashed brand;
116
+ border: 1px solid cm_grey_200;
117
+ background: cm_grey_100;
125
118
  }
126
119
 
127
- .arrow {
128
- width: 34px;
129
- height: 34px;
130
- margin-right: 10px;
131
- transition: all 0.2s cubic-bezier(0.47, 1.04, 0.46, 2.16);
120
+ .dragging .description .icon .title {
121
+ font-size: 8px;
122
+ }
123
+
124
+ .dragging .title {
125
+ font-size: 10px;
132
126
  }
133
127
 
134
- .dragging .arrow {
135
- transform: scale(1.2);
128
+ .dragging .icon {
129
+ transform: scale(0.85);
130
+ }
131
+
132
+ .icon {
133
+ width: 14px;
134
+ height: 14px;
135
+ transition: all 0.2s cubic-bezier(0.47, 1.04, 0.46, 2.16);
136
+ margin-bottom: 4px;
136
137
  }
137
138
 
138
139
  .uploadLabel {
139
- font-family: 'Gilroy';
140
- font-size: 18px;
141
- text-transform: uppercase;
140
+ font-size: 14px;
142
141
  font-weight: 700;
143
- color: dark;
142
+ color: cm_grey_700;
144
143
  }
145
144
 
146
- .loading {
147
- min-height: 100px;
148
- border: none;
145
+ .loaderWrapper {
149
146
  position: relative;
147
+ height: 100%;
148
+ width: 100%;
149
+ display: flex;
150
+ flex-direction: column;
151
+ justify-content: center;
152
+ align-items: center;
153
+ }
154
+
155
+ .loader {
156
+ margin-bottom: 8px;
157
+ height: 14px;
158
+ width: 14px;
150
159
  }
160
+
161
+ .loaderText {
162
+ font-size: 10px;
163
+ font-weight: 400;
164
+ }
165
+
166
+ .loadingCancel {
167
+ display: none;
168
+ position: absolute;
169
+ top: 0;
170
+ right: 0;
171
+ }
172
+
173
+ .button {
174
+ display: flex;
175
+ justify-content: center;
176
+ align-items: center;
177
+ }
178
+
179
+ .folderIcon {
180
+ margin-right: 8px;
181
+ }
182
+
183
+ .wrapper:hover .loadingCancel {
184
+ display: block;
185
+ }
@@ -1,8 +1,8 @@
1
1
  export default {
2
2
  props: {
3
- title: 'Drag & Drop',
4
- description: 'Drag and drop component',
5
- uploadLabel: 'Upload',
3
+ title: 'Drag & drop here',
4
+ description: 'JPG or PNG, smaller than 5mb',
5
+ uploadLabel: 'Browse',
6
6
  previewLabel: 'File Preview'
7
7
  }
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/default.js"],"names":["props","title","description","uploadLabel","previewLabel"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,aADF;AAELC,IAAAA,WAAW,EAAE,yBAFR;AAGLC,IAAAA,WAAW,EAAE,QAHR;AAILC,IAAAA,YAAY,EAAE;AAJT;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Drag & Drop',\n description: 'Drag and drop component',\n uploadLabel: 'Upload',\n previewLabel: 'File Preview'\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/default.js"],"names":["props","title","description","uploadLabel","previewLabel"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,kBADF;AAELC,IAAAA,WAAW,EAAE,8BAFR;AAGLC,IAAAA,WAAW,EAAE,QAHR;AAILC,IAAAA,YAAY,EAAE;AAJT;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Drag & drop here',\n description: 'JPG or PNG, smaller than 5mb',\n uploadLabel: 'Browse',\n previewLabel: 'File Preview'\n }\n};\n"],"file":"default.js"}
@@ -3,7 +3,8 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
3
3
  import Default from './default';
4
4
  export default {
5
5
  props: _extends(_extends({}, Default.props), {}, {
6
- loading: true
6
+ loading: true,
7
+ modified: false
7
8
  })
8
9
  };
9
10
  //# sourceMappingURL=loading.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/loading.js"],"names":["Default","props","loading"],"mappings":";;AAAA,OAAOA,OAAP,MAAoB,WAApB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,OAAO,CAACC,KADR;AAEHC,IAAAA,OAAO,EAAE;AAFN;AADQ,CAAf","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n loading: true\n }\n};\n"],"file":"loading.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/loading.js"],"names":["Default","props","loading","modified"],"mappings":";;AAAA,OAAOA,OAAP,MAAoB,WAApB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,OAAO,CAACC,KADR;AAEHC,IAAAA,OAAO,EAAE,IAFN;AAGHC,IAAAA,QAAQ,EAAE;AAHP;AADQ,CAAf","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n loading: true,\n modified: false\n }\n};\n"],"file":"loading.js"}
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import style from '../../../image-upload/style.css';
3
3
  export default {
4
4
  props: {
5
+ modified: true,
5
6
  previewContent: {
6
7
  type: 'image',
7
8
  src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491560495763.svg'
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/with-children.js"],"names":["React","style","props","previewContent","type","src","title","displayName","uploadLabel","children","onDragStart","onDragStop","input"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,KAAP,MAAkB,iCAAlB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,cAAc,EAAE;AACdC,MAAAA,IAAI,EAAE,OADQ;AAEdC,MAAAA,GAAG,EAAE;AAFS,KADX;AAKLC,IAAAA,KAAK,EAAE,aALF;AAMLC,IAAAA,WAAW,EAAE,cANR;AAOLC,IAAAA,WAAW,EAAE;AAPR,GADM;AAUb;AACAC,EAAAA,QAAQ,EAAE,CAACC,WAAD,EAAcC,UAAd,kBACR;AACE,IAAA,SAAS,EAAEV,KAAK,CAACW,KADnB;AAEE,IAAA,GAAG,EAAC,GAFN;AAGE,IAAA,IAAI,EAAC,MAHP;AAIE,IAAA,MAAM,EAAC,SAJT;AAKE,IAAA,QAAQ,EAAE,MAAM,IALlB;AAME,IAAA,WAAW,EAAEF,WANf;AAOE,IAAA,MAAM,EAAEC,UAPV;AAQE,IAAA,WAAW,EAAEA;AARf;AAZW,CAAf","sourcesContent":["import React from 'react';\nimport style from '../../../image-upload/style.css';\n\nexport default {\n props: {\n previewContent: {\n type: 'image',\n src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491560495763.svg'\n },\n title: 'Desktop (*)',\n displayName: 'Upload image',\n uploadLabel: 'Upload'\n },\n // eslint-disable-next-line react/display-name\n children: (onDragStart, onDragStop) => (\n <input\n className={style.input}\n key=\"1\"\n type=\"file\"\n accept=\"image*/\"\n onChange={() => true}\n onDragEnter={onDragStart}\n onDrop={onDragStop}\n onDragLeave={onDragStop}\n />\n )\n};\n"],"file":"with-children.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/with-children.js"],"names":["React","style","props","modified","previewContent","type","src","title","displayName","uploadLabel","children","onDragStart","onDragStop","input"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,KAAP,MAAkB,iCAAlB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE,IADL;AAELC,IAAAA,cAAc,EAAE;AACdC,MAAAA,IAAI,EAAE,OADQ;AAEdC,MAAAA,GAAG,EAAE;AAFS,KAFX;AAMLC,IAAAA,KAAK,EAAE,aANF;AAOLC,IAAAA,WAAW,EAAE,cAPR;AAQLC,IAAAA,WAAW,EAAE;AARR,GADM;AAWb;AACAC,EAAAA,QAAQ,EAAE,CAACC,WAAD,EAAcC,UAAd,kBACR;AACE,IAAA,SAAS,EAAEX,KAAK,CAACY,KADnB;AAEE,IAAA,GAAG,EAAC,GAFN;AAGE,IAAA,IAAI,EAAC,MAHP;AAIE,IAAA,MAAM,EAAC,SAJT;AAKE,IAAA,QAAQ,EAAE,MAAM,IALlB;AAME,IAAA,WAAW,EAAEF,WANf;AAOE,IAAA,MAAM,EAAEC,UAPV;AAQE,IAAA,WAAW,EAAEA;AARf;AAbW,CAAf","sourcesContent":["import React from 'react';\nimport style from '../../../image-upload/style.css';\n\nexport default {\n props: {\n modified: true,\n previewContent: {\n type: 'image',\n src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491560495763.svg'\n },\n title: 'Desktop (*)',\n displayName: 'Upload image',\n uploadLabel: 'Upload'\n },\n // eslint-disable-next-line react/display-name\n children: (onDragStart, onDragStop) => (\n <input\n className={style.input}\n key=\"1\"\n type=\"file\"\n accept=\"image*/\"\n onChange={() => true}\n onDragEnter={onDragStart}\n onDrop={onDragStop}\n onDragLeave={onDragStop}\n />\n )\n};\n"],"file":"with-children.js"}
@@ -1,12 +1,13 @@
1
1
  export default {
2
2
  props: {
3
+ modified: true,
3
4
  title: 'Drag & Drop With Image',
4
5
  description: 'Drag and drop component with an image',
5
6
  uploadLabel: 'Upload Image(s)',
6
7
  previewLabel: 'File Preview',
7
8
  previewContent: {
8
9
  type: 'image',
9
- src: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg'
10
+ src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491560495763.svg'
10
11
  }
11
12
  }
12
13
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/with-image.js"],"names":["props","title","description","uploadLabel","previewLabel","previewContent","type","src"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,wBADF;AAELC,IAAAA,WAAW,EAAE,uCAFR;AAGLC,IAAAA,WAAW,EAAE,iBAHR;AAILC,IAAAA,YAAY,EAAE,cAJT;AAKLC,IAAAA,cAAc,EAAE;AACdC,MAAAA,IAAI,EAAE,OADQ;AAEdC,MAAAA,GAAG,EAAE;AAFS;AALX;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Drag & Drop With Image',\n description: 'Drag and drop component with an image',\n uploadLabel: 'Upload Image(s)',\n previewLabel: 'File Preview',\n previewContent: {\n type: 'image',\n src: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491560713685.svg'\n }\n }\n};\n"],"file":"with-image.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/with-image.js"],"names":["props","modified","title","description","uploadLabel","previewLabel","previewContent","type","src"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE,IADL;AAELC,IAAAA,KAAK,EAAE,wBAFF;AAGLC,IAAAA,WAAW,EAAE,uCAHR;AAILC,IAAAA,WAAW,EAAE,iBAJR;AAKLC,IAAAA,YAAY,EAAE,cALT;AAMLC,IAAAA,cAAc,EAAE;AACdC,MAAAA,IAAI,EAAE,OADQ;AAEdC,MAAAA,GAAG,EAAE;AAFS;AANX;AADM,CAAf","sourcesContent":["export default {\n props: {\n modified: true,\n title: 'Drag & Drop With Image',\n description: 'Drag and drop component with an image',\n uploadLabel: 'Upload Image(s)',\n previewLabel: 'File Preview',\n previewContent: {\n type: 'image',\n src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491560495763.svg'\n }\n }\n};\n"],"file":"with-image.js"}
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  props: {
3
+ modified: true,
3
4
  title: 'Drag & Drop',
4
5
  description: 'Drag and drop component with a video',
5
6
  uploadLabel: 'Upload',
@@ -7,7 +8,8 @@ export default {
7
8
  previewContent: {
8
9
  type: 'video',
9
10
  src: 'https://www.w3schools.com/tags/movie.mp4'
10
- }
11
+ },
12
+ onReset: () => console.log('reset')
11
13
  }
12
14
  };
13
15
  //# sourceMappingURL=with-video.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/with-video.js"],"names":["props","title","description","uploadLabel","previewLabel","previewContent","type","src"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,aADF;AAELC,IAAAA,WAAW,EAAE,sCAFR;AAGLC,IAAAA,WAAW,EAAE,QAHR;AAILC,IAAAA,YAAY,EAAE,cAJT;AAKLC,IAAAA,cAAc,EAAE;AACdC,MAAAA,IAAI,EAAE,OADQ;AAEdC,MAAAA,GAAG,EAAE;AAFS;AALX;AADM,CAAf","sourcesContent":["export default {\n props: {\n title: 'Drag & Drop',\n description: 'Drag and drop component with a video',\n uploadLabel: 'Upload',\n previewLabel: 'File Preview',\n previewContent: {\n type: 'video',\n src: 'https://www.w3schools.com/tags/movie.mp4'\n }\n }\n};\n"],"file":"with-video.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/with-video.js"],"names":["props","modified","title","description","uploadLabel","previewLabel","previewContent","type","src","onReset","console","log"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE,IADL;AAELC,IAAAA,KAAK,EAAE,aAFF;AAGLC,IAAAA,WAAW,EAAE,sCAHR;AAILC,IAAAA,WAAW,EAAE,QAJR;AAKLC,IAAAA,YAAY,EAAE,cALT;AAMLC,IAAAA,cAAc,EAAE;AACdC,MAAAA,IAAI,EAAE,OADQ;AAEdC,MAAAA,GAAG,EAAE;AAFS,KANX;AAULC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAVV;AADM,CAAf","sourcesContent":["export default {\n props: {\n modified: true,\n title: 'Drag & Drop',\n description: 'Drag and drop component with a video',\n uploadLabel: 'Upload',\n previewLabel: 'File Preview',\n previewContent: {\n type: 'video',\n src: 'https://www.w3schools.com/tags/movie.mp4'\n },\n onReset: () => console.log('reset')\n }\n};\n"],"file":"with-video.js"}
@@ -0,0 +1,9 @@
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 props from './default';
4
+ export default {
5
+ props: _extends(_extends({}, props.props), {}, {
6
+ description: 'Max file size: 5MO. Recommended format: SVG (if your client uses a majority of IE, use PNG format instead). Recommended aspect ratio : horizontal 2:1 (e.g. 500px x 250px). Maximum recommended aspect ratio 1:1 (e.g. 500x500, which means that it should not be taller than its width).'
7
+ })
8
+ };
9
+ //# sourceMappingURL=withLongDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/drag-and-drop/test/fixtures/withLongDescription.js"],"names":["props","description"],"mappings":";;AACA,OAAOA,KAAP,MAAkB,WAAlB;AAEA,eAAe;AACXA,EAAAA,KAAK,wBACEA,KAAK,CAACA,KADR;AAEDC,IAAAA,WAAW,EAAE;AAFZ;AADM,CAAf","sourcesContent":["\nimport props from './default';\n\nexport default {\n props: {\n ...props.props,\n description: 'Max file size: 5MO. Recommended format: SVG (if your client uses a majority of IE, use PNG format instead). Recommended aspect ratio : horizontal 2:1 (e.g. 500px x 250px). Maximum recommended aspect ratio 1:1 (e.g. 500x500, which means that it should not be taller than its width).'\n }\n}\n"],"file":"withLongDescription.js"}
@@ -8,6 +8,7 @@ import fixtureWithChildren from './fixtures/with-children';
8
8
  import fixtureWithImageReset from './fixtures/with-image-reset';
9
9
  import fixtureWithImage from './fixtures/with-image';
10
10
  import fixtureWithVideo from './fixtures/with-video';
11
+ import fixtureWithLongDescription from './fixtures/withLongDescription';
11
12
  test('Atom › AtomDragAndDrop > should have valid propTypes', t => {
12
13
  t.pass();
13
14
  forEach(AtomDragAndDrop.propTypes, (value, key) => {
@@ -20,4 +21,5 @@ test('Atom › AtomDragAndDrop › WithChildren › should be rendered', renderC
20
21
  test('Atom › AtomDragAndDrop › WithImageReset › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImageReset);
21
22
  test('Atom › AtomDragAndDrop › WithImage › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImage);
22
23
  test('Atom › AtomDragAndDrop › WithVideo › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithVideo);
24
+ test('Atom › AtomDragAndDrop › WithLongDescription › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithLongDescription);
23
25
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/atom/drag-and-drop/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomDragAndDrop","fixtureDefault","fixtureLoading","fixtureWithChildren","fixtureWithImageReset","fixtureWithImage","fixtureWithVideo","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,eAAP,MAA4B,IAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAT,IAAI,CAAC,sDAAD,EAAyDU,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,eAAe,CAACS,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGC,cAAjG,CAAJ;AACAJ,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGE,cAAjG,CAAJ;AACAL,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,eAArF,EAAsGG,mBAAtG,CAAJ;AACAN,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,eAAvF,EAAwGI,qBAAxG,CAAJ;AACAP,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGK,gBAAnG,CAAJ;AACAR,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGM,gBAAnG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomDragAndDrop from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureWithChildren from './fixtures/with-children';\nimport fixtureWithImageReset from './fixtures/with-image-reset';\nimport fixtureWithImage from './fixtures/with-image';\nimport fixtureWithVideo from './fixtures/with-video';\n\ntest('Atom › AtomDragAndDrop > should have valid propTypes', t => {\n t.pass();\n forEach(AtomDragAndDrop.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomDragAndDrop.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomDragAndDrop › Default › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureDefault);\ntest('Atom › AtomDragAndDrop › Loading › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureLoading);\ntest('Atom › AtomDragAndDrop › WithChildren › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithChildren);\ntest('Atom › AtomDragAndDrop › WithImageReset › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImageReset);\ntest('Atom › AtomDragAndDrop › WithImage › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImage);\ntest('Atom › AtomDragAndDrop › WithVideo › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithVideo);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/atom/drag-and-drop/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomDragAndDrop","fixtureDefault","fixtureLoading","fixtureWithChildren","fixtureWithImageReset","fixtureWithImage","fixtureWithVideo","fixtureWithLongDescription","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,eAAP,MAA4B,IAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AACA,OAAOC,0BAAP,MAAuC,gCAAvC;AAEAV,IAAI,CAAC,sDAAD,EAAyDW,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACAX,EAAAA,OAAO,CAACE,eAAe,CAACU,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAf,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGC,cAAjG,CAAJ;AACAJ,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGE,cAAjG,CAAJ;AACAL,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,eAArF,EAAsGG,mBAAtG,CAAJ;AACAN,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,eAAvF,EAAwGI,qBAAxG,CAAJ;AACAP,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGK,gBAAnG,CAAJ;AACAR,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGM,gBAAnG,CAAJ;AACAT,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,eAA5F,EAA6GO,0BAA7G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomDragAndDrop from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureWithChildren from './fixtures/with-children';\nimport fixtureWithImageReset from './fixtures/with-image-reset';\nimport fixtureWithImage from './fixtures/with-image';\nimport fixtureWithVideo from './fixtures/with-video';\nimport fixtureWithLongDescription from './fixtures/withLongDescription';\n\ntest('Atom › AtomDragAndDrop > should have valid propTypes', t => {\n t.pass();\n forEach(AtomDragAndDrop.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomDragAndDrop.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomDragAndDrop › Default › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureDefault);\ntest('Atom › AtomDragAndDrop › Loading › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureLoading);\ntest('Atom › AtomDragAndDrop › WithChildren › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithChildren);\ntest('Atom › AtomDragAndDrop › WithImageReset › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImageReset);\ntest('Atom › AtomDragAndDrop › WithImage › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithImage);\ntest('Atom › AtomDragAndDrop › WithVideo › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithVideo);\ntest('Atom › AtomDragAndDrop › WithLongDescription › should be rendered', renderComponentMacro, AtomDragAndDrop, fixtureWithLongDescription);\n"],"file":"fixtures.js"}
@@ -0,0 +1,13 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import AtomEmptySearchResult from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ test('Atom › AtomEmptySearchResult > should have valid propTypes', t => {
7
+ t.pass();
8
+ forEach(AtomEmptySearchResult.propTypes, (value, key) => {
9
+ t.not(value, undefined, `PropType for "Atom.AtomEmptySearchResult.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
10
+ });
11
+ });
12
+ test('Atom › AtomEmptySearchResult › Default › should be rendered', renderComponentMacro, AtomEmptySearchResult, fixtureDefault);
13
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/atom/empty-search-result/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomEmptySearchResult","fixtureDefault","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,qBAAP,MAAkC,IAAlC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,4DAAD,EAA+DK,CAAC,IAAI;AACtEA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,qBAAqB,CAACI,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,sDAAqDF,GAAI,mEAAlF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,6DAAD,EAAgEE,oBAAhE,EAAsFC,qBAAtF,EAA6GC,cAA7G,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomEmptySearchResult from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('Atom › AtomEmptySearchResult > should have valid propTypes', t => {\n t.pass();\n forEach(AtomEmptySearchResult.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomEmptySearchResult.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomEmptySearchResult › Default › should be rendered', renderComponentMacro, AtomEmptySearchResult, fixtureDefault);\n"],"file":"fixtures.js"}
@@ -2,6 +2,7 @@ import test from 'ava';
2
2
  import forEach from 'lodash/forEach';
3
3
  import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import AtomInputCheckbox from '..';
5
+ import fixtureCheckedDisabled from './fixtures/checked-disabled';
5
6
  import fixtureChecked from './fixtures/checked';
6
7
  import fixtureDefault from './fixtures/default';
7
8
  import fixtureDisabled from './fixtures/disabled';
@@ -14,6 +15,7 @@ test('Atom › AtomInputCheckbox > should have valid propTypes', t => {
14
15
  t.not(value, undefined, `PropType for "Atom.AtomInputCheckbox.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
15
16
  });
16
17
  });
18
+ test('Atom › AtomInputCheckbox › CheckedDisabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureCheckedDisabled);
17
19
  test('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);
18
20
  test('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);
19
21
  test('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputCheckbox","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","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,iBAAP,MAA8B,IAA9B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAT,IAAI,CAAC,wDAAD,EAA2DU,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,iBAAiB,CAACS,SAAnB,EAA8B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGC,cAArG,CAAJ;AACAJ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGE,cAArG,CAAJ;AACAL,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGG,eAAtG,CAAJ;AACAN,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,iBAAhF,EAAmGI,YAAnG,CAAJ;AACAP,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGK,eAAtG,CAAJ;AACAR,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGM,eAAtG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputCheckbox from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureError from './fixtures/error';\nimport fixtureModified from './fixtures/modified';\nimport fixtureRequired from './fixtures/required';\n\ntest('Atom › AtomInputCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);\ntest('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);\ntest('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);\ntest('Atom › AtomInputCheckbox › Error › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureError);\ntest('Atom › AtomInputCheckbox › Modified › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureModified);\ntest('Atom › AtomInputCheckbox › Required › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureRequired);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputCheckbox","fixtureCheckedDisabled","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","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,iBAAP,MAA8B,IAA9B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAV,IAAI,CAAC,wDAAD,EAA2DW,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACAX,EAAAA,OAAO,CAACE,iBAAiB,CAACU,SAAnB,EAA8B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAf,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,iBAA1F,EAA6GC,sBAA7G,CAAJ;AACAJ,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGE,cAArG,CAAJ;AACAL,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,iBAAlF,EAAqGG,cAArG,CAAJ;AACAN,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGI,eAAtG,CAAJ;AACAP,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,iBAAhF,EAAmGK,YAAnG,CAAJ;AACAR,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGM,eAAtG,CAAJ;AACAT,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,iBAAnF,EAAsGO,eAAtG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputCheckbox from '..';\nimport fixtureCheckedDisabled from './fixtures/checked-disabled';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureError from './fixtures/error';\nimport fixtureModified from './fixtures/modified';\nimport fixtureRequired from './fixtures/required';\n\ntest('Atom › AtomInputCheckbox > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputCheckbox.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputCheckbox.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputCheckbox › CheckedDisabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureCheckedDisabled);\ntest('Atom › AtomInputCheckbox › Checked › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureChecked);\ntest('Atom › AtomInputCheckbox › Default › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDefault);\ntest('Atom › AtomInputCheckbox › Disabled › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureDisabled);\ntest('Atom › AtomInputCheckbox › Error › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureError);\ntest('Atom › AtomInputCheckbox › Modified › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureModified);\ntest('Atom › AtomInputCheckbox › Required › should be rendered', renderComponentMacro, AtomInputCheckbox, fixtureRequired);\n"],"file":"fixtures.js"}
@@ -0,0 +1,19 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import AtomInputSearch from '..';
5
+ import fixtureCoorpmanagerWithValue from './fixtures/coorpmanager-with-value';
6
+ import fixtureCoorpmanager from './fixtures/coorpmanager';
7
+ import fixtureDefault from './fixtures/default';
8
+ import fixtureWithValue from './fixtures/with-value';
9
+ test('Atom › AtomInputSearch > should have valid propTypes', t => {
10
+ t.pass();
11
+ forEach(AtomInputSearch.propTypes, (value, key) => {
12
+ t.not(value, undefined, `PropType for "Atom.AtomInputSearch.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
13
+ });
14
+ });
15
+ test('Atom › AtomInputSearch › CoorpmanagerWithValue › should be rendered', renderComponentMacro, AtomInputSearch, fixtureCoorpmanagerWithValue);
16
+ test('Atom › AtomInputSearch › Coorpmanager › should be rendered', renderComponentMacro, AtomInputSearch, fixtureCoorpmanager);
17
+ test('Atom › AtomInputSearch › Default › should be rendered', renderComponentMacro, AtomInputSearch, fixtureDefault);
18
+ test('Atom › AtomInputSearch › WithValue › should be rendered', renderComponentMacro, AtomInputSearch, fixtureWithValue);
19
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/atom/input-search/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputSearch","fixtureCoorpmanagerWithValue","fixtureCoorpmanager","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,eAAP,MAA4B,IAA5B;AACA,OAAOC,4BAAP,MAAyC,oCAAzC;AACA,OAAOC,mBAAP,MAAgC,yBAAhC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAP,IAAI,CAAC,sDAAD,EAAyDQ,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACAR,EAAAA,OAAO,CAACE,eAAe,CAACO,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAZ,IAAI,CAAC,qEAAD,EAAwEE,oBAAxE,EAA8FC,eAA9F,EAA+GC,4BAA/G,CAAJ;AACAJ,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,eAArF,EAAsGE,mBAAtG,CAAJ;AACAL,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGG,cAAjG,CAAJ;AACAN,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGI,gBAAnG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputSearch from '..';\nimport fixtureCoorpmanagerWithValue from './fixtures/coorpmanager-with-value';\nimport fixtureCoorpmanager from './fixtures/coorpmanager';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Atom › AtomInputSearch > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputSearch › CoorpmanagerWithValue › should be rendered', renderComponentMacro, AtomInputSearch, fixtureCoorpmanagerWithValue);\ntest('Atom › AtomInputSearch › Coorpmanager › should be rendered', renderComponentMacro, AtomInputSearch, fixtureCoorpmanager);\ntest('Atom › AtomInputSearch › Default › should be rendered', renderComponentMacro, AtomInputSearch, fixtureDefault);\ntest('Atom › AtomInputSearch › WithValue › should be rendered', renderComponentMacro, AtomInputSearch, fixtureWithValue);\n"],"file":"fixtures.js"}
@@ -3,6 +3,11 @@ import forEach from 'lodash/forEach';
3
3
  import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import AtomInputSwitch from '..';
5
5
  import fixtureChecked from './fixtures/checked';
6
+ import fixtureCmLeft from './fixtures/cm-left';
7
+ import fixtureCmRightChecked from './fixtures/cm-right-checked';
8
+ import fixtureCmRightDisabled from './fixtures/cm-right-disabled';
9
+ import fixtureCmRightModified from './fixtures/cm-right-modified';
10
+ import fixtureCmRight from './fixtures/cm-right';
6
11
  import fixtureDisabled from './fixtures/disabled';
7
12
  import fixtureModified from './fixtures/modified';
8
13
  import fixtureNoTitle from './fixtures/no-title';
@@ -15,6 +20,11 @@ test('Atom › AtomInputSwitch > should have valid propTypes', t => {
15
20
  });
16
21
  });
17
22
  test('Atom › AtomInputSwitch › Checked › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureChecked);
23
+ test('Atom › AtomInputSwitch › CmLeft › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmLeft);
24
+ test('Atom › AtomInputSwitch › CmRightChecked › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRightChecked);
25
+ test('Atom › AtomInputSwitch › CmRightDisabled › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRightDisabled);
26
+ test('Atom › AtomInputSwitch › CmRightModified › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRightModified);
27
+ test('Atom › AtomInputSwitch › CmRight › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRight);
18
28
  test('Atom › AtomInputSwitch › Disabled › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureDisabled);
19
29
  test('Atom › AtomInputSwitch › Modified › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureModified);
20
30
  test('Atom › AtomInputSwitch › NoTitle › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureNoTitle);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/atom/input-switch/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputSwitch","fixtureChecked","fixtureDisabled","fixtureModified","fixtureNoTitle","fixtureSso","fixtureUnchecked","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,eAAP,MAA4B,IAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AAEAT,IAAI,CAAC,sDAAD,EAAyDU,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,eAAe,CAACS,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGC,cAAjG,CAAJ;AACAJ,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,eAAjF,EAAkGE,eAAlG,CAAJ;AACAL,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,eAAjF,EAAkGG,eAAlG,CAAJ;AACAN,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGI,cAAjG,CAAJ;AACAP,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,eAA5E,EAA6FK,UAA7F,CAAJ;AACAR,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGM,gBAAnG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputSwitch from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureModified from './fixtures/modified';\nimport fixtureNoTitle from './fixtures/no-title';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUnchecked from './fixtures/unchecked';\n\ntest('Atom › AtomInputSwitch > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputSwitch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputSwitch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputSwitch › Checked › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureChecked);\ntest('Atom › AtomInputSwitch › Disabled › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureDisabled);\ntest('Atom › AtomInputSwitch › Modified › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureModified);\ntest('Atom › AtomInputSwitch › NoTitle › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureNoTitle);\ntest('Atom › AtomInputSwitch › Sso › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureSso);\ntest('Atom › AtomInputSwitch › Unchecked › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureUnchecked);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/atom/input-switch/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputSwitch","fixtureChecked","fixtureCmLeft","fixtureCmRightChecked","fixtureCmRightDisabled","fixtureCmRightModified","fixtureCmRight","fixtureDisabled","fixtureModified","fixtureNoTitle","fixtureSso","fixtureUnchecked","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,eAAP,MAA4B,IAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,aAAP,MAA0B,oBAA1B;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AACA,OAAOC,sBAAP,MAAmC,8BAAnC;AACA,OAAOC,sBAAP,MAAmC,8BAAnC;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,cAAP,MAA2B,qBAA3B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AAEAd,IAAI,CAAC,sDAAD,EAAyDe,CAAC,IAAI;AAChEA,EAAAA,CAAC,CAACC,IAAF;AACAf,EAAAA,OAAO,CAACE,eAAe,CAACc,SAAjB,EAA4B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACjDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gDAA+CF,GAAI,mEAA5E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAnB,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGC,cAAjG,CAAJ;AACAJ,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,eAA/E,EAAgGE,aAAhG,CAAJ;AACAL,IAAI,CAAC,8DAAD,EAAiEE,oBAAjE,EAAuFC,eAAvF,EAAwGG,qBAAxG,CAAJ;AACAN,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,eAAxF,EAAyGI,sBAAzG,CAAJ;AACAP,IAAI,CAAC,+DAAD,EAAkEE,oBAAlE,EAAwFC,eAAxF,EAAyGK,sBAAzG,CAAJ;AACAR,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGM,cAAjG,CAAJ;AACAT,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,eAAjF,EAAkGO,eAAlG,CAAJ;AACAV,IAAI,CAAC,wDAAD,EAA2DE,oBAA3D,EAAiFC,eAAjF,EAAkGQ,eAAlG,CAAJ;AACAX,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,eAAhF,EAAiGS,cAAjG,CAAJ;AACAZ,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,eAA5E,EAA6FU,UAA7F,CAAJ;AACAb,IAAI,CAAC,yDAAD,EAA4DE,oBAA5D,EAAkFC,eAAlF,EAAmGW,gBAAnG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputSwitch from '..';\nimport fixtureChecked from './fixtures/checked';\nimport fixtureCmLeft from './fixtures/cm-left';\nimport fixtureCmRightChecked from './fixtures/cm-right-checked';\nimport fixtureCmRightDisabled from './fixtures/cm-right-disabled';\nimport fixtureCmRightModified from './fixtures/cm-right-modified';\nimport fixtureCmRight from './fixtures/cm-right';\nimport fixtureDisabled from './fixtures/disabled';\nimport fixtureModified from './fixtures/modified';\nimport fixtureNoTitle from './fixtures/no-title';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUnchecked from './fixtures/unchecked';\n\ntest('Atom › AtomInputSwitch > should have valid propTypes', t => {\n t.pass();\n forEach(AtomInputSwitch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Atom.AtomInputSwitch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Atom › AtomInputSwitch › Checked › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureChecked);\ntest('Atom › AtomInputSwitch › CmLeft › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmLeft);\ntest('Atom › AtomInputSwitch › CmRightChecked › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRightChecked);\ntest('Atom › AtomInputSwitch › CmRightDisabled › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRightDisabled);\ntest('Atom › AtomInputSwitch › CmRightModified › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRightModified);\ntest('Atom › AtomInputSwitch › CmRight › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureCmRight);\ntest('Atom › AtomInputSwitch › Disabled › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureDisabled);\ntest('Atom › AtomInputSwitch › Modified › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureModified);\ntest('Atom › AtomInputSwitch › NoTitle › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureNoTitle);\ntest('Atom › AtomInputSwitch › Sso › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureSso);\ntest('Atom › AtomInputSwitch › Unchecked › should be rendered', renderComponentMacro, AtomInputSwitch, fixtureUnchecked);\n"],"file":"fixtures.js"}
@@ -2,6 +2,7 @@ import test from 'ava';
2
2
  import forEach from 'lodash/forEach';
3
3
  import renderComponentMacro from '../../../test/helpers/render-component';
4
4
  import AtomInputText from '..';
5
+ import fixtureCmDefault from './fixtures/cm-default';
5
6
  import fixtureDefault from './fixtures/default';
6
7
  import fixtureDisabled from './fixtures/disabled';
7
8
  import fixtureEmpty from './fixtures/empty';
@@ -15,6 +16,7 @@ test('Atom › AtomInputText > should have valid propTypes', t => {
15
16
  t.not(value, undefined, `PropType for "Atom.AtomInputText.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
16
17
  });
17
18
  });
19
+ test('Atom › AtomInputText › CmDefault › should be rendered', renderComponentMacro, AtomInputText, fixtureCmDefault);
18
20
  test('Atom › AtomInputText › Default › should be rendered', renderComponentMacro, AtomInputText, fixtureDefault);
19
21
  test('Atom › AtomInputText › Disabled › should be rendered', renderComponentMacro, AtomInputText, fixtureDisabled);
20
22
  test('Atom › AtomInputText › Empty › should be rendered', renderComponentMacro, AtomInputText, fixtureEmpty);
@@ -1 +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
+ {"version":3,"sources":["../../../../src/atom/input-text/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","AtomInputText","fixtureCmDefault","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,gBAAP,MAA6B,uBAA7B;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;AAEAX,IAAI,CAAC,oDAAD,EAAuDY,CAAC,IAAI;AAC9DA,EAAAA,CAAC,CAACC,IAAF;AACAZ,EAAAA,OAAO,CAACE,aAAa,CAACW,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;AAOAhB,IAAI,CAAC,uDAAD,EAA0DE,oBAA1D,EAAgFC,aAAhF,EAA+FC,gBAA/F,CAAJ;AACAJ,IAAI,CAAC,qDAAD,EAAwDE,oBAAxD,EAA8EC,aAA9E,EAA6FE,cAA7F,CAAJ;AACAL,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,aAA/E,EAA8FG,eAA9F,CAAJ;AACAN,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,aAA5E,EAA2FI,YAA3F,CAAJ;AACAP,IAAI,CAAC,mDAAD,EAAsDE,oBAAtD,EAA4EC,aAA5E,EAA2FK,YAA3F,CAAJ;AACAR,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,aAA/E,EAA8FM,eAA9F,CAAJ;AACAT,IAAI,CAAC,qDAAD,EAAwDE,oBAAxD,EAA8EC,aAA9E,EAA6FO,cAA7F,CAAJ;AACAV,IAAI,CAAC,sDAAD,EAAyDE,oBAAzD,EAA+EC,aAA/E,EAA8FQ,eAA9F,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport AtomInputText from '..';\nimport fixtureCmDefault from './fixtures/cm-default';\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 › CmDefault › should be rendered', renderComponentMacro, AtomInputText, fixtureCmDefault);\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"}
@@ -0,0 +1,35 @@
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 InputText from '../input-text';
6
+ import style from './style.css';
7
+
8
+ const InputTextWithTitle = props => {
9
+ const {
10
+ inputText,
11
+ title,
12
+ 'data-name': dataName,
13
+ 'aria-label': ariaLabel
14
+ } = props;
15
+ return /*#__PURE__*/React.createElement("div", {
16
+ className: style.container,
17
+ "data-name": dataName,
18
+ "aria-label": ariaLabel
19
+ }, /*#__PURE__*/React.createElement("span", {
20
+ className: style.title
21
+ }, title), /*#__PURE__*/React.createElement("div", {
22
+ className: style.inputText
23
+ }, /*#__PURE__*/React.createElement(InputText, inputText)));
24
+ };
25
+
26
+ InputTextWithTitle.propTypes = process.env.NODE_ENV !== "production" ? {
27
+ inputText: PropTypes.shape(_extends(_extends({}, InputText.propTypes), {}, {
28
+ theme: PropTypes.string
29
+ })),
30
+ title: PropTypes.string,
31
+ 'aria-label': PropTypes.string,
32
+ 'data-name': PropTypes.string
33
+ } : {};
34
+ export default InputTextWithTitle;
35
+ //# sourceMappingURL=index.js.map