@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
@@ -12,6 +12,7 @@ export declare const propTypes: {
12
12
  fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
13
13
  type: PropTypes.Requireable<string>;
14
14
  current: PropTypes.Requireable<boolean>;
15
+ selected: PropTypes.Requireable<boolean>;
15
16
  icon: PropTypes.Requireable<string>;
16
17
  value: PropTypes.Requireable<string>;
17
18
  }> | null | undefined> | null | undefined)[]>;
@@ -74,6 +75,8 @@ export declare const propTypes: {
74
75
  isBulkMenu: PropTypes.Requireable<boolean>;
75
76
  }> | null | undefined>>;
76
77
  isNestedTable: PropTypes.Requireable<boolean>;
78
+ emptyStateFirstMessage: PropTypes.Requireable<string>;
79
+ emptyStateSecondMessage: PropTypes.Requireable<string>;
77
80
  };
78
81
  export declare type Field = string | (StatusItemProps & {
79
82
  componentType: 'status';
@@ -109,6 +112,8 @@ export declare type Props = {
109
112
  ariaDescribedby?: string;
110
113
  lastField?: LastField;
111
114
  isNestedTable?: boolean;
115
+ emptyStateFistMessage?: string;
116
+ emptyStateSecondMessage?: string;
112
117
  };
113
118
  export declare type ExpandState = {
114
119
  [key: number]: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAC,KAAK,IAAI,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAC,KAAK,IAAI,oBAAoB,EAAC,MAAM,4BAA4B,CAAC;AA0BzE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBrB,CAAC;AAEF,oBAAY,KAAK,GACb,MAAM,GACN,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,QAAQ,CAAC;CACzB,CAAC,GACF,CAAC,oBAAoB,GAAG;IACtB,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC,CAAC;AAEP,oBAAY,SAAS,GACjB,CAAC,eAAe,GAAG;IACjB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC,GACF,CAAC,0BAA0B,GAAG;IAC5B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEP,oBAAY,SAAS,GACjB,CAAC,gBAAgB,GAAG;IAClB,aAAa,EAAE,cAAc,CAAC;CAC/B,CAAC,GACF,CAAC,KAAK,GAAG;IACP,aAAa,EAAE,yBAAyB,CAAC;CAC1C,CAAC,CAAC;AA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AAM,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,oBAAY,WAAW,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAC,CAAC"}
@@ -28,6 +28,8 @@ export const propTypes = {
28
28
  })), PropTypes.shape(_extends({}, BulletPointMenuButton.propTypes, {
29
29
  componentType: PropTypes.oneOf(['menu'])
30
30
  }))]),
31
- isNestedTable: PropTypes.bool
31
+ isNestedTable: PropTypes.bool,
32
+ emptyStateFirstMessage: PropTypes.string,
33
+ emptyStateSecondMessage: PropTypes.string
32
34
  };
