@coorpacademy/components 11.18.7 → 11.18.8-alpha.12

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 (305) hide show
  1. package/es/atom/button-menu/index.d.ts.map +1 -1
  2. package/es/atom/button-menu/index.js +1 -1
  3. package/es/atom/button-menu/index.js.map +1 -1
  4. package/es/atom/button-menu/style.css +10 -0
  5. package/es/atom/button-menu/types.d.ts +1 -1
  6. package/es/atom/button-menu/types.d.ts.map +1 -1
  7. package/es/atom/button-menu/types.js +1 -1
  8. package/es/atom/button-menu/types.js.map +1 -1
  9. package/es/atom/empty-search-result/index.d.ts +1 -0
  10. package/es/atom/empty-search-result/index.d.ts.map +1 -1
  11. package/es/atom/empty-search-result/index.js +6 -4
  12. package/es/atom/empty-search-result/index.js.map +1 -1
  13. package/es/atom/empty-search-result/style.css +16 -1
  14. package/es/atom/status-item/index.d.ts +1 -0
  15. package/es/atom/status-item/index.d.ts.map +1 -1
  16. package/es/atom/status-item/index.js +3 -2
  17. package/es/atom/status-item/index.js.map +1 -1
  18. package/es/atom/status-item/style.css +15 -17
  19. package/es/atom/status-item/types.d.ts +2 -0
  20. package/es/atom/status-item/types.d.ts.map +1 -1
  21. package/es/atom/status-item/types.js +1 -0
  22. package/es/atom/status-item/types.js.map +1 -1
  23. package/es/atom/tag/index.js +4 -4
  24. package/es/atom/tag/index.js.map +1 -1
  25. package/es/atom/tag/style.css +11 -8
  26. package/es/atom/title/types.d.ts +9 -0
  27. package/es/atom/title/types.d.ts.map +1 -0
  28. package/es/atom/title/types.js +2 -0
  29. package/es/atom/title/types.js.map +1 -0
  30. package/es/molecule/banner/style.css +4 -2
  31. package/es/molecule/brand-tabs/index.d.ts +1 -0
  32. package/es/molecule/brand-tabs/index.d.ts.map +1 -1
  33. package/es/molecule/brand-tabs/index.js +10 -1
  34. package/es/molecule/brand-tabs/index.js.map +1 -1
  35. package/es/molecule/brand-tabs/style.css +7 -4
  36. package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  37. package/es/molecule/bulk-progress-bar/index.js +4 -2
  38. package/es/molecule/bulk-progress-bar/index.js.map +1 -1
  39. package/es/molecule/bulk-progress-bar/style.css +5 -0
  40. package/es/molecule/card/index.d.ts +53 -0
  41. package/es/molecule/card/index.d.ts.map +1 -1
  42. package/es/molecule/card/index.js +14 -12
  43. package/es/molecule/card/index.js.map +1 -1
  44. package/es/molecule/card/style.css +47 -5
  45. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  46. package/es/molecule/cm-popin/index.js +46 -9
  47. package/es/molecule/cm-popin/index.js.map +1 -1
  48. package/es/molecule/cm-popin/style.css +32 -0
  49. package/es/molecule/cm-popin/types.d.ts +31 -1
  50. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  51. package/es/molecule/cm-popin/types.js +13 -3
  52. package/es/molecule/cm-popin/types.js.map +1 -1
  53. package/es/molecule/dashboard/cards-list/index.d.ts +57 -1
  54. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  55. package/es/molecule/dashboard/cards-list/index.js +39 -5
  56. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  57. package/es/molecule/dashboard/cards-list/prop-types.d.ts +14 -0
  58. package/es/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -0
  59. package/es/molecule/dashboard/cards-list/prop-types.js +2 -0
  60. package/es/molecule/dashboard/cards-list/prop-types.js.map +1 -0
  61. package/es/molecule/draggable-list/index.d.ts +32 -12
  62. package/es/molecule/expandible-actionable-table/index.d.ts +3 -0
  63. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  64. package/es/molecule/expandible-actionable-table/index.js +15 -2
  65. package/es/molecule/expandible-actionable-table/index.js.map +1 -1
  66. package/es/molecule/expandible-actionable-table/style.css +5 -0
  67. package/es/molecule/expandible-actionable-table/types.d.ts +5 -0
  68. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  69. package/es/molecule/expandible-actionable-table/types.js +3 -1
  70. package/es/molecule/expandible-actionable-table/types.js.map +1 -1
  71. package/es/molecule/review-header-steps/index.d.ts.map +1 -1
  72. package/es/molecule/review-header-steps/index.js +3 -4
  73. package/es/molecule/review-header-steps/index.js.map +1 -1
  74. package/es/molecule/review-header-steps/prop-types.d.ts +1 -0
  75. package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  76. package/es/molecule/review-header-steps/style.css +6 -1
  77. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
  78. package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  79. package/es/molecule/title-and-checkbox-wrapper/index.js +15 -3
  80. package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  81. package/es/organism/list-item/index.d.ts +44 -13
  82. package/es/organism/list-item/index.d.ts.map +1 -1
  83. package/es/organism/list-item/index.js +72 -38
  84. package/es/organism/list-item/index.js.map +1 -1
  85. package/es/organism/list-item/style.css +28 -5
  86. package/es/organism/list-items/index.d.ts +36 -12
  87. package/es/organism/list-items/index.d.ts.map +1 -1
  88. package/es/organism/list-items/index.js +19 -4
  89. package/es/organism/list-items/index.js.map +1 -1
  90. package/es/organism/list-items/style.css +42 -0
  91. package/es/organism/mooc-header/index.d.ts.map +1 -1
  92. package/es/organism/mooc-header/index.js +1 -0
  93. package/es/organism/mooc-header/index.js.map +1 -1
  94. package/es/organism/review-header/types.d.ts +1 -0
  95. package/es/organism/review-header/types.d.ts.map +1 -1
  96. package/es/organism/rewards-form/index.d.ts +45 -0
  97. package/es/organism/select-opponents/index.d.ts +67 -12
  98. package/es/organism/select-opponents/index.d.ts.map +1 -1
  99. package/es/organism/select-opponents/index.js +3 -3
  100. package/es/organism/select-opponents/index.js.map +1 -1
  101. package/es/organism/select-opponents/style.css +6 -0
  102. package/es/organism/select-opponents/types.d.ts +75 -14
  103. package/es/organism/select-opponents/types.d.ts.map +1 -1
  104. package/es/organism/select-opponents/types.js +2 -2
  105. package/es/organism/select-opponents/types.js.map +1 -1
  106. package/es/organism/sidebar/index.d.ts +3 -1
  107. package/es/organism/sidebar/index.d.ts.map +1 -1
  108. package/es/organism/sidebar/index.js +9 -5
  109. package/es/organism/sidebar/index.js.map +1 -1
  110. package/es/organism/sidebar/style.css +14 -0
  111. package/es/organism/title-and-input/index.d.ts +84 -29
  112. package/es/organism/title-and-input/index.d.ts.map +1 -1
  113. package/es/organism/title-and-input/types.d.ts +84 -29
  114. package/es/organism/title-and-input/types.d.ts.map +1 -1
  115. package/es/organism/wizard-contents/index.d.ts +112 -0
  116. package/es/organism/wizard-contents/index.d.ts.map +1 -1
  117. package/es/organism/wizard-contents/index.js +37 -4
  118. package/es/organism/wizard-contents/index.js.map +1 -1
  119. package/es/organism/wizard-contents/style.css +22 -0
  120. package/es/template/app-player/loading/index.d.ts +19 -1
  121. package/es/template/app-player/player/index.d.ts +38 -2
  122. package/es/template/app-player/player/slides/index.d.ts +19 -1
  123. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  124. package/es/template/app-player/popin-correction/index.d.ts +19 -1
  125. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  126. package/es/template/app-player/popin-end/index.d.ts +72 -2
  127. package/es/template/app-player/popin-end/summary.d.ts +53 -1
  128. package/es/template/app-review/index.d.ts +20 -1
  129. package/es/template/app-review/index.d.ts.map +1 -1
  130. package/es/template/app-review/player/prop-types.d.ts +20 -1
  131. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  132. package/es/template/app-review/prop-types.d.ts +20 -1
  133. package/es/template/app-review/prop-types.d.ts.map +1 -1
  134. package/es/template/back-office/brand-update/index.d.ts +122 -13
  135. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  136. package/es/template/back-office/brand-update/index.js +4 -2
  137. package/es/template/back-office/brand-update/index.js.map +1 -1
  138. package/es/template/back-office/brand-update/style.css +4 -4
  139. package/es/template/common/dashboard/index.d.ts +89 -1
  140. package/es/template/common/dashboard/index.d.ts.map +1 -1
  141. package/es/template/common/dashboard/index.js +6 -2
  142. package/es/template/common/dashboard/index.js.map +1 -1
  143. package/es/template/common/dashboard/style.css +5 -0
  144. package/es/template/common/search-page/index.d.ts +123 -1
  145. package/es/template/common/search-page/index.d.ts.map +1 -1
  146. package/es/template/common/search-page/index.js +8 -3
  147. package/es/template/common/search-page/index.js.map +1 -1
  148. package/es/template/common/search-page/style.css +5 -0
  149. package/es/template/external-course/index.d.ts +19 -1
  150. package/es/template/teams-dashboard/index.d.ts +53 -1
  151. package/es/variables/colors.css +3 -2
  152. package/lib/atom/button-menu/index.d.ts.map +1 -1
  153. package/lib/atom/button-menu/index.js +1 -1
  154. package/lib/atom/button-menu/index.js.map +1 -1
  155. package/lib/atom/button-menu/style.css +10 -0
  156. package/lib/atom/button-menu/types.d.ts +1 -1
  157. package/lib/atom/button-menu/types.d.ts.map +1 -1
  158. package/lib/atom/button-menu/types.js +1 -1
  159. package/lib/atom/button-menu/types.js.map +1 -1
  160. package/lib/atom/empty-search-result/index.d.ts +1 -0
  161. package/lib/atom/empty-search-result/index.d.ts.map +1 -1
  162. package/lib/atom/empty-search-result/index.js +6 -4
  163. package/lib/atom/empty-search-result/index.js.map +1 -1
  164. package/lib/atom/empty-search-result/style.css +16 -1
  165. package/lib/atom/status-item/index.d.ts +1 -0
  166. package/lib/atom/status-item/index.d.ts.map +1 -1
  167. package/lib/atom/status-item/index.js +3 -2
  168. package/lib/atom/status-item/index.js.map +1 -1
  169. package/lib/atom/status-item/style.css +15 -17
  170. package/lib/atom/status-item/types.d.ts +2 -0
  171. package/lib/atom/status-item/types.d.ts.map +1 -1
  172. package/lib/atom/status-item/types.js +1 -0
  173. package/lib/atom/status-item/types.js.map +1 -1
  174. package/lib/atom/tag/index.js +4 -4
  175. package/lib/atom/tag/index.js.map +1 -1
  176. package/lib/atom/tag/style.css +11 -8
  177. package/lib/atom/title/types.d.ts +9 -0
  178. package/lib/atom/title/types.d.ts.map +1 -0
  179. package/lib/atom/title/types.js +2 -0
  180. package/lib/atom/title/types.js.map +1 -0
  181. package/lib/molecule/banner/style.css +4 -2
  182. package/lib/molecule/brand-tabs/index.d.ts +1 -0
  183. package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
  184. package/lib/molecule/brand-tabs/index.js +11 -1
  185. package/lib/molecule/brand-tabs/index.js.map +1 -1
  186. package/lib/molecule/brand-tabs/style.css +7 -4
  187. package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  188. package/lib/molecule/bulk-progress-bar/index.js +4 -2
  189. package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
  190. package/lib/molecule/bulk-progress-bar/style.css +5 -0
  191. package/lib/molecule/card/index.d.ts +53 -0
  192. package/lib/molecule/card/index.d.ts.map +1 -1
  193. package/lib/molecule/card/index.js +15 -11
  194. package/lib/molecule/card/index.js.map +1 -1
  195. package/lib/molecule/card/style.css +47 -5
  196. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  197. package/lib/molecule/cm-popin/index.js +48 -8
  198. package/lib/molecule/cm-popin/index.js.map +1 -1
  199. package/lib/molecule/cm-popin/style.css +32 -0
  200. package/lib/molecule/cm-popin/types.d.ts +31 -1
  201. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  202. package/lib/molecule/cm-popin/types.js +15 -3
  203. package/lib/molecule/cm-popin/types.js.map +1 -1
  204. package/lib/molecule/dashboard/cards-list/index.d.ts +57 -1
  205. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  206. package/lib/molecule/dashboard/cards-list/index.js +43 -5
  207. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  208. package/lib/molecule/dashboard/cards-list/prop-types.d.ts +14 -0
  209. package/lib/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -0
  210. package/lib/molecule/dashboard/cards-list/prop-types.js +2 -0
  211. package/lib/molecule/dashboard/cards-list/prop-types.js.map +1 -0
  212. package/lib/molecule/draggable-list/index.d.ts +32 -12
  213. package/lib/molecule/expandible-actionable-table/index.d.ts +3 -0
  214. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  215. package/lib/molecule/expandible-actionable-table/index.js +17 -2
  216. package/lib/molecule/expandible-actionable-table/index.js.map +1 -1
  217. package/lib/molecule/expandible-actionable-table/style.css +5 -0
  218. package/lib/molecule/expandible-actionable-table/types.d.ts +5 -0
  219. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  220. package/lib/molecule/expandible-actionable-table/types.js +3 -1
  221. package/lib/molecule/expandible-actionable-table/types.js.map +1 -1
  222. package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
  223. package/lib/molecule/review-header-steps/index.js +3 -4
  224. package/lib/molecule/review-header-steps/index.js.map +1 -1
  225. package/lib/molecule/review-header-steps/prop-types.d.ts +1 -0
  226. package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  227. package/lib/molecule/review-header-steps/style.css +6 -1
  228. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
  229. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  230. package/lib/molecule/title-and-checkbox-wrapper/index.js +17 -3
  231. package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  232. package/lib/organism/list-item/index.d.ts +44 -13
  233. package/lib/organism/list-item/index.d.ts.map +1 -1
  234. package/lib/organism/list-item/index.js +73 -37
  235. package/lib/organism/list-item/index.js.map +1 -1
  236. package/lib/organism/list-item/style.css +28 -5
  237. package/lib/organism/list-items/index.d.ts +36 -12
  238. package/lib/organism/list-items/index.d.ts.map +1 -1
  239. package/lib/organism/list-items/index.js +21 -4
  240. package/lib/organism/list-items/index.js.map +1 -1
  241. package/lib/organism/list-items/style.css +42 -0
  242. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  243. package/lib/organism/mooc-header/index.js +1 -0
  244. package/lib/organism/mooc-header/index.js.map +1 -1
  245. package/lib/organism/review-header/types.d.ts +1 -0
  246. package/lib/organism/review-header/types.d.ts.map +1 -1
  247. package/lib/organism/rewards-form/index.d.ts +45 -0
  248. package/lib/organism/select-opponents/index.d.ts +67 -12
  249. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  250. package/lib/organism/select-opponents/index.js +3 -3
  251. package/lib/organism/select-opponents/index.js.map +1 -1
  252. package/lib/organism/select-opponents/style.css +6 -0
  253. package/lib/organism/select-opponents/types.d.ts +75 -14
  254. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  255. package/lib/organism/select-opponents/types.js +2 -2
  256. package/lib/organism/select-opponents/types.js.map +1 -1
  257. package/lib/organism/sidebar/index.d.ts +3 -1
  258. package/lib/organism/sidebar/index.d.ts.map +1 -1
  259. package/lib/organism/sidebar/index.js +8 -4
  260. package/lib/organism/sidebar/index.js.map +1 -1
  261. package/lib/organism/sidebar/style.css +14 -0
  262. package/lib/organism/title-and-input/index.d.ts +84 -29
  263. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  264. package/lib/organism/title-and-input/types.d.ts +84 -29
  265. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  266. package/lib/organism/wizard-contents/index.d.ts +112 -0
  267. package/lib/organism/wizard-contents/index.d.ts.map +1 -1
  268. package/lib/organism/wizard-contents/index.js +39 -4
  269. package/lib/organism/wizard-contents/index.js.map +1 -1
  270. package/lib/organism/wizard-contents/style.css +22 -0
  271. package/lib/template/app-player/loading/index.d.ts +19 -1
  272. package/lib/template/app-player/player/index.d.ts +38 -2
  273. package/lib/template/app-player/player/slides/index.d.ts +19 -1
  274. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  275. package/lib/template/app-player/popin-correction/index.d.ts +19 -1
  276. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  277. package/lib/template/app-player/popin-end/index.d.ts +72 -2
  278. package/lib/template/app-player/popin-end/summary.d.ts +53 -1
  279. package/lib/template/app-review/index.d.ts +20 -1
  280. package/lib/template/app-review/index.d.ts.map +1 -1
  281. package/lib/template/app-review/player/prop-types.d.ts +20 -1
  282. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  283. package/lib/template/app-review/prop-types.d.ts +20 -1
  284. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  285. package/lib/template/back-office/brand-update/index.d.ts +122 -13
  286. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  287. package/lib/template/back-office/brand-update/index.js +4 -2
  288. package/lib/template/back-office/brand-update/index.js.map +1 -1
  289. package/lib/template/back-office/brand-update/style.css +4 -4
  290. package/lib/template/common/dashboard/index.d.ts +89 -1
  291. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  292. package/lib/template/common/dashboard/index.js +6 -2
  293. package/lib/template/common/dashboard/index.js.map +1 -1
  294. package/lib/template/common/dashboard/style.css +5 -0
  295. package/lib/template/common/search-page/index.d.ts +123 -1
  296. package/lib/template/common/search-page/index.d.ts.map +1 -1
  297. package/lib/template/common/search-page/index.js +9 -3
  298. package/lib/template/common/search-page/index.js.map +1 -1
  299. package/lib/template/common/search-page/style.css +5 -0
  300. package/lib/template/external-course/index.d.ts +19 -1
  301. package/lib/template/teams-dashboard/index.d.ts +53 -1
  302. package/lib/variables/colors.css +3 -2
  303. package/locales/.mtslconfig.json +1 -0
  304. package/locales/et/global.json +3 -3
  305. package/package.json +3 -3
