@coorpacademy/components 10.1.0 → 10.1.4

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 (330) hide show
  1. package/es/atom/button/index.js +3 -1
  2. package/es/atom/button/index.js.map +1 -1
  3. package/es/atom/button-link/index.js +107 -0
  4. package/es/atom/button-link/index.js.map +1 -0
  5. package/es/atom/button-link/style.css +97 -0
  6. package/es/atom/button-link/test/fixtures/button-dangerous-no-icon.js +10 -0
  7. package/es/atom/button-link/test/fixtures/button-dangerous-no-icon.js.map +1 -0
  8. package/es/atom/button-link/test/fixtures/button-primary-icon-left.js +14 -0
  9. package/es/atom/button-link/test/fixtures/button-primary-icon-left.js.map +1 -0
  10. package/es/atom/button-link/test/fixtures/button-primary-no-icon.js +10 -0
  11. package/es/atom/button-link/test/fixtures/button-primary-no-icon.js.map +1 -0
  12. package/es/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js +11 -0
  13. package/es/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js.map +1 -0
  14. package/es/atom/button-link/test/fixtures/button-tertiary-icon-left.js +14 -0
  15. package/es/atom/button-link/test/fixtures/button-tertiary-icon-left.js.map +1 -0
  16. package/es/atom/button-link/test/fixtures/icon-button.js +13 -0
  17. package/es/atom/button-link/test/fixtures/icon-button.js.map +1 -0
  18. package/es/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js +17 -0
  19. package/es/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js.map +1 -0
  20. package/es/atom/button-link/test/fixtures/link-secondary-icon-right.js +20 -0
  21. package/es/atom/button-link/test/fixtures/link-secondary-icon-right.js.map +1 -0
  22. package/es/atom/button-link/test/fixtures/link-tertiary-no-icon.js +16 -0
  23. package/es/atom/button-link/test/fixtures/link-tertiary-no-icon.js.map +1 -0
  24. package/es/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js +17 -0
  25. package/es/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js.map +1 -0
  26. package/es/atom/button-link/test/fixtures/link-text-no-icon-download.js +13 -0
  27. package/es/atom/button-link/test/fixtures/link-text-no-icon-download.js.map +1 -0
  28. package/es/atom/content-badge/index.js +4 -4
  29. package/es/atom/content-badge/index.js.map +1 -1
  30. package/es/atom/input-checkbox/test/fixtures.js +0 -2
  31. package/es/atom/input-checkbox/test/fixtures.js.map +1 -1
  32. package/es/atom/input-search/index.js +65 -0
  33. package/es/atom/input-search/index.js.map +1 -0
  34. package/es/atom/input-search/style.css +201 -0
  35. package/es/{molecule/search → atom/input-search}/test/change.js +0 -0
  36. package/es/atom/input-search/test/change.js.map +1 -0
  37. package/es/atom/input-search/test/fixtures/coorpmanager-with-value.js +14 -0
  38. package/es/atom/input-search/test/fixtures/coorpmanager-with-value.js.map +1 -0
  39. package/es/atom/input-search/test/fixtures/coorpmanager.js +13 -0
  40. package/es/atom/input-search/test/fixtures/coorpmanager.js.map +1 -0
  41. package/es/{molecule/search → atom/input-search}/test/fixtures/default.js +0 -0
  42. package/es/atom/input-search/test/fixtures/default.js.map +1 -0
  43. package/es/{molecule/search → atom/input-search}/test/fixtures/with-value.js +0 -0
  44. package/es/atom/input-search/test/fixtures/with-value.js.map +1 -0
  45. package/es/atom/input-text/index.js +34 -6
  46. package/es/atom/input-text/index.js.map +1 -1
  47. package/es/atom/input-text/style.css +229 -1
  48. package/es/atom/input-text/test/fixtures/cm-default.js +17 -0
  49. package/es/atom/input-text/test/fixtures/cm-default.js.map +1 -0
  50. package/es/atom/input-textarea/index.js +36 -11
  51. package/es/atom/input-textarea/index.js.map +1 -1
  52. package/es/atom/input-textarea/style.css +265 -0
  53. package/es/atom/input-textarea/test/fixtures/cm-default.js +17 -0
  54. package/es/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
  55. package/es/atom/input-textarea/test/fixtures/cm-empty.js +17 -0
  56. package/es/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
  57. package/es/atom/tag/index.js +27 -0
  58. package/es/atom/tag/index.js.map +1 -0
  59. package/es/atom/tag/style.css +38 -0
  60. package/es/atom/tag/test/fixtures/archived.js +7 -0
  61. package/es/atom/tag/test/fixtures/archived.js.map +1 -0
  62. package/es/atom/tag/test/fixtures/default.js +7 -0
  63. package/es/atom/tag/test/fixtures/default.js.map +1 -0
  64. package/es/atom/tag/test/fixtures/published.js +7 -0
  65. package/es/atom/tag/test/fixtures/published.js.map +1 -0
  66. package/es/atom/tag/test/fixtures/revision.js +7 -0
  67. package/es/atom/tag/test/fixtures/revision.js.map +1 -0
  68. package/es/atom/title/test/fixtures.js +2 -6
  69. package/es/atom/title/test/fixtures.js.map +1 -1
  70. package/es/molecule/banner/index.js +46 -0
  71. package/es/molecule/banner/index.js.map +1 -0
  72. package/es/molecule/banner/style.css +63 -0
  73. package/es/molecule/banner/test/fixtures/default.js +11 -0
  74. package/es/molecule/banner/test/fixtures/default.js.map +1 -0
  75. package/es/molecule/banner/test/fixtures/error-banner.js +7 -0
  76. package/es/molecule/banner/test/fixtures/error-banner.js.map +1 -0
  77. package/es/molecule/brand-form-group/test/fixtures/cm-default.js +51 -0
  78. package/es/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
  79. package/es/molecule/brand-form-group/test/fixtures/default.js +12 -3
  80. package/es/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
  81. package/es/molecule/card/index.js +16 -5
  82. package/es/molecule/card/index.js.map +1 -1
  83. package/es/molecule/card/selectable.css +71 -0
  84. package/es/molecule/card/selectable.js +32 -0
  85. package/es/molecule/card/selectable.js.map +1 -0
  86. package/es/molecule/card/test/fixtures/default.js +1 -0
  87. package/es/molecule/card/test/fixtures/default.js.map +1 -1
  88. package/es/molecule/card/test/fixtures/selectable-false.js +16 -0
  89. package/es/molecule/card/test/fixtures/selectable-false.js.map +1 -0
  90. package/es/molecule/card/test/fixtures/selectable-true.js +17 -0
  91. package/es/molecule/card/test/fixtures/selectable-true.js.map +1 -0
  92. package/es/molecule/card-content/index.js +13 -3
  93. package/es/molecule/card-content/index.js.map +1 -1
  94. package/es/molecule/card-content/style.css +13 -3
  95. package/es/molecule/cm-popin/index.js +82 -0
  96. package/es/molecule/cm-popin/index.js.map +1 -0
  97. package/es/molecule/cm-popin/style.css +115 -0
  98. package/es/molecule/cm-popin/test/fixtures/dangerous.js +19 -0
  99. package/es/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
  100. package/es/molecule/cm-popin/test/fixtures/default.js +19 -0
  101. package/es/molecule/cm-popin/test/fixtures/default.js.map +1 -0
  102. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js +20 -0
  103. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
  104. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  105. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  106. package/es/molecule/search-form/index.js +1 -1
  107. package/es/molecule/search-form/index.js.map +1 -1
  108. package/es/molecule/wizard-summary/index.js +195 -0
  109. package/es/molecule/wizard-summary/index.js.map +1 -0
  110. package/es/molecule/wizard-summary/style.css +230 -0
  111. package/es/molecule/wizard-summary/test/fixtures/default.js +124 -0
  112. package/es/molecule/wizard-summary/test/fixtures/default.js.map +1 -0
  113. package/es/molecule/wizard-summary/test/fixtures/one-section.js +23 -0
  114. package/es/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -0
  115. package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js +118 -0
  116. package/es/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
  117. package/es/molecule/wizard-summary/test/fixtures/three-sections.js +42 -0
  118. package/es/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -0
  119. package/es/molecule/wizard-summary/test/fixtures/two-sections.js +35 -0
  120. package/es/molecule/wizard-summary/test/fixtures/two-sections.js.map +1 -0
  121. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -4
  122. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  123. package/es/organism/brand-dashboard/test/fixtures.js +10 -2
  124. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -1
  125. package/es/organism/brand-table/index.js +1 -1
  126. package/es/organism/brand-table/index.js.map +1 -1
  127. package/es/organism/mooc-header/index.js +1 -1
  128. package/es/organism/mooc-header/index.js.map +1 -1
  129. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  130. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  131. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  132. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  133. package/es/organism/user-preferences/style.css +1 -0
  134. package/es/template/back-office/brand-list/index.js +6 -2
  135. package/es/template/back-office/brand-list/index.js.map +1 -1
  136. package/es/template/back-office/brand-list/style.css +1 -0
  137. package/es/template/back-office/brand-update/test/fixtures.js +0 -2
  138. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  139. package/es/variables/colors.css +11 -3
  140. package/lib/atom/button/index.js +3 -1
  141. package/lib/atom/button/index.js.map +1 -1
  142. package/lib/atom/button-link/index.js +124 -0
  143. package/lib/atom/button-link/index.js.map +1 -0
  144. package/lib/atom/button-link/style.css +97 -0
  145. package/lib/atom/button-link/test/fixtures/button-dangerous-no-icon.js +15 -0
  146. package/lib/atom/button-link/test/fixtures/button-dangerous-no-icon.js.map +1 -0
  147. package/lib/atom/button-link/test/fixtures/button-primary-icon-left.js +19 -0
  148. package/lib/atom/button-link/test/fixtures/button-primary-icon-left.js.map +1 -0
  149. package/lib/atom/button-link/test/fixtures/button-primary-no-icon.js +15 -0
  150. package/lib/atom/button-link/test/fixtures/button-primary-no-icon.js.map +1 -0
  151. package/lib/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js +16 -0
  152. package/lib/atom/button-link/test/fixtures/button-secondary-no-icon-disabled.js.map +1 -0
  153. package/lib/atom/button-link/test/fixtures/button-tertiary-icon-left.js +19 -0
  154. package/lib/atom/button-link/test/fixtures/button-tertiary-icon-left.js.map +1 -0
  155. package/lib/atom/button-link/test/fixtures/icon-button.js +18 -0
  156. package/lib/atom/button-link/test/fixtures/icon-button.js.map +1 -0
  157. package/lib/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js +22 -0
  158. package/lib/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js.map +1 -0
  159. package/lib/atom/button-link/test/fixtures/link-secondary-icon-right.js +25 -0
  160. package/lib/atom/button-link/test/fixtures/link-secondary-icon-right.js.map +1 -0
  161. package/lib/atom/button-link/test/fixtures/link-tertiary-no-icon.js +21 -0
  162. package/lib/atom/button-link/test/fixtures/link-tertiary-no-icon.js.map +1 -0
  163. package/lib/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js +22 -0
  164. package/lib/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js.map +1 -0
  165. package/lib/atom/button-link/test/fixtures/link-text-no-icon-download.js +18 -0
  166. package/lib/atom/button-link/test/fixtures/link-text-no-icon-download.js.map +1 -0
  167. package/lib/atom/content-badge/index.js +4 -4
  168. package/lib/atom/content-badge/index.js.map +1 -1
  169. package/lib/atom/input-checkbox/test/fixtures.js +0 -3
  170. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -1
  171. package/lib/{molecule/search → atom/input-search}/index.js +29 -18
  172. package/lib/atom/input-search/index.js.map +1 -0
  173. package/lib/atom/input-search/style.css +201 -0
  174. package/lib/{molecule/search → atom/input-search}/test/change.js +0 -0
  175. package/lib/atom/input-search/test/change.js.map +1 -0
  176. package/lib/atom/input-search/test/fixtures/coorpmanager-with-value.js +19 -0
  177. package/lib/atom/input-search/test/fixtures/coorpmanager-with-value.js.map +1 -0
  178. package/lib/atom/input-search/test/fixtures/coorpmanager.js +18 -0
  179. package/lib/atom/input-search/test/fixtures/coorpmanager.js.map +1 -0
  180. package/lib/{molecule/search → atom/input-search}/test/fixtures/default.js +0 -0
  181. package/lib/atom/input-search/test/fixtures/default.js.map +1 -0
  182. package/lib/{molecule/search → atom/input-search}/test/fixtures/with-value.js +0 -0
  183. package/lib/atom/input-search/test/fixtures/with-value.js.map +1 -0
  184. package/lib/atom/input-text/index.js +36 -6
  185. package/lib/atom/input-text/index.js.map +1 -1
  186. package/lib/atom/input-text/style.css +229 -1
  187. package/lib/atom/input-text/test/fixtures/cm-default.js +22 -0
  188. package/lib/atom/input-text/test/fixtures/cm-default.js.map +1 -0
  189. package/lib/atom/input-textarea/index.js +38 -11
  190. package/lib/atom/input-textarea/index.js.map +1 -1
  191. package/lib/atom/input-textarea/style.css +265 -0
  192. package/lib/atom/input-textarea/test/fixtures/cm-default.js +22 -0
  193. package/lib/atom/input-textarea/test/fixtures/cm-default.js.map +1 -0
  194. package/lib/atom/input-textarea/test/fixtures/cm-empty.js +22 -0
  195. package/lib/atom/input-textarea/test/fixtures/cm-empty.js.map +1 -0
  196. package/lib/atom/tag/index.js +39 -0
  197. package/lib/atom/tag/index.js.map +1 -0
  198. package/lib/atom/tag/style.css +38 -0
  199. package/lib/atom/tag/test/fixtures/archived.js +12 -0
  200. package/lib/atom/tag/test/fixtures/archived.js.map +1 -0
  201. package/lib/atom/tag/test/fixtures/default.js +12 -0
  202. package/lib/atom/tag/test/fixtures/default.js.map +1 -0
  203. package/lib/atom/tag/test/fixtures/published.js +12 -0
  204. package/lib/atom/tag/test/fixtures/published.js.map +1 -0
  205. package/lib/atom/tag/test/fixtures/revision.js +12 -0
  206. package/lib/atom/tag/test/fixtures/revision.js.map +1 -0
  207. package/lib/atom/title/test/fixtures.js +2 -8
  208. package/lib/atom/title/test/fixtures.js.map +1 -1
  209. package/lib/molecule/banner/index.js +59 -0
  210. package/lib/molecule/banner/index.js.map +1 -0
  211. package/lib/molecule/banner/style.css +63 -0
  212. package/lib/molecule/banner/test/fixtures/default.js +16 -0
  213. package/lib/molecule/banner/test/fixtures/default.js.map +1 -0
  214. package/lib/molecule/banner/test/fixtures/error-banner.js +12 -0
  215. package/lib/molecule/banner/test/fixtures/error-banner.js.map +1 -0
  216. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js +56 -0
  217. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -0
  218. package/lib/molecule/brand-form-group/test/fixtures/default.js +12 -3
  219. package/lib/molecule/brand-form-group/test/fixtures/default.js.map +1 -1
  220. package/lib/molecule/card/index.js +17 -5
  221. package/lib/molecule/card/index.js.map +1 -1
  222. package/lib/molecule/card/selectable.css +71 -0
  223. package/lib/molecule/card/selectable.js +45 -0
  224. package/lib/molecule/card/selectable.js.map +1 -0
  225. package/lib/molecule/card/test/fixtures/default.js +1 -0
  226. package/lib/molecule/card/test/fixtures/default.js.map +1 -1
  227. package/lib/molecule/card/test/fixtures/selectable-false.js +26 -0
  228. package/lib/molecule/card/test/fixtures/selectable-false.js.map +1 -0
  229. package/lib/molecule/card/test/fixtures/selectable-true.js +27 -0
  230. package/lib/molecule/card/test/fixtures/selectable-true.js.map +1 -0
  231. package/lib/molecule/card-content/index.js +14 -3
  232. package/lib/molecule/card-content/index.js.map +1 -1
  233. package/lib/molecule/card-content/style.css +13 -3
  234. package/lib/molecule/cm-popin/index.js +94 -0
  235. package/lib/molecule/cm-popin/index.js.map +1 -0
  236. package/lib/molecule/cm-popin/style.css +115 -0
  237. package/lib/molecule/cm-popin/test/fixtures/dangerous.js +24 -0
  238. package/lib/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -0
  239. package/lib/molecule/cm-popin/test/fixtures/default.js +24 -0
  240. package/lib/molecule/cm-popin/test/fixtures/default.js.map +1 -0
  241. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js +25 -0
  242. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -0
  243. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  244. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  245. package/lib/molecule/search-form/index.js +3 -3
  246. package/lib/molecule/search-form/index.js.map +1 -1
  247. package/lib/molecule/wizard-summary/index.js +213 -0
  248. package/lib/molecule/wizard-summary/index.js.map +1 -0
  249. package/lib/molecule/wizard-summary/style.css +230 -0
  250. package/lib/molecule/wizard-summary/test/fixtures/default.js +129 -0
  251. package/lib/molecule/wizard-summary/test/fixtures/default.js.map +1 -0
  252. package/lib/molecule/wizard-summary/test/fixtures/one-section.js +28 -0
  253. package/lib/molecule/wizard-summary/test/fixtures/one-section.js.map +1 -0
  254. package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js +123 -0
  255. package/lib/molecule/wizard-summary/test/fixtures/tablet-closed.js.map +1 -0
  256. package/lib/molecule/wizard-summary/test/fixtures/three-sections.js +47 -0
  257. package/lib/molecule/wizard-summary/test/fixtures/three-sections.js.map +1 -0
  258. package/lib/molecule/wizard-summary/test/fixtures/two-sections.js +40 -0
  259. package/lib/molecule/wizard-summary/test/fixtures/two-sections.js.map +1 -0
  260. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -6
  261. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -1
  262. package/lib/organism/brand-dashboard/test/fixtures.js +14 -2
  263. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -1
  264. package/lib/organism/brand-table/index.js +3 -3
  265. package/lib/organism/brand-table/index.js.map +1 -1
  266. package/lib/organism/mooc-header/index.js +2 -2
  267. package/lib/organism/mooc-header/index.js.map +1 -1
  268. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  269. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  270. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  271. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  272. package/lib/organism/user-preferences/style.css +1 -0
  273. package/lib/template/back-office/brand-list/index.js +7 -3
  274. package/lib/template/back-office/brand-list/index.js.map +1 -1
  275. package/lib/template/back-office/brand-list/style.css +1 -0
  276. package/lib/template/back-office/brand-update/test/fixtures.js +0 -3
  277. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  278. package/lib/variables/colors.css +11 -3
  279. package/package.json +3 -3
  280. package/es/atom/chips/test/fixtures.js +0 -15
  281. package/es/atom/chips/test/fixtures.js.map +0 -1
  282. package/es/atom/content-badge/test/fixtures.js +0 -27
  283. package/es/atom/content-badge/test/fixtures.js.map +0 -1
  284. package/es/atom/wizard-steps/test/fixtures.js +0 -17
  285. package/es/atom/wizard-steps/test/fixtures.js.map +0 -1
  286. package/es/molecule/coorp-manager-roles/test/fixtures.js +0 -13
  287. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  288. package/es/molecule/popin/test/fixtures.js +0 -21
  289. package/es/molecule/popin/test/fixtures.js.map +0 -1
  290. package/es/molecule/quick-access-card/test/fixtures.js +0 -21
  291. package/es/molecule/quick-access-card/test/fixtures.js.map +0 -1
  292. package/es/molecule/quick-access-cards-group/test/fixtures.js +0 -21
  293. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  294. package/es/molecule/search/index.js +0 -57
  295. package/es/molecule/search/index.js.map +0 -1
  296. package/es/molecule/search/style.css +0 -86
  297. package/es/molecule/search/test/change.js.map +0 -1
  298. package/es/molecule/search/test/fixtures/default.js.map +0 -1
  299. package/es/molecule/search/test/fixtures/with-value.js.map +0 -1
  300. package/es/molecule/vertical-tabs/test/fixtures.js +0 -15
  301. package/es/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  302. package/es/molecule/wizard-summary/test/fixtures.js +0 -19
  303. package/es/molecule/wizard-summary/test/fixtures.js.map +0 -1
  304. package/es/organism/brand-analytics/test/fixtures.js +0 -23
  305. package/es/organism/brand-analytics/test/fixtures.js.map +0 -1
  306. package/lib/atom/chips/test/fixtures.js +0 -25
  307. package/lib/atom/chips/test/fixtures.js.map +0 -1
  308. package/lib/atom/content-badge/test/fixtures.js +0 -43
  309. package/lib/atom/content-badge/test/fixtures.js.map +0 -1
  310. package/lib/atom/wizard-steps/test/fixtures.js +0 -28
  311. package/lib/atom/wizard-steps/test/fixtures.js.map +0 -1
  312. package/lib/molecule/coorp-manager-roles/test/fixtures.js +0 -22
  313. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +0 -1
  314. package/lib/molecule/popin/test/fixtures.js +0 -34
  315. package/lib/molecule/popin/test/fixtures.js.map +0 -1
  316. package/lib/molecule/quick-access-card/test/fixtures.js +0 -34
  317. package/lib/molecule/quick-access-card/test/fixtures.js.map +0 -1
  318. package/lib/molecule/quick-access-cards-group/test/fixtures.js +0 -34
  319. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +0 -1
  320. package/lib/molecule/search/index.js.map +0 -1
  321. package/lib/molecule/search/style.css +0 -86
  322. package/lib/molecule/search/test/change.js.map +0 -1
  323. package/lib/molecule/search/test/fixtures/default.js.map +0 -1
  324. package/lib/molecule/search/test/fixtures/with-value.js.map +0 -1
  325. package/lib/molecule/vertical-tabs/test/fixtures.js +0 -25
  326. package/lib/molecule/vertical-tabs/test/fixtures.js.map +0 -1
  327. package/lib/molecule/wizard-summary/test/fixtures.js +0 -31
  328. package/lib/molecule/wizard-summary/test/fixtures.js.map +0 -1
  329. package/lib/organism/brand-analytics/test/fixtures.js +0 -37
  330. package/lib/organism/brand-analytics/test/fixtures.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-primary-disabled-icon-right.js"],"names":["props","type","disabled","label","icon","position","link","href"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,SADD;AAELC,IAAAA,QAAQ,EAAE,IAFL;AAGLC,IAAAA,KAAK,EAAE,kBAHF;AAIL,kBAAc,aAJT;AAKL,iBAAa,gBALR;AAMLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,OADN;AAEJJ,MAAAA,IAAI,EAAE;AAFF,KAND;AAULK,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF;AAVD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'primary',\n disabled: true,\n label: 'Global Analytics',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n icon: {\n position: 'right',\n type: 'analytics'\n },\n link: {\n href: 'https://www.google.com'\n }\n }\n};\n"],"file":"link-primary-disabled-icon-right.js"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ type: 'secondary',