33
35
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","StatusItem","ButtonLink","BulletPointMenuButton","columnProptypes","shape","title","string","isRequired","rowProptypes","fields","arrayOf","oneOfType","propTypes","type","oneOf","isRowExpandible","bool","lastField","columns","rows","stickyFirstColumn","stickyLastColumn","columnWidth","ariaDescribedby","componentType","isNestedTable"],"sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport StatusItem from '../../atom/status-item';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../bullet-point-menu-button';\nimport {BulletPointMenuButtonProps} from '../bullet-point-menu-button/types';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport {StatusItemProps} from '../../atom/status-item/types';\nimport {Props as ErrorsTableProps} from '../errors-table/types';\nimport {Props as BulkProgressBarProps} from '../bulk-progress-bar/types';\n\nconst columnProptypes = PropTypes.shape({\n title: PropTypes.string.isRequired\n});\n\nconst rowProptypes = PropTypes.shape({\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n ...StatusItem.propTypes,\n type: PropTypes.oneOf(['status'])\n })\n ])\n ),\n isRowExpandible: PropTypes.bool,\n lastField: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n ...BulletPointMenuButton.propTypes,\n type: PropTypes.oneOf(['menu'])\n })\n ])\n});\n\nexport const propTypes = {\n columns: PropTypes.arrayOf(columnProptypes),\n rows: PropTypes.arrayOf(rowProptypes),\n stickyFirstColumn: PropTypes.bool,\n stickyLastColumn: PropTypes.bool,\n columnWidth: PropTypes.string,\n ariaDescribedby: PropTypes.string,\n lastField: PropTypes.oneOfType([\n PropTypes.shape({\n ...ButtonLink.propTypes,\n componentType: PropTypes.oneOf(['button-link'])\n }),\n PropTypes.shape({\n ...BulletPointMenuButton.propTypes,\n componentType: PropTypes.oneOf(['menu'])\n })\n ]),\n isNestedTable: PropTypes.bool\n};\n\nexport type Field =\n | string\n | (StatusItemProps & {\n componentType: 'status';\n })\n | (BulkProgressBarProps & {\n componentType: 'progress-bar';\n });\n\nexport type LastField =\n | (ButtonLinkProps & {\n componentType: 'button-link';\n })\n | (BulletPointMenuButtonProps & {\n componentType: 'menu';\n });\n\nexport type NestedRow =\n | (ErrorsTableProps & {\n componentType: 'errors-table';\n })\n | (Props & {\n componentType: 'expandible-errors-table';\n });\n\nexport type Column = {title: string};\nexport type Row = {\n fields: Field[];\n\n nestedRow?: NestedRow;\n isRowExpandible?: boolean;\n};\nexport type Columns = Column[];\nexport type Rows = Row[];\n\nexport type Props = {\n columns: Columns;\n rows?: Rows;\n stickyFirstColumn?: boolean;\n stickyLastColumn?: boolean;\n columnWidth?: `${number}${'px' | '%'}`;\n ariaDescribedby?: string;\n lastField?: LastField;\n isNestedTable?: boolean;\n};\n\nexport type ExpandState = {[key: number]: boolean};\n"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AAOA,MAAMC,eAAe,GAAGJ,SAAS,CAACK,KAAV,CAAgB;EACtCC,KAAK,EAAEN,SAAS,CAACO,MAAV,CAAiBC;AADc,CAAhB,CAAxB;AA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aAAa,EAAE1B,SAAS,CAACiB;AAjBF,CAAlB"}
1
+ {"version":3,"file":"types.js","names":["PropTypes","StatusItem","ButtonLink","BulletPointMenuButton","columnProptypes","shape","title","string","isRequired","rowProptypes","fields","arrayOf","oneOfType","propTypes","type","oneOf","isRowExpandible","bool","lastField","columns","rows","stickyFirstColumn","stickyLastColumn","columnWidth","ariaDescribedby","componentType","isNestedTable","emptyStateFirstMessage","emptyStateSecondMessage"],"sources":["../../../src/molecule/expandible-actionable-table/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport StatusItem from '../../atom/status-item';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../bullet-point-menu-button';\nimport {BulletPointMenuButtonProps} from '../bullet-point-menu-button/types';\nimport {ButtonLinkProps} from '../../atom/button-link/types';\nimport {StatusItemProps} from '../../atom/status-item/types';\nimport {Props as ErrorsTableProps} from '../errors-table/types';\nimport {Props as BulkProgressBarProps} from '../bulk-progress-bar/types';\n\nconst columnProptypes = PropTypes.shape({\n title: PropTypes.string.isRequired\n});\n\nconst rowProptypes = PropTypes.shape({\n fields: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n ...StatusItem.propTypes,\n type: PropTypes.oneOf(['status'])\n })\n ])\n ),\n isRowExpandible: PropTypes.bool,\n lastField: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n ...BulletPointMenuButton.propTypes,\n type: PropTypes.oneOf(['menu'])\n })\n ])\n});\n\nexport const propTypes = {\n columns: PropTypes.arrayOf(columnProptypes),\n rows: PropTypes.arrayOf(rowProptypes),\n stickyFirstColumn: PropTypes.bool,\n stickyLastColumn: PropTypes.bool,\n columnWidth: PropTypes.string,\n ariaDescribedby: PropTypes.string,\n lastField: PropTypes.oneOfType([\n PropTypes.shape({\n ...ButtonLink.propTypes,\n componentType: PropTypes.oneOf(['button-link'])\n }),\n PropTypes.shape({\n ...BulletPointMenuButton.propTypes,\n componentType: PropTypes.oneOf(['menu'])\n })\n ]),\n isNestedTable: PropTypes.bool,\n emptyStateFirstMessage: PropTypes.string,\n emptyStateSecondMessage: PropTypes.string\n};\n\nexport type Field =\n | string\n | (StatusItemProps & {\n componentType: 'status';\n })\n | (BulkProgressBarProps & {\n componentType: 'progress-bar';\n });\n\nexport type LastField =\n | (ButtonLinkProps & {\n componentType: 'button-link';\n })\n | (BulletPointMenuButtonProps & {\n componentType: 'menu';\n });\n\nexport type NestedRow =\n | (ErrorsTableProps & {\n componentType: 'errors-table';\n })\n | (Props & {\n componentType: 'expandible-errors-table';\n });\n\nexport type Column = {title: string};\nexport type Row = {\n fields: Field[];\n\n nestedRow?: NestedRow;\n isRowExpandible?: boolean;\n};\nexport type Columns = Column[];\nexport type Rows = Row[];\n\nexport type Props = {\n columns: Columns;\n rows?: Rows;\n stickyFirstColumn?: boolean;\n stickyLastColumn?: boolean;\n columnWidth?: `${number}${'px' | '%'}`;\n ariaDescribedby?: string;\n lastField?: LastField;\n isNestedTable?: boolean;\n emptyStateFistMessage?: string;\n emptyStateSecondMessage?: string;\n};\n\nexport type ExpandState = {[key: number]: boolean};\n"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,6BAAlC;AAOA,MAAMC,eAAe,GAAGJ,SAAS,CAACK,KAAV,CAAgB;EACtCC,KAAK,EAAEN,SAAS,CAACO,MAAV,CAAiBC;AADc,CAAhB,CAAxB;AAIA,MAAMC,YAAY,GAAGT,SAAS,CAACK,KAAV,CAAgB;EACnCK,MAAM,EAAEV,SAAS,CAACW,OAAV,CACNX,SAAS,CAACY,SAAV,CAAoB,CAClBZ,SAAS,CAACO,MADQ,EAElBP,SAAS,CAACK,KAAV,cACKJ,UAAU,CAACY,SADhB;IAEEC,IAAI,EAAEd,SAAS,CAACe,KAAV,CAAgB,CAAC,QAAD,CAAhB;EAFR,GAFkB,CAApB,CADM,CAD2B;EAUnCC,eAAe,EAAEhB,SAAS,CAACiB,IAVQ;EAWnCC,SAAS,EAAElB,SAAS,CAACY,SAAV,CAAoB,CAC7BZ,SAAS,CAACO,MADmB,EAE7BP,SAAS,CAACK,KAAV,cACKF,qBAAqB,CAACU,SAD3B;IAEEC,IAAI,EAAEd,SAAS,CAACe,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAFR,GAF6B,CAApB;AAXwB,CAAhB,CAArB;AAoBA,OAAO,MAAMF,SAAS,GAAG;EACvBM,OAAO,EAAEnB,SAAS,CAACW,OAAV,CAAkBP,eAAlB,CADc;EAEvBgB,IAAI,EAAEpB,SAAS,CAACW,OAAV,CAAkBF,YAAlB,CAFiB;EAGvBY,iBAAiB,EAAErB,SAAS,CAACiB,IAHN;EAIvBK,gBAAgB,EAAEtB,SAAS,CAACiB,IAJL;EAKvBM,WAAW,EAAEvB,SAAS,CAACO,MALA;EAMvBiB,eAAe,EAAExB,SAAS,CAACO,MANJ;EAOvBW,SAAS,EAAElB,SAAS,CAACY,SAAV,CAAoB,CAC7BZ,SAAS,CAACK,KAAV,cACKH,UAAU,CAACW,SADhB;IAEEY,aAAa,EAAEzB,SAAS,CAACe,KAAV,CAAgB,CAAC,aAAD,CAAhB;EAFjB,GAD6B,EAK7Bf,SAAS,CAACK,KAAV,cACKF,qBAAqB,CAACU,SAD3B;IAEEY,aAAa,EAAEzB,SAAS,CAACe,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAFjB,GAL6B,CAApB,CAPY;EAiBvBW,aAAa,EAAE1B,SAAS,CAACiB,IAjBF;EAkBvBU,sBAAsB,EAAE3B,SAAS,CAACO,MAlBX;EAmBvBqB,uBAAuB,EAAE5B,SAAS,CAACO;AAnBZ,CAAlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-header-steps/index.js"],"names":[],"mappings":";AAMA,4DAaC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-header-steps/index.js"],"names":[],"mappings":";AAMA,4DAiBC"}
@@ -1,5 +1,3 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
1
  import React from 'react';
4
2
  import map from 'lodash/fp/map';
5
3
  import StatusItem from '../../atom/status-item';
@@ -12,9 +10,10 @@ const ReviewHeaderSteps = props => {
12
10
  } = props;
13
11
  const items = map.convert({
14
12
  cap: false
15
- })((step, index) => /*#__PURE__*/React.createElement(StatusItem, _extends({}, step, {
13
+ })((step, index) => /*#__PURE__*/React.createElement("div", {
14
+ className: style.statusItemContainer,
16
15
  key: index
17
- })), steps);
16
+ }, /*#__PURE__*/React.createElement(StatusItem, step)), steps);
18
17
  return /*#__PURE__*/React.createElement("div", {
19
18
  className: style.wrapper,
20
19
  "data-name": "header-steps"
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","map","StatusItem","style","propTypes","ReviewHeaderSteps","props","steps","items","convert","cap","step","index","wrapper"],"sources":["../../../src/molecule/review-header-steps/index.js"],"sourcesContent":["import React from 'react';\nimport map from 'lodash/fp/map';\nimport StatusItem from '../../atom/status-item';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ReviewHeaderSteps = props => {\n const {steps} = props;\n\n const items = map.convert({cap: false})(\n (step, index) => <StatusItem {...step} key={index} />,\n steps\n );\n\n return (\n <div className={style.wrapper} data-name=\"header-steps\">\n {items}\n </div>\n );\n};\n\nReviewHeaderSteps.propTypes = propTypes;\n\nexport default ReviewHeaderSteps;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;AAEA,MAAMC,iBAAiB,GAAGC,KAAK,IAAI;EACjC,MAAM;IAACC;EAAD,IAAUD,KAAhB;EAEA,MAAME,KAAK,GAAGP,GAAG,CAACQ,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EACZ,CAACC,IAAD,EAAOC,KAAP,kBAAiB,oBAAC,UAAD,eAAgBD,IAAhB;IAAsB,GAAG,EAAEC;EAA3B,GADL,EAEZL,KAFY,CAAd;EAKA,oBACE;IAAK,SAAS,EAAEJ,KAAK,CAACU,OAAtB;IAA+B,aAAU;EAAzC,GACGL,KADH,CADF;AAKD,CAbD;;AAeAH,iBAAiB,CAACD,SAAlB,2CAA8BA,SAA9B;AAEA,eAAeC,iBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","map","StatusItem","style","propTypes","ReviewHeaderSteps","props","steps","items","convert","cap","step","index","statusItemContainer","wrapper"],"sources":["../../../src/molecule/review-header-steps/index.js"],"sourcesContent":["import React from 'react';\nimport map from 'lodash/fp/map';\nimport StatusItem from '../../atom/status-item';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ReviewHeaderSteps = props => {\n const {steps} = props;\n\n const items = map.convert({cap: false})(\n (step, index) => (\n <div className={style.statusItemContainer} key={index}>\n <StatusItem {...step} />\n </div>\n ),\n steps\n );\n\n return (\n <div className={style.wrapper} data-name=\"header-steps\">\n {items}\n </div>\n );\n};\n\nReviewHeaderSteps.propTypes = propTypes;\n\nexport default ReviewHeaderSteps;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;AAEA,MAAMC,iBAAiB,GAAGC,KAAK,IAAI;EACjC,MAAM;IAACC;EAAD,IAAUD,KAAhB;EAEA,MAAME,KAAK,GAAGP,GAAG,CAACQ,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EACZ,CAACC,IAAD,EAAOC,KAAP,kBACE;IAAK,SAAS,EAAET,KAAK,CAACU,mBAAtB;IAA2C,GAAG,EAAED;EAAhD,gBACE,oBAAC,UAAD,EAAgBD,IAAhB,CADF,CAFU,EAMZJ,KANY,CAAd;EASA,oBACE;IAAK,SAAS,EAAEJ,KAAK,CAACW,OAAtB;IAA+B,aAAU;EAAzC,GACGN,KADH,CADF;AAKD,CAjBD;;AAmBAH,iBAAiB,CAACD,SAAlB,2CAA8BA,SAA9B;AAEA,eAAeC,iBAAf"}
@@ -3,6 +3,7 @@ import { StatusItemProps } from '../../atom/status-item/types';
3
3
  declare const propTypes: {
4
4
  steps: PropTypes.Requireable<(PropTypes.InferProps<{
5
5
  current: PropTypes.Requireable<boolean>;
6
+ selected: PropTypes.Requireable<boolean>;
6
7
  icon: PropTypes.Requireable<string>;
7
8
  value: PropTypes.Requireable<string>;
8
9
  }> | null | undefined)[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-header-steps/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAsC,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE5F,QAAA,MAAM,SAAS;;;;;;CAEd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,sBAAsB,GAAG;IACnC,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-header-steps/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAsC,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE5F,QAAA,MAAM,SAAS;;;;;;;CAEd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,sBAAsB,GAAG;IACnC,KAAK,EAAE,eAAe,EAAE,CAAC;CAC1B,CAAC"}
@@ -3,4 +3,9 @@
3
3
  display: flex;
4
4
  align-items: center;
5
5
  justify-content: space-between;
6
- }
6
+ }
7
+
8
+ .statusItemContainer {
9
+ width: 32px;
10
+ height: 32px;
11
+ }
@@ -11,6 +11,7 @@ declare namespace TitleAndCheckBoxWrapper {
11
11
  'data-name': PropTypes.Requireable<string>;
12
12
  }>>;
13
13
  const sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
14
+ removeMargin: PropTypes.Requireable<boolean>;
14
15
  title: PropTypes.Requireable<string>;
15
16
  subtitle: PropTypes.Requireable<string>;
16
17
  type: PropTypes.Requireable<string>;
@@ -70,6 +71,50 @@ declare namespace TitleAndCheckBoxWrapper {
70
71
  pdfButtonAriaLabel: PropTypes.Requireable<string>;
71
72
  }> | null | undefined)[]>;
72
73
  'data-name': PropTypes.Requireable<string>;
74
+ }> | PropTypes.InferProps<{
75
+ childType: PropTypes.Requireable<string>;
76
+ name: PropTypes.Requireable<string>;
77
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
78
+ onReset: PropTypes.Requireable<(...args: any[]) => any>;
79
+ imageTypes: (props: any, propName: any, componentName: any) => Error | null;
80
+ error: PropTypes.Requireable<string>;
81
+ buttonAriaLabel: PropTypes.Requireable<string>;
82
+ errorButtonLabel: PropTypes.Requireable<string>;
83
+ labelLink: PropTypes.Requireable<string>;
84
+ hrefLink: PropTypes.Requireable<string>;
85
+ title: PropTypes.Requireable<string>;
86
+ description: PropTypes.Requireable<string>;
87
+ uploadLabel: PropTypes.Requireable<string>;
88
+ previewLabel: PropTypes.Requireable<string>;
89
+ previewContent: PropTypes.Requireable<PropTypes.InferProps<{
90
+ type: PropTypes.Requireable<string>;
91
+ src: PropTypes.Requireable<string>;
92
+ label: PropTypes.Requireable<string>;
93
+ }>>;
94
+ loading: PropTypes.Requireable<boolean>;
95
+ modified: PropTypes.Requireable<boolean>;
96
+ disabled: PropTypes.Requireable<boolean>;
97
+ children: PropTypes.Requireable<(...args: any[]) => any>;
98
+ pdfButtonLabel: PropTypes.Requireable<string>;
99
+ pdfButtonAriaLabel: PropTypes.Requireable<string>;
100
+ }> | PropTypes.InferProps<{
101
+ childType: PropTypes.Requireable<string>;
102
+ title: PropTypes.Requireable<string>;
103
+ placeholder: PropTypes.Requireable<string>;
104
+ description: PropTypes.Requireable<string>;
105
+ hint: PropTypes.Requireable<string>;
106
+ options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
107
+ selected: PropTypes.Validator<boolean>;
108
+ name: PropTypes.Validator<string>;
109
+ value: PropTypes.Requireable<string>;
110
+ }>>[]>;
111
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
112
+ onError: PropTypes.Requireable<(...args: any[]) => any>;
113
+ multiple: PropTypes.Requireable<boolean>;
114
+ modified: PropTypes.Requireable<boolean>;
115
+ disabled: PropTypes.Requireable<boolean>;
116
+ error: PropTypes.Requireable<string>;
117
+ theme: PropTypes.Requireable<string>;
73
118
  }> | null | undefined>>;