@@ -113,18 +113,140 @@ declare namespace SearchPage {
113
113
  dataName: PropTypes.Requireable<string>;
114
114
  title: PropTypes.Requireable<string>;
115
115
  showMore: PropTypes.Requireable<string>;
116
- cards: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
116
+ cards: PropTypes.Requireable<(PropTypes.InferProps<{
117
+ badge: PropTypes.Requireable<string>;
118
+ image: PropTypes.Requireable<string>;
119
+ disabled: PropTypes.Requireable<boolean>;
120
+ adaptiv: PropTypes.Requireable<boolean>;
121
+ type: PropTypes.Requireable<string>;
122
+ title: PropTypes.Requireable<string>;
123
+ author: PropTypes.Requireable<string>;
124
+ certifiedAuthor: PropTypes.Requireable<boolean>;
125
+ customer: PropTypes.Requireable<PropTypes.InferProps<{
126
+ theme: PropTypes.Requireable<string>;
127
+ type: PropTypes.Requireable<string>;
128
+ name: PropTypes.Requireable<string>;
129
+ coorpOriginal: PropTypes.Validator<boolean>;
130
+ disabled: PropTypes.Requireable<boolean>;
131
+ 'aria-label': PropTypes.Requireable<string>;
132
+ }>>;
133
+ progress: PropTypes.Requireable<number>;
134
+ favorite: PropTypes.Requireable<boolean>;
135
+ addFavoriteToolTip: PropTypes.Requireable<string>;
136
+ removeFavoriteToolTip: PropTypes.Requireable<string>;
137
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
138
+ onFavoriteClick: PropTypes.Requireable<(...args: any[]) => any>;
139
+ isSelected: PropTypes.Requireable<boolean>;
140
+ notification: PropTypes.Requireable<PropTypes.InferProps<{
141
+ message: PropTypes.Validator<string>;
142
+ icon: PropTypes.Validator<string>;
143
+ }>>;
144
+ badgeCategory: PropTypes.Requireable<string>;
145
+ badgeLabel: PropTypes.Requireable<string>;
146
+ theme: PropTypes.Requireable<string>;
147
+ disabledContent: PropTypes.Requireable<string>;
148
+ 'aria-label': PropTypes.Requireable<string>;
149
+ 'background-aria-label': PropTypes.Requireable<string>;
150
+ 'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
151
+ favorite: PropTypes.Requireable<string>;
152
+ addToFavorite: PropTypes.Requireable<string>;
153
+ removeFromFavorite: PropTypes.Requireable<string>;
154
+ }>>;
155
+ 'selectable-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
156
+ select: PropTypes.Requireable<string>;
157
+ unSelect: PropTypes.Requireable<string>;
158
+ }>>;
159
+ 'customer-aria-label': PropTypes.Requireable<string>;
160
+ 'badge-aria-label': PropTypes.Requireable<string>;
161
+ 'disabled-aria-label': PropTypes.Requireable<string>;
162
+ 'card-content-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
163
+ author: PropTypes.Requireable<string>;
164
+ progression: PropTypes.Requireable<string>;
165
+ adaptive: PropTypes.Requireable<string>;
166
+ }>>;
167
+ }> | null | undefined)[]>;
117
168
  onScroll: PropTypes.Requireable<(...args: any[]) => any>;
