@coorpacademy/components 11.40.26 → 11.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/es/atom/chip/index.d.ts +1 -0
  2. package/es/atom/chip/index.d.ts.map +1 -1
  3. package/es/atom/chip/index.js +6 -3
  4. package/es/atom/chip/index.js.map +1 -1
  5. package/es/atom/drag-and-drop/index.d.ts +2 -0
  6. package/es/atom/drag-and-drop/index.d.ts.map +1 -1
  7. package/es/atom/drag-and-drop/index.js +9 -4
  8. package/es/atom/drag-and-drop/index.js.map +1 -1
  9. package/es/atom/input-date/index.d.ts +21 -0
  10. package/es/atom/input-date/index.d.ts.map +1 -0
  11. package/es/atom/input-date/index.js +73 -0
  12. package/es/atom/input-date/index.js.map +1 -0
  13. package/es/atom/input-date/style.css +88 -0
  14. package/es/atom/input-file-draggable/index.d.ts +10 -2
  15. package/es/atom/input-file-draggable/index.d.ts.map +1 -1
  16. package/es/atom/input-file-draggable/index.js +12 -4
  17. package/es/atom/input-file-draggable/index.js.map +1 -1
  18. package/es/atom/radio-with-title/index.d.ts +1 -0
  19. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  20. package/es/atom/radio-with-title/types.d.ts +1 -0
  21. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  22. package/es/atom/title/index.d.ts +1 -0
  23. package/es/atom/title/index.d.ts.map +1 -1
  24. package/es/atom/title/index.js +16 -6
  25. package/es/atom/title/index.js.map +1 -1
  26. package/es/atom/title/style.css +4 -0
  27. package/es/atom/video-upload/index.d.ts +2 -0
  28. package/es/molecule/assignment-card/index.d.ts +62 -0
  29. package/es/molecule/assignment-card/index.d.ts.map +1 -0
  30. package/es/molecule/assignment-card/index.js +91 -0
  31. package/es/molecule/assignment-card/index.js.map +1 -0
  32. package/es/molecule/assignment-card/style.css +98 -0
  33. package/es/molecule/assignment-status-tag/index.d.ts +13 -0
  34. package/es/molecule/assignment-status-tag/index.d.ts.map +1 -0
  35. package/es/molecule/assignment-status-tag/index.js +42 -0
  36. package/es/molecule/assignment-status-tag/index.js.map +1 -0
  37. package/es/molecule/assignment-status-tag/types.d.ts +15 -0
  38. package/es/molecule/assignment-status-tag/types.d.ts.map +1 -0
  39. package/es/molecule/assignment-status-tag/types.js +8 -0
  40. package/es/molecule/assignment-status-tag/types.js.map +1 -0
  41. package/es/molecule/brand-form-group/index.d.ts.map +1 -1
  42. package/es/molecule/brand-form-group/index.js +7 -0
  43. package/es/molecule/brand-form-group/index.js.map +1 -1
  44. package/es/molecule/card/index.d.ts +1 -0
  45. package/es/molecule/card/index.d.ts.map +1 -1
  46. package/es/molecule/card/index.js +3 -0
  47. package/es/molecule/card/index.js.map +1 -1
  48. package/es/molecule/card-content/index.d.ts +3 -1
  49. package/es/molecule/card-content/index.d.ts.map +1 -1
  50. package/es/molecule/card-content/index.js +7 -1
  51. package/es/molecule/card-content/index.js.map +1 -1
  52. package/es/molecule/cm-popin/types.d.ts +11 -0
  53. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  54. package/es/molecule/dashboard/cards-list/index.d.ts +3 -0
  55. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  56. package/es/molecule/dashboard/cards-list/index.js +11 -5
  57. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  58. package/es/molecule/dashboard/cards-list/prop-types.d.ts +1 -0
  59. package/es/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -1
  60. package/es/molecule/dashboard/cards-list/prop-types.js.map +1 -1
  61. package/es/molecule/drag-and-drop-wrapper/index.d.ts +6 -0
  62. package/es/molecule/draggable-list/index.d.ts +63 -54
  63. package/es/molecule/tabs/index.d.ts +1 -0
  64. package/es/molecule/tabs/index.d.ts.map +1 -1
  65. package/es/molecule/tabs/index.js +7 -3
  66. package/es/molecule/tabs/index.js.map +1 -1
  67. package/es/molecule/tabs/style.css +4 -0
  68. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +13 -0
  69. package/es/molecule/title-radio-wrapper/index.d.ts +7 -0
  70. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  71. package/es/molecule/title-radio-wrapper/types.d.ts +7 -0
  72. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  73. package/es/organism/assignment-audience/index.d.ts +92 -0
  74. package/es/organism/assignment-audience/index.d.ts.map +1 -0
  75. package/es/organism/assignment-audience/index.js +236 -0
  76. package/es/organism/assignment-audience/index.js.map +1 -0
  77. package/es/organism/assignment-audience/style.css +115 -0
  78. package/es/organism/assignment-audience/types.d.ts +193 -0
  79. package/es/organism/assignment-audience/types.d.ts.map +1 -0
  80. package/es/organism/assignment-audience/types.js +108 -0
  81. package/es/organism/assignment-audience/types.js.map +1 -0
  82. package/es/organism/assignment-audience/upload-result.css +47 -0
  83. package/es/organism/assignment-audience/upload-result.d.ts +26 -0
  84. package/es/organism/assignment-audience/upload-result.d.ts.map +1 -0
  85. package/es/organism/assignment-audience/upload-result.js +89 -0
  86. package/es/organism/assignment-audience/upload-result.js.map +1 -0
  87. package/es/organism/assignment-row/index.d.ts +55 -0
  88. package/es/organism/assignment-row/index.d.ts.map +1 -0
  89. package/es/organism/assignment-row/index.js +38 -0
  90. package/es/organism/assignment-row/index.js.map +1 -0
  91. package/es/organism/assignment-row/types.d.ts +83 -0
  92. package/es/organism/assignment-row/types.d.ts.map +1 -0
  93. package/es/organism/assignment-row/types.js +29 -0
  94. package/es/organism/assignment-row/types.js.map +1 -0
  95. package/es/organism/brand-learning-priorities/index.d.ts +63 -54
  96. package/es/organism/content-skill-modal/index.d.ts +10 -0
  97. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  98. package/es/organism/content-skill-modal/types.d.ts +10 -0
  99. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  100. package/es/organism/list-item/index.d.ts +13 -1
  101. package/es/organism/list-item/index.d.ts.map +1 -1
  102. package/es/organism/list-item/index.js +45 -3
  103. package/es/organism/list-item/index.js.map +1 -1
  104. package/es/organism/list-item/style.css +36 -0
  105. package/es/organism/list-items/index.d.ts +10 -0
  106. package/es/organism/list-items/index.d.ts.map +1 -1
  107. package/es/organism/list-items/index.js +4 -1
  108. package/es/organism/list-items/index.js.map +1 -1
  109. package/es/organism/mooc-header/index.d.ts +7 -0
  110. package/es/organism/mooc-header/index.d.ts.map +1 -1
  111. package/es/organism/mooc-header/index.js +30 -1
  112. package/es/organism/mooc-header/index.js.map +1 -1
  113. package/es/organism/mooc-header/style.css +11 -0
  114. package/es/organism/rewards-form/index.d.ts +13 -0
  115. package/es/organism/select-opponents/index.d.ts +13 -0
  116. package/es/organism/select-opponents/index.d.ts.map +1 -1
  117. package/es/organism/select-opponents/types.d.ts +13 -0
  118. package/es/organism/select-opponents/types.d.ts.map +1 -1
  119. package/es/organism/title-and-input/index.d.ts +14 -0
  120. package/es/organism/title-and-input/index.d.ts.map +1 -1
  121. package/es/organism/title-and-input/types.d.ts +14 -0
  122. package/es/organism/title-and-input/types.d.ts.map +1 -1
  123. package/es/organism/wizard-contents/index.d.ts +13 -0
  124. package/es/template/app-player/loading/index.d.ts +11 -0
  125. package/es/template/app-player/player/index.d.ts +22 -0
  126. package/es/template/app-player/player/slides/index.d.ts +11 -0
  127. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  128. package/es/template/app-player/popin-correction/index.d.ts +11 -0
  129. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  130. package/es/template/app-player/popin-end/index.d.ts +14 -0
  131. package/es/template/app-player/popin-end/summary.d.ts +3 -0
  132. package/es/template/app-review/index.d.ts +11 -0
  133. package/es/template/app-review/index.d.ts.map +1 -1
  134. package/es/template/app-review/player/prop-types.d.ts +11 -0
  135. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  136. package/es/template/app-review/prop-types.d.ts +11 -0
  137. package/es/template/app-review/prop-types.d.ts.map +1 -1
  138. package/es/template/back-office/brand-update/index.d.ts +95 -54
  139. package/es/template/certification-detail/index.d.ts +11 -0
  140. package/es/template/cockpit/jw-uploader/index.d.ts +2 -0
  141. package/es/template/common/dashboard/index.d.ts +22 -0
  142. package/es/template/common/dashboard/index.d.ts.map +1 -1
  143. package/es/template/common/dashboard/index.js +37 -1
  144. package/es/template/common/dashboard/index.js.map +1 -1
  145. package/es/template/common/search-page/index.d.ts +17 -0
  146. package/es/template/external-course/index.d.ts +11 -0
  147. package/es/template/my-assignments/index.d.ts +167 -0
  148. package/es/template/my-assignments/index.d.ts.map +1 -0
  149. package/es/template/my-assignments/index.js +221 -0
  150. package/es/template/my-assignments/index.js.map +1 -0
  151. package/es/template/my-assignments/style.css +84 -0
  152. package/es/template/my-learning/index.d.ts +3 -0
  153. package/es/template/playlist-detail/index.d.ts +11 -0
  154. package/es/template/teams-dashboard/index.d.ts +3 -0
  155. package/es/util/proptypes.d.ts.map +1 -1
  156. package/es/util/proptypes.js +2 -2
  157. package/es/util/proptypes.js.map +1 -1
  158. package/lib/atom/chip/index.d.ts +1 -0
  159. package/lib/atom/chip/index.d.ts.map +1 -1
  160. package/lib/atom/chip/index.js +6 -3
  161. package/lib/atom/chip/index.js.map +1 -1
  162. package/lib/atom/drag-and-drop/index.d.ts +2 -0
  163. package/lib/atom/drag-and-drop/index.d.ts.map +1 -1
  164. package/lib/atom/drag-and-drop/index.js +9 -4
  165. package/lib/atom/drag-and-drop/index.js.map +1 -1
  166. package/lib/atom/input-date/index.d.ts +21 -0
  167. package/lib/atom/input-date/index.d.ts.map +1 -0
  168. package/lib/atom/input-date/index.js +80 -0
  169. package/lib/atom/input-date/index.js.map +1 -0
  170. package/lib/atom/input-date/style.css +88 -0
  171. package/lib/atom/input-file-draggable/index.d.ts +10 -2
  172. package/lib/atom/input-file-draggable/index.d.ts.map +1 -1
  173. package/lib/atom/input-file-draggable/index.js +12 -4
  174. package/lib/atom/input-file-draggable/index.js.map +1 -1
  175. package/lib/atom/radio-with-title/index.d.ts +1 -0
  176. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  177. package/lib/atom/radio-with-title/types.d.ts +1 -0
  178. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  179. package/lib/atom/title/index.d.ts +1 -0
  180. package/lib/atom/title/index.d.ts.map +1 -1
  181. package/lib/atom/title/index.js +16 -6
  182. package/lib/atom/title/index.js.map +1 -1
  183. package/lib/atom/title/style.css +4 -0
  184. package/lib/atom/video-upload/index.d.ts +2 -0
  185. package/lib/molecule/assignment-card/index.d.ts +62 -0
  186. package/lib/molecule/assignment-card/index.d.ts.map +1 -0
  187. package/lib/molecule/assignment-card/index.js +97 -0
  188. package/lib/molecule/assignment-card/index.js.map +1 -0
  189. package/lib/molecule/assignment-card/style.css +98 -0
  190. package/lib/molecule/assignment-status-tag/index.d.ts +13 -0
  191. package/lib/molecule/assignment-status-tag/index.d.ts.map +1 -0
  192. package/lib/molecule/assignment-status-tag/index.js +47 -0
  193. package/lib/molecule/assignment-status-tag/index.js.map +1 -0
  194. package/lib/molecule/assignment-status-tag/types.d.ts +15 -0
  195. package/lib/molecule/assignment-status-tag/types.d.ts.map +1 -0
  196. package/lib/molecule/assignment-status-tag/types.js +13 -0
  197. package/lib/molecule/assignment-status-tag/types.js.map +1 -0
  198. package/lib/molecule/brand-form-group/index.d.ts.map +1 -1
  199. package/lib/molecule/brand-form-group/index.js +7 -0
  200. package/lib/molecule/brand-form-group/index.js.map +1 -1
  201. package/lib/molecule/card/index.d.ts +1 -0
  202. package/lib/molecule/card/index.d.ts.map +1 -1
  203. package/lib/molecule/card/index.js +3 -0
  204. package/lib/molecule/card/index.js.map +1 -1
  205. package/lib/molecule/card-content/index.d.ts +3 -1
  206. package/lib/molecule/card-content/index.d.ts.map +1 -1
  207. package/lib/molecule/card-content/index.js +7 -1
  208. package/lib/molecule/card-content/index.js.map +1 -1
  209. package/lib/molecule/cm-popin/types.d.ts +11 -0
  210. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  211. package/lib/molecule/dashboard/cards-list/index.d.ts +3 -0
  212. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  213. package/lib/molecule/dashboard/cards-list/index.js +11 -5
  214. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  215. package/lib/molecule/dashboard/cards-list/prop-types.d.ts +1 -0
  216. package/lib/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -1
  217. package/lib/molecule/dashboard/cards-list/prop-types.js.map +1 -1
  218. package/lib/molecule/drag-and-drop-wrapper/index.d.ts +6 -0
  219. package/lib/molecule/draggable-list/index.d.ts +63 -54
  220. package/lib/molecule/tabs/index.d.ts +1 -0
  221. package/lib/molecule/tabs/index.d.ts.map +1 -1
  222. package/lib/molecule/tabs/index.js +7 -3
  223. package/lib/molecule/tabs/index.js.map +1 -1
  224. package/lib/molecule/tabs/style.css +4 -0
  225. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +13 -0
  226. package/lib/molecule/title-radio-wrapper/index.d.ts +7 -0
  227. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  228. package/lib/molecule/title-radio-wrapper/types.d.ts +7 -0
  229. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  230. package/lib/organism/assignment-audience/index.d.ts +92 -0
  231. package/lib/organism/assignment-audience/index.d.ts.map +1 -0
  232. package/lib/organism/assignment-audience/index.js +242 -0
  233. package/lib/organism/assignment-audience/index.js.map +1 -0
  234. package/lib/organism/assignment-audience/style.css +115 -0
  235. package/lib/organism/assignment-audience/types.d.ts +193 -0
  236. package/lib/organism/assignment-audience/types.d.ts.map +1 -0
  237. package/lib/organism/assignment-audience/types.js +112 -0
  238. package/lib/organism/assignment-audience/types.js.map +1 -0
  239. package/lib/organism/assignment-audience/upload-result.css +47 -0
  240. package/lib/organism/assignment-audience/upload-result.d.ts +26 -0
  241. package/lib/organism/assignment-audience/upload-result.d.ts.map +1 -0
  242. package/lib/organism/assignment-audience/upload-result.js +94 -0
  243. package/lib/organism/assignment-audience/upload-result.js.map +1 -0
  244. package/lib/organism/assignment-row/index.d.ts +55 -0
  245. package/lib/organism/assignment-row/index.d.ts.map +1 -0
  246. package/lib/organism/assignment-row/index.js +45 -0
  247. package/lib/organism/assignment-row/index.js.map +1 -0
  248. package/lib/organism/assignment-row/types.d.ts +83 -0
  249. package/lib/organism/assignment-row/types.d.ts.map +1 -0
  250. package/lib/organism/assignment-row/types.js +34 -0
  251. package/lib/organism/assignment-row/types.js.map +1 -0
  252. package/lib/organism/brand-learning-priorities/index.d.ts +63 -54
  253. package/lib/organism/content-skill-modal/index.d.ts +10 -0
  254. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  255. package/lib/organism/content-skill-modal/types.d.ts +10 -0
  256. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  257. package/lib/organism/list-item/index.d.ts +13 -1
  258. package/lib/organism/list-item/index.d.ts.map +1 -1
  259. package/lib/organism/list-item/index.js +44 -3
  260. package/lib/organism/list-item/index.js.map +1 -1
  261. package/lib/organism/list-item/style.css +36 -0
  262. package/lib/organism/list-items/index.d.ts +10 -0
  263. package/lib/organism/list-items/index.d.ts.map +1 -1
  264. package/lib/organism/list-items/index.js +4 -1
  265. package/lib/organism/list-items/index.js.map +1 -1
  266. package/lib/organism/mooc-header/index.d.ts +7 -0
  267. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  268. package/lib/organism/mooc-header/index.js +30 -1
  269. package/lib/organism/mooc-header/index.js.map +1 -1
  270. package/lib/organism/mooc-header/style.css +11 -0
  271. package/lib/organism/rewards-form/index.d.ts +13 -0
  272. package/lib/organism/select-opponents/index.d.ts +13 -0
  273. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  274. package/lib/organism/select-opponents/types.d.ts +13 -0
  275. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  276. package/lib/organism/title-and-input/index.d.ts +14 -0
  277. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  278. package/lib/organism/title-and-input/types.d.ts +14 -0
  279. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  280. package/lib/organism/wizard-contents/index.d.ts +13 -0
  281. package/lib/template/app-player/loading/index.d.ts +11 -0
  282. package/lib/template/app-player/player/index.d.ts +22 -0
  283. package/lib/template/app-player/player/slides/index.d.ts +11 -0
  284. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  285. package/lib/template/app-player/popin-correction/index.d.ts +11 -0
  286. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  287. package/lib/template/app-player/popin-end/index.d.ts +14 -0
  288. package/lib/template/app-player/popin-end/summary.d.ts +3 -0
  289. package/lib/template/app-review/index.d.ts +11 -0
  290. package/lib/template/app-review/index.d.ts.map +1 -1
  291. package/lib/template/app-review/player/prop-types.d.ts +11 -0
  292. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  293. package/lib/template/app-review/prop-types.d.ts +11 -0
  294. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  295. package/lib/template/back-office/brand-update/index.d.ts +95 -54
  296. package/lib/template/certification-detail/index.d.ts +11 -0
  297. package/lib/template/cockpit/jw-uploader/index.d.ts +2 -0
  298. package/lib/template/common/dashboard/index.d.ts +22 -0
  299. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  300. package/lib/template/common/dashboard/index.js +37 -1
  301. package/lib/template/common/dashboard/index.js.map +1 -1
  302. package/lib/template/common/search-page/index.d.ts +17 -0
  303. package/lib/template/external-course/index.d.ts +11 -0
  304. package/lib/template/my-assignments/index.d.ts +167 -0
  305. package/lib/template/my-assignments/index.d.ts.map +1 -0
  306. package/lib/template/my-assignments/index.js +227 -0
  307. package/lib/template/my-assignments/index.js.map +1 -0
  308. package/lib/template/my-assignments/style.css +84 -0
  309. package/lib/template/my-learning/index.d.ts +3 -0
  310. package/lib/template/playlist-detail/index.d.ts +11 -0
  311. package/lib/template/teams-dashboard/index.d.ts +3 -0
  312. package/lib/util/proptypes.d.ts.map +1 -1
  313. package/lib/util/proptypes.js +2 -2
  314. package/lib/util/proptypes.js.map +1 -1
  315. package/package.json +2 -2