74
119
  }
75
120
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"names":[],"mappings":";AAYA,kEAiBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"names":[],"mappings":";AAiBA,kEAuBC"}
@@ -1,15 +1,21 @@
1
+ import _isUndefined from "lodash/fp/isUndefined";
2
+
1
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
4
 
3
5
  import React from 'react';
4
6
  import PropTypes from 'prop-types';
7
+ import ImageUpload from '../../atom/image-upload';
5
8
  import InputTextWithTitle from '../../atom/input-text-with-title';
9
+ import SelectMultiple from '../select-multiple';
6
10
  import CheckboxWithTitle from '../../atom/checkbox-with-title';
7
11
  import Title from '../../atom/title';
8
12
  import DragAndDropWrapper from '../drag-and-drop-wrapper';
9
13
  import style from './style.css';
10
14
  const CHILD = {
11
15
  'input-text': InputTextWithTitle,
12
- 'drag-and-drop-wrapper': DragAndDropWrapper
16
+ 'drag-and-drop-wrapper': DragAndDropWrapper,
17
+ 'image-upload': ImageUpload,
18
+ 'select-multiple': SelectMultiple
13
19
  };
14
20
 
15
21
  const TitleAndCheckBoxWrapper = props => {
@@ -24,17 +30,23 @@ const TitleAndCheckBoxWrapper = props => {
24
30
  }, /*#__PURE__*/React.createElement(Title, _extends({}, sectionTitle, {
25
31
  type: 'form-group'
26
32
  }))) : null, /*#__PURE__*/React.createElement("div", {
27
- className: checkboxWithTitle || sectionTitle ? style.child : null
33
+ className: checkboxWithTitle || sectionTitle && _isUndefined(sectionTitle.removeMargin) ? style.child : null
28
34
  }, /*#__PURE__*/React.createElement(Child, child)));