118
169
  onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
119
170
  'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
120
171
  showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
121
172
  showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
122
173
  }>>;
174
+ testingSizes: PropTypes.Requireable<any>;
123
175
  }>>;
124
176
  const moreSortAriaLabel: PropTypes.Requireable<string>;
125
177
  const moreFilterAriaLabel: PropTypes.Requireable<string>;
126
178
  const filterGroupAriaLabel: PropTypes.Requireable<string>;
127
179
  const sortAriaLabel: PropTypes.Requireable<string>;
180
+ const popinWithCards: PropTypes.Requireable<PropTypes.InferProps<{
181
+ content: PropTypes.Requireable<string>;
182
+ mode: PropTypes.Requireable<string>;
183
+ header: PropTypes.Requireable<PropTypes.InferProps<{
184
+ title: PropTypes.Requireable<PropTypes.InferProps<{
185
+ title: PropTypes.Requireable<string>;
186
+ subtitle: PropTypes.Requireable<string>;
187
+ type: PropTypes.Requireable<string>;
188
+ 'data-name': PropTypes.Requireable<string>;
189
+ titleSize: PropTypes.Requireable<string>;
190
+ subtitleSize: PropTypes.Requireable<string>;
191
+ }>>;
192
+ headerIcon: PropTypes.Requireable<string>;
193
+ backgroundImage: PropTypes.Requireable<string>;
194
+ }>>;
195
+ firstButton: PropTypes.Requireable<PropTypes.InferProps<{
196
+ label: PropTypes.Requireable<string>;
197
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
198
+ 'aria-label': PropTypes.Requireable<string>;
199
+ largeButton: PropTypes.Requireable<boolean>;
200
+ type: PropTypes.Requireable<string>;
201
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
202
+ }>>;
203
+ secondButton: PropTypes.Requireable<PropTypes.InferProps<{
204
+ label: PropTypes.Requireable<string>;
205
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
206
+ type: PropTypes.Requireable<string>;
207
+ 'aria-label': PropTypes.Requireable<string>;
208
+ largeButton: PropTypes.Requireable<boolean>;
209
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
210
+ }>>;
211
+ thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
212
+ label: PropTypes.Requireable<string>;
213
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
214
+ type: PropTypes.Requireable<string>;
215
+ 'aria-label': PropTypes.Requireable<string>;
216
+ largeButton: PropTypes.Requireable<boolean>;
217
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
218
+ }>>;
219
+ onClose: PropTypes.Requireable<(...args: any[]) => any>;
220
+ icon: PropTypes.Requireable<string>;
221
+ backgroundImageUrl: PropTypes.Requireable<string>;
222
+ descriptionText: PropTypes.Requireable<string>;
223
+ cookieTitle: PropTypes.Requireable<string>;
224
+ descriptionBtnTxt: PropTypes.Requireable<string>;
225
+ listBtnSwicth: PropTypes.Requireable<(PropTypes.InferProps<{
226
+ title: PropTypes.Requireable<string>;
227
+ name: PropTypes.Requireable<string>;
228
+ id: PropTypes.Requireable<string>;
229
+ value: PropTypes.Requireable<boolean>;
230
+ disabled: PropTypes.Requireable<boolean>;
231
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
232
+ description: PropTypes.Requireable<string>;
233
+ 'aria-labelledby': PropTypes.Requireable<string>;
234
+ 'aria-label': PropTypes.Requireable<string>;
235
+ modified: PropTypes.Requireable<boolean>;
236
+ titlePosition: PropTypes.Requireable<string>;
237
+ theme: PropTypes.Requireable<string>;
238
+ details: PropTypes.Requireable<string>;
239
+ 'data-name': PropTypes.Requireable<string>;
240
+ requiredSelection: PropTypes.Requireable<boolean>;
241
+ }> | null | undefined)[]>;
242
+ items: PropTypes.Requireable<PropTypes.InferProps<{
243
+ type: PropTypes.Requireable<string>;
244
+ list: PropTypes.Requireable<PropTypes.InferProps<{
245
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
246
+ loading: PropTypes.Requireable<boolean>;
247
+ }>>;
248
+ }>>;
249
+ }>>;
128
250
  }
129
251
  }