8
+ label: 'Global Analytics',
9
+ 'data-name': 'default-button',
10
+ 'aria-label': 'aria button',
11
+ icon: {
12
+ position: 'right',
13
+ type: 'analytics'
14
+ },
15
+ onClick: () => {
16
+ console.log('Click on link');
17
+ return;
18
+ },
19
+ link: {
20
+ href: 'https://www.google.com'
21
+ }
22
+ }
23
+ };
24
+ exports.default = _default;
25
+ //# sourceMappingURL=link-secondary-icon-right.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-secondary-icon-right.js"],"names":["props","type","label","icon","position","onClick","console","log","link","href"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,WADD;AAELC,IAAAA,KAAK,EAAE,kBAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,OADN;AAEJH,MAAAA,IAAI,EAAE;AAFF,KALD;AASLI,IAAAA,OAAO,EAAE,MAAM;AACbC,MAAAA,OAAO,CAACC,GAAR,CAAY,eAAZ;AACA;AACD,KAZI;AAaLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF;AAbD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'secondary',\n label: 'Global Analytics',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n icon: {\n position: 'right',\n type: 'analytics'\n },\n onClick: () => {\n console.log('Click on link');\n return;\n },\n link: {\n href: 'https://www.google.com'\n }\n }\n};\n"],"file":"link-secondary-icon-right.js"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ type: 'tertiary',
8
+ label: 'Go to google',
9
+ 'data-name': 'default-button',
10
+ 'aria-label': 'aria button',
11
+ onClick: () => {
12
+ console.log('Click on link');
13
+ return;
14
+ },
15
+ link: {
16
+ href: 'https://www.google.com'
17
+ }
18
+ }
19
+ };
20
+ exports.default = _default;
21
+ //# sourceMappingURL=link-tertiary-no-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-tertiary-no-icon.js"],"names":["props","type","label","onClick","console","log","link","href"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,UADD;AAELC,IAAAA,KAAK,EAAE,cAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,OAAO,EAAE,MAAM;AACbC,MAAAA,OAAO,CAACC,GAAR,CAAY,eAAZ;AACA;AACD,KARI;AASLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE;AADF;AATD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'tertiary',\n label: 'Go to google',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n onClick: () => {\n console.log('Click on link');\n return;\n },\n link: {\n href: 'https://www.google.com'\n }\n }\n};\n"],"file":"link-tertiary-no-icon.js"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ type: 'text',
8
+ label: 'Button',
9
+ 'data-name': 'default-button',
10
+ 'aria-label': 'aria button',
11
+ icon: {
12
+ position: 'right',
13
+ type: 'chevron-left'
14
+ },
15
+ link: {
16
+ href: 'http://www.google.com',
17
+ target: '_blank'
18
+ }
19
+ }
20
+ };
21
+ exports.default = _default;
22
+ //# sourceMappingURL=link-text-icon-right-target-blank.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-text-icon-right-target-blank.js"],"names":["props","type","label","icon","position","link","href","target"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,MADD;AAELC,IAAAA,KAAK,EAAE,QAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,QAAQ,EAAE,OADN;AAEJH,MAAAA,IAAI,EAAE;AAFF,KALD;AASLI,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE,uBADF;AAEJC,MAAAA,MAAM,EAAE;AAFJ;AATD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'text',\n label: 'Button',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n icon: {\n position: 'right',\n type: 'chevron-left'\n },\n link: {\n href: 'http://www.google.com',\n target: '_blank'\n }\n }\n};\n"],"file":"link-text-icon-right-target-blank.js"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ type: 'text',
8
+ label: 'Download',
9
+ 'data-name': 'default-button',
10
+ 'aria-label': 'aria button',
11
+ link: {
12
+ href: 'https://setup.coorpacademy.com/assets/templates/import-users-template.xlsx',
13
+ download: true
14
+ }
15
+ }
16
+ };
17
+ exports.default = _default;
18
+ //# sourceMappingURL=link-text-no-icon-download.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/button-link/test/fixtures/link-text-no-icon-download.js"],"names":["props","type","label","link","href","download"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,MADD;AAELC,IAAAA,KAAK,EAAE,UAFF;AAGL,iBAAa,gBAHR;AAIL,kBAAc,aAJT;AAKLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,IAAI,EAAE,4EADF;AAEJC,MAAAA,QAAQ,EAAE;AAFN;AALD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'text',\n label: 'Download',\n 'data-name': 'default-button',\n 'aria-label': 'aria button',\n link: {\n href: 'https://setup.coorpacademy.com/assets/templates/import-users-template.xlsx',\n download: true\n }\n }\n};\n"],"file":"link-text-no-icon-download.js"}
@@ -13,7 +13,7 @@ var _style = _interopRequireDefault(require("./style.css"));
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
 