29
35
  };
30
36
 
31
37
  TitleAndCheckBoxWrapper.propTypes = process.env.NODE_ENV !== "production" ? {
32
38
  checkboxWithTitle: PropTypes.shape(CheckboxWithTitle.propTypes),
33
- sectionTitle: PropTypes.shape(Title.propTypes),
39
+ sectionTitle: PropTypes.shape(_extends({}, Title.propTypes, {
40
+ removeMargin: PropTypes.bool
41
+ })),
34
42
  child: PropTypes.oneOfType([PropTypes.shape(_extends({}, InputTextWithTitle.propTypes, {
35
43
  childType: PropTypes.oneOf(['input-text'])
36
44
  })), PropTypes.shape(_extends({}, DragAndDropWrapper.propTypes, {
37
45
  childType: PropTypes.oneOf(['drag-and-drop-wrapper'])
46
+ })), PropTypes.shape(_extends({}, ImageUpload.propTypes, {
47
+ childType: PropTypes.oneOf(['image-upload'])
48
+ })), PropTypes.shape(_extends({}, SelectMultiple.propTypes, {
49
+ childType: PropTypes.oneOf(['select-multiple'])
38
50
  }))])
39
51
  } : {};
40
52
  export default TitleAndCheckBoxWrapper;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","InputTextWithTitle","CheckboxWithTitle","Title","DragAndDropWrapper","style","CHILD","TitleAndCheckBoxWrapper","props","checkboxWithTitle","child","sectionTitle","Child","childType","propTypes","shape","oneOfType","oneOf"],"sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputTextWithTitle from '../../atom/input-text-with-title';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport Title from '../../atom/title';\nimport DragAndDropWrapper from '../drag-and-drop-wrapper';\nimport style from './style.css';\n\nconst CHILD = {\n 'input-text': InputTextWithTitle,\n 'drag-and-drop-wrapper': DragAndDropWrapper\n};\nconst TitleAndCheckBoxWrapper = props => {\n const {checkboxWithTitle, child, sectionTitle} = props;\n\n const Child = CHILD[child.childType];\n return (\n <div>\n {checkboxWithTitle ? <CheckboxWithTitle {...checkboxWithTitle} /> : null}\n {sectionTitle ? (\n <div className={style.sectionTitle}>\n <Title {...sectionTitle} type={'form-group'} />\n </div>\n ) : null}\n <div className={checkboxWithTitle || sectionTitle ? style.child : null}>\n <Child {...child} />\n </div>\n </div>\n );\n};\n\nTitleAndCheckBoxWrapper.propTypes = {\n checkboxWithTitle: PropTypes.shape(CheckboxWithTitle.propTypes),\n sectionTitle: PropTypes.shape(Title.propTypes),\n child: PropTypes.oneOfType([\n PropTypes.shape({\n ...InputTextWithTitle.propTypes,\n childType: PropTypes.oneOf(['input-text'])\n }),\n PropTypes.shape({\n ...DragAndDropWrapper.propTypes,\n childType: PropTypes.oneOf(['drag-and-drop-wrapper'])\n })\n ])\n};\nexport default TitleAndCheckBoxWrapper;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,iBAAP,MAA8B,gCAA9B;AACA,OA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AApC;AAcA,eAAeV,uBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","ImageUpload","InputTextWithTitle","SelectMultiple","CheckboxWithTitle","Title","DragAndDropWrapper","style","CHILD","TitleAndCheckBoxWrapper","props","checkboxWithTitle","child","sectionTitle","Child","childType","removeMargin","propTypes","shape","bool","oneOfType","oneOf"],"sources":["../../../src/molecule/title-and-checkbox-wrapper/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isUndefined} from 'lodash/fp';\nimport ImageUpload from '../../atom/image-upload';\nimport InputTextWithTitle from '../../atom/input-text-with-title';\nimport SelectMultiple from '../select-multiple';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport Title from '../../atom/title';\nimport DragAndDropWrapper from '../drag-and-drop-wrapper';\nimport style from './style.css';\n\nconst CHILD = {\n 'input-text': InputTextWithTitle,\n 'drag-and-drop-wrapper': DragAndDropWrapper,\n 'image-upload': ImageUpload,\n 'select-multiple': SelectMultiple\n};\nconst TitleAndCheckBoxWrapper = props => {\n const {checkboxWithTitle, child, sectionTitle} = props;\n\n const Child = CHILD[child.childType];\n return (\n <div>\n {checkboxWithTitle ? <CheckboxWithTitle {...checkboxWithTitle} /> : null}\n {sectionTitle ? (\n <div className={style.sectionTitle}>\n <Title {...sectionTitle} type={'form-group'} />\n </div>\n ) : null}\n <div\n className={\n checkboxWithTitle || (sectionTitle && isUndefined(sectionTitle.removeMargin))\n ? style.child\n : null\n }\n >\n <Child {...child} />\n </div>\n </div>\n );\n};\n\nTitleAndCheckBoxWrapper.propTypes = {\n checkboxWithTitle: PropTypes.shape(CheckboxWithTitle.propTypes),\n sectionTitle: PropTypes.shape({...Title.propTypes, removeMargin: PropTypes.bool}),\n child: PropTypes.oneOfType([\n PropTypes.shape({\n ...InputTextWithTitle.propTypes,\n childType: PropTypes.oneOf(['input-text'])\n }),\n PropTypes.shape({\n ...DragAndDropWrapper.propTypes,\n childType: PropTypes.oneOf(['drag-and-drop-wrapper'])\n }),\n PropTypes.shape({\n ...ImageUpload.propTypes,\n childType: PropTypes.oneOf(['image-upload'])\n }),\n PropTypes.shape({\n ...SelectMultiple.propTypes,\n childType: PropTypes.oneOf(['select-multiple'])\n })\n ])\n};\nexport default TitleAndCheckBoxWrapper;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,kBAAP,MAA+B,kCAA/B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,iBAAP,MAA8B,gCAA9B;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,kBAAP,MAA+B,0BAA/B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,KAAK,GAAG;EACZ,cAAcN,kBADF;EAEZ,yBAAyBI,kBAFb;EAGZ,gBAAgBL,WAHJ;EAIZ,mBAAmBE;AAJP,CAAd;;AAMA,MAAMM,uBAAuB,GAAGC,KAAK,IAAI;EACvC,MAAM;IAACC,iBAAD;IAAoBC,KAApB;IAA2BC;EAA3B,IAA2CH,KAAjD;EAEA,MAAMI,KAAK,GAAGN,KAAK,CAACI,KAAK,CAACG,SAAP,CAAnB;EACA,oBACE,iCACGJ,iBAAiB,gBAAG,oBAAC,iBAAD,EAAuBA,iBAAvB,CAAH,GAAkD,IADtE,EAEGE,YAAY,gBACX;IAAK,SAAS,EAAEN,KAAK,CAACM;EAAtB,gBACE,oBAAC,KAAD,eAAWA,YAAX;IAAyB,IAAI,EAAE;EAA/B,GADF,CADW,GAIT,IANN,eAOE;IACE,SAAS,EACPF,iBAAiB,IAAKE,YAAY,IAAI,aAAYA,YAAY,CAACG,YAAzB,CAAtC,GACIT,KAAK,CAACK,KADV,GAEI;EAJR,gBAOE,oBAAC,KAAD,EAAWA,KAAX,CAPF,CAPF,CADF;AAmBD,CAvBD;;AAyBAH,uBAAuB,CAACQ,SAAxB,2CAAoC;EAClCN,iBAAiB,EAAEX,SAAS,CAACkB,KAAV,CAAgBd,iBAAiB,CAACa,SAAlC,CADe;EAElCJ,YAAY,EAAEb,SAAS,CAACkB,KAAV,cAAoBb,KAAK,CAACY,SAA1B;IAAqCD,YAAY,EAAEhB,SAAS,CAACmB;EAA7D,GAFoB;EAGlCP,KAAK,EAAEZ,SAAS,CAACoB,SAAV,CAAoB,CACzBpB,SAAS,CAACkB,KAAV,cACKhB,kBAAkB,CAACe,SADxB;IAEEF,SAAS,EAAEf,SAAS,CAACqB,KAAV,CAAgB,CAAC,YAAD,CAAhB;EAFb,GADyB,EAKzBrB,SAAS,CAACkB,KAAV,cACKZ,kBAAkB,CAACW,SADxB;IAEEF,SAAS,EAAEf,SAAS,CAACqB,KAAV,CAAgB,CAAC,uBAAD,CAAhB;EAFb,GALyB,EASzBrB,SAAS,CAACkB,KAAV,cACKjB,WAAW,CAACgB,SADjB;IAEEF,SAAS,EAAEf,SAAS,CAACqB,KAAV,CAAgB,CAAC,cAAD,CAAhB;EAFb,GATyB,EAazBrB,SAAS,CAACkB,KAAV,cACKf,cAAc,CAACc,SADpB;IAEEF,SAAS,EAAEf,SAAS,CAACqB,KAAV,CAAgB,CAAC,iBAAD,CAAhB;EAFb,GAbyB,CAApB;AAH2B,CAApC;AAsBA,eAAeZ,uBAAf"}
