@coorpacademy/components 10.1.3 → 10.1.7

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 (256) hide show
  1. package/es/atom/button-link/index.js +10 -4
  2. package/es/atom/button-link/index.js.map +1 -1
  3. package/es/atom/button-link/style.css +4 -5
  4. package/es/atom/button-link/test/button-link.js +25 -0
  5. package/es/atom/button-link/test/button-link.js.map +1 -0
  6. package/es/atom/button-link/test/fixtures/button-tertiary-icon-bullet.js +13 -0
  7. package/es/atom/button-link/test/fixtures/button-tertiary-icon-bullet.js.map +1 -0
  8. package/es/atom/button-link/test/fixtures.js +35 -0
  9. package/es/atom/button-link/test/fixtures.js.map +1 -0
  10. package/es/atom/button-menu/index.js +66 -0
  11. package/es/atom/button-menu/index.js.map +1 -0
  12. package/es/atom/button-menu/style.css +51 -0
  13. package/es/atom/button-menu/test/fixtures/default.js +20 -0
  14. package/es/atom/button-menu/test/fixtures/default.js.map +1 -0
  15. package/es/atom/button-menu/test/fixtures/multiple-buttons.js +15 -0
  16. package/es/atom/button-menu/test/fixtures/multiple-buttons.js.map +1 -0
  17. package/es/atom/button-menu/test/fixtures.js +15 -0
  18. package/es/atom/button-menu/test/fixtures.js.map +1 -0
  19. package/es/atom/chips/index.js +8 -4
  20. package/es/atom/chips/index.js.map +1 -1
  21. package/es/atom/chips/style.css +17 -2
  22. package/es/atom/chips/test/fixtures/long-text.js +9 -0
  23. package/es/atom/chips/test/fixtures/long-text.js.map +1 -0
  24. package/es/atom/chips/test/fixtures.js +17 -0
  25. package/es/atom/chips/test/fixtures.js.map +1 -0
  26. package/es/atom/content-badge/test/fixtures.js +27 -0
  27. package/es/atom/content-badge/test/fixtures.js.map +1 -0
  28. package/es/atom/input-search/style.css +1 -0
  29. package/es/atom/input-search/test/fixtures.js +19 -0
  30. package/es/atom/input-search/test/fixtures.js.map +1 -0
  31. package/es/atom/input-text/index.js.map +1 -1
  32. package/es/atom/input-text/style.css +6 -2
  33. package/es/atom/input-text/test/fixtures.js +2 -0
  34. package/es/atom/input-text/test/fixtures.js.map +1 -1
  35. package/es/atom/input-textarea/style.css +3 -3
  36. package/es/atom/input-textarea/test/fixtures.js +4 -0
  37. package/es/atom/input-textarea/test/fixtures.js.map +1 -1
  38. package/es/atom/tag/test/fixtures.js +19 -0
  39. package/es/atom/tag/test/fixtures.js.map +1 -0
  40. package/es/atom/wizard-steps/test/fixtures.js +17 -0
  41. package/es/atom/wizard-steps/test/fixtures.js.map +1 -0
  42. package/es/molecule/banner/index.js +19 -10
  43. package/es/molecule/banner/index.js.map +1 -1
  44. package/es/molecule/banner/style.css +10 -8
  45. package/es/molecule/banner/test/fixtures.js +15 -0
  46. package/es/molecule/banner/test/fixtures.js.map +1 -0
  47. package/es/molecule/brand-form-group/index.js +20 -5
  48. package/es/molecule/brand-form-group/index.js.map +1 -1
  49. package/es/molecule/brand-form-group/style.css +19 -0
  50. package/es/molecule/brand-form-group/test/fixtures.js +2 -0
  51. package/es/molecule/brand-form-group/test/fixtures.js.map +1 -1
  52. package/es/molecule/bullet-point-menu-button/index.js +54 -0
  53. package/es/molecule/bullet-point-menu-button/index.js.map +1 -0
  54. package/es/molecule/bullet-point-menu-button/style.css +52 -0
  55. package/es/molecule/bullet-point-menu-button/test/bullet-point-menu-button.js +34 -0
  56. package/es/molecule/bullet-point-menu-button/test/bullet-point-menu-button.js.map +1 -0
  57. package/es/molecule/bullet-point-menu-button/test/fixtures/default.js +11 -0
  58. package/es/molecule/bullet-point-menu-button/test/fixtures/default.js.map +1 -0
  59. package/es/molecule/bullet-point-menu-button/test/fixtures/multiple-buttons.js +13 -0
  60. package/es/molecule/bullet-point-menu-button/test/fixtures/multiple-buttons.js.map +1 -0
  61. package/es/molecule/bullet-point-menu-button/test/fixtures.js +15 -0
  62. package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  63. package/es/molecule/card/test/fixtures.js +4 -0
  64. package/es/molecule/card/test/fixtures.js.map +1 -1
  65. package/es/molecule/cm-popin/index.js +4 -4
  66. package/es/molecule/cm-popin/index.js.map +1 -1
  67. package/es/molecule/cm-popin/test/fixtures/dangerous.js +2 -2
  68. package/es/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -1
  69. package/es/molecule/cm-popin/test/fixtures/default.js +2 -2
  70. package/es/molecule/cm-popin/test/fixtures/default.js.map +1 -1
  71. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js +2 -2
  72. package/es/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -1
  73. package/es/molecule/cm-popin/test/fixtures.js +17 -0
  74. package/es/molecule/cm-popin/test/fixtures.js.map +1 -0
  75. package/es/molecule/feedback/test/fixtures.js +0 -2
  76. package/es/molecule/feedback/test/fixtures.js.map +1 -1
  77. package/es/molecule/select-multiple/index.js +113 -146
  78. package/es/molecule/select-multiple/index.js.map +1 -1
  79. package/es/molecule/select-multiple/test/index.js +20 -79
  80. package/es/molecule/select-multiple/test/index.js.map +1 -1
  81. package/es/molecule/vertical-tabs/index.js +8 -3
  82. package/es/molecule/vertical-tabs/index.js.map +1 -1
  83. package/es/molecule/vertical-tabs/test/fixtures/default.js +2 -1
  84. package/es/molecule/vertical-tabs/test/fixtures/default.js.map +1 -1
  85. package/es/molecule/vertical-tabs/test/fixtures/with-selected-item.js +2 -1
  86. package/es/molecule/vertical-tabs/test/fixtures/with-selected-item.js.map +1 -1
  87. package/es/molecule/vertical-tabs/test/fixtures.js +15 -0
  88. package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  89. package/es/molecule/wizard-summary/index.js +3 -1
  90. package/es/molecule/wizard-summary/index.js.map +1 -1
  91. package/es/molecule/wizard-summary/style.css +8 -0
  92. package/es/molecule/wizard-summary/test/fixtures.js +21 -0
  93. package/es/molecule/wizard-summary/test/fixtures.js.map +1 -0
  94. package/es/organism/brand-form/test/fixtures/wizard-playlists.js +26 -0
  95. package/es/organism/brand-form/test/fixtures/wizard-playlists.js.map +1 -0
  96. package/es/organism/brand-form/test/fixtures.js +2 -0
  97. package/es/organism/brand-form/test/fixtures.js.map +1 -1
  98. package/es/organism/playlist-translation/index.js +63 -0
  99. package/es/organism/playlist-translation/index.js.map +1 -0
  100. package/es/organism/playlist-translation/style.css +45 -0
  101. package/es/organism/playlist-translation/test/fixtures/default.js +24 -0
  102. package/es/organism/playlist-translation/test/fixtures/default.js.map +1 -0
  103. package/es/organism/playlist-translation/test/fixtures/delete.js +18 -0
  104. package/es/organism/playlist-translation/test/fixtures/delete.js.map +1 -0
  105. package/es/organism/search-and-chips-results/index.js +92 -0
  106. package/es/organism/search-and-chips-results/index.js.map +1 -0
  107. package/es/organism/search-and-chips-results/style.css +57 -0
  108. package/es/organism/search-and-chips-results/test/fixtures/default.js +46 -0
  109. package/es/organism/search-and-chips-results/test/fixtures/default.js.map +1 -0
  110. package/es/organism/search-and-chips-results/test/fixtures/empty.js +23 -0
  111. package/es/organism/search-and-chips-results/test/fixtures/empty.js.map +1 -0
  112. package/es/organism/search-and-chips-results/test/fixtures/filtered.js +26 -0
  113. package/es/organism/search-and-chips-results/test/fixtures/filtered.js.map +1 -0
  114. package/es/organism/search-and-chips-results/test/fixtures/sorted-selected.js +49 -0
  115. package/es/organism/search-and-chips-results/test/fixtures/sorted-selected.js.map +1 -0
  116. package/es/organism/search-and-chips-results/test/fixtures/unsorted-selected.js +49 -0
  117. package/es/organism/search-and-chips-results/test/fixtures/unsorted-selected.js.map +1 -0
  118. package/es/organism/search-and-chips-results/test/fixtures.js +21 -0
  119. package/es/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  120. package/es/template/app-player/popin-end/test/fixtures.js +0 -2
  121. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -1
  122. package/es/template/teams-dashboard/index.js +4 -3
  123. package/es/template/teams-dashboard/index.js.map +1 -1
  124. package/es/variables/colors.css +2 -0
  125. package/lib/atom/button-link/index.js +9 -2
  126. package/lib/atom/button-link/index.js.map +1 -1
  127. package/lib/atom/button-link/style.css +4 -5
  128. package/lib/atom/button-link/test/button-link.js +37 -0
  129. package/lib/atom/button-link/test/button-link.js.map +1 -0
  130. package/lib/atom/button-link/test/fixtures/button-tertiary-icon-bullet.js +18 -0
  131. package/lib/atom/button-link/test/fixtures/button-tertiary-icon-bullet.js.map +1 -0
  132. package/lib/atom/button-link/test/fixtures.js +55 -0
  133. package/lib/atom/button-link/test/fixtures.js.map +1 -0
  134. package/lib/atom/button-menu/index.js +82 -0
  135. package/lib/atom/button-menu/index.js.map +1 -0
  136. package/lib/atom/button-menu/style.css +51 -0
  137. package/lib/atom/button-menu/test/fixtures/default.js +27 -0
  138. package/lib/atom/button-menu/test/fixtures/default.js.map +1 -0
  139. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +23 -0
  140. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js.map +1 -0
  141. package/lib/atom/button-menu/test/fixtures.js +25 -0
  142. package/lib/atom/button-menu/test/fixtures.js.map +1 -0
  143. package/lib/atom/chips/index.js +8 -4
  144. package/lib/atom/chips/index.js.map +1 -1
  145. package/lib/atom/chips/style.css +17 -2
  146. package/lib/atom/chips/test/fixtures/long-text.js +14 -0
  147. package/lib/atom/chips/test/fixtures/long-text.js.map +1 -0
  148. package/lib/atom/chips/test/fixtures.js +28 -0
  149. package/lib/atom/chips/test/fixtures.js.map +1 -0
  150. package/lib/atom/content-badge/test/fixtures.js +43 -0
  151. package/lib/atom/content-badge/test/fixtures.js.map +1 -0
  152. package/lib/atom/input-search/style.css +1 -0
  153. package/lib/atom/input-search/test/fixtures.js +31 -0
  154. package/lib/atom/input-search/test/fixtures.js.map +1 -0
  155. package/lib/atom/input-text/index.js.map +1 -1
  156. package/lib/atom/input-text/style.css +6 -2
  157. package/lib/atom/input-text/test/fixtures.js +3 -0
  158. package/lib/atom/input-text/test/fixtures.js.map +1 -1
  159. package/lib/atom/input-textarea/style.css +3 -3
  160. package/lib/atom/input-textarea/test/fixtures.js +6 -0
  161. package/lib/atom/input-textarea/test/fixtures.js.map +1 -1
  162. package/lib/atom/tag/test/fixtures.js +31 -0
  163. package/lib/atom/tag/test/fixtures.js.map +1 -0
  164. package/lib/atom/wizard-steps/test/fixtures.js +28 -0
  165. package/lib/atom/wizard-steps/test/fixtures.js.map +1 -0
  166. package/lib/molecule/banner/index.js +19 -10
  167. package/lib/molecule/banner/index.js.map +1 -1
  168. package/lib/molecule/banner/style.css +10 -8
  169. package/lib/molecule/{search → banner}/test/fixtures.js +5 -5
  170. package/lib/molecule/banner/test/fixtures.js.map +1 -0
  171. package/lib/molecule/brand-form-group/index.js +22 -5
  172. package/lib/molecule/brand-form-group/index.js.map +1 -1
  173. package/lib/molecule/brand-form-group/style.css +19 -0
  174. package/lib/molecule/brand-form-group/test/fixtures.js +3 -0
  175. package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -1
  176. package/lib/molecule/bullet-point-menu-button/index.js +72 -0
  177. package/lib/molecule/bullet-point-menu-button/index.js.map +1 -0
  178. package/lib/molecule/bullet-point-menu-button/style.css +52 -0
  179. package/lib/molecule/bullet-point-menu-button/test/bullet-point-menu-button.js +46 -0
  180. package/lib/molecule/bullet-point-menu-button/test/bullet-point-menu-button.js.map +1 -0
  181. package/lib/molecule/bullet-point-menu-button/test/fixtures/default.js +18 -0
  182. package/lib/molecule/bullet-point-menu-button/test/fixtures/default.js.map +1 -0
  183. package/lib/molecule/bullet-point-menu-button/test/fixtures/multiple-buttons.js +25 -0
  184. package/lib/molecule/bullet-point-menu-button/test/fixtures/multiple-buttons.js.map +1 -0
  185. package/lib/molecule/bullet-point-menu-button/test/fixtures.js +25 -0
  186. package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  187. package/lib/molecule/card/test/fixtures.js +6 -0
  188. package/lib/molecule/card/test/fixtures.js.map +1 -1
  189. package/lib/molecule/cm-popin/index.js +4 -4
  190. package/lib/molecule/cm-popin/index.js.map +1 -1
  191. package/lib/molecule/cm-popin/test/fixtures/dangerous.js +2 -2
  192. package/lib/molecule/cm-popin/test/fixtures/dangerous.js.map +1 -1
  193. package/lib/molecule/cm-popin/test/fixtures/default.js +2 -2
  194. package/lib/molecule/cm-popin/test/fixtures/default.js.map +1 -1
  195. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js +2 -2
  196. package/lib/molecule/cm-popin/test/fixtures/warning-with-close.js.map +1 -1
  197. package/lib/molecule/cm-popin/test/fixtures.js +28 -0
  198. package/lib/molecule/cm-popin/test/fixtures.js.map +1 -0
  199. package/lib/molecule/feedback/test/fixtures.js +0 -3
  200. package/lib/molecule/feedback/test/fixtures.js.map +1 -1
  201. package/lib/molecule/select-multiple/index.js +117 -143
  202. package/lib/molecule/select-multiple/index.js.map +1 -1
  203. package/lib/molecule/select-multiple/test/index.js +25 -79
  204. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  205. package/lib/molecule/vertical-tabs/index.js +8 -3
  206. package/lib/molecule/vertical-tabs/index.js.map +1 -1
  207. package/lib/molecule/vertical-tabs/test/fixtures/default.js +2 -1
  208. package/lib/molecule/vertical-tabs/test/fixtures/default.js.map +1 -1
  209. package/lib/molecule/vertical-tabs/test/fixtures/with-selected-item.js +2 -1
  210. package/lib/molecule/vertical-tabs/test/fixtures/with-selected-item.js.map +1 -1
  211. package/lib/molecule/vertical-tabs/test/fixtures.js +25 -0
  212. package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  213. package/lib/molecule/wizard-summary/index.js +3 -1
  214. package/lib/molecule/wizard-summary/index.js.map +1 -1
  215. package/lib/molecule/wizard-summary/style.css +8 -0
  216. package/lib/molecule/wizard-summary/test/fixtures.js +34 -0
  217. package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -0
  218. package/lib/organism/brand-form/test/fixtures/wizard-playlists.js +31 -0
  219. package/lib/organism/brand-form/test/fixtures/wizard-playlists.js.map +1 -0
  220. package/lib/organism/brand-form/test/fixtures.js +3 -0
  221. package/lib/organism/brand-form/test/fixtures.js.map +1 -1
  222. package/lib/organism/playlist-translation/index.js +78 -0
  223. package/lib/organism/playlist-translation/index.js.map +1 -0
  224. package/lib/organism/playlist-translation/style.css +45 -0
  225. package/lib/organism/playlist-translation/test/fixtures/default.js +35 -0
  226. package/lib/organism/playlist-translation/test/fixtures/default.js.map +1 -0
  227. package/lib/organism/playlist-translation/test/fixtures/delete.js +29 -0
  228. package/lib/organism/playlist-translation/test/fixtures/delete.js.map +1 -0
  229. package/lib/organism/search-and-chips-results/index.js +105 -0
  230. package/lib/organism/search-and-chips-results/index.js.map +1 -0
  231. package/lib/organism/search-and-chips-results/style.css +57 -0
  232. package/lib/organism/search-and-chips-results/test/fixtures/default.js +51 -0
  233. package/lib/organism/search-and-chips-results/test/fixtures/default.js.map +1 -0
  234. package/lib/organism/search-and-chips-results/test/fixtures/empty.js +28 -0
  235. package/lib/organism/search-and-chips-results/test/fixtures/empty.js.map +1 -0
  236. package/lib/organism/search-and-chips-results/test/fixtures/filtered.js +31 -0
  237. package/lib/organism/search-and-chips-results/test/fixtures/filtered.js.map +1 -0
  238. package/lib/organism/search-and-chips-results/test/fixtures/sorted-selected.js +54 -0
  239. package/lib/organism/search-and-chips-results/test/fixtures/sorted-selected.js.map +1 -0
  240. package/lib/organism/search-and-chips-results/test/fixtures/unsorted-selected.js +54 -0
  241. package/lib/organism/search-and-chips-results/test/fixtures/unsorted-selected.js.map +1 -0
  242. package/lib/organism/search-and-chips-results/test/fixtures.js +34 -0
  243. package/lib/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  244. package/lib/template/app-player/popin-end/test/fixtures.js +0 -3
  245. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -1
  246. package/lib/template/teams-dashboard/index.js +3 -1
  247. package/lib/template/teams-dashboard/index.js.map +1 -1
  248. package/lib/variables/colors.css +2 -0
  249. package/package.json +3 -3
  250. package/es/molecule/cockpit-popin/test/fixtures.js +0 -17
  251. package/es/molecule/cockpit-popin/test/fixtures.js.map +0 -1
  252. package/es/molecule/search/test/fixtures.js +0 -15
  253. package/es/molecule/search/test/fixtures.js.map +0 -1
  254. package/lib/molecule/cockpit-popin/test/fixtures.js +0 -28
  255. package/lib/molecule/cockpit-popin/test/fixtures.js.map +0 -1
  256. package/lib/molecule/search/test/fixtures.js.map +0 -1