130
252
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,mEAsDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAWA,mEA4DC"}
@@ -10,6 +10,7 @@ import Button from '../../../atom/button';
10
10
  import Filters from '../../../molecule/filters';
11
11
  import CardsGrid from '../../../organism/cards-grid';
12
12
  import CardsList from '../../../molecule/dashboard/cards-list';
13
+ import CMPopin from '../../../molecule/cm-popin';
13
14
  import style from './style.css';
14
15
 
15
16
  const SearchPage = (props, context) => {
@@ -23,7 +24,8 @@ const SearchPage = (props, context) => {
23
24
  moreSortAriaLabel,
24
25
  moreFilterAriaLabel,
25
26
  filterGroupAriaLabel,
26
- sortAriaLabel
27
+ sortAriaLabel,
28
+ popinWithCards
27
29
  } = props;
28
30
  const {
29
31
  skin
@@ -55,7 +57,9 @@ const SearchPage = (props, context) => {
55
57
  }, /*#__PURE__*/React.createElement("div", {
56
58
  className: style.title,
57
59
  role: "status"
58
- }, title), cardsView));
60
+ }, title), cardsView), popinWithCards ? /*#__PURE__*/React.createElement("div", {
61
+ className: style.popinWithCards
62
+ }, /*#__PURE__*/React.createElement(CMPopin, popinWithCards)) : null);
59
63
  };
60
64
 
61
65
  SearchPage.contextTypes = {
@@ -71,7 +75,8 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
71
75
  moreSortAriaLabel: PropTypes.string,
72
76
  moreFilterAriaLabel: PropTypes.string,
73
77
  filterGroupAriaLabel: PropTypes.string,
74
- sortAriaLabel: PropTypes.string
78
+ sortAriaLabel: PropTypes.string,
79
+ popinWithCards: PropTypes.shape(CMPopin.propTypes)
75
80
  } : {};
76
81
  export default SearchPage;
77
82
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","Provider","Button","Filters","CardsGrid","CardsList","style","SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","childContextTypes","propTypes","string","shape"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel,\n filterGroupAriaLabel,\n sortAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n filterGroupAriaLabel={filterGroupAriaLabel}\n sortAriaLabel={sortAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string,\n filterGroupAriaLabel: PropTypes.string,\n sortAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,MAAP,MAAmB,sBAAnB;AACA,OAAOC,OAAP,MAAoB,2BAApB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;IAOJC,iBAPI;IAQJC,mBARI;IASJC,oBATI;IAUJC;EAVI,IAWFX,KAXJ;EAaA,MAAM;IAACY;EAAD,IAASX,OAAf;;EACA,MAAMY,YAAY,GAAG,OAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;;EAEA,MAAME,mBAAmB,GAAG,SAAQP,eAAR,IAA2B,IAA3B,gBAAkC,oBAAC,SAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMQ,SAAS,GAAG,SAAQX,KAAK,CAACY,IAAd,iBAChB,8CACE;IAAK,SAAS,EAAElB,KAAK,CAACmB;EAAtB,gBACE;IAAK,SAAS,EAAEnB,KAAK,CAACoB;EAAtB,GAAqCb,cAArC,CADF,eAEE,oBAAC,MAAD,eACMC,YADN;IAEE,aAAU,iBAFZ;IAGE,SAAS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,CAAvB;AAaA,eAAe1B,UAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","Provider","Button","Filters","CardsGrid","CardsList","CMPopin","style","SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","popinWithCards","skin","defaultColor","recommendationsView","cardsView","list","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","childContextTypes","propTypes","string","shape"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport CMPopin from '../../../molecule/cm-popin';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel,\n filterGroupAriaLabel,\n sortAriaLabel,\n popinWithCards\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n filterGroupAriaLabel={filterGroupAriaLabel}\n sortAriaLabel={sortAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string,\n filterGroupAriaLabel: PropTypes.string,\n sortAriaLabel: PropTypes.string,\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,MAAP,MAAmB,sBAAnB;AACA,OAAOC,OAAP,MAAoB,2BAApB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,OAAP,MAAoB,4BAApB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;IAOJC,iBAPI;IAQJC,mBARI;IASJC,oBATI;IAUJC,aAVI;IAWJC;EAXI,IAYFZ,KAZJ;EAcA,MAAM;IAACa;EAAD,IAASZ,OAAf;;EACA,MAAMa,YAAY,GAAG,OAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;;EAEA,MAAME,mBAAmB,GAAG,SAAQR,eAAR,IAA2B,IAA3B,gBAAkC,oBAAC,SAAD,E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gBhC,SAAS,CAAC8B,SAA1B,CAJc;EAKrBnB,YAAY,EAAEf,SAAS,CAACoC,KAAV,CAAgBlC,MAAM,CAACgC,SAAvB,CALO;EAMrBlB,eAAe,EAAEhB,SAAS,CAACoC,KAAV,CAAgB/B,SAAS,CAAC6B,SAA1B,CANI;EAOrBjB,iBAAiB,EAAEjB,SAAS,CAACmC,MAPR;EAQrBjB,mBAAmB,EAAElB,SAAS,CAACmC,MARV;EASrBhB,oBAAoB,EAAEnB,SAAS,CAACmC,MATX;EAUrBf,aAAa,EAAEpB,SAAS,CAACmC,MAVJ;EAWrBd,cAAc,EAAErB,SAAS,CAACoC,KAAV,CAAgB9B,OAAO,CAAC4B,SAAxB;AAXK,CAAvB;AAcA,eAAe1B,UAAf"}
@@ -50,6 +50,11 @@
50
50
  color: black;
51
51
  }
52
52
 
53
+ .popinWithCards {
54
+ position: relative;
55
+ z-index: 7;
56
+ }
57
+
53
58
  @media mobile {
54
59
  .cardsWrapper {
55
60
  padding: 5px 0;
@@ -25,7 +25,18 @@ declare namespace ExternalCourse {
25
25
  const closePopin: PropTypes.Requireable<PropTypes.InferProps<{
26
26
  content: PropTypes.Requireable<string>;
27
27
  mode: PropTypes.Requireable<string>;
28
- header: PropTypes.Requireable<string>;
28
+ header: PropTypes.Requireable<PropTypes.InferProps<{
29
+ title: PropTypes.Requireable<PropTypes.InferProps<{
30
+ title: PropTypes.Requireable<string>;
31
+ subtitle: PropTypes.Requireable<string>;
32
+ type: PropTypes.Requireable<string>;
33
+ 'data-name': PropTypes.Requireable<string>;
34
+ titleSize: PropTypes.Requireable<string>;
35
+ subtitleSize: PropTypes.Requireable<string>;
36
+ }>>;
37
+ headerIcon: PropTypes.Requireable<string>;
38
+ backgroundImage: PropTypes.Requireable<string>;
39
+ }>>;
29
40
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
30
41
  label: PropTypes.Requireable<string>;
31
42
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -73,6 +84,13 @@ declare namespace ExternalCourse {
73
84
  'data-name': PropTypes.Requireable<string>;
74
85
  requiredSelection: PropTypes.Requireable<boolean>;
75
86
  }> | null | undefined)[]>;
87
+ items: PropTypes.Requireable<PropTypes.InferProps<{
88
+ type: PropTypes.Requireable<string>;
89
+ list: PropTypes.Requireable<PropTypes.InferProps<{
90
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
91
+ loading: PropTypes.Requireable<boolean>;
92
+ }>>;
93
+ }>>;
76
94
  }>>;
77
95
  }
78
96
  namespace contextTypes {
@@ -39,13 +39,65 @@ declare namespace TeamsDashboard {
39
39
  dataName: PropTypes.Requireable<string>;
40
40
  title: PropTypes.Requireable<string>;
41
41
  showMore: PropTypes.Requireable<string>;
42
- cards: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
42
+ cards: PropTypes.Requireable<(PropTypes.InferProps<{
43
+ badge: PropTypes.Requireable<string>;
44
+ image: PropTypes.Requireable<string>;
45
+ disabled: PropTypes.Requireable<boolean>;
46
+ adaptiv: PropTypes.Requireable<boolean>;
47
+ type: PropTypes.Requireable<string>;
48
+ title: PropTypes.Requireable<string>;
49
+ author: PropTypes.Requireable<string>;
50
+ certifiedAuthor: PropTypes.Requireable<boolean>;
51
+ customer: PropTypes.Requireable<PropTypes.InferProps<{
52
+ theme: PropTypes.Requireable<string>;
53
+ type: PropTypes.Requireable<string>;
54
+ name: PropTypes.Requireable<string>;
55
+ coorpOriginal: PropTypes.Validator<boolean>;
56
+ disabled: PropTypes.Requireable<boolean>;
57
+ 'aria-label': PropTypes.Requireable<string>;
58
+ }>>;
59
+ progress: PropTypes.Requireable<number>;
60
+ favorite: PropTypes.Requireable<boolean>;
61
+ addFavoriteToolTip: PropTypes.Requireable<string>;
62
+ removeFavoriteToolTip: PropTypes.Requireable<string>;
63
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
64
+ onFavoriteClick: PropTypes.Requireable<(...args: any[]) => any>;
65
+ isSelected: PropTypes.Requireable<boolean>;
66
+ notification: PropTypes.Requireable<PropTypes.InferProps<{
67
+ message: PropTypes.Validator<string>;
68
+ icon: PropTypes.Validator<string>;
69
+ }>>;
70
+ badgeCategory: PropTypes.Requireable<string>;
71
+ badgeLabel: PropTypes.Requireable<string>;
72
+ theme: PropTypes.Requireable<string>;
73
+ disabledContent: PropTypes.Requireable<string>;
74
+ 'aria-label': PropTypes.Requireable<string>;
75
+ 'background-aria-label': PropTypes.Requireable<string>;
76
+ 'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
77
+ favorite: PropTypes.Requireable<string>;
78
+ addToFavorite: PropTypes.Requireable<string>;
79
+ removeFromFavorite: PropTypes.Requireable<string>;
80
+ }>>;
81
+ 'selectable-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
82
+ select: PropTypes.Requireable<string>;
83
+ unSelect: PropTypes.Requireable<string>;
84
+ }>>;
85
+ 'customer-aria-label': PropTypes.Requireable<string>;
86
+ 'badge-aria-label': PropTypes.Requireable<string>;
87
+ 'disabled-aria-label': PropTypes.Requireable<string>;
88
+ 'card-content-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
89
+ author: PropTypes.Requireable<string>;
90
+ progression: PropTypes.Requireable<string>;
91
+ adaptive: PropTypes.Requireable<string>;
92
+ }>>;
93
+ }> | null | undefined)[]>;
43
94
  onScroll: PropTypes.Requireable<(...args: any[]) => any>;