@@ -0,0 +1,83 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ import { ButtonLinkProps } from '../../atom/button-link/types';
4
+ import { BulletPointMenuButtonProps } from '../../molecule/bullet-point-menu-button/types';
5
+ export declare const ROW_TAG_KEYS: readonly ["ongoingChanges", "unavailable", "processing", "syncError"];
6
+ export declare type RowTagKey = typeof ROW_TAG_KEYS[number];
7
+ declare const propTypes: {
8
+ title: PropTypes.Validator<string>;
9
+ subtitle: PropTypes.Requireable<string>;
10
+ details: PropTypes.Requireable<string>;
11
+ progress: PropTypes.Requireable<PropTypes.InferProps<{
12
+ value: PropTypes.Validator<number>;
13
+ label: PropTypes.Validator<string>;
14
+ }>>;
15
+ infoTags: PropTypes.Requireable<(PropTypes.InferProps<{
16
+ key: PropTypes.Validator<NonNullable<"ongoingChanges" | "unavailable" | "processing" | "syncError">>;
17
+ label: PropTypes.Validator<string>;
18
+ }> | null | undefined)[]>;
19
+ leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
20
+ iconName: PropTypes.Requireable<string>;
21
+ iconColor: PropTypes.Requireable<string>;
22
+ backgroundColor: PropTypes.Requireable<string>;
23
+ borderRadius: PropTypes.Requireable<string>;
24
+ preset: PropTypes.Requireable<string>;
25
+ gradientBackground: PropTypes.Requireable<boolean>;
26
+ size: PropTypes.Requireable<number>;
27
+ wrapperSize: PropTypes.Requireable<number>;
28
+ }>>;
29
+ buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
30
+ type: PropTypes.Requireable<string>;
31
+ label: PropTypes.Requireable<string>;
32
+ ariaLabel: PropTypes.Requireable<string>;
33
+ dataName: PropTypes.Requireable<string>;
34
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
35
+ position: PropTypes.Requireable<string>;
36
+ type: PropTypes.Requireable<string>;
37
+ }>>;
38
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
39
+ }>>;
40
+ bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
41
+ buttonAriaLabel: PropTypes.Requireable<string>;
42
+ menuAriaLabel: PropTypes.Requireable<string>;
43
+ buttons: PropTypes.Requireable<(PropTypes.InferProps<{
44
+ 'data-name': PropTypes.Requireable<string>;
45
+ label: PropTypes.Requireable<string>;
46
+ type: PropTypes.Requireable<string>;
47
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
48
+ }> | null | undefined)[]>;
49
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
50
+ }>>;
51
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
52
+ id: PropTypes.Requireable<string>;
53
+ 'data-name': PropTypes.Requireable<string>;
54
+ };
55
+ export default propTypes;
56
+ export declare type InfoTag = {
57
+ key: RowTagKey;
58
+ label: string;
59
+ };
60
+ export declare type AssignmentRowProps = {
61
+ title: string;
62
+ subtitle?: string;
63
+ details?: string;
64
+ progress?: {
65
+ value: number;
66
+ label: string;
67
+ };
68
+ infoTags?: InfoTag[];
69
+ leftIcon?: {
70
+ iconName: string;
71
+ iconColor?: string;
72
+ preset?: string;
73
+ };
74
+ buttonLink?: ButtonLinkProps;
75
+ bulletPointMenuButton?: Omit<BulletPointMenuButtonProps, 'data-name'>;
76
+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;
77
+ id?: string;
78
+ 'data-name'?: string;
79
+ };
80
+ export declare type AssignmentRowPropsFixture = {
81
+ props: AssignmentRowProps;
82
+ };
83
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/assignment-row/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,0BAA0B,EAAC,MAAM,+CAA+C,CAAC;AAIzF,eAAO,MAAM,YAAY,uEAAwE,CAAC;AAElG,oBAAY,SAAS,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC;AAEpD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,OAAO,GAAG;IAAC,GAAG,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,CAAC;AAEtD,oBAAY,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC;IACnE,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,qBAAqB,CAAC,EAAE,IAAI,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAC;IACtE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IAAC,KAAK,EAAE,kBAAkB,CAAA;CAAC,CAAC"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = exports.ROW_TAG_KEYS = void 0;
5
+ var _propTypes = _interopRequireDefault(require("prop-types"));
6
+ var _listItem = _interopRequireDefault(require("../list-item"));
7
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
8
+ // Row tags appear only when they add information, in this order. There is no lifecycle tag (the
9
+ // list tab already says it) and no "up to date" sync tag (only syncing or a sync error shows).
10
+ const ROW_TAG_KEYS = exports.ROW_TAG_KEYS = ['ongoingChanges', 'unavailable', 'processing', 'syncError'];
11
+ const propTypes = {
12
+ title: _listItem.default.propTypes.title,
13
+ // The audience summary and the date range, e.g. "Managers FR · 02 Nov 2026 – 15 Dec 2026 (GMT)"
14
+ subtitle: _listItem.default.propTypes.subtitle,
15
+ // The contents line, e.g. "6 modules · 2 external · 2 chapters"
16
+ details: _listItem.default.propTypes.details,
17
+ // Completion (0 to 100) and its label; absent on a draft
18
+ progress: _listItem.default.propTypes.progress,
19
+ infoTags: _propTypes.default.arrayOf(_propTypes.default.shape({
20
+ key: _propTypes.default.oneOf(ROW_TAG_KEYS).isRequired,
21
+ label: _propTypes.default.string.isRequired
22
+ })),
23
+ // Defaults to the calendar-check icon
24
+ leftIcon: _listItem.default.propTypes.leftIcon,
25
+ // The « Tracking » button (or « Edit » on a draft)
26
+ buttonLink: _listItem.default.propTypes.buttonLink,
27
+ bulletPointMenuButton: _listItem.default.propTypes.bulletPointMenuButton,
28
+ // A click on the row opens the tracking page
29
+ onClick: _propTypes.default.func,
30
+ id: _propTypes.default.string,
31
+ 'data-name': _propTypes.default.string
32
+ };
33
+ var _default = exports.default = propTypes;
34
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","names":["_propTypes","_interopRequireDefault","require","_listItem","e","__esModule","default","ROW_TAG_KEYS","exports","propTypes","title","ListItem","subtitle","details","progress","infoTags","PropTypes","arrayOf","shape","key","oneOf","isRequired","label","string","leftIcon","buttonLink","bulletPointMenuButton","onClick","func","id","_default"],"sources":["../../../src/organism/assignment-row/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport {BulletPointMenuButtonProps} from '../../molecule/bullet-point-menu-button/types';\n\n// Row tags appear only when they add information, in this order. There is no lifecycle tag (the\n// list tab already says it) and no \"up to date\" sync tag (only syncing or a sync error shows).\nexport const ROW_TAG_KEYS = ['ongoingChanges', 'unavailable', 'processing', 'syncError'] as const;\n\nexport type RowTagKey = typeof ROW_TAG_KEYS[number];\n\nconst propTypes = {\n title: ListItem.propTypes.title,\n // The audience summary and the date range, e.g. \"Managers FR · 02 Nov 2026 – 15 Dec 2026 (GMT)\"\n subtitle: ListItem.propTypes.subtitle,\n // The contents line, e.g. \"6 modules · 2 external · 2 chapters\"\n details: ListItem.propTypes.details,\n // Completion (0 to 100) and its label; absent on a draft\n progress: ListItem.propTypes.progress,\n infoTags: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.oneOf(ROW_TAG_KEYS).isRequired,\n label: PropTypes.string.isRequired\n })\n ),\n // Defaults to the calendar-check icon\n leftIcon: ListItem.propTypes.leftIcon,\n // The « Tracking » button (or « Edit » on a draft)\n buttonLink: ListItem.propTypes.buttonLink,\n bulletPointMenuButton: ListItem.propTypes.bulletPointMenuButton,\n // A click on the row opens the tracking page\n onClick: PropTypes.func,\n id: PropTypes.string,\n 'data-name': PropTypes.string\n};\n\nexport default propTypes;\n\nexport type InfoTag = {key: RowTagKey; label: string};\n\nexport type AssignmentRowProps = {\n title: string;\n subtitle?: string;\n details?: string;\n progress?: {value: number; label: string};\n infoTags?: InfoTag[];\n leftIcon?: {iconName: string; iconColor?: string; preset?: string};\n buttonLink?: ButtonLinkProps;\n bulletPointMenuButton?: Omit<BulletPointMenuButtonProps, 'data-name'>;\n onClick?: (event: React.MouseEvent<HTMLElement>) => void;\n id?: string;\n 'data-name'?: string;\n};\n\nexport type AssignmentRowPropsFixture = {props: AssignmentRowProps};\n"],"mappings":";;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAIpC;AACA;AACO,MAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,CAAC,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,CAAU;AAIjG,MAAME,SAAS,GAAG;EAChBC,KAAK,EAAEC,iBAAQ,CAACF,SAAS,CAACC,KAAK;EAC/B;EACAE,QAAQ,EAAED,iBAAQ,CAACF,SAAS,CAACG,QAAQ;EACrC;EACAC,OAAO,EAAEF,iBAAQ,CAACF,SAAS,CAACI,OAAO;EACnC;EACAC,QAAQ,EAAEH,iBAAQ,CAACF,SAAS,CAACK,QAAQ;EACrCC,QAAQ,EAAEC,kBAAS,CAACC,OAAO,CACzBD,kBAAS,CAACE,KAAK,CAAC;IACdC,GAAG,EAAEH,kBAAS,CAACI,KAAK,CAACb,YAAY,CAAC,CAACc,UAAU;IAC7CC,KAAK,EAAEN,kBAAS,CAACO,MAAM,CAACF;EAC1B,CAAC,CACH,CAAC;EACD;EACAG,QAAQ,EAAEb,iBAAQ,CAACF,SAAS,CAACe,QAAQ;EACrC;EACAC,UAAU,EAAEd,iBAAQ,CAACF,SAAS,CAACgB,UAAU;EACzCC,qBAAqB,EAAEf,iBAAQ,CAACF,SAAS,CAACiB,qBAAqB;EAC/D;EACAC,OAAO,EAAEX,kBAAS,CAACY,IAAI;EACvBC,EAAE,EAAEb,kBAAS,CAACO,MAAM;EACpB,WAAW,EAAEP,kBAAS,CAACO;AACzB,CAAC;AAAC,IAAAO,QAAA,GAAAtB,OAAA,CAAAF,OAAA,GAEaG,SAAS","ignoreList":[]}
@@ -7,62 +7,17 @@ declare namespace BrandLearningPriorities {
7
7
  namespace propTypes {
8
8
  const content: PropTypes.Requireable<PropTypes.InferProps<{
9
9
  items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
10
- title: PropTypes.Validator<string>;
11
- onUp: PropTypes.Requireable<(...args: any[]) => any>;
12
- onDown: PropTypes.Requireable<(...args: any[]) => any>;
13
- display: PropTypes.Requireable<PropTypes.InferProps<{
14
- title: PropTypes.Requireable<string>;
15
- name: PropTypes.Requireable<string>;
16
- id: PropTypes.Requireable<string>;
17
- value: PropTypes.Requireable<boolean>;
18
- disabled: PropTypes.Requireable<boolean>;
19
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
20
- description: PropTypes.Requireable<string>;
21
- 'aria-labelledby': PropTypes.Requireable<string>;
22
- 'aria-label': PropTypes.Requireable<string>;
23
- modified: PropTypes.Requireable<boolean>;
24
- titlePosition: PropTypes.Requireable<string>;
25
- theme: PropTypes.Requireable<string>;
26
- details: PropTypes.Requireable<string>;
27
- 'data-name': PropTypes.Requireable<string>;
28
- requiredSelection: PropTypes.Requireable<boolean>;
29
- icon: PropTypes.Requireable<string>;
30
- }>>;
31
- contentTypes: PropTypes.Requireable<PropTypes.InferProps<{
32
- modified: PropTypes.Requireable<boolean>;
33
- color: PropTypes.Requireable<string>;
34
- theme: PropTypes.Requireable<string>;
35
- className: PropTypes.Requireable<string>;
36
- list: PropTypes.Requireable<(PropTypes.InferProps<{
37
- color: PropTypes.Requireable<string>;
38
- value: PropTypes.Validator<string>;
39
- name: PropTypes.Requireable<string>;
40
- theme: PropTypes.Requireable<string>;
41
- checked: PropTypes.Requireable<boolean>;
42
- label: PropTypes.Requireable<string>;
43
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
44
- }> | null | undefined)[]>;
45
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
46
- }>>;
47
- }> | PropTypes.InferProps<{
48
- 'aria-label': PropTypes.Requireable<PropTypes.InferProps<{
49
- title: PropTypes.Requireable<string>;
50
- author: PropTypes.Requireable<string>;
51
- modules: PropTypes.Requireable<string>;
52
- position: PropTypes.Requireable<string>;
53
- }>>;
54
- image: PropTypes.Requireable<string>;
55
- badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
56
- category: PropTypes.Requireable<string>;
57
- label: PropTypes.Requireable<string>;
58
- }> | null | undefined)[]>;
59
- title: PropTypes.Requireable<string>;
60
- author: PropTypes.Requireable<string>;
61
- position: PropTypes.Requireable<number>;
62
- id: PropTypes.Requireable<string>;
63
- }> | PropTypes.InferProps<{
64
10
  title: PropTypes.Validator<string>;
65
11
  subtitle: PropTypes.Requireable<string>;
12
+ titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
13
+ label: PropTypes.Validator<string>;
14
+ type: PropTypes.Requireable<string>;
15
+ }> | null | undefined)[]>;
16
+ details: PropTypes.Requireable<string>;
17
+ progress: PropTypes.Requireable<PropTypes.InferProps<{
18
+ value: PropTypes.Validator<number>;
19
+ label: PropTypes.Validator<string>;
20
+ }>>;
66
21
  'data-name': PropTypes.Requireable<string>;