@@ -1,18 +1,24 @@
1
1
  export default ListItem;
2
- declare function ListItem(props: any): JSX.Element;
2
+ declare function ListItem({ buttonLink, buttonLinkIcon, bulletPointMenuButton, tags, title, dataColumns, order, "aria-label": ariaLabel, contentType, isBulkStyle }: {
3
+ buttonLink: any;
4
+ buttonLinkIcon: any;
5
+ bulletPointMenuButton: any;
6
+ tags: any;
7
+ title: any;
8
+ dataColumns: any;
9
+ order: any;
10
+ "aria-label": any;
11
+ contentType: any;
12
+ isBulkStyle?: boolean | undefined;
13
+ }): JSX.Element;
3
14
  declare namespace ListItem {
4
15
  const propTypes: {
5
- bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
6
- buttonAriaLabel: PropTypes.Requireable<string>;
7
- menuAriaLabel: PropTypes.Requireable<string>;
8
- buttons: PropTypes.Requireable<(PropTypes.InferProps<{
9
- 'data-name': PropTypes.Requireable<string>;
10
- label: PropTypes.Requireable<string>;
11
- type: PropTypes.Requireable<string>;
12
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
13
- }> | null | undefined)[]>;
14
- onClick: PropTypes.Requireable<(...args: any[]) => any>;
15
- }>>;
16
+ title: PropTypes.Validator<string>;
17
+ dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
18
+ label: PropTypes.Requireable<string>;
19
+ type: PropTypes.Requireable<string>;
20
+ className: PropTypes.Requireable<string>;
21
+ }> | null | undefined)[]>;
16
22
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
17
23
  type: PropTypes.Requireable<string>;