16
- const ContentBagde = props => {
16
+ const ContentBadge = props => {
17
17
  const {
18
18
  category,
19
19
  label
@@ -23,10 +23,10 @@ const ContentBagde = props => {
23
23
  }, label);
24
24
  };
25
25
 
26
- ContentBagde.propTypes = process.env.NODE_ENV !== "production" ? {
27
- category: _propTypes.default.string,
26
+ ContentBadge.propTypes = process.env.NODE_ENV !== "production" ? {
27
+ category: _propTypes.default.oneOf(['base', 'advanced', 'coach', 'chapter', 'scorm', 'video', 'article', 'podcast']),
28
28
  label: _propTypes.default.string
29
29
  } : {};
30
- var _default = ContentBagde;
30
+ var _default = ContentBadge;
31
31
  exports.default = _default;
32
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/atom/content-badge/index.js"],"names":["ContentBagde","props","category","label","style","base","advanced","coach","chapter","scorm","video","article","podcast","propTypes","PropTypes","string"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,YAAY,GAAGC,KAAK,IAAI;AAC5B,QAAM;AAACC,IAAAA,QAAD;AAAWC,IAAAA;AAAX,MAAoBF,KAA1B;AACA,sBACE;AACE,IAAA,SAAS,EAAE,yBACTC,QAAQ,KAAK,MAAb,IAAuBE,eAAMC,IADpB,EAETH,QAAQ,KAAK,UAAb,IAA2BE,eAAME,QAFxB,EAGTJ,QAAQ,KAAK,OAAb,IAAwBE,eAAMG,KAHrB,EAITL,QAAQ,KAAK,SAAb,IAA0BE,eAAMI,OAJvB,EAKTN,QAAQ,KAAK,OAAb,IAAwBE,eAAMK,KALrB,EAMTP,QAAQ,KAAK,OAAb,IAAwBE,eAAMM,KANrB,EAOTR,QAAQ,KAAK,SAAb,IAA0BE,eAAMO,OAPvB,EAQTT,QAAQ,KAAK,SAAb,IAA0BE,eAAMQ,OARvB;AADb,KAYGT,KAZH,CADF;AAgBD,CAlBD;;AAoBAH,YAAY,CAACa,SAAb,2CAAyB;AACvBX,EAAAA,QAAQ,EAAEY,mBAAUC,MADG;AAEvBZ,EAAAA,KAAK,EAAEW,mBAAUC;AAFM,CAAzB;eAKef,Y","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport style from './style.css';\n\nconst ContentBagde = props => {\n const {category, label} = props;\n return (\n <span\n className={classnames(\n category === 'base' && style.base,\n category === 'advanced' && style.advanced,\n category === 'coach' && style.coach,\n category === 'chapter' && style.chapter,\n category === 'scorm' && style.scorm,\n category === 'video' && style.video,\n category === 'article' && style.article,\n category === 'podcast' && style.podcast\n )}\n >\n {label}\n </span>\n );\n};\n\nContentBagde.propTypes = {\n category: PropTypes.string,\n label: PropTypes.string\n};\n\nexport default ContentBagde;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/atom/content-badge/index.js"],"names":["ContentBadge","props","category","label","style","base","advanced","coach","chapter","scorm","video","article","podcast","propTypes","PropTypes","oneOf","string"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,YAAY,GAAGC,KAAK,IAAI;AAC5B,QAAM;AAACC,IAAAA,QAAD;AAAWC,IAAAA;AAAX,MAAoBF,KAA1B;AACA,sBACE;AACE,IAAA,SAAS,EAAE,yBACTC,QAAQ,KAAK,MAAb,IAAuBE,eAAMC,IADpB,EAETH,QAAQ,KAAK,UAAb,IAA2BE,eAAME,QAFxB,EAGTJ,QAAQ,KAAK,OAAb,IAAwBE,eAAMG,KAHrB,EAITL,QAAQ,KAAK,SAAb,IAA0BE,eAAMI,OAJvB,EAKTN,QAAQ,KAAK,OAAb,IAAwBE,eAAMK,KALrB,EAMTP,QAAQ,KAAK,OAAb,IAAwBE,eAAMM,KANrB,EAOTR,QAAQ,KAAK,SAAb,IAA0BE,eAAMO,OAPvB,EAQTT,QAAQ,KAAK,SAAb,IAA0BE,eAAMQ,OARvB;AADb,KAYGT,KAZH,CADF;AAgBD,CAlBD;;AAoBAH,YAAY,CAACa,SAAb,2CAAyB;AACvBX,EAAAA,QAAQ,EAAEY,mBAAUC,KAAV,CAAgB,CACxB,MADwB,EAExB,UAFwB,EAGxB,OAHwB,EAIxB,SAJwB,EAKxB,OALwB,EAMxB,OANwB,EAOxB,SAPwB,EAQxB,SARwB,CAAhB,CADa;AAWvBZ,EAAAA,KAAK,EAAEW,mBAAUE;AAXM,CAAzB;eAcehB,Y","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport style from './style.css';\n\nconst ContentBadge = props => {\n const {category, label} = props;\n return (\n <span\n className={classnames(\n category === 'base' && style.base,\n category === 'advanced' && style.advanced,\n category === 'coach' && style.coach,\n category === 'chapter' && style.chapter,\n category === 'scorm' && style.scorm,\n category === 'video' && style.video,\n category === 'article' && style.article,\n category === 'podcast' && style.podcast\n )}\n >\n {label}\n </span>\n );\n};\n\nContentBadge.propTypes = {\n category: PropTypes.oneOf([\n 'base',\n 'advanced',\n 'coach',\n 'chapter',\n 'scorm',\n 'video',\n 'article',\n 'podcast'\n ]),\n label: PropTypes.string\n};\n\nexport default ContentBadge;\n"],"file":"index.js"}
@@ -8,8 +8,6 @@ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/ren
8
8
 
9
9
  var _ = _interopRequireDefault(require(".."));
10
10
 
11
- var _checkedDisabled = _interopRequireDefault(require("./fixtures/checked-disabled"));
12
-
13
11
  var _checked = _interopRequireDefault(require("./fixtures/checked"));
14
12
 
15
13
  var _default = _interopRequireDefault(require("./fixtures/default"));
@@ -30,7 +28,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
30
28
  t.not(value, undefined, `PropType for "Atom.AtomInputCheckbox.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
31
29
  });
32
30
  });
33
- (0, _ava.default)('Atom › AtomInputCheckbox › CheckedDisabled › should be rendered', _renderComponent.default, _.default, _checkedDisabled.default);
34
31
  (0, _ava.default)('Atom › AtomInputCheckbox › Checked › should be rendered', _renderComponent.default, _.default, _checked.default);
35
32
  (0, _ava.default)('Atom › AtomInputCheckbox › Default › should be rendered', _renderComponent.default, _.default, _default.default);
36
33
  (0, _ava.default)('Atom › AtomInputCheckbox › Disabled › should be rendered', _renderComponent.default, _.default, _disabled.default);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["t","pass","AtomInputCheckbox","propTypes","value","key","not","undefined","renderComponentMacro","fixtureCheckedDisabled","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","fixtureRequired"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wDAAL,EAA+DA,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAkBC,SAA1B,EAAqC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,iEAAL,EAAwEG,wBAAxE,EAA8FN,SAA9F,EAAiHO,wBAAjH;AACA,kBAAK,yDAAL,EAAgED,wBAAhE,EAAsFN,SAAtF,EAAyGQ,gBAAzG;AACA,kBAAK,yDAAL,EAAgEF,wBAAhE,EAAsFN,SAAtF,EAAyGS,gBAAzG;AACA,kBAAK,0DAAL,EAAiEH,wBAAjE,EAAuFN,SAAvF,EAA0GU,iBAA1G;AACA,kBAAK,uDAAL,EAA8DJ,wBAA9D,EAAoFN,SAApF,EAAuGW,cAAvG;AACA,kBAAK,0DAAL,EAAiEL,wBAAjE,EAAuFN,SAAvF,EAA0GY,iBAA1G;AACA,kBAAK,0DAAL,EAAiEN,wBAAjE,EAAuFN,SAAvF,EAA0Ga,iBAA1G","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"}
1
+ {"version":3,"sources":["../../../../src/atom/input-checkbox/test/fixtures.js"],"names":["t","pass","AtomInputCheckbox","propTypes","value","key","not","undefined","renderComponentMacro","fixtureChecked","fixtureDefault","fixtureDisabled","fixtureError","fixtureModified","fixtureRequired"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wDAAL,EAA+DA,CAAC,IAAI;AAClEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAkBC,SAA1B,EAAqC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kDAAiDF,GAAI,mEAA9E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,yDAAL,EAAgEG,wBAAhE,EAAsFN,SAAtF,EAAyGO,gBAAzG;AACA,kBAAK,yDAAL,EAAgED,wBAAhE,EAAsFN,SAAtF,EAAyGQ,gBAAzG;AACA,kBAAK,0DAAL,EAAiEF,wBAAjE,EAAuFN,SAAvF,EAA0GS,iBAA1G;AACA,kBAAK,uDAAL,EAA8DH,wBAA9D,EAAoFN,SAApF,EAAuGU,cAAvG;AACA,kBAAK,0DAAL,EAAiEJ,wBAAjE,EAAuFN,SAAvF,EAA0GW,iBAA1G;AACA,kBAAK,0DAAL,EAAiEL,wBAAjE,EAAuFN,SAAvF,EAA0GY,iBAA1G","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"}
@@ -3,17 +3,19 @@
3
3
  exports.__esModule = true;
4
4
  exports.default = void 0;
5
5
 
6
- var _noop2 = _interopRequireDefault(require("lodash/fp/noop"));
6
+ var _isEmpty2 = _interopRequireDefault(require("lodash/fp/isEmpty"));
7
7
 
8
- var _get2 = _interopRequireDefault(require("lodash/fp/get"));
8
+ var _noop2 = _interopRequireDefault(require("lodash/fp/noop"));
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
 
14
+ var _classnames = _interopRequireDefault(require("classnames"));
15
+
14
16
  var _novaIcons = require("@coorpacademy/nova-icons");
15
17
 
16
- var _provider = _interopRequireDefault(require("../../atom/provider"));
18
+ var _provider = _interopRequireDefault(require("../provider"));
17
19
 
18
20
  var _style = _interopRequireDefault(require("./style.css"));
19
21
 
@@ -23,27 +25,31 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
23
25
 
24
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
27
 
26
- const Search = (props, context) => {
28
+ const Search = props => {
27
29
  const {
28
30
  value,
29
31
  placeholder,
30
32
  onChange = _noop2.default,
33
+ onClear = _noop2.default,
31
34
  onFocus,
32
- onBlur
35
+ onBlur,
36
+ theme = 'default'
33
37
  } = props;
34
- const {
35
- skin
36
- } = context;
37
- const dark = (0, _get2.default)('common.dark', skin);
38
38
  const handleChange = (0, _react.useMemo)(() => e => onChange(e.target.value), [onChange]);
39
+ const cmStyle = (0, _classnames.default)(_style.default.coorpmanager);
40
+ const isDefaultTheme = theme === 'default';
39
41
  return /*#__PURE__*/_react.default.createElement("div", {
40
- className: _style.default.wrapperSearch
42
+ className: isDefaultTheme ? _style.default.wrapperSearch : cmStyle
41
43
  }, /*#__PURE__*/_react.default.createElement("label", {
42
- htmlFor: "search"
43
- }, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademySearch, {
44
- color: dark,
45
- className: _style.default.icon
46
- })), /*#__PURE__*/_react.default.createElement("input", {
44
+ htmlFor: "search",
45
+ title: placeholder
46
+ }, !isDefaultTheme ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademySearch1, {
47
+ className: _style.default.searchIcon
48
+ }) : /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademySearch, {
49
+ className: _style.default.searchIcon
50
+ }), !isDefaultTheme ? /*#__PURE__*/_react.default.createElement("span", {
51
+ className: (0, _classnames.default)(_style.default.title, (0, _isEmpty2.default)(value) && _style.default.noValue)
52
+ }, placeholder) : null), /*#__PURE__*/_react.default.createElement("input", {
47
53
  "data-name": "search-input",
48
54
  className: _style.default.search,
49
55
  type: "text",
@@ -51,11 +57,14 @@ const Search = (props, context) => {
51
57
  id: "search",
52
58
  placeholder: placeholder,
53
59
  value: value,
54
- onChange: _noop2.default,
55
60
  onInput: handleChange,
56
61
  onFocus: onFocus,
62
+ onChange: _noop2.default,
57
63
  onBlur: onBlur
58
- }));
64
+ }), value && !isDefaultTheme ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaSolidStatusClose, {
65
+ onClick: onClear,
66
+ className: _style.default.clearIcon
67
+ }) : null);
59
68
  };
60
69
 
61
70
  Search.contextTypes = {
@@ -65,8 +74,10 @@ Search.propTypes = process.env.NODE_ENV !== "production" ? {
65
74
  value: _propTypes.default.string,
66
75
  placeholder: _propTypes.default.string.isRequired,
67
76
  onChange: _propTypes.default.func,
77
+ onClear: _propTypes.default.func,
68
78
  onFocus: _propTypes.default.func,
69
- onBlur: _propTypes.default.func
79
+ onBlur: _propTypes.default.func,
80
+ theme: _propTypes.default.oneOf(['default', 'coorpmanager'])
70
81
  } : {};
71
82
  var _default = Search;
72
83
  exports.default = _default;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/atom/input-search/index.js"],"names":["Search","props","value","placeholder","onChange","onClear","onFocus","onBlur","theme","handleChange","e","target","cmStyle","style","coorpmanager","isDefaultTheme","wrapperSearch","searchIcon","title","noValue","search","clearIcon","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","func","oneOf"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAMA;;AACA;;;;;;;;AAEA,MAAMA,MAAM,GAAGC,KAAK,IAAI;AACtB,QAAM;AACJC,IAAAA,KADI;AAEJC,IAAAA,WAFI;AAGJC,IAAAA,QAAQ,iBAHJ;AAIJC,IAAAA,OAAO,iBAJH;AAKJC,IAAAA,OALI;AAMJC,IAAAA,MANI;AAOJC,IAAAA,KAAK,GAAG;AAPJ,MAQFP,KARJ;AASA,QAAMQ,YAAY,GAAG,oBAAQ,MAAMC,CAAC,IAAIN,QAAQ,CAACM,CAAC,CAACC,MAAF,CAAST,KAAV,CAA3B,EAA6C,CAACE,QAAD,CAA7C,CAArB;AACA,QAAMQ,OAAO,GAAG,yBAAWC,eAAMC,YAAjB,CAAhB;AACA,QAAMC,cAAc,GAAGP,KAAK,KAAK,SAAjC;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEO,cAAc,GAAGF,eAAMG,aAAT,GAAyBJ;AAAvD,kBACE;AAAO,IAAA,OAAO,EAAC,QAAf;AAAwB,IAAA,KAAK,EAAET;AAA/B,KACG,CAACY,cAAD,gBACC,6BAAC,6CAAD;AAAc,IAAA,SAAS,EAAEF,eAAMI;AAA/B,IADD,gBAGC,6BAAC,4CAAD;AAAY,IAAA,SAAS,EAAEJ,eAAMI;AAA7B,IAJJ,EAMG,CAACF,cAAD,gBACC;AAAM,IAAA,SAAS,EAAE,yBAAWF,eAAMK,KAAjB,EAAwB,uBAAQhB,KAAR,KAAkBW,eAAMM,OAAhD;AAAjB,KACGhB,WADH,CADD,GAIG,IAVN,CADF,eAaE;AACE,iBAAU,cADZ;AAEE,IAAA,SAAS,EAAEU,eAAMO,MAFnB;AAGE,IAAA,IAAI,EAAC,MAHP;AAIE,IAAA,IAAI,EAAC,QAJP;AAKE,IAAA,EAAE,EAAC,QALL;AAME,IAAA,WAAW,EAAEjB,WANf;AAOE,IAAA,KAAK,EAAED,KAPT;AAQE,IAAA,OAAO,EAAEO,YARX;AASE,IAAA,OAAO,EAAEH,OATX;AAUE,IAAA,QAAQ,gBAVV;AAWE,IAAA,MAAM,EAAEC;AAXV,IAbF,EA0BGL,KAAK,IAAI,CAACa,cAAV,gBACC,6BAAC,+BAAD;AAAW,IAAA,OAAO,EAAEV,OAApB;AAA6B,IAAA,SAAS,EAAEQ,eAAMQ;AAA9C,IADD,GAEG,IA5BN,CADF;AAgCD,CA9CD;;AAgDArB,MAAM,CAACsB,YAAP,GAAsB;AACpBC,EAAAA,IAAI,EAAEC,kBAASC,iBAAT,CAA2BF;AADb,CAAtB;AAIAvB,MAAM,CAAC0B,SAAP,2CAAmB;AACjBxB,EAAAA,KAAK,EAAEyB,mBAAUC,MADA;AAEjBzB,EAAAA,WAAW,EAAEwB,mBAAUC,MAAV,CAAiBC,UAFb;AAGjBzB,EAAAA,QAAQ,EAAEuB,mBAAUG,IAHH;AAIjBzB,EAAAA,OAAO,EAAEsB,mBAAUG,IAJF;AAKjBxB,EAAAA,OAAO,EAAEqB,mBAAUG,IALF;AAMjBvB,EAAAA,MAAM,EAAEoB,mBAAUG,IAND;AAOjBtB,EAAAA,KAAK,EAAEmB,mBAAUI,KAAV,CAAgB,CAAC,SAAD,EAAY,cAAZ,CAAhB;AAPU,CAAnB;eAUe/B,M","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademySearch1 as CMSearchIcon,\n NovaCompositionCoorpacademySearch as SearchIcon,\n NovaSolidStatusClose as CloseIcon\n} from '@coorpacademy/nova-icons';\nimport {noop, isEmpty} from 'lodash/fp';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst Search = props => {\n const {\n value,\n placeholder,\n onChange = noop,\n onClear = noop,\n onFocus,\n onBlur,\n theme = 'default'\n } = props;\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n const cmStyle = classnames(style.coorpmanager);\n const isDefaultTheme = theme === 'default';\n\n return (\n <div className={isDefaultTheme ? style.wrapperSearch : cmStyle}>\n <label htmlFor=\"search\" title={placeholder}>\n {!isDefaultTheme ? (\n <CMSearchIcon className={style.searchIcon} />\n ) : (\n <SearchIcon className={style.searchIcon} />\n )}\n {!isDefaultTheme ? (\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {placeholder}\n </span>\n ) : null}\n </label>\n <input\n data-name=\"search-input\"\n className={style.search}\n type=\"text\"\n name=\"search\"\n id=\"search\"\n placeholder={placeholder}\n value={value}\n onInput={handleChange}\n onFocus={onFocus}\n onChange={noop}\n onBlur={onBlur}\n />\n {value && !isDefaultTheme ? (\n <CloseIcon onClick={onClear} className={style.clearIcon} />\n ) : null}\n </div>\n );\n};\n\nSearch.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearch.propTypes = {\n value: PropTypes.string,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n onClear: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n theme: PropTypes.oneOf(['default', 'coorpmanager'])\n};\n\nexport default Search;\n"],"file":"index.js"}
@@ -0,0 +1,201 @@
1
+ @value breakpoints: "../../variables/breakpoints.css";
2
+ @value tablet from breakpoints;
3
+ @value mobile from breakpoints;
4
+ @value colors: "../../variables/colors.css";
5
+ @value medium from colors;
6
+ @value light from colors;
7
+ @value white from colors;
8
+ @value dark from colors;
9
+ @value black from colors;
10
+ @value cm_grey_100 from colors;
11
+ @value cm_grey_150 from colors;
12
+ @value cm_grey_400 from colors;
13
+ @value cm_grey_500 from colors;
14
+ @value cm_grey_700 from colors;
15
+
16
+ .wrapperSearch {
17
+ display: flex;
18
+ width: 100%;
19
+ flex-flow: nowrap;
20
+ flex-direction: row;
21
+ align-items: center;
22
+ overflow: hidden;
23
+ }
24
+
25
+ .searchIcon {
26
+ color: dark;
27
+ position: relative;
28
+ margin: 0 0 -3px -20px;
29
+ width: 19px;
30
+ height: 19px;
31
+ left: 35px;
32
+ }
33
+
34
+ .search {
35
+ font-family: "Open Sans";
36
+ text-transform: none;
37
+ margin: 0 3px;
38
+ padding: 0 15px 0 45px;
39
+ border: 0;
40
+ height: 50px;
41
+ border-radius: 0;
42
+ font-size: 14px;
43
+ color: dark;
44
+ width: 100%;
45
+ outline: none;
46
+ font-weight: bold;
47
+ white-space: nowrap;
48
+ overflow: hidden;
49
+ text-overflow: ellipsis;
50
+ }
51
+
52
+ .search::placeholder {
53
+ color: medium;
54
+ font-size: 14px;
55
+ }
56
+
57
+ .search:focus {
58
+ outline: none;
59
+ }
60
+
61
+ .search:-webkit-autofill {
62
+ background-color: white;
63
+ background-image: none;
64
+ color: medium;
65
+ }
66
+
67
+ .search::placeholder {
68
+ color: medium;
69
+ font-size: 14px;
70
+ }
71
+
72
+ .coorpmanager {
73
+ position: relative;
74
+ }
75
+
76
+ .coorpmanager label {
77
+ display: flex;
78
+ flex-direction: column;
79
+ align-items: flex-start;
80
+ position: absolute;
81
+ height: 64px;
82
+ }
83
+
84
+ .coorpmanager .title {
85
+ flex-grow: 0;
86
+ font-family: Gilroy;
87
+ font-size: 10px;
88
+ font-weight: bold;
89
+ font-stretch: normal;
90
+ font-style: normal;
91
+ letter-spacing: normal;
92
+ text-align: left;
93
+ z-index: 1;
94
+ color: cm_grey_400;
95
+ width: max-content;
96
+ transition: all 0.25s ease;
97
+ pointer-events: none;
98
+ display: flex;
99
+ flex-direction: row;
100
+ flex-wrap: nowrap;
101
+ position: absolute;
102
+ top: 7px;
103
+ left: 30px;
104
+ }
105
+
106
+ .coorpmanager .search {
107
+ height: 44px;
108
+ margin: 0;
109
+ flex-grow: 0;
110
+ display: flex;
111
+ box-sizing: border-box;
112
+ flex-direction: column;
113
+ justify-content: center;
114
+ align-items: flex-start;
115
+ padding: 19px 30px 5px 30px;
116
+ border-radius: 7px;
117
+ background-color: cm_grey_100;
118
+ font-family: Gilroy;
119
+ font-size: 14px;
120
+ font-weight: 500;
121
+ font-stretch: normal;
122
+ font-style: normal;
123
+ line-height: 44px;
124
+ letter-spacing: normal;
125
+ text-align: left;
126
+ color: cm_grey_700;
127
+ border: none;
128
+ transition: all 0.25s ease;
129
+ outline: none;
130
+ }
131
+
132
+ .coorpmanager .title.noValue {
133
+ font-size: 14px;
134
+ font-weight: 500;
135
+ color: cm_grey_400;
136
+ top: 14px;
137
+ }
138
+
139
+ .coorpmanager:focus-within .title.noValue {
140
+ font-size: 10px;
141
+ font-weight: bold;
142
+ color: cm_grey_400;
143
+ top: 7px;
144
+ }
145
+
146
+ .coorpmanager:focus-within .title.noValue {
147
+ width: max-content;
148
+ height: 8px;
149
+ line-height: 12px;
150
+ color: cm_grey_400;
151
+ }
152
+
153
+ .coorpmanager .search:hover {
154
+ background-color: cm_grey_150;
155
+ }
156
+
157
+ .coorpmanager .search::placeholder {
158
+ color: transparent;
159
+ }
160
+
161
+ .coorpmanager .clearIcon {
162
+ color: cm_grey_400;
163
+ width: 14px;
164
+ height: 14px;
165
+ position: absolute;
166
+ right: 15px;
167
+ top: 16px;
168
+ line-height: 16px;
169
+ cursor: pointer;
170
+ }
171
+
172
+ .coorpmanager .searchIcon {
173
+ color: #000;
174
+ width: 14px;
175
+ height: 14px;
176
+ position: absolute;
177
+ left: 30px;
178
+ top: 16px;
179
+ line-height: 16px;
180
+ }
181
+
182
+ @media tablet {
183
+ .search,
184
+ input {
185
+ font-size: 12px;
186
+ }
187
+
188
+ .search::placeholder {
189
+ font-size: 12px;
190
+ }
191
+ }
192
+
193
+ @media mobile {
194
+ .search {
195
+ font-size: 12px;
196
+ }
197
+
198
+ .search::placeholder {
199
+ font-size: 12px;
200
+ }
201
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/atom/input-search/test/change.js"],"names":["adapter","Adapter","t","plan","onChange","value","is","wrapper","find","simulate","target"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;AAEA,kBAAK,6EAAL,EAAoFC,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;;AAEA,QAAMC,QAAQ,GAAGC,KAAK,IAAI;AACxBH,IAAAA,CAAC,CAACI,EAAF,CAAKD,KAAL,EAAY,mBAAZ;AACD,GAFD;;AAIA,QAAME,OAAO,GAAG,mCACd,6BAAC,SAAD;AAAQ,IAAA,WAAW,EAAC,eAApB;AAAoC,IAAA,KAAK,EAAC,kBAA1C;AAA6D,IAAA,QAAQ,EAAEH;AAAvE,IADc,CAAhB;AAIAG,EAAAA,OAAO,CAACC,IAAR,CAAa,OAAb,EAAsBC,QAAtB,CAA+B,OAA/B,EAAwC;AAACC,IAAAA,MAAM,EAAE;AAACL,MAAAA,KAAK,EAAE;AAAR;AAAT,GAAxC;AACD,CAZD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {shallow, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Search from '..';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should call onChange with new value when user try to change the input value', t => {\n t.plan(1);\n\n const onChange = value => {\n t.is(value, 'my name is murphy');\n };\n\n const wrapper = shallow(\n <Search placeholder=\"say your name\" value=\"my name is murph\" onChange={onChange} />\n );\n\n wrapper.find('input').simulate('input', {target: {value: 'my name is murphy'}});\n});\n"],"file":"change.js"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ value: 'big data - le retour',
8
+ placeholder: 'Search for a course',
9
+ onChange: value => {
10
+ console.log(value);
11
+ },
12
+ onEnter: () => console.log('pressed enter'),
13
+ onFocus: () => console.log('onFocus'),
14
+ onClear: () => console.log('clear pressed'),
15
+ theme: 'coorpmanager'
16
+ }
17
+ };
18
+ exports.default = _default;
19
+ //# sourceMappingURL=coorpmanager-with-value.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/input-search/test/fixtures/coorpmanager-with-value.js"],"names":["props","value","placeholder","onChange","console","log","onEnter","onFocus","onClear","theme"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,sBADF;AAELC,IAAAA,WAAW,EAAE,qBAFR;AAGLC,IAAAA,QAAQ,EAAEF,KAAK,IAAI;AACjBG,MAAAA,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AACD,KALI;AAMLK,IAAAA,OAAO,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,eAAZ,CANV;AAOLE,IAAAA,OAAO,EAAE,MAAMH,OAAO,CAACC,GAAR,CAAY,SAAZ,CAPV;AAQLG,IAAAA,OAAO,EAAE,MAAMJ,OAAO,CAACC,GAAR,CAAY,eAAZ,CARV;AASLI,IAAAA,KAAK,EAAE;AATF;AADM,C","sourcesContent":["export default {\n props: {\n value: 'big data - le retour',\n placeholder: 'Search for a course',\n onChange: value => {\n console.log(value);\n },\n onEnter: () => console.log('pressed enter'),\n onFocus: () => console.log('onFocus'),\n onClear: () => console.log('clear pressed'),\n theme: 'coorpmanager'\n }\n};\n"],"file":"coorpmanager-with-value.js"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ value: '',
8
+ placeholder: 'Search for a course',
9
+ onChange: value => {
10
+ console.log(value);
11
+ },
12
+ onFocus: () => console.log('onFocus'),
13
+ onBlur: () => console.log('blur'),
14
+ theme: 'coorpmanager'
15
+ }
16
+ };
17
+ exports.default = _default;
18
+ //# sourceMappingURL=coorpmanager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/input-search/test/fixtures/coorpmanager.js"],"names":["props","value","placeholder","onChange","console","log","onFocus","onBlur","theme"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,EADF;AAELC,IAAAA,WAAW,EAAE,qBAFR;AAGLC,IAAAA,QAAQ,EAAEF,KAAK,IAAI;AACjBG,MAAAA,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AACD,KALI;AAMLK,IAAAA,OAAO,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,SAAZ,CANV;AAOLE,IAAAA,MAAM,EAAE,MAAMH,OAAO,CAACC,GAAR,CAAY,MAAZ,CAPT;AAQLG,IAAAA,KAAK,EAAE;AARF;AADM,C","sourcesContent":["export default {\n props: {\n value: '',\n placeholder: 'Search for a course',\n onChange: value => {\n console.log(value);\n },\n onFocus: () => console.log('onFocus'),\n onBlur: () => console.log('blur'),\n theme: 'coorpmanager'\n }\n};\n"],"file":"coorpmanager.js"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/input-search/test/fixtures/default.js"],"names":["props","value","placeholder","onChange","console","log","onFocus","onBlur"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,EADF;AAELC,IAAAA,WAAW,EAAE,qBAFR;AAGLC,IAAAA,QAAQ,EAAEF,KAAK,IAAI;AACjBG,MAAAA,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AACD,KALI;AAMLK,IAAAA,OAAO,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,SAAZ,CANV;AAOLE,IAAAA,MAAM,EAAE,MAAMH,OAAO,CAACC,GAAR,CAAY,MAAZ;AAPT;AADM,C","sourcesContent":["export default {\n props: {\n value: '',\n placeholder: 'Search for a course',\n onChange: value => {\n console.log(value);\n },\n onFocus: () => console.log('onFocus'),\n onBlur: () => console.log('blur')\n }\n};\n"],"file":"default.js"}
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/atom/input-search/test/fixtures/with-value.js"],"names":["props","value","placeholder","onChange","console","log","onEnter","onFocus"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,sBADF;AAELC,IAAAA,WAAW,EAAE,qBAFR;AAGLC,IAAAA,QAAQ,EAAEF,KAAK,IAAI;AACjBG,MAAAA,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AACD,KALI;AAMLK,IAAAA,OAAO,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,eAAZ,CANV;AAOLE,IAAAA,OAAO,EAAE,MAAMH,OAAO,CAACC,GAAR,CAAY,SAAZ;AAPV;AADM,C","sourcesContent":["export default {\n props: {\n value: 'big data - le retour',\n placeholder: 'Search for a course',\n onChange: value => {\n console.log(value);\n },\n onEnter: () => console.log('pressed enter'),\n onFocus: () => console.log('onFocus')\n }\n};\n"],"file":"with-value.js"}