67
22
  provider: PropTypes.Requireable<PropTypes.InferProps<{
68
23
  label: PropTypes.Requireable<string>;
@@ -148,6 +103,60 @@ declare namespace BrandLearningPriorities {
148
103
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
149
104
  }>;
150
105
  }>>;
106
+ }> | PropTypes.InferProps<{
107
+ title: PropTypes.Validator<string>;
108
+ onUp: PropTypes.Requireable<(...args: any[]) => any>;
109
+ onDown: PropTypes.Requireable<(...args: any[]) => any>;
110
+ display: PropTypes.Requireable<PropTypes.InferProps<{
111
+ title: PropTypes.Requireable<string>;
112
+ name: PropTypes.Requireable<string>;
113
+ id: PropTypes.Requireable<string>;
114
+ value: PropTypes.Requireable<boolean>;
115
+ disabled: PropTypes.Requireable<boolean>;
116
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
117
+ description: PropTypes.Requireable<string>;
118
+ 'aria-labelledby': PropTypes.Requireable<string>;
119
+ 'aria-label': PropTypes.Requireable<string>;
120
+ modified: PropTypes.Requireable<boolean>;
121
+ titlePosition: PropTypes.Requireable<string>;
122
+ theme: PropTypes.Requireable<string>;
123
+ details: PropTypes.Requireable<string>;
124
+ 'data-name': PropTypes.Requireable<string>;
125
+ requiredSelection: PropTypes.Requireable<boolean>;
126
+ icon: PropTypes.Requireable<string>;
127
+ }>>;
128
+ contentTypes: PropTypes.Requireable<PropTypes.InferProps<{
129
+ modified: PropTypes.Requireable<boolean>;
130
+ color: PropTypes.Requireable<string>;
131
+ theme: PropTypes.Requireable<string>;
132
+ className: PropTypes.Requireable<string>;
133
+ list: PropTypes.Requireable<(PropTypes.InferProps<{
134
+ color: PropTypes.Requireable<string>;
135
+ value: PropTypes.Validator<string>;
136
+ name: PropTypes.Requireable<string>;
137
+ theme: PropTypes.Requireable<string>;
138
+ checked: PropTypes.Requireable<boolean>;
139
+ label: PropTypes.Requireable<string>;
140
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
141
+ }> | null | undefined)[]>;
142
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
143
+ }>>;
144
+ }> | PropTypes.InferProps<{
145
+ 'aria-label': PropTypes.Requireable<PropTypes.InferProps<{
146
+ title: PropTypes.Requireable<string>;
147
+ author: PropTypes.Requireable<string>;
148
+ modules: PropTypes.Requireable<string>;
149
+ position: PropTypes.Requireable<string>;
150
+ }>>;
151
+ image: PropTypes.Requireable<string>;
152
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
153
+ category: PropTypes.Requireable<string>;
154
+ label: PropTypes.Requireable<string>;
155
+ }> | null | undefined)[]>;
156
+ title: PropTypes.Requireable<string>;
157
+ author: PropTypes.Requireable<string>;
158
+ position: PropTypes.Requireable<number>;
159
+ id: PropTypes.Requireable<string>;
151
160
  }> | PropTypes.InferProps<{
152
161
  'aria-label': PropTypes.Requireable<string>;
153
162
  id: PropTypes.Requireable<string>;
@@ -77,6 +77,15 @@ declare const ContentSkillModal: {
77
77
  items: import("prop-types").Requireable<(import("prop-types").InferProps<{
78
78
  title: import("prop-types").Validator<string>;
79
79
  subtitle: import("prop-types").Requireable<string>;
80
+ titleTags: import("prop-types").Requireable<(import("prop-types").InferProps<{
81
+ label: import("prop-types").Validator<string>;
82
+ type: import("prop-types").Requireable<string>;
83
+ }> | null | undefined)[]>;
84
+ details: import("prop-types").Requireable<string>;
85
+ progress: import("prop-types").Requireable<import("prop-types").InferProps<{
86
+ value: import("prop-types").Validator<number>;
87
+ label: import("prop-types").Validator<string>;
88
+ }>>;
80
89
  'data-name': import("prop-types").Requireable<string>;
81
90
  provider: import("prop-types").Requireable<import("prop-types").InferProps<{
82
91
  label: import("prop-types").Requireable<string>;
@@ -523,6 +532,7 @@ declare const ContentSkillModal: {
523
532
  customLabelClassName: import("prop-types").Requireable<string>;
524
533
  }>>;
525
534
  required: import("prop-types").Requireable<boolean>;
535
+ headingLevel: import("prop-types").Requireable<number>;
526
536
  }> | null | undefined>>;
527
537
  isFetching: import("prop-types").Requireable<boolean>;
528
538
  search: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
@@ -74,6 +74,15 @@ declare const ContentSkillModalPropTypes: {
74
74
  items: PropTypes.Requireable<(PropTypes.InferProps<{
75
75
  title: PropTypes.Validator<string>;
76
76
  subtitle: PropTypes.Requireable<string>;
77
+ titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
78
+ label: PropTypes.Validator<string>;
79
+ type: PropTypes.Requireable<string>;
80
+ }> | null | undefined)[]>;
81
+ details: PropTypes.Requireable<string>;
82
+ progress: PropTypes.Requireable<PropTypes.InferProps<{
83
+ value: PropTypes.Validator<number>;
84
+ label: PropTypes.Validator<string>;
85
+ }>>;
77
86
  'data-name': PropTypes.Requireable<string>;
78
87
  provider: PropTypes.Requireable<PropTypes.InferProps<{
79
88
  label: PropTypes.Requireable<string>;
@@ -520,6 +529,7 @@ declare const ContentSkillModalPropTypes: {
520
529
  customLabelClassName: PropTypes.Requireable<string>;
521
530
  }>>;
522
531
  required: PropTypes.Requireable<boolean>;
532
+ headingLevel: PropTypes.Requireable<number>;
523
533
  }> | null | undefined>>;
524
534
  isFetching: PropTypes.Requireable<boolean>;
525
535
  search: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IACpD,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export default ListItem;
2
- declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, provider, selected, selectedColor, subtitle, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick, leftIcon, image, checkbox, "data-name": dataName }: {
2
+ declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, provider, selected, selectedColor, subtitle, titleTags, details, progress, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick, leftIcon, image, checkbox, "data-name": dataName }: {
3
3
  buttonLink: any;
4
4
  secondButtonLink: any;
5
5
  bulletPointMenuButton: any;
@@ -9,6 +9,9 @@ declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton,
9
9
  selected: any;
10
10
  selectedColor: any;
11
11
  subtitle: any;
12
+ titleTags: any;
13
+ details: any;
14
+ progress: any;
12
15
  dataColumns: any;
13
16
  order: any;
14
17
  "aria-label": any;
@@ -50,6 +53,15 @@ declare namespace ListItem {
50
53
  const propTypes: {
51
54
  title: PropTypes.Validator<string>;
52
55
  subtitle: PropTypes.Requireable<string>;
56
+ titleTags: PropTypes.Requireable<(PropTypes.InferProps<{
57
+ label: PropTypes.Validator<string>;
58
+ type: PropTypes.Requireable<string>;
59
+ }> | null | undefined)[]>;
60
+ details: PropTypes.Requireable<string>;
61
+ progress: PropTypes.Requireable<PropTypes.InferProps<{
62
+ value: PropTypes.Validator<number>;
63
+ label: PropTypes.Validator<string>;
64
+ }>>;
53
65
  'data-name': PropTypes.Requireable<string>;
54
66
  provider: PropTypes.Requireable<PropTypes.InferProps<{
55
67
  label: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAeA;;;;;;;;;;;;;;;;;;;;;;8BAmJC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAuBA;;;;;;;;;;;;;;;;;;;;;;;;;8BA4KC"}
@@ -21,9 +21,16 @@ var _bulletPointMenuButton = _interopRequireDefault(require("../../molecule/bull
21
21
  var _colors = require("../../variables/colors");
22
22
  var _cardImagePreview = _interopRequireDefault(require("../../atom/card-image-preview"));
23
23
  var _checkboxWithTitle = _interopRequireDefault(require("../../atom/checkbox-with-title"));
24
+ var _progressBar = _interopRequireDefault(require("../../molecule/progress-bar"));
24
25
  var _style = _interopRequireDefault(require("./style.css"));
25
26
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
26
27
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
28
+ // The thin completion bar: ProgressBar styles its inner bar through its `style` prop.
29
+ const THIN_PROGRESS_STYLE = {
30
+ backgroundColor: _colors.COLORS.cm_positive_500,
31
+ borderRadius: '4px',
32
+ animation: 'none'
33
+ };
27
34
  const ListItem = ({
28
35
  buttonLink,
29
36
  secondButtonLink,
@@ -34,6 +41,9 @@ const ListItem = ({
34
41
  selected,
35
42
  selectedColor,
36
43
  subtitle,
44
+ titleTags,
45
+ details,
46
+ progress,
37
47
  dataColumns,
38
48
  order,
39
49
  'aria-label': ariaLabel,
@@ -108,7 +118,7 @@ const ListItem = ({
108
118
  }, /*#__PURE__*/_react.default.createElement("div", {
109
119
  className: _style.default.titleProviderWrapper
110
120
  }, title ? /*#__PURE__*/_react.default.createElement("div", {
111
- className: _style.default.title,
121
+ className: (0, _classnames.default)(_style.default.title, !(0, _isEmpty2.default)(titleTags) && _style.default.titleBeforeTags),
112
122
  title: title.replace(/<[^>]*>/g, '')
113
123
  // eslint-disable-next-line react/no-danger
114
124
  ,
@@ -119,9 +129,28 @@ const ListItem = ({
119
129
  label: provider.label,
120
130
  type: provider.type,
121
131
  className: _style.default.providerTag
122
- }) : null), subtitle ? /*#__PURE__*/_react.default.createElement("div", {
132
+ }) : null, !(0, _isEmpty2.default)(titleTags) ? /*#__PURE__*/_react.default.createElement("div", {
133
+ className: _style.default.titleTags,
134
+ "data-name": "title-tags"
135
+ }, titleTags.map(tag => /*#__PURE__*/_react.default.createElement("div", {
136
+ key: tag.label,
137
+ className: _style.default.tag
138
+ }, /*#__PURE__*/_react.default.createElement(_tag.default, tag)))) : null), subtitle ? /*#__PURE__*/_react.default.createElement("div", {
123
139
  className: _style.default.subtitle
124
- }, subtitle) : null), dataColumnsView), /*#__PURE__*/_react.default.createElement("div", {
140
+ }, subtitle) : null, details ? /*#__PURE__*/_react.default.createElement("div", {
141
+ className: _style.default.details
142
+ }, details) : null, progress ? /*#__PURE__*/_react.default.createElement("div", {
143
+ className: _style.default.progress,
144
+ "data-name": "list-item-progress"
145
+ }, /*#__PURE__*/_react.default.createElement(_progressBar.default, {
146
+ className: _style.default.progressBar,
147
+ value: progress.value,
148
+ max: 100,
149
+ style: THIN_PROGRESS_STYLE,
150
+ displayInfo: false
151
+ }), /*#__PURE__*/_react.default.createElement("span", {
152
+ className: _style.default.progressLabel
153
+ }, progress.label)) : null), dataColumnsView), /*#__PURE__*/_react.default.createElement("div", {
125
154
  className: _style.default.settings
126
155
  }, tagsView, selected ? /*#__PURE__*/_react.default.createElement(_icon.default, {
127
156
  iconName: "circle-check",
@@ -142,6 +171,18 @@ ListItem.contextTypes = {
142
171
  ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
143
172
  title: _propTypes.default.string.isRequired,
144
173
  subtitle: _propTypes.default.string,
174
+ // Tags shown right after the title
175
+ titleTags: _propTypes.default.arrayOf(_propTypes.default.shape({
176
+ label: _propTypes.default.string.isRequired,
177
+ type: _tag.default.propTypes.type
178
+ })),
179
+ // A second line under the subtitle
180
+ details: _propTypes.default.string,
181
+ // A thin completion bar (0 to 100) with its label
182
+ progress: _propTypes.default.shape({
183
+ value: _propTypes.default.number.isRequired,
184
+ label: _propTypes.default.string.isRequired
185
+ }),
145
186
  'data-name': _propTypes.default.string,
146
187
  provider: _propTypes.default.shape({
147
188
  label: _propTypes.default.string,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_cssColorFunction","_classnames","_provider","_tag","_icon","_buttonLink","_bulletPointMenuButton","_colors","_cardImagePreview","_checkboxWithTitle","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","_noop2","leftIcon","image","checkbox","dataName","context","skin","primarySelectedColor","_get2","mapUncapped","_map2","convert","cap","checkable","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","createElement","key","className","style","customStyle","dataColumnsView","dataColumn","label","orderView","undefined","role","extractedIndex","_pipe2","_split2","_last2","classnames","wrapper","gridLayout","flexLayout","withSubtitle","cursorPointer","checked","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","borderRadius","containerImage","titleWrapper","titleProviderWrapper","replace","dangerouslySetInnerHTML","__html","_isEmpty2","providerTag","settings","COLORS","white","size","faSize","wrapperSize","contextTypes","Provider","childContextTypes","translate","propTypes","process","env","NODE_ENV","PropTypes","string","isRequired","shape","oneOf","bool","arrayOf","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","number","id","CheckboxWithTitle","_default","exports"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get, last, split, pipe} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport FaIcon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport {COLORS} from '../../variables/colors';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport style from './style.css';\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n provider,\n selected,\n selectedColor,\n subtitle,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n disabled = false,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false,\n onClick = noop,\n leftIcon,\n image,\n checkbox,\n 'data-name': dataName\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: false});\n const checkable = checkbox || false;\n let isPublished = false;\n\n const selectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\n }\n : {};\n\n const tagsView = mapUncapped((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} customStyle={tagSelectedStyle} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = mapUncapped((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} role=\"group\" aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n const extractedIndex = pipe(split('-'), last)(dataName);\n\n return (\n <div\n className={classnames(\n style.wrapper,\n isBulkStyle ? style.gridLayout : style.flexLayout,\n subtitle && style.withSubtitle,\n disabled && style.disabled,\n onClick !== noop && !disabled && style.cursorPointer,\n checkbox?.checked && style.checked\n )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n data-name={dataName}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n {leftIcon || image || checkable ? (\n <div className={style.leftSection}>\n {checkable ? <CheckboxWithTitle {...checkbox} /> : null}\n {leftIcon && !image ? (\n <FaIcon\n iconName={leftIcon.iconName}\n gradientBackground={leftIcon.gradientBackground || true}\n iconColor={leftIcon.iconColor || primarySelectedColor}\n preset={leftIcon.preset || 'xl'}\n borderRadius={leftIcon.borderRadius || '25%'}\n />\n ) : null}\n {!leftIcon && image ? (\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n ) : null}\n </div>\n ) : null}\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n {title ? (\n <div\n className={style.title}\n title={title.replace(/<[^>]*>/g, '')}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : null}\n {!isEmpty(provider) ? (\n <Tag label={provider.label} type={provider.type} className={style.providerTag} />\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n </div>\n {dataColumnsView}\n </div>\n <div className={style.settings}>\n {tagsView}\n {selected ? (\n <FaIcon\n iconName=\"circle-check\"\n iconColor={primarySelectedColor}\n backgroundColor={COLORS.white}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton\n {...bulletPointMenuButton}\n data-name={`bullet-point-menu-button-${extractedIndex}`}\n />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n 'data-name': PropTypes.string,\n provider: PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['info', 'default', 'success', 'failure', 'warning', 'progress'])\n }),\n selected: PropTypes.bool,\n selectedColor: PropTypes.string,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string,\n leftIcon: PropTypes.shape({\n iconName: PropTypes.string,\n iconColor: PropTypes.string,\n backgroundColor: PropTypes.string,\n borderRadius: PropTypes.string,\n preset: PropTypes.string,\n gradientBackground: PropTypes.bool,\n size: PropTypes.number,\n wrapperSize: PropTypes.number\n }),\n image: PropTypes.string,\n checkbox: PropTypes.shape(CheckboxWithTitle.propTypes)\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,SAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,IAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,KAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,WAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,sBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,kBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,MAAA,GAAAb,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAc,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,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OAAO,EAAE4E,kBAAS,CAACS,IAAI;EACvBvF,WAAW,EAAE8E,kBAAS,CAACK,IAAI;EAC3BlF,gBAAgB,EAAE6E,kBAAS,CAACK,IAAI;EAChCvF,KAAK,EAAEkF,kBAAS,CAACa,MAAM;EACvB,YAAY,EAAEb,kBAAS,CAACC,MAAM;EAC9BhF,WAAW,EAAE+E,kBAAS,CAACC,MAAM;EAC7Ba,EAAE,EAAEd,kBAAS,CAACC,MAAM;EACpB3E,QAAQ,EAAE0E,kBAAS,CAACG,KAAK,CAAC;IACxB9B,QAAQ,EAAE2B,kBAAS,CAACC,MAAM;IAC1B1B,SAAS,EAAEyB,kBAAS,CAACC,MAAM;IAC3B5D,eAAe,EAAE2D,kBAAS,CAACC,MAAM;IACjCxB,YAAY,EAAEuB,kBAAS,CAACC,MAAM;IAC9BzB,MAAM,EAAEwB,kBAAS,CAACC,MAAM;IACxB3B,kBAAkB,EAAE0B,kBAAS,CAACK,IAAI;IAClChB,IAAI,EAAEW,kBAAS,CAACa,MAAM;IACtBtB,WAAW,EAAES,kBAAS,CAACa;EACzB,CAAC,CAAC;EACFtF,KAAK,EAAEyE,kBAAS,CAACC,MAAM;EACvBzE,QAAQ,EAAEwE,kBAAS,CAACG,KAAK,CAACY,0BAAiB,CAACnB,SAAS;AACvD,CAAC;AAAC,IAAAoB,QAAA,GAAAC,OAAA,CAAA3H,OAAA,GAEaa,QAAQ","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_cssColorFunction","_classnames","_provider","_tag","_icon","_buttonLink","_bulletPointMenuButton","_colors","_cardImagePreview","_checkboxWithTitle","_progressBar","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","THIN_PROGRESS_STYLE","backgroundColor","COLORS","cm_positive_500","borderRadius","animation","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","titleTags","details","progress","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","_noop2","leftIcon","image","checkbox","dataName","context","skin","primarySelectedColor","_get2","mapUncapped","_map2","convert","cap","checkable","isPublished","selectedStyle","tagSelectedStyle","color","tagsView","tag","index","type","createElement","key","className","style","customStyle","dataColumnsView","dataColumn","label","orderView","undefined","role","extractedIndex","_pipe2","_split2","_last2","classnames","wrapper","gridLayout","flexLayout","withSubtitle","cursorPointer","checked","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","containerImage","titleWrapper","titleProviderWrapper","_isEmpty2","titleBeforeTags","replace","dangerouslySetInnerHTML","__html","providerTag","map","progressBar","value","max","displayInfo","progressLabel","settings","white","size","faSize","wrapperSize","contextTypes","Provider","childContextTypes","translate","propTypes","process","env","NODE_ENV","PropTypes","string","isRequired","arrayOf","shape","Tag","number","oneOf","bool","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","id","CheckboxWithTitle","_default","exports"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get, last, split, pipe} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport FaIcon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport {COLORS} from '../../variables/colors';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport ProgressBar from '../../molecule/progress-bar';\nimport style from './style.css';\n\n// The thin completion bar: ProgressBar styles its inner bar through its `style` prop.\nconst THIN_PROGRESS_STYLE = {\n backgroundColor: COLORS.cm_positive_500,\n borderRadius: '4px',\n animation: 'none'\n};\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n provider,\n selected,\n selectedColor,\n subtitle,\n titleTags,\n details,\n progress,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n disabled = false,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false,\n onClick = noop,\n leftIcon,\n image,\n checkbox,\n 'data-name': dataName\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: false});\n const checkable = checkbox || false;\n let isPublished = false;\n\n const selectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\n }\n : {};\n\n const tagsView = mapUncapped((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} customStyle={tagSelectedStyle} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = mapUncapped((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} role=\"group\" aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n const extractedIndex = pipe(split('-'), last)(dataName);\n\n return (\n <div\n className={classnames(\n style.wrapper,\n isBulkStyle ? style.gridLayout : style.flexLayout,\n subtitle && style.withSubtitle,\n disabled && style.disabled,\n onClick !== noop && !disabled && style.cursorPointer,\n checkbox?.checked && style.checked\n )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n data-name={dataName}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n {leftIcon || image || checkable ? (\n <div className={style.leftSection}>\n {checkable ? <CheckboxWithTitle {...checkbox} /> : null}\n {leftIcon && !image ? (\n <FaIcon\n iconName={leftIcon.iconName}\n gradientBackground={leftIcon.gradientBackground || true}\n iconColor={leftIcon.iconColor || primarySelectedColor}\n preset={leftIcon.preset || 'xl'}\n borderRadius={leftIcon.borderRadius || '25%'}\n />\n ) : null}\n {!leftIcon && image ? (\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n ) : null}\n </div>\n ) : null}\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n {title ? (\n <div\n className={classnames(style.title, !isEmpty(titleTags) && style.titleBeforeTags)}\n title={title.replace(/<[^>]*>/g, '')}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n ) : null}\n {!isEmpty(provider) ? (\n <Tag label={provider.label} type={provider.type} className={style.providerTag} />\n ) : null}\n {!isEmpty(titleTags) ? (\n <div className={style.titleTags} data-name=\"title-tags\">\n {titleTags.map(tag => (\n <div key={tag.label} className={style.tag}>\n <Tag {...tag} />\n </div>\n ))}\n </div>\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n {details ? <div className={style.details}>{details}</div> : null}\n {progress ? (\n <div className={style.progress} data-name=\"list-item-progress\">\n <ProgressBar\n className={style.progressBar}\n value={progress.value}\n max={100}\n style={THIN_PROGRESS_STYLE}\n displayInfo={false}\n />\n <span className={style.progressLabel}>{progress.label}</span>\n </div>\n ) : null}\n </div>\n {dataColumnsView}\n </div>\n <div className={style.settings}>\n {tagsView}\n {selected ? (\n <FaIcon\n iconName=\"circle-check\"\n iconColor={primarySelectedColor}\n backgroundColor={COLORS.white}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton\n {...bulletPointMenuButton}\n data-name={`bullet-point-menu-button-${extractedIndex}`}\n />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n // Tags shown right after the title\n titleTags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n type: Tag.propTypes.type\n })\n ),\n // A second line under the subtitle\n details: PropTypes.string,\n // A thin completion bar (0 to 100) with its label\n progress: PropTypes.shape({\n value: PropTypes.number.isRequired,\n label: PropTypes.string.isRequired\n }),\n 'data-name': PropTypes.string,\n provider: PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['info', 'default', 'success', 'failure', 'warning', 'progress'])\n }),\n selected: PropTypes.bool,\n selectedColor: PropTypes.string,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string,\n leftIcon: PropTypes.shape({\n iconName: PropTypes.string,\n iconColor: PropTypes.string,\n backgroundColor: PropTypes.string,\n borderRadius: PropTypes.string,\n preset: PropTypes.string,\n gradientBackground: PropTypes.bool,\n size: PropTypes.number,\n wrapperSize: PropTypes.number\n }),\n image: PropTypes.string,\n checkbox: PropTypes.shape(CheckboxWithTitle.propTypes)\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,SAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,IAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,KAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,WAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,sBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,kBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,YAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,MAAA,GAAAd,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAAe,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ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K,CAACY,0BAAiB,CAACpB,SAAS;AACvD,CAAC;AAAC,IAAAqB,QAAA,GAAAC,OAAA,CAAAzI,OAAA,GAEamB,QAAQ","ignoreList":[]}
@@ -4,6 +4,7 @@
4
4
  @value xtraLightGrey from colors;
5
5
  @value primaryAdd1 from colors;
6
6
  @value cm_grey_75 from colors;
7
+ @value cm_grey_100 from colors;
7
8
  @value cm_grey_400 from colors;
8
9
  @value cm_grey_500 from colors;
9
10
  @value cm_grey_700 from colors;
@@ -63,6 +64,10 @@
63
64
  text-align: left;
64
65
  }
65
66
 
67
+ .titleBeforeTags {
68
+ flex: 0 1 auto;
69
+ }
70
+
66
71
  .subtitle {
67
72
  font-size: 12px;
68
73
  font-style: normal;
@@ -154,3 +159,34 @@
154
159
  border: 2px solid cm_primary_blue;
155
160
  padding: 10px 14px;
156
161
  }
162
+
163
+ .titleTags {
164
+ composes: titleProviderWrapper;
165
+ flex-wrap: wrap;
166
+ }
167
+
168
+ .details {
169
+ composes: subtitle;
170
+ font-weight: 500;
171
+ color: cm_grey_500;
172
+ }
173
+
174
+ .progress {
175
+ display: flex;
176
+ align-items: center;
177
+ gap: 10px;
178
+ margin-top: 6px;
179
+ }
180
+
181
+ .progressBar {
182
+ width: 220px;
183
+ min-width: 220px;
184
+ height: 4px;
185
+ border-radius: 4px;
186
+ background-color: cm_grey_100;
187
+ }
188
+
189
+ .progressLabel {
190
+ composes: subtitle;
191
+ margin: 0;
192
+ }