18
24
  label: PropTypes.Requireable<string>;
@@ -24,11 +30,36 @@ declare namespace ListItem {
24
30
  }>>;
25
31
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
26
32
  }>>;
33
+ buttonLinkIcon: PropTypes.Requireable<PropTypes.InferProps<{
34
+ size: PropTypes.Requireable<string>;
35
+ 'aria-label': PropTypes.Requireable<string>;
36
+ 'data-name': PropTypes.Requireable<string>;
37
+ icon: PropTypes.Requireable<string>;
38
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
39
+ link: PropTypes.Requireable<PropTypes.InferProps<{
40
+ href: PropTypes.Requireable<string>;
41
+ download: PropTypes.Requireable<boolean>;
42
+ target: PropTypes.Requireable<string>;
43
+ }>>;
44
+ disabled: PropTypes.Requireable<boolean>;
45
+ className: PropTypes.Requireable<string>;
46
+ }>>;
47
+ bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
48
+ buttonAriaLabel: PropTypes.Requireable<string>;
49
+ menuAriaLabel: PropTypes.Requireable<string>;
50
+ buttons: PropTypes.Requireable<(PropTypes.InferProps<{
51
+ 'data-name': PropTypes.Requireable<string>;
52
+ label: PropTypes.Requireable<string>;
53
+ type: PropTypes.Requireable<string>;
54
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
55
+ }> | null | undefined)[]>;
56
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
57
+ }>>;
27
58
  tags: PropTypes.Requireable<(PropTypes.InferProps<{
28
59
  label: PropTypes.Requireable<string>;
29
60
  type: PropTypes.Requireable<string>;
30
61
  }> | null | undefined)[]>;