@@ -0,0 +1,57 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value cm_primary_blue from colors;
3
+ @value cm_grey_100 from colors;
4
+ @value cm_grey_900 from colors;
5
+
6
+ .container {
7
+ width: 100%;
8
+ }
9
+
10
+ .header {
11
+ display: flex;
12
+ }
13
+
14
+ .search {
15
+ margin: 0 0 0 16px;
16
+ width: 42%;
17
+ min-width: 309px;
18
+ }
19
+
20
+ .button {
21
+ width: 17%;
22
+ min-width: 129px;
23
+ }
24
+
25
+ .resultContainer {
26
+ margin: 24px 0 0 0;
27
+ width: 100%;
28
+ }
29
+
30
+ .result {
31
+ min-width: 153px;
32
+ max-width: 268px;
33
+ display: inline-block;
34
+ margin: 0 16px 16px 0px;
35
+ }
36
+
37
+ .errorSection {
38
+ margin: 48px 0;
39
+ width: 100%;
40
+ display: flex;
41
+ flex-direction: column;
42
+ align-items: center;
43
+ font-size: 16px;
44
+ font-weight: bold;
45
+ font-family: Gilroy;
46
+ font-size: 16px;
47
+ }
48
+
49
+ .firstErrorMessage {
50
+ color: cm_grey_900;
51
+ display: block;
52
+ }
53
+
54
+ .secondErrorMessage {
55
+ color: cm_primary_blue;
56
+ display: block;
57
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ selectAllButton: {
8
+ label: 'Select All',
9
+ onClick: () => console.log('Select All')
10
+ },
11
+ search: {
12
+ title: 'Search...',
13
+ placeholder: 'Search...',
14
+ value: '',
15
+ description: 'Type to filter the populations',
16
+ onChange: value => console.log(value)
17
+ },
18
+ 'results-aria-label': 'Population results',
19
+ results: [{
20
+ text: 'Population Human resourses filiale Singapour',
21
+ information: '15739 users',
22
+ onClick: () => console.log('click Population Human resourses filiale Singapour')
23
+ }, {
24
+ text: 'Population 1',
25
+ information: '345 users',
26
+ onClick: () => console.log('click Population 1')
27
+ }, {
28
+ text: 'P',
29
+ information: '1 p',
30
+ onClick: () => console.log('click P')
31
+ }, {
32
+ text: 'Population managed by othes RH in some country',
33
+ information: '10 users',
34
+ onClick: () => console.log('click Population managed by othes RH in some country')
35
+ }, {
36
+ text: 'Population 4',
37
+ information: '106728 users',
38
+ onClick: () => console.log('click Population 4')
39
+ }, {
40
+ text: 'Population a long with a long name',
41
+ information: '105 users',
42
+ onClick: () => console.log('click Population a long with a long name')
43
+ }, {
44
+ text: 'Result bit that long',
45
+ information: '1067 users',
46
+ onClick: () => console.log('click Result bit that long')
47
+ }]
48
+ }
49
+ };
50
+ exports.default = _default;
51
+ //# sourceMappingURL=default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/default.js"],"names":["props","selectAllButton","label","onClick","console","log","search","title","placeholder","value","description","onChange","results","text","information"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,eAAe,EAAE;AACfC,MAAAA,KAAK,EAAE,YADQ;AAEfC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ;AAFA,KADZ;AAKLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,gCAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIL,OAAO,CAACC,GAAR,CAAYI,KAAZ;AALb,KALH;AAYL,0BAAsB,oBAZjB;AAaLG,IAAAA,OAAO,EAAE,CACP;AACEC,MAAAA,IAAI,EAAE,8CADR;AAEEC,MAAAA,WAAW,EAAE,aAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oDAAZ;AAHjB,KADO,EAMP;AACEQ,MAAAA,IAAI,EAAE,cADR;AAEEC,MAAAA,WAAW,EAAE,WAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oBAAZ;AAHjB,KANO,EAWP;AACEQ,MAAAA,IAAI,EAAE,GADR;AAEEC,MAAAA,WAAW,EAAE,KAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,SAAZ;AAHjB,KAXO,EAgBP;AACEQ,MAAAA,IAAI,EAAE,gDADR;AAEEC,MAAAA,WAAW,EAAE,UAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,sDAAZ;AAHjB,KAhBO,EAqBP;AACEQ,MAAAA,IAAI,EAAE,cADR;AAEEC,MAAAA,WAAW,EAAE,cAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oBAAZ;AAHjB,KArBO,EA0BP;AACEQ,MAAAA,IAAI,EAAE,oCADR;AAEEC,MAAAA,WAAW,EAAE,WAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,0CAAZ;AAHjB,KA1BO,EA+BP;AACEQ,MAAAA,IAAI,EAAE,sBADR;AAEEC,MAAAA,WAAW,EAAE,YAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,4BAAZ;AAHjB,KA/BO;AAbJ;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All')\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [\n {\n text: 'Population Human resourses filiale Singapour',\n information: '15739 users',\n onClick: () => console.log('click Population Human resourses filiale Singapour')\n },\n {\n text: 'Population 1',\n information: '345 users',\n onClick: () => console.log('click Population 1')\n },\n {\n text: 'P',\n information: '1 p',\n onClick: () => console.log('click P')\n },\n {\n text: 'Population managed by othes RH in some country',\n information: '10 users',\n onClick: () => console.log('click Population managed by othes RH in some country')\n },\n {\n text: 'Population 4',\n information: '106728 users',\n onClick: () => console.log('click Population 4')\n },\n {\n text: 'Population a long with a long name',\n information: '105 users',\n onClick: () => console.log('click Population a long with a long name')\n },\n {\n text: 'Result bit that long',\n information: '1067 users',\n onClick: () => console.log('click Result bit that long')\n }\n ]\n }\n};\n"],"file":"default.js"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ selectAllButton: {
8
+ label: 'Select All',
9
+ onClick: () => console.log('Select All'),
10
+ disabled: true
11
+ },
12
+ search: {
13
+ title: 'Search...',
14
+ placeholder: 'Search...',
15
+ value: 'Xoxoxo',
16
+ description: 'Type to find the populations',
17
+ onChange: value => console.log(value)
18
+ },
19
+ 'results-aria-label': 'Population results',
20
+ results: [],
21
+ emptyMessages: {
22
+ firstMessage: 'No results...',
23
+ secondMessage: 'Try something else'
24
+ }
25
+ }
26
+ };
27
+ exports.default = _default;
28
+ //# sourceMappingURL=empty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/empty.js"],"names":["props","selectAllButton","label","onClick","console","log","disabled","search","title","placeholder","value","description","onChange","results","emptyMessages","firstMessage","secondMessage"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,eAAe,EAAE;AACfC,MAAAA,KAAK,EAAE,YADQ;AAEfC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ,CAFA;AAGfC,MAAAA,QAAQ,EAAE;AAHK,KADZ;AAMLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,QAHD;AAINC,MAAAA,WAAW,EAAE,8BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIN,OAAO,CAACC,GAAR,CAAYK,KAAZ;AALb,KANH;AAaL,0BAAsB,oBAbjB;AAcLG,IAAAA,OAAO,EAAE,EAdJ;AAeLC,IAAAA,aAAa,EAAE;AACbC,MAAAA,YAAY,EAAE,eADD;AAEbC,MAAAA,aAAa,EAAE;AAFF;AAfV;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All'),\n disabled: true\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: 'Xoxoxo',\n description: 'Type to find the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [],\n emptyMessages: {\n firstMessage: 'No results...',\n secondMessage: 'Try something else'\n }\n }\n};\n"],"file":"empty.js"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ selectAllButton: {
8
+ label: 'Select All',
9
+ onClick: () => console.log('Select All')
10
+ },
11
+ search: {
12
+ title: 'Search...',
13
+ placeholder: 'Search...',
14
+ value: 'Human',
15
+ description: 'Type to filter the populations',
16
+ onChange: value => console.log(value)
17
+ },
18
+ 'results-aria-label': 'Population results',
19
+ results: [{
20
+ text: 'Population Human resourses filiale Singapour',
21
+ information: '15739 users',
22
+ onClick: () => console.log('click Population Human resourses filiale Singapour')
23
+ }, {
24
+ text: 'Population managed by othes Human resources in some country',
25
+ information: '10 users',
26
+ onClick: () => console.log('click Population managed by othes RH in some country')
27
+ }]
28
+ }
29
+ };
30
+ exports.default = _default;
31
+ //# sourceMappingURL=filtered.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/filtered.js"],"names":["props","selectAllButton","label","onClick","console","log","search","title","placeholder","value","description","onChange","results","text","information"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,eAAe,EAAE;AACfC,MAAAA,KAAK,EAAE,YADQ;AAEfC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ;AAFA,KADZ;AAKLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,OAHD;AAINC,MAAAA,WAAW,EAAE,gCAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIL,OAAO,CAACC,GAAR,CAAYI,KAAZ;AALb,KALH;AAYL,0BAAsB,oBAZjB;AAaLG,IAAAA,OAAO,EAAE,CACP;AACEC,MAAAA,IAAI,EAAE,8CADR;AAEEC,MAAAA,WAAW,EAAE,aAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oDAAZ;AAHjB,KADO,EAMP;AACEQ,MAAAA,IAAI,EAAE,6DADR;AAEEC,MAAAA,WAAW,EAAE,UAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,sDAAZ;AAHjB,KANO;AAbJ;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All')\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: 'Human',\n description: 'Type to filter the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [\n {\n text: 'Population Human resourses filiale Singapour',\n information: '15739 users',\n onClick: () => console.log('click Population Human resourses filiale Singapour')\n },\n {\n text: 'Population managed by othes Human resources in some country',\n information: '10 users',\n onClick: () => console.log('click Population managed by othes RH in some country')\n }\n ]\n }\n};\n"],"file":"filtered.js"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ selectAllButton: {
8
+ label: 'Select All',
9
+ onClick: () => console.log('Select All')
10
+ },
11
+ search: {
12
+ title: 'Search...',
13
+ placeholder: 'Search...',
14
+ value: '',
15
+ description: 'Type to filter the populations',
16
+ onChange: value => console.log(value)
17
+ },
18
+ 'results-aria-label': 'Population results',
19
+ results: [{
20
+ text: 'Population 1',
21
+ information: '345 users',
22
+ onClick: () => console.log('click Population 1'),
23
+ selected: true
24
+ }, {
25
+ text: 'P',
26
+ information: '1 p',
27
+ onClick: () => console.log('click P'),
28
+ selected: true
29
+ }, {
30
+ text: 'Population a long with a long name',
31
+ information: '105 users',
32
+ onClick: () => console.log('click Population a long with a long name'),
33
+ selected: true
34
+ }, {
35
+ text: 'Population Human resourses filiale Singapour',
36
+ information: '15739 users',
37
+ onClick: () => console.log('click Population Human resourses filiale Singapour')
38
+ }, {
39
+ text: 'Population managed by othes RH in some country',
40
+ information: '10 users',
41
+ onClick: () => console.log('click Population managed by othes RH in some country')
42
+ }, {
43
+ text: 'Population 4',
44
+ information: '106728 users',
45
+ onClick: () => console.log('click Population 4')
46
+ }, {
47
+ text: 'Result bit that long',
48
+ information: '1067 users',
49
+ onClick: () => console.log('click Result bit that long')
50
+ }]
51
+ }
52
+ };
53
+ exports.default = _default;
54
+ //# sourceMappingURL=sorted-selected.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/sorted-selected.js"],"names":["props","selectAllButton","label","onClick","console","log","search","title","placeholder","value","description","onChange","results","text","information","selected"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,eAAe,EAAE;AACfC,MAAAA,KAAK,EAAE,YADQ;AAEfC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ;AAFA,KADZ;AAKLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,gCAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIL,OAAO,CAACC,GAAR,CAAYI,KAAZ;AALb,KALH;AAYL,0BAAsB,oBAZjB;AAaLG,IAAAA,OAAO,EAAE,CACP;AACEC,MAAAA,IAAI,EAAE,cADR;AAEEC,MAAAA,WAAW,EAAE,WAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oBAAZ,CAHjB;AAIEU,MAAAA,QAAQ,EAAE;AAJZ,KADO,EAOP;AACEF,MAAAA,IAAI,EAAE,GADR;AAEEC,MAAAA,WAAW,EAAE,KAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,SAAZ,CAHjB;AAIEU,MAAAA,QAAQ,EAAE;AAJZ,KAPO,EAaP;AACEF,MAAAA,IAAI,EAAE,oCADR;AAEEC,MAAAA,WAAW,EAAE,WAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,0CAAZ,CAHjB;AAIEU,MAAAA,QAAQ,EAAE;AAJZ,KAbO,EAmBP;AACEF,MAAAA,IAAI,EAAE,8CADR;AAEEC,MAAAA,WAAW,EAAE,aAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oDAAZ;AAHjB,KAnBO,EAwBP;AACEQ,MAAAA,IAAI,EAAE,gDADR;AAEEC,MAAAA,WAAW,EAAE,UAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,sDAAZ;AAHjB,KAxBO,EA6BP;AACEQ,MAAAA,IAAI,EAAE,cADR;AAEEC,MAAAA,WAAW,EAAE,cAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oBAAZ;AAHjB,KA7BO,EAkCP;AACEQ,MAAAA,IAAI,EAAE,sBADR;AAEEC,MAAAA,WAAW,EAAE,YAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,4BAAZ;AAHjB,KAlCO;AAbJ;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All')\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [\n {\n text: 'Population 1',\n information: '345 users',\n onClick: () => console.log('click Population 1'),\n selected: true\n },\n {\n text: 'P',\n information: '1 p',\n onClick: () => console.log('click P'),\n selected: true\n },\n {\n text: 'Population a long with a long name',\n information: '105 users',\n onClick: () => console.log('click Population a long with a long name'),\n selected: true\n },\n {\n text: 'Population Human resourses filiale Singapour',\n information: '15739 users',\n onClick: () => console.log('click Population Human resourses filiale Singapour')\n },\n {\n text: 'Population managed by othes RH in some country',\n information: '10 users',\n onClick: () => console.log('click Population managed by othes RH in some country')\n },\n {\n text: 'Population 4',\n information: '106728 users',\n onClick: () => console.log('click Population 4')\n },\n {\n text: 'Result bit that long',\n information: '1067 users',\n onClick: () => console.log('click Result bit that long')\n }\n ]\n }\n};\n"],"file":"sorted-selected.js"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ selectAllButton: {
8
+ label: 'Select All',
9
+ onClick: () => console.log('Select All')
10
+ },
11
+ search: {
12
+ title: 'Search...',
13
+ placeholder: 'Search...',
14
+ value: '',
15
+ description: 'Type to filter the populations',
16
+ onChange: value => console.log(value)
17
+ },
18
+ 'results-aria-label': 'Population results',
19
+ results: [{
20
+ text: 'Population Human resourses filiale Singapour',
21
+ information: '15739 users',
22
+ onClick: () => console.log('click Population Human resourses filiale Singapour')
23
+ }, {
24
+ text: 'Population 1',
25
+ information: '345 users',
26
+ onClick: () => console.log('click Population 1'),
27
+ selected: true
28
+ }, {
29
+ text: 'P',
30
+ information: '1 p',
31
+ onClick: () => console.log('click P'),
32
+ selected: true
33
+ }, {
34
+ text: 'Population managed by othes RH in some country',
35
+ information: '10 users',
36
+ onClick: () => console.log('click Population managed by othes RH in some country')
37
+ }, {
38
+ text: 'Population 4',
39
+ information: '106728 users',
40
+ onClick: () => console.log('click Population 4')
41
+ }, {
42
+ text: 'Population a long with a long name',
43
+ information: '105 users',
44
+ onClick: () => console.log('click Population a long with a long name'),
45
+ selected: true
46
+ }, {
47
+ text: 'Result bit that long',
48
+ information: '1067 users',
49
+ onClick: () => console.log('click Result bit that long')
50
+ }]
51
+ }
52
+ };
53
+ exports.default = _default;
54
+ //# sourceMappingURL=unsorted-selected.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/organism/search-and-chips-results/test/fixtures/unsorted-selected.js"],"names":["props","selectAllButton","label","onClick","console","log","search","title","placeholder","value","description","onChange","results","text","information","selected"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,eAAe,EAAE;AACfC,MAAAA,KAAK,EAAE,YADQ;AAEfC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ;AAFA,KADZ;AAKLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,gCAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIL,OAAO,CAACC,GAAR,CAAYI,KAAZ;AALb,KALH;AAYL,0BAAsB,oBAZjB;AAaLG,IAAAA,OAAO,EAAE,CACP;AACEC,MAAAA,IAAI,EAAE,8CADR;AAEEC,MAAAA,WAAW,EAAE,aAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oDAAZ;AAHjB,KADO,EAMP;AACEQ,MAAAA,IAAI,EAAE,cADR;AAEEC,MAAAA,WAAW,EAAE,WAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oBAAZ,CAHjB;AAIEU,MAAAA,QAAQ,EAAE;AAJZ,KANO,EAYP;AACEF,MAAAA,IAAI,EAAE,GADR;AAEEC,MAAAA,WAAW,EAAE,KAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,SAAZ,CAHjB;AAIEU,MAAAA,QAAQ,EAAE;AAJZ,KAZO,EAkBP;AACEF,MAAAA,IAAI,EAAE,gDADR;AAEEC,MAAAA,WAAW,EAAE,UAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,sDAAZ;AAHjB,KAlBO,EAuBP;AACEQ,MAAAA,IAAI,EAAE,cADR;AAEEC,MAAAA,WAAW,EAAE,cAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,oBAAZ;AAHjB,KAvBO,EA4BP;AACEQ,MAAAA,IAAI,EAAE,oCADR;AAEEC,MAAAA,WAAW,EAAE,WAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,0CAAZ,CAHjB;AAIEU,MAAAA,QAAQ,EAAE;AAJZ,KA5BO,EAkCP;AACEF,MAAAA,IAAI,EAAE,sBADR;AAEEC,MAAAA,WAAW,EAAE,YAFf;AAGEX,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,4BAAZ;AAHjB,KAlCO;AAbJ;AADM,C","sourcesContent":["export default {\n props: {\n selectAllButton: {\n label: 'Select All',\n onClick: () => console.log('Select All')\n },\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the populations',\n onChange: value => console.log(value)\n },\n 'results-aria-label': 'Population results',\n results: [\n {\n text: 'Population Human resourses filiale Singapour',\n information: '15739 users',\n onClick: () => console.log('click Population Human resourses filiale Singapour')\n },\n {\n text: 'Population 1',\n information: '345 users',\n onClick: () => console.log('click Population 1'),\n selected: true\n },\n {\n text: 'P',\n information: '1 p',\n onClick: () => console.log('click P'),\n selected: true\n },\n {\n text: 'Population managed by othes RH in some country',\n information: '10 users',\n onClick: () => console.log('click Population managed by othes RH in some country')\n },\n {\n text: 'Population 4',\n information: '106728 users',\n onClick: () => console.log('click Population 4')\n },\n {\n text: 'Population a long with a long name',\n information: '105 users',\n onClick: () => console.log('click Population a long with a long name'),\n selected: true\n },\n {\n text: 'Result bit that long',\n information: '1067 users',\n onClick: () => console.log('click Result bit that long')\n }\n ]\n }\n};\n"],"file":"unsorted-selected.js"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ var _ava = _interopRequireDefault(require("ava"));
4
+
5
+ var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
+
7
+ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
+
9
+ var _ = _interopRequireDefault(require(".."));
10
+
11
+ var _default = _interopRequireDefault(require("./fixtures/default"));
12
+
13
+ var _empty = _interopRequireDefault(require("./fixtures/empty"));
14
+
15
+ var _filtered = _interopRequireDefault(require("./fixtures/filtered"));
16
+
17
+ var _sortedSelected = _interopRequireDefault(require("./fixtures/sorted-selected"));
18
+
19
+ var _unsortedSelected = _interopRequireDefault(require("./fixtures/unsorted-selected"));
20
+
21
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
22
+
23
+ (0, _ava.default)('Organism › OrganismSearchAndChipsResults > should have valid propTypes', t => {
24
+ t.pass();
25
+ (0, _forEach.default)(_.default.propTypes, (value, key) => {
26
+ t.not(value, undefined, `PropType for "Organism.OrganismSearchAndChipsResults.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
27
+ });
28
+ });
29
+ (0, _ava.default)('Organism › OrganismSearchAndChipsResults › Default › should be rendered', _renderComponent.default, _.default, _default.default);
30
+ (0, _ava.default)('Organism › OrganismSearchAndChipsResults › Empty › should be rendered', _renderComponent.default, _.default, _empty.default);
31
+ (0, _ava.default)('Organism › OrganismSearchAndChipsResults › Filtered › should be rendered', _renderComponent.default, _.default, _filtered.default);
32
+ (0, _ava.default)('Organism › OrganismSearchAndChipsResults › SortedSelected › should be rendered', _renderComponent.default, _.default, _sortedSelected.default);
33
+ (0, _ava.default)('Organism › OrganismSearchAndChipsResults › UnsortedSelected › should be rendered', _renderComponent.default, _.default, _unsortedSelected.default);
34
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/organism/search-and-chips-results/test/fixtures.js"],"names":["t","pass","OrganismSearchAndChipsResults","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureEmpty","fixtureFiltered","fixtureSortedSelected","fixtureUnsortedSelected"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wEAAL,EAA+EA,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,yEAAL,EAAgFG,wBAAhF,EAAsGN,SAAtG,EAAqIO,gBAArI;AACA,kBAAK,uEAAL,EAA8ED,wBAA9E,EAAoGN,SAApG,EAAmIQ,cAAnI;AACA,kBAAK,0EAAL,EAAiFF,wBAAjF,EAAuGN,SAAvG,EAAsIS,iBAAtI;AACA,kBAAK,gFAAL,EAAuFH,wBAAvF,EAA6GN,SAA7G,EAA4IU,uBAA5I;AACA,kBAAK,kFAAL,EAAyFJ,wBAAzF,EAA+GN,SAA/G,EAA8IW,yBAA9I","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismSearchAndChipsResults from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureFiltered from './fixtures/filtered';\nimport fixtureSortedSelected from './fixtures/sorted-selected';\nimport fixtureUnsortedSelected from './fixtures/unsorted-selected';\n\ntest('Organism › OrganismSearchAndChipsResults > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismSearchAndChipsResults.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismSearchAndChipsResults.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismSearchAndChipsResults › Default › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureDefault);\ntest('Organism › OrganismSearchAndChipsResults › Empty › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureEmpty);\ntest('Organism › OrganismSearchAndChipsResults › Filtered › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureFiltered);\ntest('Organism › OrganismSearchAndChipsResults › SortedSelected › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureSortedSelected);\ntest('Organism › OrganismSearchAndChipsResults › UnsortedSelected › should be rendered', renderComponentMacro, OrganismSearchAndChipsResults, fixtureUnsortedSelected);\n"],"file":"fixtures.js"}
@@ -38,8 +38,6 @@ var _nextCourse = _interopRequireDefault(require("./fixtures/next-course"));
38
38
 
39
39
  var _nextLevelAdaptiveImg = _interopRequireDefault(require("./fixtures/next-level-adaptive-img"));
40
40
 
41
- var _nextLevelAdaptiveVideo = _interopRequireDefault(require("./fixtures/next-level-adaptive-video"));
42
-
43
41
  var _simpleAction = _interopRequireDefault(require("./fixtures/simple-action"));
44
42
 
45
43
  var _subscribe = _interopRequireDefault(require("./fixtures/subscribe"));
@@ -71,7 +69,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
71
69
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', _renderComponent.default, _.default, _negativeRank.default);
72
70
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', _renderComponent.default, _.default, _nextCourse.default);
73
71
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', _renderComponent.default, _.default, _nextLevelAdaptiveImg.default);
74
- (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveVideo › should be rendered', _renderComponent.default, _.default, _nextLevelAdaptiveVideo.default);
75
72
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', _renderComponent.default, _.default, _simpleAction.default);
76
73
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', _renderComponent.default, _.default, _subscribe.default);
77
74
  (0, _ava.default)('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', _renderComponent.default, _.default, _withLoadingRecommendations.default);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["t","pass","TemplateAppPlayerPopinEnd","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureNextLevelAdaptiveVideo","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6EAAL,EAAoFA,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA0BC,SAAlC,EAA6C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,+EAAL,EAAsFG,wBAAtF,EAA4GN,SAA5G,EAAuIO,iBAAvI;AACA,kBAAK,oFAAL,EAA2FD,wBAA3F,EAAiHN,SAAjH,EAA4IQ,sBAA5I;AACA,kBAAK,iGAAL,EAAwGF,wBAAxG,EAA8HN,SAA9H,EAAyJS,mCAAzJ;AACA,kBAAK,gGAAL,EAAuGH,wBAAvG,EAA6HN,SAA7H,EAAwJU,kCAAxJ;AACA,kBAAK,uFAAL,EAA8FJ,wBAA9F,EAAoHN,SAApH,EAA+IW,yBAA/I;AACA,kBAAK,kFAAL,EAAyFL,wBAAzF,EAA+GN,SAA/G,EAA0IY,oBAA1I;AACA,kBAAK,8EAAL,EAAqFN,wBAArF,EAA2GN,SAA3G,EAAsIa,gBAAtI;AACA,kBAAK,8EAAL,EAAqFP,wBAArF,EAA2GN,SAA3G,EAAsIc,gBAAtI;AACA,kBAAK,8EAAL,EAAqFR,wBAArF,EAA2GN,SAA3G,EAAsIe,gBAAtI;AACA,kBAAK,2EAAL,EAAkFT,wBAAlF,EAAwGN,SAAxG,EAAmIgB,aAAnI;AACA,kBAAK,oFAAL,EAA2FV,wBAA3F,EAAiHN,SAAjH,EAA4IiB,sBAA5I;AACA,kBAAK,8EAAL,EAAqFX,wBAArF,EAA2GN,SAA3G,EAAsIkB,gBAAtI;AACA,kBAAK,mFAAL,EAA0FZ,wBAA1F,EAAgHN,SAAhH,EAA2ImB,qBAA3I;AACA,kBAAK,iFAAL,EAAwFb,wBAAxF,EAA8GN,SAA9G,EAAyIoB,mBAAzI;AACA,kBAAK,2FAAL,EAAkGd,wBAAlG,EAAwHN,SAAxH,EAAmJqB,6BAAnJ;AACA,kBAAK,6FAAL,EAAoGf,wBAApG,EAA0HN,SAA1H,EAAqJsB,+BAArJ;AACA,kBAAK,mFAAL,EAA0FhB,wBAA1F,EAAgHN,SAAhH,EAA2IuB,qBAA3I;AACA,kBAAK,gFAAL,EAAuFjB,wBAAvF,EAA6GN,SAA7G,EAAwIwB,kBAAxI;AACA,kBAAK,iGAAL,EAAwGlB,wBAAxG,EAA8HN,SAA9H,EAAyJyB,mCAAzJ;AACA,kBAAK,0FAAL,EAAiGnB,wBAAjG,EAAuHN,SAAvH,EAAkJ0B,4BAAlJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateAppPlayerPopinEnd from '..';\nimport fixtureAdaptive from './fixtures/adaptive';\nimport fixtureArabicCorrect from './fixtures/arabic-correct';\nimport fixtureArabicNextLevelAdaptiveImg from './fixtures/arabic-next-level-adaptive-img';\nimport fixtureArabicWithRecommendations from './fixtures/arabic-with-recommendations';\nimport fixtureCommentIsLoading from './fixtures/comment-is-loading';\nimport fixtureCommentSent from './fixtures/comment-sent';\nimport fixtureComment from './fixtures/comment';\nimport fixtureCorrect from './fixtures/correct';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFail from './fixtures/fail';\nimport fixtureInfiniteLives from './fixtures/infinite-lives';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNegativeRank from './fixtures/negative-rank';\nimport fixtureNextCourse from './fixtures/next-course';\nimport fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';\nimport fixtureNextLevelAdaptiveVideo from './fixtures/next-level-adaptive-video';\nimport fixtureSimpleAction from './fixtures/simple-action';\nimport fixtureSubscribe from './fixtures/subscribe';\nimport fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';\nimport fixtureWithRecommendations from './fixtures/with-recommendations';\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateAppPlayer.TemplateAppPlayerPopinEnd.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Adaptive › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureAdaptive);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicCorrect › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicNextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicWithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentIsLoading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentIsLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentSent › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentSent);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Comment › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureComment);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Correct › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Default › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureDefault);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Fail › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureFail);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › InfiniteLives › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureInfiniteLives);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveVideo › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveVideo);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../../src/template/app-player/popin-end/test/fixtures.js"],"names":["t","pass","TemplateAppPlayerPopinEnd","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAdaptive","fixtureArabicCorrect","fixtureArabicNextLevelAdaptiveImg","fixtureArabicWithRecommendations","fixtureCommentIsLoading","fixtureCommentSent","fixtureComment","fixtureCorrect","fixtureDefault","fixtureFail","fixtureInfiniteLives","fixtureLoading","fixtureNegativeRank","fixtureNextCourse","fixtureNextLevelAdaptiveImg","fixtureSimpleAction","fixtureSubscribe","fixtureWithLoadingRecommendations","fixtureWithRecommendations"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,6EAAL,EAAoFA,CAAC,IAAI;AACvFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA0BC,SAAlC,EAA6C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,uEAAsEF,GAAI,mEAAnG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,+EAAL,EAAsFG,wBAAtF,EAA4GN,SAA5G,EAAuIO,iBAAvI;AACA,kBAAK,oFAAL,EAA2FD,wBAA3F,EAAiHN,SAAjH,EAA4IQ,sBAA5I;AACA,kBAAK,iGAAL,EAAwGF,wBAAxG,EAA8HN,SAA9H,EAAyJS,mCAAzJ;AACA,kBAAK,gGAAL,EAAuGH,wBAAvG,EAA6HN,SAA7H,EAAwJU,kCAAxJ;AACA,kBAAK,uFAAL,EAA8FJ,wBAA9F,EAAoHN,SAApH,EAA+IW,yBAA/I;AACA,kBAAK,kFAAL,EAAyFL,wBAAzF,EAA+GN,SAA/G,EAA0IY,oBAA1I;AACA,kBAAK,8EAAL,EAAqFN,wBAArF,EAA2GN,SAA3G,EAAsIa,gBAAtI;AACA,kBAAK,8EAAL,EAAqFP,wBAArF,EAA2GN,SAA3G,EAAsIc,gBAAtI;AACA,kBAAK,8EAAL,EAAqFR,wBAArF,EAA2GN,SAA3G,EAAsIe,gBAAtI;AACA,kBAAK,2EAAL,EAAkFT,wBAAlF,EAAwGN,SAAxG,EAAmIgB,aAAnI;AACA,kBAAK,oFAAL,EAA2FV,wBAA3F,EAAiHN,SAAjH,EAA4IiB,sBAA5I;AACA,kBAAK,8EAAL,EAAqFX,wBAArF,EAA2GN,SAA3G,EAAsIkB,gBAAtI;AACA,kBAAK,mFAAL,EAA0FZ,wBAA1F,EAAgHN,SAAhH,EAA2ImB,qBAA3I;AACA,kBAAK,iFAAL,EAAwFb,wBAAxF,EAA8GN,SAA9G,EAAyIoB,mBAAzI;AACA,kBAAK,2FAAL,EAAkGd,wBAAlG,EAAwHN,SAAxH,EAAmJqB,6BAAnJ;AACA,kBAAK,mFAAL,EAA0Ff,wBAA1F,EAAgHN,SAAhH,EAA2IsB,qBAA3I;AACA,kBAAK,gFAAL,EAAuFhB,wBAAvF,EAA6GN,SAA7G,EAAwIuB,kBAAxI;AACA,kBAAK,iGAAL,EAAwGjB,wBAAxG,EAA8HN,SAA9H,EAAyJwB,mCAAzJ;AACA,kBAAK,0FAAL,EAAiGlB,wBAAjG,EAAuHN,SAAvH,EAAkJyB,4BAAlJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateAppPlayerPopinEnd from '..';\nimport fixtureAdaptive from './fixtures/adaptive';\nimport fixtureArabicCorrect from './fixtures/arabic-correct';\nimport fixtureArabicNextLevelAdaptiveImg from './fixtures/arabic-next-level-adaptive-img';\nimport fixtureArabicWithRecommendations from './fixtures/arabic-with-recommendations';\nimport fixtureCommentIsLoading from './fixtures/comment-is-loading';\nimport fixtureCommentSent from './fixtures/comment-sent';\nimport fixtureComment from './fixtures/comment';\nimport fixtureCorrect from './fixtures/correct';\nimport fixtureDefault from './fixtures/default';\nimport fixtureFail from './fixtures/fail';\nimport fixtureInfiniteLives from './fixtures/infinite-lives';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNegativeRank from './fixtures/negative-rank';\nimport fixtureNextCourse from './fixtures/next-course';\nimport fixtureNextLevelAdaptiveImg from './fixtures/next-level-adaptive-img';\nimport fixtureSimpleAction from './fixtures/simple-action';\nimport fixtureSubscribe from './fixtures/subscribe';\nimport fixtureWithLoadingRecommendations from './fixtures/with-loading-recommendations';\nimport fixtureWithRecommendations from './fixtures/with-recommendations';\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateAppPlayerPopinEnd.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateAppPlayer.TemplateAppPlayerPopinEnd.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Adaptive › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureAdaptive);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicCorrect › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicNextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › ArabicWithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureArabicWithRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentIsLoading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentIsLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › CommentSent › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCommentSent);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Comment › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureComment);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Correct › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureCorrect);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Default › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureDefault);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Fail › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureFail);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › InfiniteLives › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureInfiniteLives);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Loading › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureLoading);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NegativeRank › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNegativeRank);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextCourse › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextCourse);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › NextLevelAdaptiveImg › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureNextLevelAdaptiveImg);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › SimpleAction › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSimpleAction);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › Subscribe › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureSubscribe);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithLoadingRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithLoadingRecommendations);\ntest('TemplateAppPlayer › TemplateAppPlayerPopinEnd › WithRecommendations › should be rendered', renderComponentMacro, TemplateAppPlayerPopinEnd, fixtureWithRecommendations);\n"],"file":"fixtures.js"}
@@ -43,7 +43,9 @@ const TeamsDashboard = ({
43
43
  }));
44
44
  };
45
45
 
46
- const sectionsList = (0, _map2.default)(buildSection, sections);
46
+ const sectionsList = (0, _react.useMemo)(() => _map2.default.convert({
47
+ cap: false
48
+ })(buildSection, sections), [buildSection, sections]);
47
49
  return isLoading ? /*#__PURE__*/_react.default.createElement("div", {
48
50
  className: _style.default.loader
49
51
  }, /*#__PURE__*/_react.default.createElement(_loader.default, {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/template/teams-dashboard/index.js"],"names":["TeamsDashboard","logo","platformLinks","sections","isLoading","isShadowed","setShadowed","onMenuOpen","onMenuClose","buildSection","section","index","title","sectionsList","style","loader","shadowedTeamsDashboard","teamsDashboard","sectionsWrapper","propTypes","MoocHeader","PropTypes","arrayOf","shape","Cta","CardsList","bool"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,cAAc,GAAG,CAAC;AAACC,EAAAA,IAAD;AAAOC,EAAAA,aAAP;AAAsBC,EAAAA,QAAtB;AAAgCC,EAAAA;AAAhC,CAAD,KAAgD;AACrE,QAAM,CAACC,UAAD,EAAaC,WAAb,IAA4B,qBAAS,KAAT,CAAlC;AACA,QAAMC,UAAU,GAAG,wBAAY,MAAMD,WAAW,CAAC,IAAD,CAA7B,CAAnB;AACA,QAAME,WAAW,GAAG,wBAAY,MAAMF,WAAW,CAAC,KAAD,CAA7B,CAApB;;AAEA,QAAMG,YAAY,GAAG,CAACC,OAAD,EAAUC,KAAV,KAAoB;AACvC,wBAAO,6BAAC,kBAAD,eAAeD,OAAf;AAAwB,MAAA,GAAG,EAAEA,OAAO,CAACE,KAAR,GAAgBD;AAA7C,OAAP;AACD,GAFD;;AAGA,QAAME,YAAY,GAAG,mBAAIJ,YAAJ,EAAkBN,QAAlB,CAArB;AACA,SAAOC,SAAS,gBACd;AAAK,IAAA,SAAS,EAAEU,eAAMC;AAAtB,kBACE,6BAAC,eAAD;AAAQ,iBAAU;AAAlB,IADF,CADc,gBAKd;AACE,iBAAU,iBADZ;AAEE,IAAA,SAAS,EAAEV,UAAU,GAAGS,eAAME,sBAAT,GAAkCF,eAAMG;AAF/D,kBAIE,6BAAC,mBAAD;AACE,iBAAU,wBADZ;AAEE,IAAA,IAAI,EAAEhB,IAFR;AAGE,IAAA,KAAK,EAAEC,aAHT;AAIE,IAAA,UAAU,EAAEK,UAJd;AAKE,IAAA,WAAW,EAAEC;AALf,IAJF,eAWE;AAAK,iBAAU,kBAAf;AAAkC,IAAA,SAAS,EAAEH,UAAU,GAAGS,eAAMI,eAAT,GAA2B;AAAlF,KACGL,YADH,CAXF,CALF;AAqBD,CA9BD;;AAgCAb,cAAc,CAACmB,SAAf,2CAA2B;AACzBlB,EAAAA,IAAI,EAAEmB,oBAAWD,SAAX,CAAqBlB,IADF;AAEzBC,EAAAA,aAAa,EAAEmB,mBAAUC,OAAV,CAAkBD,mBAAUE,KAAV,CAAgBC,aAAIL,SAApB,CAAlB,CAFU;AAGzBhB,EAAAA,QAAQ,EAAEkB,mBAAUC,OAAV,CAAkBD,mBAAUE,KAAV,CAAgBE,mBAAUN,SAA1B,CAAlB,CAHe;AAIzBf,EAAAA,SAAS,EAAEiB,mBAAUK;AAJI,CAA3B;eAOe1B,c","sourcesContent":["import React, {useState, useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport MoocHeader from '../../organism/mooc-header';\nimport Cta from '../../atom/cta';\nimport Loader from '../../atom/loader';\nimport CardsList from '../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst TeamsDashboard = ({logo, platformLinks, sections, isLoading}) => {\n const [isShadowed, setShadowed] = useState(false);\n const onMenuOpen = useCallback(() => setShadowed(true));\n const onMenuClose = useCallback(() => setShadowed(false));\n\n const buildSection = (section, index) => {\n return <CardsList {...section} key={section.title + index} />;\n };\n const sectionsList = map(buildSection, sections);\n return isLoading ? (\n <div className={style.loader}>\n <Loader data-name=\"teams-dashboard-loader\" />\n </div>\n ) : (\n <div\n data-name=\"teams-dashboard\"\n className={isShadowed ? style.shadowedTeamsDashboard : style.teamsDashboard}\n >\n <MoocHeader\n data-name=\"teams-dashboard-header\"\n logo={logo}\n links={platformLinks}\n onMenuOpen={onMenuOpen}\n onMenuClose={onMenuClose}\n />\n <div data-name=\"sections-wrapper\" className={isShadowed ? style.sectionsWrapper : null}>\n {sectionsList}\n </div>\n </div>\n );\n};\n\nTeamsDashboard.propTypes = {\n logo: MoocHeader.propTypes.logo,\n platformLinks: PropTypes.arrayOf(PropTypes.shape(Cta.propTypes)),\n sections: PropTypes.arrayOf(PropTypes.shape(CardsList.propTypes)),\n isLoading: PropTypes.bool\n};\n\nexport default TeamsDashboard;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/template/teams-dashboard/index.js"],"names":["TeamsDashboard","logo","platformLinks","sections","isLoading","isShadowed","setShadowed","onMenuOpen","onMenuClose","buildSection","section","index","title","sectionsList","convert","cap","style","loader","shadowedTeamsDashboard","teamsDashboard","sectionsWrapper","propTypes","MoocHeader","PropTypes","arrayOf","shape","Cta","CardsList","bool"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,cAAc,GAAG,CAAC;AAACC,EAAAA,IAAD;AAAOC,EAAAA,aAAP;AAAsBC,EAAAA,QAAtB;AAAgCC,EAAAA;AAAhC,CAAD,KAAgD;AACrE,QAAM,CAACC,UAAD,EAAaC,WAAb,IAA4B,qBAAS,KAAT,CAAlC;AACA,QAAMC,UAAU,GAAG,wBAAY,MAAMD,WAAW,CAAC,IAAD,CAA7B,CAAnB;AACA,QAAME,WAAW,GAAG,wBAAY,MAAMF,WAAW,CAAC,KAAD,CAA7B,CAApB;;AAEA,QAAMG,YAAY,GAAG,CAACC,OAAD,EAAUC,KAAV,KAAoB;AACvC,wBAAO,6BAAC,kBAAD,eAAeD,OAAf;AAAwB,MAAA,GAAG,EAAEA,OAAO,CAACE,KAAR,GAAgBD;AAA7C,OAAP;AACD,GAFD;;AAGA,QAAME,YAAY,GAAG,oBAAQ,MAAM,cAAIC,OAAJ,CAAY;AAACC,IAAAA,GAAG,EAAE;AAAN,GAAZ,EAA0BN,YAA1B,EAAwCN,QAAxC,CAAd,EAAiE,CACpFM,YADoF,EAEpFN,QAFoF,CAAjE,CAArB;AAIA,SAAOC,SAAS,gBACd;AAAK,IAAA,SAAS,EAAEY,eAAMC;AAAtB,kBACE,6BAAC,eAAD;AAAQ,iBAAU;AAAlB,IADF,CADc,gBAKd;AACE,iBAAU,iBADZ;AAEE,IAAA,SAAS,EAAEZ,UAAU,GAAGW,eAAME,sBAAT,GAAkCF,eAAMG;AAF/D,kBAIE,6BAAC,mBAAD;AACE,iBAAU,wBADZ;AAEE,IAAA,IAAI,EAAElB,IAFR;AAGE,IAAA,KAAK,EAAEC,aAHT;AAIE,IAAA,UAAU,EAAEK,UAJd;AAKE,IAAA,WAAW,EAAEC;AALf,IAJF,eAWE;AAAK,iBAAU,kBAAf;AAAkC,IAAA,SAAS,EAAEH,UAAU,GAAGW,eAAMI,eAAT,GAA2B;AAAlF,KACGP,YADH,CAXF,CALF;AAqBD,CAjCD;;AAmCAb,cAAc,CAACqB,SAAf,2CAA2B;AACzBpB,EAAAA,IAAI,EAAEqB,oBAAWD,SAAX,CAAqBpB,IADF;AAEzBC,EAAAA,aAAa,EAAEqB,mBAAUC,OAAV,CAAkBD,mBAAUE,KAAV,CAAgBC,aAAIL,SAApB,CAAlB,CAFU;AAGzBlB,EAAAA,QAAQ,EAAEoB,mBAAUC,OAAV,CAAkBD,mBAAUE,KAAV,CAAgBE,mBAAUN,SAA1B,CAAlB,CAHe;AAIzBjB,EAAAA,SAAS,EAAEmB,mBAAUK;AAJI,CAA3B;eAOe5B,c","sourcesContent":["import React, {useState, useCallback, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport MoocHeader from '../../organism/mooc-header';\nimport Cta from '../../atom/cta';\nimport Loader from '../../atom/loader';\nimport CardsList from '../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst TeamsDashboard = ({logo, platformLinks, sections, isLoading}) => {\n const [isShadowed, setShadowed] = useState(false);\n const onMenuOpen = useCallback(() => setShadowed(true));\n const onMenuClose = useCallback(() => setShadowed(false));\n\n const buildSection = (section, index) => {\n return <CardsList {...section} key={section.title + index} />;\n };\n const sectionsList = useMemo(() => map.convert({cap: false})(buildSection, sections), [\n buildSection,\n sections\n ]);\n return isLoading ? (\n <div className={style.loader}>\n <Loader data-name=\"teams-dashboard-loader\" />\n </div>\n ) : (\n <div\n data-name=\"teams-dashboard\"\n className={isShadowed ? style.shadowedTeamsDashboard : style.teamsDashboard}\n >\n <MoocHeader\n data-name=\"teams-dashboard-header\"\n logo={logo}\n links={platformLinks}\n onMenuOpen={onMenuOpen}\n onMenuClose={onMenuClose}\n />\n <div data-name=\"sections-wrapper\" className={isShadowed ? style.sectionsWrapper : null}>\n {sectionsList}\n </div>\n </div>\n );\n};\n\nTeamsDashboard.propTypes = {\n logo: MoocHeader.propTypes.logo,\n platformLinks: PropTypes.arrayOf(PropTypes.shape(Cta.propTypes)),\n sections: PropTypes.arrayOf(PropTypes.shape(CardsList.propTypes)),\n isLoading: PropTypes.bool\n};\n\nexport default TeamsDashboard;\n"],"file":"index.js"}
@@ -52,7 +52,9 @@
52
52
  @value cm_pink_50: #ffefeb;
53
53
  @value cm_purple_200: #7340FF;
54
54
  @value cm_yellow_scorm: #FFB800;
55
+ @value cm_yellow_100: #ffc043;
55
56
  @value cm_yellow_200: #DB9200;
57
+ @value cm_yellow_400: #bd7e00;
56
58
  @value cm_red_video: #E8335E;
57
59
  @value cm_violet_podcast: #432ba7;
58
60
  @value cm_warning_50: rgba(255, 192, 67, 0.13);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "10.1.3",
3
+ "version": "10.1.7",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -50,7 +50,7 @@
50
50
  "Soualmi Djamel <djamel.soualmi@coorpacademy.com>"
51
51
  ],
52
52
  "dependencies": {
53
- "@coorpacademy/nova-icons": "3.9.32",
53
+ "@coorpacademy/nova-icons": "3.9.34",
54
54
  "autoprefixer": "^9.8.0",
55
55
  "classnames": "^2.2.6",
56
56
  "css-color-function": "^1.3.3",
@@ -118,5 +118,5 @@
118
118
  "webpack-hot-middleware": "^2.25.0"
119
119
  },
120
120
  "author": "CoorpAcademy",
121
- "gitHead": "a218ff9e7996b6f955bbd98ba849f6315eb65811"
121
+ "gitHead": "4f0e33e3499622a7fe5256b40cc3929edbfe7e35"
122
122
  }
@@ -1,17 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import MoleculeCockpitPopin from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureLoading from './fixtures/loading';
7
- import fixtureVideoTranslate from './fixtures/video-translate';
8
- test('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {
9
- t.pass();
10
- forEach(MoleculeCockpitPopin.propTypes, (value, key) => {
11
- t.not(value, undefined, `PropType for "Molecule.MoleculeCockpitPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
12
- });
13
- });
14
- test('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);
15
- test('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);
16
- test('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);
17
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/cockpit-popin/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeCockpitPopin","fixtureDefault","fixtureLoading","fixtureVideoTranslate","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,oBAAP,MAAiC,IAAjC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AAEAN,IAAI,CAAC,+DAAD,EAAkEO,CAAC,IAAI;AACzEA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,oBAAoB,CAACM,SAAtB,EAAiC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yDAAwDF,GAAI,mEAArF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,oBAAzF,EAA+GC,cAA/G,CAAJ;AACAJ,IAAI,CAAC,gEAAD,EAAmEE,oBAAnE,EAAyFC,oBAAzF,EAA+GE,cAA/G,CAAJ;AACAL,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,oBAAhG,EAAsHG,qBAAtH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCockpitPopin from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureVideoTranslate from './fixtures/video-translate';\n\ntest('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCockpitPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCockpitPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);\ntest('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);\ntest('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);\n"],"file":"fixtures.js"}
@@ -1,15 +0,0 @@
1
- import test from 'ava';
2
- import forEach from 'lodash/forEach';
3
- import renderComponentMacro from '../../../test/helpers/render-component';
4
- import MoleculeSearch from '..';
5
- import fixtureDefault from './fixtures/default';
6
- import fixtureWithValue from './fixtures/with-value';
7
- test('Molecule › MoleculeSearch > should have valid propTypes', t => {
8
- t.pass();
9
- forEach(MoleculeSearch.propTypes, (value, key) => {
10
- t.not(value, undefined, `PropType for "Molecule.MoleculeSearch.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
- });
12
- });
13
- test('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);
14
- test('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);
15
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/search/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","MoleculeSearch","fixtureDefault","fixtureWithValue","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,cAAP,MAA2B,IAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAL,IAAI,CAAC,yDAAD,EAA4DM,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,cAAc,CAACK,SAAhB,EAA2B,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,0DAAD,EAA6DE,oBAA7D,EAAmFC,cAAnF,EAAmGC,cAAnG,CAAJ;AACAJ,IAAI,CAAC,4DAAD,EAA+DE,oBAA/D,EAAqFC,cAArF,EAAqGE,gBAArG,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeSearch from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Molecule › MoleculeSearch > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);\ntest('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);\n"],"file":"fixtures.js"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- var _ava = _interopRequireDefault(require("ava"));
4
-
5
- var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
-
7
- var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
-
9
- var _ = _interopRequireDefault(require(".."));
10
-
11
- var _default = _interopRequireDefault(require("./fixtures/default"));
12
-
13
- var _loading = _interopRequireDefault(require("./fixtures/loading"));
14
-
15
- var _videoTranslate = _interopRequireDefault(require("./fixtures/video-translate"));
16
-
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
-
19
- (0, _ava.default)('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {
20
- t.pass();
21
- (0, _forEach.default)(_.default.propTypes, (value, key) => {
22
- t.not(value, undefined, `PropType for "Molecule.MoleculeCockpitPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
23
- });
24
- });
25
- (0, _ava.default)('Molecule › MoleculeCockpitPopin › Default › should be rendered', _renderComponent.default, _.default, _default.default);
26
- (0, _ava.default)('Molecule › MoleculeCockpitPopin › Loading › should be rendered', _renderComponent.default, _.default, _loading.default);
27
- (0, _ava.default)('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', _renderComponent.default, _.default, _videoTranslate.default);
28
- //# sourceMappingURL=fixtures.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/cockpit-popin/test/fixtures.js"],"names":["t","pass","MoleculeCockpitPopin","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureLoading","fixtureVideoTranslate"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,+DAAL,EAAsEA,CAAC,IAAI;AACzEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAqBC,SAA7B,EAAwC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACtDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,yDAAwDF,GAAI,mEAArF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,gEAAL,EAAuEG,wBAAvE,EAA6FN,SAA7F,EAAmHO,gBAAnH;AACA,kBAAK,gEAAL,EAAuED,wBAAvE,EAA6FN,SAA7F,EAAmHQ,gBAAnH;AACA,kBAAK,uEAAL,EAA8EF,wBAA9E,EAAoGN,SAApG,EAA0HS,uBAA1H","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeCockpitPopin from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureVideoTranslate from './fixtures/video-translate';\n\ntest('Molecule › MoleculeCockpitPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeCockpitPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeCockpitPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeCockpitPopin › Default › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureDefault);\ntest('Molecule › MoleculeCockpitPopin › Loading › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureLoading);\ntest('Molecule › MoleculeCockpitPopin › VideoTranslate › should be rendered', renderComponentMacro, MoleculeCockpitPopin, fixtureVideoTranslate);\n"],"file":"fixtures.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../src/molecule/search/test/fixtures.js"],"names":["t","pass","MoleculeSearch","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureWithValue"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,yDAAL,EAAgEA,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAeC,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,0DAAL,EAAiEG,wBAAjE,EAAuFN,SAAvF,EAAuGO,gBAAvG;AACA,kBAAK,4DAAL,EAAmED,wBAAnE,EAAyFN,SAAzF,EAAyGQ,kBAAzG","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeSearch from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Molecule › MoleculeSearch > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);\ntest('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);\n"],"file":"fixtures.js"}