44
95
  onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
45
96
  'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
46
97
  showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
47
98
  showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
48
99
  }>>;
100
+ testingSizes: PropTypes.Requireable<any>;
49
101
  }> | null | undefined)[]>;
50
102
  const isLoading: PropTypes.Requireable<boolean>;
51
103
  }
@@ -46,6 +46,7 @@
46
46
  @value cm_grey_800: #171721;
47
47
  @value cm_grey_900: #111117;
48
48
  @value cm_positive_100: #35CC7F;
49
+ @value cm_positive_200: #05944F;
49
50
  @value cm_negative_100: #ed3436;
50
51
  @value cm_negative_200: #b81400;
51
52
  @value cm_negative_50: #ffe5e6;
@@ -66,13 +67,13 @@
66
67
  @value cm_negative_red_200: #ED3436;
67
68
  @value cm_red_video: #E8335E;
68
69
  @value cm_violet_podcast: #432ba7;
69
- @value cm_warning_50: rgba(255, 192, 67, 0.13);
70
+ @value cm_warning_50: #FFFAE5;
70
71
  @value box_shadow_medium_dark: rgba(0, 0, 0, 0.15);
71
72
  @value box_shadow_light_dark: rgba(0, 0, 0, 0.12);
72
73
  @value box_shadow_medium_dark: rgba(0, 0, 0, 0.2);
73
74
  @value box_shadow_orange_700: rgba(255, 84, 31, 0.15);
74
75
  @value light_blue: #ADC9F5;
75
-
76
+ @value negative_100: #FCDADA;
76
77
  @value go1_backgound: #144953;
77
78
  @value go1_primary: #D5FD42;
78
79
  @value go1_primary_hover: #BFE33B;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/index.tsx"],"names":[],"mappings":";AAIA,OAAkB,EAAC,eAAe,EAA+B,MAAM,SAAS,CAAC;AA8BjF,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;;;;;CAazC,CAAC;AAIF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/index.tsx"],"names":[],"mappings":";AAIA,OAAkB,EAAC,eAAe,EAA+B,MAAM,SAAS,CAAC;AAgCjF,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;;;;;CAazC,CAAC;AAIF,eAAe,UAAU,CAAC"}
@@ -29,7 +29,7 @@ const Button = props => {
29
29
  onClick,
30
30
  type = 'default'
31
31
  } = props;
32
- const styleButton = (0, _classnames.default)(_style.default.button, type === 'default' && _style.default.default, type === 'dangerous' && _style.default.dangerous, disabled && _style.default.disabled);
32
+ const styleButton = (0, _classnames.default)(_style.default.button, type === 'default' && _style.default.default, type === 'defaultLeft' && _style.default.defaultLeft, type === 'dangerous' && _style.default.dangerous, type === 'dangerousLeft' && _style.default.dangerousLeft, disabled && _style.default.disabled);
33
33
  const handleOnClick = (0, _react.useCallback)(() => onClick(), [onClick]);