31
- title: PropTypes.Validator<string>;
62
+ isBulkStyle: PropTypes.Requireable<boolean>;
32
63
  order: PropTypes.Requireable<number>;
33
64
  'aria-label': PropTypes.Requireable<string>;
34
65
  contentType: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAQA,mDA8CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAWA;;;;;;;;;;;gBAgEC"}
@@ -1,65 +1,74 @@
1
1
  import _map from "lodash/fp/map";
2
2
  import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
+ import classnames from 'classnames';
4
5
  import Tag from '../../atom/tag';
5
6
  import ButtonLink from '../../atom/button-link';
6
- import BulletPointMenuButton from '../../molecule/bullet-point-menu-button';
7
+ import ButtonLinkIconOnly from '../../atom/button-link-icon-only';
8
+ import BulletPointMenuButton from '../../molecule/bullet-point-menu-button'; // eslint-disable-next-line css-modules/no-unused-class
9
+
7
10
  import style from './style.css';
8
11
 
9
- const ListItem = props => {
12
+ const ListItem = ({
13
+ buttonLink,
14
+ buttonLinkIcon,
15
+ bulletPointMenuButton,
16
+ tags,
17
+ title,
18
+ dataColumns,
19
+ order,
20
+ 'aria-label': ariaLabel,
21
+ contentType,
22
+ isBulkStyle = false
23
+ }) => {
10
24
  let isPublished = false;
11
- const {
12
- bulletPointMenuButton,
13
- buttonLink,
14
- tags,
15
- title,
16
- order,
17
- 'aria-label': ariaLabel,
18
- contentType
19
- } = props;
20
25
 
21
26
  const tagsView = _map.convert({
22
27
  cap: false
23
28
  })((tag, index) => {
24
- isPublished = tag.type === 'published';
29
+ isPublished = tag.type === 'success';
25
30
  return /*#__PURE__*/React.createElement("div", {
26
31
  key: index,
27
32
  className: style.tag
28
33
  }, /*#__PURE__*/React.createElement(Tag, tag));
29
34
  })(tags);
30
35
 
31
- return /*#__PURE__*/React.createElement("div", {
32
- className: style.wrapper
33
- }, isPublished && contentType === 'certification' ? /*#__PURE__*/React.createElement("div", {
34
- className: style.orderWrapper
35
- }, order !== null && order !== undefined ? /*#__PURE__*/React.createElement("div", {
36
+ const dataColumnsView = _map.convert({
37
+ cap: false
38
+ })((dataColumn, index) => {
39
+ return /*#__PURE__*/React.createElement("div", {
40
+ key: index,
41
+ className: style[dataColumn.className]
42
+ }, dataColumn.type ? /*#__PURE__*/React.createElement(Tag, dataColumn) : dataColumn.label);
43
+ })(dataColumns);
44
+
45
+ const orderView = order !== null && order !== undefined ? /*#__PURE__*/React.createElement("div", {
36
46
  className: style.order,
37
47
  "aria-label": ariaLabel
38
- }, order + 1) : null, /*#__PURE__*/React.createElement("div", {
39
- className: style.title,
40
- title: title
41
- }, title)) : /*#__PURE__*/React.createElement("div", {
48
+ }, order + 1) : null;
49
+ return /*#__PURE__*/React.createElement("div", {
50
+ className: classnames(style.wrapper, isBulkStyle && style.gridLayout)
51
+ }, /*#__PURE__*/React.createElement("div", {
52
+ className: style.dataColumnsWrapper
53
+ }, isPublished && contentType === 'certification' ? orderView : null, /*#__PURE__*/React.createElement("div", {
42
54
  className: style.title,
43
55
  title: title
44
- }, title), /*#__PURE__*/React.createElement("div", {
56
+ }, title), dataColumnsView), /*#__PURE__*/React.createElement("div", {
45
57
  className: style.settings
46
- }, tagsView, /*#__PURE__*/React.createElement("div", {
47
- className: style.edit
48
- }, /*#__PURE__*/React.createElement(ButtonLink, buttonLink)), /*#__PURE__*/React.createElement(BulletPointMenuButton, bulletPointMenuButton)));
58
+ }, tagsView, buttonLink ? /*#__PURE__*/React.createElement("div", {
59
+ className: style.buttonLink
60
+ }, /*#__PURE__*/React.createElement(ButtonLink, buttonLink)) : null, buttonLinkIcon ? /*#__PURE__*/React.createElement("div", {
61
+ className: style.buttonLink
62
+ }, /*#__PURE__*/React.createElement(ButtonLinkIconOnly, buttonLinkIcon)) : null, /*#__PURE__*/React.createElement(BulletPointMenuButton, bulletPointMenuButton)));
49
63
  };
50
64
 
51
65
  ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
52
- bulletPointMenuButton: PropTypes.shape({
53
- buttonAriaLabel: PropTypes.string,
54
- menuAriaLabel: PropTypes.string,
55
- buttons: PropTypes.arrayOf(PropTypes.shape({
56
- 'data-name': PropTypes.string,
57
- label: PropTypes.string,
58
- type: PropTypes.string,
59
- onClick: PropTypes.func
60
- })),
61
- onClick: PropTypes.func
62
- }),
66
+ title: PropTypes.string.isRequired,
67
+ dataColumns: PropTypes.arrayOf(PropTypes.shape({
68
+ label: PropTypes.string,
69
+ type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),
70
+ className: PropTypes.oneOf(['cell', 'title'])
71
+ })),
63
72
  buttonLink: PropTypes.shape({
64
73
  type: PropTypes.string,
65
74
  label: PropTypes.string,
@@ -71,11 +80,36 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
71
80
  }),
72
81
  onClick: PropTypes.func
73
82
  }),
83
+ buttonLinkIcon: PropTypes.shape({
84
+ size: PropTypes.oneOf(['default', 'small', 'responsive']),
85
+ 'aria-label': PropTypes.string,
86
+ 'data-name': PropTypes.string,
87
+ icon: PropTypes.string,
88
+ onClick: PropTypes.func,
89
+ link: PropTypes.shape({
90
+ href: PropTypes.string,
91
+ download: PropTypes.bool,
92
+ target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])
93
+ }),
94
+ disabled: PropTypes.bool,
95
+ className: PropTypes.string
96
+ }),
97
+ bulletPointMenuButton: PropTypes.shape({
98
+ buttonAriaLabel: PropTypes.string,
99
+ menuAriaLabel: PropTypes.string,
100
+ buttons: PropTypes.arrayOf(PropTypes.shape({
101
+ 'data-name': PropTypes.string,
102
+ label: PropTypes.string,
103
+ type: PropTypes.string,
104
+ onClick: PropTypes.func
105
+ })),
106
+ onClick: PropTypes.func
107
+ }),
74
108
  tags: PropTypes.arrayOf(PropTypes.shape({
75
109
  label: PropTypes.string,
76
- type: PropTypes.oneOf(['published', 'draft', 'archived', 'revised', 'default'])
110
+ type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])
77
111
  })),
78
- title: PropTypes.string.isRequired,
112
+ isBulkStyle: PropTypes.bool,
79
113
  order: PropTypes.number,
80
114
  'aria-label': PropTypes.string,
81
115
  contentType: PropTypes.string,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","Tag","ButtonLink","BulletPointMenuButton","style","ListItem","props","isPublished","bulletPointMenuButton","buttonLink","tags","title","order","ariaLabel","contentType","tagsView","convert","cap","tag","index","type","wrapper","orderWrapper","undefined","settings","edit","propTypes","shape","buttonAriaLabel","string","menuAriaLabel","buttons","arrayOf","label","onClick","func","dataName","icon","position","oneOf","isRequired","number","id"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport style from './style.css';\n\nconst ListItem = props => {\n let isPublished = false;\n const {\n bulletPointMenuButton,\n buttonLink,\n tags,\n title,\n order,\n 'aria-label': ariaLabel,\n contentType\n } = props;\n const tagsView = map.convert({cap: false})((tag, index) => {\n isPublished = tag.type === 'published';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} />\n </div>\n );\n })(tags);\n return (\n <div className={style.wrapper}>\n {isPublished && contentType === 'certification' ? (\n <div className={style.orderWrapper}>\n {order !== null && order !== undefined ? (\n <div className={style.order} aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null}\n <div className={style.title} title={title}>\n {title}\n </div>\n </div>\n ) : (\n <div className={style.title} title={title}>\n {title}\n </div>\n )}\n <div className={style.settings}>\n {tagsView}\n <div className={style.edit}>\n <ButtonLink {...buttonLink} />\n </div>\n <BulletPointMenuButton {...bulletPointMenuButton} />\n </div>\n </div>\n );\n};\n\nListItem.propTypes = {\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 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 tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['published', 'draft', 'archived', 'revised', 'default'])\n })\n ),\n title: PropTypes.string.isRequired,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string\n};\n\nexport default ListItem;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,yCAAlC;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAGC,KAAK,IAAI;EACxB,IAAIC,WAAW,GAAG,KAAlB;EACA,MAAM;IACJC,qBADI;IAEJC,UAFI;IAGJC,IAHI;IAIJC,KAJI;IAKJC,KALI;IAMJ,cAAcC,SANV;IAOJC;EAPI,IAQFR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{"version":3,"file":"index.js","names":["React","PropTypes","classnames","Tag","ButtonLink","ButtonLinkIconOnly","BulletPointMenuButton","style","ListItem","buttonLink","buttonLinkIcon","bulletPointMenuButton","tags","title","dataColumns","order","ariaLabel","contentType","isBulkStyle","isPublished","tagsView","convert","cap","tag","index","type","dataColumnsView","dataColumn","className","label","orderView","undefined","wrapper","gridLayout","dataColumnsWrapper","settings","propTypes","string","isRequired","arrayOf","shape","oneOf","dataName","icon","position","onClick","func","size","link","href","download","bool","target","disabled","buttonAriaLabel","menuAriaLabel","buttons","number","id"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport classnames from 'classnames';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\n// eslint-disable-next-line css-modules/no-unused-class\nimport style from './style.css';\n\nconst ListItem = ({\n buttonLink,\n buttonLinkIcon,\n bulletPointMenuButton,\n tags,\n title,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n contentType,\n isBulkStyle = false\n}) => {\n let isPublished = false;\n\n const tagsView = map.convert({cap: false})((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = map.convert({cap: false})((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} aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n return (\n <div className={classnames(style.wrapper, isBulkStyle && style.gridLayout)}>\n <div className={style.dataColumnsWrapper}>\n {isPublished && contentType === 'certification' ? orderView : null}\n <div className={style.title} title={title}>\n {title}\n </div>\n {dataColumnsView}\n </div>\n\n <div className={style.settings}>\n {tagsView}\n {buttonLink ? (\n <div className={style.buttonLink}>\n <ButtonLink {...buttonLink} />\n </div>\n ) : null}\n {buttonLinkIcon ? (\n <div className={style.buttonLink}>\n <ButtonLinkIconOnly {...buttonLinkIcon} />\n </div>\n ) : null}\n <BulletPointMenuButton {...bulletPointMenuButton} />\n </div>\n </div>\n );\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\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 buttonLinkIcon: PropTypes.shape({\n size: PropTypes.oneOf(['default', 'small', 'responsive']),\n 'aria-label': PropTypes.string,\n 'data-name': PropTypes.string,\n icon: PropTypes.string,\n onClick: PropTypes.func,\n link: PropTypes.shape({\n href: PropTypes.string,\n download: PropTypes.bool,\n target: PropTypes.oneOf(['_self', '_blank', '_parent', '_top'])\n }),\n disabled: PropTypes.bool,\n className: PropTypes.string\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 isBulkStyle: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string\n};\n\nexport default ListItem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