34
34
  return /*#__PURE__*/_react.default.createElement("button", {
35
35
  type: "button",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Button","props","dataName","disabled","label","onClick","type","styleButton","classnames","style","button","default","dangerous","handleOnClick","useCallback","buttonContent","propTypes","buttonPropTypes","ButtonMenu","buttons","buildButton","index","buttonList","useMemo","map","convert","cap"],"sources":["../../../src/atom/button-menu/index.tsx"],"sourcesContent":["import React, {useMemo, useCallback} from 'react';\nimport map from 'lodash/fp/map';\nimport classnames from 'classnames';\nimport style from './style.css';\nimport propTypes, {ButtonMenuProps, ButtonProps, buttonPropTypes} from './types';\n\nconst Button = (props: ButtonProps) => {\n const {'data-name': dataName, disabled, label, onClick, type = 'default'} = props;\n const styleButton = classnames(\n style.button,\n type === 'default' && style.default,\n type === 'dangerous' && style.dangerous,\n disabled && style.disabled\n );\n\n const handleOnClick = useCallback(() => onClick(), [onClick]);\n return (\n <button\n type=\"button\"\n aria-label={label}\n title={label}\n data-name={dataName}\n className={styleButton}\n onClick={handleOnClick}\n >\n <div className={style.buttonContent}>\n <span className={style.label}>{label}</span>\n </div>\n </button>\n );\n};\n\nButton.propTypes = buttonPropTypes;\n\nconst ButtonMenu = (props: ButtonMenuProps) => {\n const {buttons, 'data-name': dataName} = props;\n const buildButton = useCallback((button, index) => {\n return <Button {...button} key={button.label + index} />;\n }, []);\n\n const buttonList = useMemo(\n // @ts-expect-error (to avoid using map as any)\n () => map.convert({cap: false})(buildButton, buttons),\n [buttons, buildButton]\n );\n\n return <div data-name={dataName}>{buttonList}</div>;\n};\n\nButtonMenu.propTypes = propTypes;\n\nexport default ButtonMenu;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAE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Z,EAA0BN,WAA1B,EAAuCD,OAAvC,CAFW,EAGjB,CAACA,OAAD,EAAUC,WAAV,CAHiB,CAAnB;EAMA,oBAAO;IAAK,aAAWlB;EAAhB,GAA2BoB,UAA3B,CAAP;AACD,CAbD;;AAeAJ,UAAU,CAACF,SAAX,2CAAuBA,cAAvB;eAEeE,U"}
1
+ {"version":3,"file":"index.js","names":["Button","props","dataName","disabled","label","onClick","type","styleButton","classnames","style","button","default","defaultLeft","dangerous","dangerousLeft","handleOnClick","useCallback","buttonContent","propTypes","buttonPropTypes","ButtonMenu","buttons","buildButton","index","buttonList","useMemo","map","convert","cap"],"sources":["../../../src/atom/button-menu/index.tsx"],"sourcesContent":["import React, {useMemo, useCallback} from 'react';\nimport map from 'lodash/fp/map';\nimport classnames from 'classnames';\nimport style from './style.css';\nimport propTypes, {ButtonMenuProps, ButtonProps, buttonPropTypes} from './types';\n\nconst Button = (props: ButtonProps) => {\n const {'data-name': dataName, disabled, label, onClick, type = 'default'} = props;\n const styleButton = classnames(\n style.button,\n type === 'default' && style.default,\n type === 'defaultLeft' && style.defaultLeft,\n type === 'dangerous' && style.dangerous,\n type === 'dangerousLeft' && style.dangerousLeft,\n disabled && style.disabled\n );\n\n const handleOnClick = useCallback(() => onClick(), [onClick]);\n return (\n <button\n type=\"button\"\n aria-label={label}\n title={label}\n data-name={dataName}\n className={styleButton}\n onClick={handleOnClick}\n >\n <div className={style.buttonContent}>\n <span className={style.label}>{label}</span>\n </div>\n </button>\n );\n};\n\nButton.propTypes = buttonPropTypes;\n\nconst ButtonMenu = (props: ButtonMenuProps) => {\n const {buttons, 'data-name': dataName} = props;\n const buildButton = useCallback((button: ButtonProps, index) => {\n return <Button {...button} key={button.label + index} />;\n }, []);\n\n const buttonList = useMemo(\n // @ts-expect-error (to avoid using map as any)\n () => map.convert({cap: false})(buildButton, buttons),\n [buttons, buildButton]\n );\n\n return <div data-name={dataName}>{buttonList}</div>;\n};\n\nButtonMenu.propTypes = propTypes;\n\nexport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AM,CAACN,KAAP,GAAemB;IAAxC,GAAP;EACD,CAFmB,EAEjB,EAFiB,CAApB;EAIA,MAAMC,UAAU,GAAG,IAAAC,cAAA,GACjB;EACA,MAAMC,YAAA,CAAIC,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EAA0BN,WAA1B,EAAuCD,OAAvC,CAFW,EAGjB,CAACA,OAAD,EAAUC,WAAV,CAHiB,CAAnB;EAMA,oBAAO;IAAK,aAAWpB;EAAhB,GAA2BsB,UAA3B,CAAP;AACD,CAbD;;AAeAJ,UAAU,CAACF,SAAX,2CAAuBA,cAAvB;eAEeE,U"}
@@ -41,6 +41,11 @@
41
41
  color: cm_grey_900;
42
42
  }
43
43
 
44
+ .defaultLeft {
45
+ composes: default;
46
+ justify-content: flex-start;
47
+ }
48
+
44
49
  .default:hover {
45
50
  background-color: cm_grey_200;
46
51
  }
@@ -49,3 +54,8 @@
49
54
  composes: default;
50
55
  color: cm_negative_100;
51
56
  }
57
+
58
+ .dangerousLeft {
59
+ composes: dangerous;
60
+ justify-content: flex-start;
61
+ }
@@ -22,7 +22,7 @@ export declare type ButtonProps = {
22
22
  disabled?: boolean;
23
23
  label: string;
24
24
  onClick: () => void;
25
- type?: 'default' | 'dangerous';
25
+ type?: 'default' | 'defaultLeft' | 'dangerous' | 'dangerousLeft';
26
26
  };
27
27
  export declare type ButtonMenuProps = {
28
28
  buttons: ButtonProps[];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,eAAO,MAAM,eAAe;;;;;;CAM3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,WAAW,GAAG;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CAChC,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IAAC,KAAK,EAAE,eAAe,CAAA;CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/button-menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,eAAO,MAAM,eAAe;;;;;;CAM3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,WAAW,GAAG;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,WAAW,GAAG,eAAe,CAAC;CAClE,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IAAC,KAAK,EAAE,eAAe,CAAA;CAAC,CAAC"}
@@ -12,7 +12,7 @@ const buttonPropTypes = {
12
12
  disabled: _propTypes.default.bool,
13
13
  label: _propTypes.default.string.isRequired,
14
14
  onClick: _propTypes.default.func.isRequired,
15
- type: _propTypes.default.oneOf(['default', 'dangerous'])
15
+ type: _propTypes.default.oneOf(['default', 'defaultLeft', 'dangerous', 'dangerousLeft'])
16
16
  };
17
17
  exports.buttonPropTypes = buttonPropTypes;
18
18
  const propTypes = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["buttonPropTypes","PropTypes","string","disabled","bool","label","isRequired","onClick","func","type","oneOf","propTypes","buttons","arrayOf","shape"],"sources":["../../../src/atom/button-menu/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport const buttonPropTypes = {\n 'data-name': PropTypes.string,\n disabled: PropTypes.bool,\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n type: PropTypes.oneOf(['default', 'dangerous'])\n};\n\nconst propTypes = {\n buttons: PropTypes.arrayOf(PropTypes.shape(buttonPropTypes)).isRequired,\n 'data-name': PropTypes.string\n};\n\nexport default propTypes;\n\nexport type ButtonProps = {\n 'data-name'?: string;\n disabled?: boolean;\n label: string;\n onClick: () => void;\n type?: 'default' | 'dangerous';\n};\n\nexport type ButtonMenuProps = {\n buttons: ButtonProps[];\n 'data-name'?: string;\n 'aria-label'?: string;\n};\n\nexport type ButtonMenuPropsFixture = {props: ButtonMenuProps};\n"],"mappings":";;;;;AAAA;;;;AAEO,MAAMA,eAAe,GAAG;EAC7B,aAAaC,kBAAA,CAAUC,MADM;EAE7BC,QAAQ,EAAEF,kBAAA,CAAUG,IAFS;EAG7BC,KAAK,EAAEJ,kBAAA,CAAUC,MAAV,CAAiBI,UAHK;EAI7BC,OAAO,EAAEN,kBAAA,CAAUO,IAAV,CAAeF,UAJK;EAK7BG,IAAI,EAAER,kBAAA,CAAUS,KAAV,CAAgB,CAAC,SAAD,EAAY,WAAZ,CAAhB;AALuB,CAAxB;;AAQP,MAAMC,SAAS,GAAG;EAChBC,OAAO,EAAEX,kBAAA,CAAUY,OAAV,CAAkBZ,kBAAA,CAAUa,KAAV,CAAgBd,eAAhB,CAAlB,EAAoDM,UAD7C;EAEhB,aAAaL,kBAAA,CAAUC;AAFP,CAAlB;eAKeS,S"}
1
+ {"version":3,"file":"types.js","names":["buttonPropTypes","PropTypes","string","disabled","bool","label","isRequired","onClick","func","type","oneOf","propTypes","buttons","arrayOf","shape"],"sources":["../../../src/atom/button-menu/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport const buttonPropTypes = {\n 'data-name': PropTypes.string,\n disabled: PropTypes.bool,\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n type: PropTypes.oneOf(['default', 'defaultLeft', 'dangerous', 'dangerousLeft'])\n};\n\nconst propTypes = {\n buttons: PropTypes.arrayOf(PropTypes.shape(buttonPropTypes)).isRequired,\n 'data-name': PropTypes.string\n};\n\nexport default propTypes;\n\nexport type ButtonProps = {\n 'data-name'?: string;\n disabled?: boolean;\n label: string;\n onClick: () => void;\n type?: 'default' | 'defaultLeft' | 'dangerous' | 'dangerousLeft';\n};\n\nexport type ButtonMenuProps = {\n buttons: ButtonProps[];\n 'data-name'?: string;\n 'aria-label'?: string;\n};\n\nexport type ButtonMenuPropsFixture = {props: ButtonMenuProps};\n"],"mappings":";;;;;AAAA;;;;AAEO,MAAMA,eAAe,GAAG;EAC7B,aAAaC,kBAAA,CAAUC,MADM;EAE7BC,QAAQ,EAAEF,kBAAA,CAAUG,IAFS;EAG7BC,KAAK,EAAEJ,kBAAA,CAAUC,MAAV,CAAiBI,UAHK;EAI7BC,OAAO,EAAEN,kBAAA,CAAUO,IAAV,CAAeF,UAJK;EAK7BG,IAAI,EAAER,kBAAA,CAAUS,KAAV,CAAgB,CAAC,SAAD,EAAY,aAAZ,EAA2B,WAA3B,EAAwC,eAAxC,CAAhB;AALuB,CAAxB;;AAQP,MAAMC,SAAS,GAAG;EAChBC,OAAO,EAAEX,kBAAA,CAAUY,OAAV,CAAkBZ,kBAAA,CAAUa,KAAV,CAAgBd,eAAhB,CAAlB,EAAoDM,UAD7C;EAEhB,aAAaL,kBAAA,CAAUC;AAFP,CAAlB;eAKeS,S"}
@@ -4,6 +4,7 @@ declare namespace EmptySearchResult {
4
4
  namespace propTypes {
5
5
  const firstMessage: PropTypes.Validator<string>;
6
6
  const secondMessage: PropTypes.Validator<string>;
7
+ const isBulk: PropTypes.Requireable<boolean>;
7
8
  }
8
9
  }
9
10
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/empty-search-result/index.js"],"names":[],"mappings":";AAIA,4DAQC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/empty-search-result/index.js"],"names":[],"mappings":";AAIA,4DAUC"}
@@ -14,20 +14,22 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
14
14
  const EmptySearchResult = props => {
15
15
  const {
16
16
  firstMessage,
17
- secondMessage
17
+ secondMessage,
18
+ isBulk = false
18
19
  } = props;
19
20
  return /*#__PURE__*/_react.default.createElement("div", {
20
21
  className: _style.default.container
21
22
  }, /*#__PURE__*/_react.default.createElement("span", {
22
- className: _style.default.firstMessage
23
+ className: isBulk ? _style.default.firstMessageBulk : _style.default.firstMessage
23
24
  }, firstMessage), /*#__PURE__*/_react.default.createElement("span", {
24
- className: _style.default.secondMessage
25
+ className: isBulk ? _style.default.secondMessageBulk : _style.default.secondMessage
25
26
  }, secondMessage));
26
27
  };
27
28
 
28
29
  EmptySearchResult.propTypes = process.env.NODE_ENV !== "production" ? {
29
30
  firstMessage: _propTypes.default.string.isRequired,
30
- secondMessage: _propTypes.default.string.isRequired
31
+ secondMessage: _propTypes.default.string.isRequired,
32
+ isBulk: _propTypes.default.bool
31
33
  } : {};
32
34
  var _default = EmptySearchResult;
33
35
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["EmptySearchResult","props","firstMessage","secondMessage","style","container","propTypes","PropTypes","string","isRequired"],"sources":["../../../src/atom/empty-search-result/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './style.css';\n\nconst EmptySearchResult = props => {\n const {firstMessage, secondMessage} = props;\n return (\n <div className={style.container}>\n <span className={style.firstMessage}>{firstMessage}</span>\n <span className={style.secondMessage}>{secondMessage}</span>\n </div>\n );\n};\n\nEmptySearchResult.propTypes = {\n firstMessage: PropTypes.string.isRequired,\n secondMessage: PropTypes.string.isRequired\n};\n\nexport default EmptySearchResult;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;AAEA,MAAMA,iBAAiB,GAAGC,KAAK,IAAI;EACjC,MAAM;IAACC,YAAD;IAAeC;EAAf,IAAgCF,KAAtC;EACA,oBACE;IAAK,SAAS,EAAEG,cAAA,CAAMC;EAAtB,gBACE;IAAM,SAAS,EAAED,cAAA,CAAMF;EAAvB,GAAsCA,YAAtC,CADF,eAEE;IAAM,SAAS,EAAEE,cAAA,CAAMD;EAAvB,GAAuCA,aAAvC,CAFF,CADF;AAMD,CARD;;AAUAH,iBAAiB,CAACM,SAAlB,2CAA8B;EAC5BJ,YAAY,EAAEK,kBAAA,CAAUC,MAAV,CAAiBC,UADH;EAE5BN,aAAa,EAAEI,kBAAA,CAAUC,MAAV,CAAiBC;AAFJ,CAA9B;eAKeT,iB"}
1
+ {"version":3,"file":"index.js","names":["EmptySearchResult","props","firstMessage","secondMessage","isBulk","style","container","firstMessageBulk","secondMessageBulk","propTypes","PropTypes","string","isRequired","bool"],"sources":["../../../src/atom/empty-search-result/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport style from './style.css';\n\nconst EmptySearchResult = props => {\n const {firstMessage, secondMessage, isBulk = false} = props;\n return (\n <div className={style.container}>\n <span className={isBulk ? style.firstMessageBulk : style.firstMessage}>{firstMessage}</span>\n <span className={isBulk ? style.secondMessageBulk : style.secondMessage}>\n {secondMessage}\n </span>\n </div>\n );\n};\n\nEmptySearchResult.propTypes = {\n firstMessage: PropTypes.string.isRequired,\n secondMessage: PropTypes.string.isRequired,\n isBulk: PropTypes.bool\n};\n\nexport default EmptySearchResult;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;AAEA,MAAMA,iBAAiB,GAAGC,KAAK,IAAI;EACjC,MAAM;IAACC,YAAD;IAAeC,aAAf;IAA8BC,MAAM,GAAG;EAAvC,IAAgDH,KAAtD;EACA,oBACE;IAAK,SAAS,EAAEI,cAAA,CAAMC;EAAtB,gBACE;IAAM,SAAS,EAAEF,MAAM,GAAGC,cAAA,CAAME,gBAAT,GAA4BF,cAAA,CAAMH;EAAzD,GAAwEA,YAAxE,CADF,eAEE;IAAM,SAAS,EAAEE,MAAM,GAAGC,cAAA,CAAMG,iBAAT,GAA6BH,cAAA,CAAMF;EAA1D,GACGA,aADH,CAFF,CADF;AAQD,CAVD;;AAYAH,iBAAiB,CAACS,SAAlB,2CAA8B;EAC5BP,YAAY,EAAEQ,kBAAA,CAAUC,MAAV,CAAiBC,UADH;EAE5BT,aAAa,EAAEO,kBAAA,CAAUC,MAAV,CAAiBC,UAFJ;EAG5BR,MAAM,EAAEM,kBAAA,CAAUG;AAHU,CAA9B;eAMeb,iB"}
@@ -1,6 +1,7 @@
1
1
  @value colors: "../../variables/colors.css";
2
2
  @value cm_primary_blue from colors;
3
3
  @value cm_grey_900 from colors;
4
+ @value cm_grey_500 from colors;
4
5
 
5
6
  .container {
6
7
  margin: 48px 0;
@@ -22,4 +23,18 @@
22
23
  .secondMessage {
23
24
  color: cm_primary_blue;
24
25
  display: block;
25
- }
26
+ }
27
+
28
+ .firstMessageBulk {
29
+ color: cm_primary_blue;
30
+ display: block;
31
+ font-weight: 700;
32
+ line-height: 22px;
33
+ }
34
+
35
+ .secondMessageBulk {
36
+ color: cm_grey_500;
37
+ display: block;
38
+ font-weight: 600;
39
+ line-height: 20px;
40
+ }
@@ -4,6 +4,7 @@ declare const StatusItem: {
4
4
  (props: StatusItemProps): JSX.Element;
5
5
  propTypes: {
6
6
  current: import("prop-types").Requireable<boolean>;
7
+ selected: import("prop-types").Requireable<boolean>;
7
8
  icon: import("prop-types").Requireable<string>;
8
9
  value: import("prop-types").Requireable<string>;
9
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/status-item/index.tsx"],"names":[],"mappings":";AASA,OAAkB,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAqFnD,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;CAkBzC,CAAC;AAWF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/status-item/index.tsx"],"names":[],"mappings":";AASA,OAAkB,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAqFnD,QAAA,MAAM,UAAU;YAAW,eAAe;;;;;;;CAmBzC,CAAC;AAWF,eAAe,UAAU,CAAC"}
@@ -102,10 +102,11 @@ const Content = (props, legacyContext) => {
102
102
  const StatusItem = props => {
103
103
  const {
104
104
  icon,
105
- current
105
+ current,
106
+ selected
106
107
  } = props;
107
108
  return /*#__PURE__*/_react.default.createElement("div", {
108
- className: (0, _classnames.default)(_style.default.default, icon === 'right' && _style.default.right, icon === 'wrong' && _style.default.wrong, current && _style.default.current, icon === 'valid' && _style.default.valid, icon === 'invalid' && _style.default.invalid, icon === 'errors-number' && _style.default.errorsNumber),
109
+ className: (0, _classnames.default)(_style.default.default, icon === 'right' && _style.default.right, icon === 'wrong' && _style.default.wrong, current && _style.default.current, icon === 'valid' && _style.default.valid, icon === 'invalid' && _style.default.invalid, icon === 'errors-number' && _style.default.errorsNumber, selected && _style.default.selected),
109
110
  "data-name": "status-item"
110
111
  }, /*#__PURE__*/_react.default.createElement(Content, props));
111
112
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Content","props","legacyContext","icon","current","value","translate","GetTranslateFromContext","child","contentAriaLabel","headerStepValue","classnames","style","rightIcon","currentRightIcon","wrongIcon","currentWrongIcon","bulkImportErrorsNumber","validIcon","invalidIcon","role","StatusItem","default","right","wrong","valid","invalid","errorsNumber","propTypes","contextTypes","skin","Provider","childContextTypes"],"sources":["../../../src/atom/status-item/index.tsx"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport Provider, {GetTranslateFromContext} from '../provider';\nimport {WebContextValues} from '../provider/web-context';\nimport style from './style.css';\nimport propTypes, {StatusItemProps} from './types';\n\nconst Content = (props: StatusItemProps, legacyContext: WebContextValues) => {\n const {icon, current, value} = props;\n const translate = GetTranslateFromContext(legacyContext);\n let child;\n let contentAriaLabel;\n switch (icon) {\n case 'no-answer':\n child = value;\n contentAriaLabel = translate('review_header_step_item.not_answered_question', {\n current: current ? 'current ' : '',\n headerStepValue: value\n });\n break;\n\n case 'right':\n child = (\n <RightIcon\n className={classnames(style.rightIcon, current && style.currentRightIcon)}\n role=\"status\"\n aria-label={translate('review_header_step_item.correct_question', {\n current: current ? 'current ' : '',\n headerStepValue: value\n })}\n />\n );\n break;\n\n case 'wrong':\n child = (\n <WrongIcon\n className={classnames(style.wrongIcon, current && style.currentWrongIcon)}\n role=\"alert\"\n aria-label={translate('review_header_step_item.incorrect_question', {\n current: current ? 'current ' : '',\n headerStepValue: value\n })}\n />\n );\n break;\n\n case 'errors-number':\n child = value;\n contentAriaLabel = translate('bulk_import.errors_number', {\n bulkImportErrorsNumber: value\n });\n break;\n\n case 'valid':\n child = (\n <RightIcon\n className={classnames(style.validIcon)}\n role=\"status\"\n aria-label={translate('bulk_import.valid_scorm')}\n />\n );\n break;\n\n case 'invalid':\n child = (\n <WrongIcon\n className={classnames(style.invalidIcon)}\n role=\"alert\"\n aria-label={translate('bulk_import.invalid_scorm')}\n />\n );\n break;\n\n default:\n return null;\n }\n\n return (\n <span\n {...(icon === 'no-answer' || icon === 'errors-number'\n ? {'aria-label': contentAriaLabel, role: 'status'}\n : {})}\n className={style.value}\n >\n {child}\n </span>\n );\n};\n\nconst StatusItem = (props: StatusItemProps) => {\n const {icon, current} = props;\n return (\n <div\n className={classnames(\n style.default,\n icon === 'right' && style.right,\n icon === 'wrong' && style.wrong,\n current && style.current,\n icon === 'valid' && style.valid,\n icon === 'invalid' && style.invalid,\n icon === 'errors-number' && style.errorsNumber\n )}\n data-name=\"status-item\"\n >\n <Content {...props} />\n </div>\n );\n};\n\nContent.propTypes = propTypes;\n\nContent.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nStatusItem.propTypes = propTypes;\n\nexport default StatusItem;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AAIA;;AAEA;;AACA;;;;;;;;;;AAEA,MAAMA,OAAO,GAAG,CAACC,KAAD,EAAyBC,aAAzB,KAA6D;EAC3E,MAAM;IAACC,IAAD;IAAOC,OAAP;IAAgBC;EAAhB,IAAyBJ,KAA/B;EACA,MAAMK,SAAS,GAAG,IAAAC,iCAAA,EAAwBL,aAAxB,CAAlB;EACA,IAAIM,KAAJ;EACA,IAAIC,gBAAJ;;EACA,QAAQN,IAAR;IACE,KAAK,WAAL;MACEK,KAAK,GAAGH,KAAR;MACAI,gBAAgB,GAAGH,SAAS,CAAC,+CAAD,EAAkD;QAC5EF,OAAO,EAAEA,OAAO,GAAG,UAAH,GAAgB,EAD4C;QAE5EM,eAAe,EAAEL;MAF2D,CAAlD,CAA5B;MAIA;;IAEF,KAAK,OAAL;MACEG,KAAK,gBACH,6BAAC,2CAAD;QACE,SAAS,EAAE,IAAAG,mBAAA,EAAWC,cAAA,CAAMC,SAAjB,EAA4BT,OAAO,IAAIQ,cAAA,CAAME,gBAA7C,CADb;QAEE,IAAI,EAAC,QAFP;QAGE,cAAYR,SAAS,CAAC,0CAAD,EAA6C;UAChEF,OAAO,EAAEA,OAAO,GAAG,UAAH,GAAgB,EADgC;UAEhEM,eAAe,EAAEL;QAF+C,CAA7C;MAHvB,EADF;MAUA;;IAEF,KAAK,OAAL;MACEG,KAAK,gBACH,6BAAC,+BAAD;QACE,SAAS,EAAE,IAAAG,mBAAA,EAAWC,cAAA,CAAMG,SAAjB,EAA4BX,OAAO,IAAIQ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AITpB,OAAO,IAAIQ,cAAA,CAAMR,OAJR,EAKTD,IAAI,KAAK,OAAT,IAAoBS,cAAA,CAAMa,KALjB,EAMTtB,IAAI,KAAK,SAAT,IAAsBS,cAAA,CAAMc,OANnB,EAOTvB,IAAI,KAAK,eAAT,IAA4BS,cAAA,CAAMe,YAPzB,CADb;IAUE,aAAU;EAVZ,gBAYE,6BAAC,OAAD,EAAa1B,KAAb,CAZF,CADF;AAgBD,CAlBD;;AAoBAD,OAAO,CAAC4B,SAAR,2CAAoBA,cAApB;AAEA5B,OAAO,CAAC6B,YAAR,GAAuB;EACrBC,IAAI,EAAEC,iBAAA,CAASC,iBAAT,CAA2BF,IADZ;EAErBxB,SAAS,EAAEyB,iBAAA,CAASC,iBAAT,CAA2B1B;AAFjB,CAAvB;AAKAe,UAAU,CAACO,SAAX,2CAAuBA,cAAvB;eAEeP,U"}
1
+ {"version":3,"file":"index.js","names":["Content","props","legacyContext","icon","current","value","translate","GetTranslateFromContext","child","contentAriaLabel","headerStepValue","classnames","style","rightIcon","currentRightIcon","wrongIcon","currentWrongIcon","bulkImportErrorsNumber","validIcon","invalidIcon","role","StatusItem","selected","default","right","wrong","valid","invalid","errorsNumber","propTypes","contextTypes","skin","Provider","childContextTypes"],"sources":["../../../src/atom/status-item/index.tsx"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport Provider, {GetTranslateFromContext} from '../provider';\nimport {WebContextValues} from '../provider/web-context';\nimport style from './style.css';\nimport propTypes, {StatusItemProps} from './types';\n\nconst Content = (props: StatusItemProps, legacyContext: WebContextValues) => {\n const {icon, current, value} = props;\n const translate = GetTranslateFromContext(legacyContext);\n let child;\n let contentAriaLabel;\n switch (icon) {\n case 'no-answer':\n child = value;\n contentAriaLabel = translate('review_header_step_item.not_answered_question', {\n current: current ? 'current ' : '',\n headerStepValue: value\n });\n break;\n\n case 'right':\n child = (\n <RightIcon\n className={classnames(style.rightIcon, current && style.currentRightIcon)}\n role=\"status\"\n aria-label={translate('review_header_step_item.correct_question', {\n current: current ? 'current ' : '',\n headerStepValue: value\n })}\n />\n );\n break;\n\n case 'wrong':\n child = (\n <WrongIcon\n className={classnames(style.wrongIcon, current && style.currentWrongIcon)}\n role=\"alert\"\n aria-label={translate('review_header_step_item.incorrect_question', {\n current: current ? 'current ' : '',\n headerStepValue: value\n })}\n />\n );\n break;\n\n case 'errors-number':\n child = value;\n contentAriaLabel = translate('bulk_import.errors_number', {\n bulkImportErrorsNumber: value\n });\n break;\n\n case 'valid':\n child = (\n <RightIcon\n className={classnames(style.validIcon)}\n role=\"status\"\n aria-label={translate('bulk_import.valid_scorm')}\n />\n );\n break;\n\n case 'invalid':\n child = (\n <WrongIcon\n className={classnames(style.invalidIcon)}\n role=\"alert\"\n aria-label={translate('bulk_import.invalid_scorm')}\n />\n );\n break;\n\n default:\n return null;\n }\n\n return (\n <span\n {...(icon === 'no-answer' || icon === 'errors-number'\n ? {'aria-label': contentAriaLabel, role: 'status'}\n : {})}\n className={style.value}\n >\n {child}\n </span>\n );\n};\n\nconst StatusItem = (props: StatusItemProps) => {\n const {icon, current, selected} = props;\n return (\n <div\n className={classnames(\n style.default,\n icon === 'right' && style.right,\n icon === 'wrong' && style.wrong,\n current && style.current,\n icon === 'valid' && style.valid,\n icon === 'invalid' && style.invalid,\n icon === 'errors-number' && style.errorsNumber,\n selected && style.selected\n )}\n data-name=\"status-item\"\n >\n <Content {...props} />\n </div>\n );\n};\n\nContent.propTypes = propTypes;\n\nContent.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nStatusItem.propTypes = propTypes;\n\nexport default StatusItem;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AAIA;;AAEA;;AACA;;;;;;;;;;AAEA,MAAMA,OAAO,GAAG,CAACC,KAAD,EAAyBC,aAAzB,KAA6D;EAC3E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