@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
@@ -7,11 +7,75 @@ declare namespace WizardContents {
7
7
  title: PropTypes.Requireable<string>;
8
8
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
9
9
  }>>>;
10
+ const actions: PropTypes.Requireable<PropTypes.InferProps<{
11
+ bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
12
+ buttonAriaLabel: PropTypes.Requireable<string>;
13
+ menuAriaLabel: PropTypes.Requireable<string>;
14
+ buttons: PropTypes.Requireable<(PropTypes.InferProps<{
15
+ 'data-name': PropTypes.Requireable<string>;
16
+ label: PropTypes.Requireable<string>;
17
+ type: PropTypes.Requireable<string>;
18
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
19
+ }> | null | undefined)[]>;
20
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
21
+ }>>;
22
+ firstButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
23
+ type: PropTypes.Requireable<string>;
24
+ label: PropTypes.Requireable<string>;
25
+ 'aria-label': PropTypes.Requireable<string>;
26
+ 'data-name': PropTypes.Requireable<string>;
27
+ 'data-testid': PropTypes.Requireable<string>;
28
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
29
+ position: PropTypes.Requireable<string>;
30
+ type: PropTypes.Requireable<string>;
31
+ }>>;
32
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
33
+ link: PropTypes.Requireable<PropTypes.InferProps<{
34
+ href: PropTypes.Requireable<string>;
35
+ download: PropTypes.Requireable<boolean>;
36
+ target: PropTypes.Requireable<string>;
37
+ }>>;
38
+ disabled: PropTypes.Requireable<boolean>;
39
+ className: PropTypes.Requireable<string>;
40
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
41
+ }>>;
42
+ secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
43
+ type: PropTypes.Requireable<string>;
44
+ label: PropTypes.Requireable<string>;
45
+ 'aria-label': PropTypes.Requireable<string>;
46
+ 'data-name': PropTypes.Requireable<string>;
47
+ 'data-testid': PropTypes.Requireable<string>;
48
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
49
+ position: PropTypes.Requireable<string>;
50
+ type: PropTypes.Requireable<string>;
51
+ }>>;
52
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
53
+ link: PropTypes.Requireable<PropTypes.InferProps<{
54
+ href: PropTypes.Requireable<string>;
55
+ download: PropTypes.Requireable<boolean>;
56
+ target: PropTypes.Requireable<string>;
57
+ }>>;
58
+ disabled: PropTypes.Requireable<boolean>;
59
+ className: PropTypes.Requireable<string>;
60
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
61
+ }>>;
62
+ }>>;
10
63
  const steps: PropTypes.Requireable<(PropTypes.InferProps<{
11
64
  title: PropTypes.Requireable<string>;
12
65
  done: PropTypes.Requireable<boolean>;
13
66
  current: PropTypes.Requireable<boolean>;
14
67
  }> | null | undefined)[]>;
68
+ const tabs: PropTypes.Requireable<(PropTypes.InferProps<{
69
+ tab: PropTypes.Requireable<PropTypes.InferProps<{
70
+ title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
71
+ href: PropTypes.Requireable<string>;
72
+ status: PropTypes.Requireable<string>;
73
+ selected: PropTypes.Requireable<boolean>;
74
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
75
+ }>>;
76
+ index: PropTypes.Requireable<number>;
77
+ isLightTab: PropTypes.Requireable<boolean>;
78
+ }> | null | undefined)[]>;
15
79
  const summary: PropTypes.Requireable<PropTypes.InferProps<{
16
80
  title: PropTypes.Requireable<string>;
17
81
  side: PropTypes.Requireable<string>;
@@ -211,6 +275,7 @@ declare namespace WizardContents {
211
275
  'data-name': PropTypes.Requireable<string>;
212
276
  }>>;
213
277
  sectionTitle: PropTypes.Requireable<PropTypes.InferProps<{
278
+ removeMargin: PropTypes.Requireable<boolean>;
214
279
  title: PropTypes.Requireable<string>;
215
280
  subtitle: PropTypes.Requireable<string>;
216
281
  type: PropTypes.Requireable<string>;
@@ -270,6 +335,50 @@ declare namespace WizardContents {
270
335
  pdfButtonAriaLabel: PropTypes.Requireable<string>;
271
336
  }> | null | undefined)[]>;
272
337
  'data-name': PropTypes.Requireable<string>;
338
+ }> | PropTypes.InferProps<{
339
+ childType: PropTypes.Requireable<string>;
340
+ name: PropTypes.Requireable<string>;
341
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
342
+ onReset: PropTypes.Requireable<(...args: any[]) => any>;
343
+ imageTypes: (props: any, propName: any, componentName: any) => Error | null;
344
+ error: PropTypes.Requireable<string>;
345
+ buttonAriaLabel: PropTypes.Requireable<string>;
346
+ errorButtonLabel: PropTypes.Requireable<string>;
347
+ labelLink: PropTypes.Requireable<string>;
348
+ hrefLink: PropTypes.Requireable<string>;
349
+ title: PropTypes.Requireable<string>;
350
+ description: PropTypes.Requireable<string>;
351
+ uploadLabel: PropTypes.Requireable<string>;
352
+ previewLabel: PropTypes.Requireable<string>;
353
+ previewContent: PropTypes.Requireable<PropTypes.InferProps<{
354
+ type: PropTypes.Requireable<string>;
355
+ src: PropTypes.Requireable<string>;
356
+ label: PropTypes.Requireable<string>;
357
+ }>>;
358
+ loading: PropTypes.Requireable<boolean>;
359
+ modified: PropTypes.Requireable<boolean>;
360
+ disabled: PropTypes.Requireable<boolean>;
361
+ children: PropTypes.Requireable<(...args: any[]) => any>;
362
+ pdfButtonLabel: PropTypes.Requireable<string>;
363
+ pdfButtonAriaLabel: PropTypes.Requireable<string>;
364
+ }> | PropTypes.InferProps<{
365
+ childType: PropTypes.Requireable<string>;
366
+ title: PropTypes.Requireable<string>;
367
+ placeholder: PropTypes.Requireable<string>;
368
+ description: PropTypes.Requireable<string>;
369
+ hint: PropTypes.Requireable<string>;
370
+ options: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
371
+ selected: PropTypes.Validator<boolean>;
372
+ name: PropTypes.Validator<string>;
373
+ value: PropTypes.Requireable<string>;
374
+ }>>[]>;
375
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
376
+ onError: PropTypes.Requireable<(...args: any[]) => any>;
377
+ multiple: PropTypes.Requireable<boolean>;
378
+ modified: PropTypes.Requireable<boolean>;
379
+ disabled: PropTypes.Requireable<boolean>;
380
+ error: PropTypes.Requireable<string>;
381
+ theme: PropTypes.Requireable<string>;
273
382
  }> | null | undefined>>;
274
383
  }> | null | undefined)[]>;
275
384
  }> | PropTypes.InferProps<{
@@ -281,6 +390,7 @@ declare namespace WizardContents {
281
390
  fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
282
391
  type: PropTypes.Requireable<string>;
283
392
  current: PropTypes.Requireable<boolean>;
393
+ selected: PropTypes.Requireable<boolean>;
284
394
  icon: PropTypes.Requireable<string>;
285
395
  value: PropTypes.Requireable<string>;
286
396
  }> | null | undefined> | null | undefined)[]>;
@@ -343,6 +453,8 @@ declare namespace WizardContents {
343
453
  isBulkMenu: PropTypes.Requireable<boolean>;
344
454
  }> | null | undefined>>;
345
455
  isNestedTable: PropTypes.Requireable<boolean>;
456
+ emptyStateFirstMessage: PropTypes.Requireable<string>;
457
+ emptyStateSecondMessage: PropTypes.Requireable<string>;
346
458
  }> | null | undefined>>;
347
459
  const previousStep: PropTypes.Requireable<PropTypes.InferProps<{
348
460
  label: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";AAsHA,yDAoCC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";AA0IA,yDAqCC"}
@@ -27,6 +27,10 @@ var _courseSelection = _interopRequireDefault(require("../course-selection"));
27
27
 
28
28
  var _courseSections = _interopRequireDefault(require("../../molecule/course-sections"));
29
29
 
30
+ var _brandTabs = _interopRequireDefault(require("../../molecule/brand-tabs"));
31
+
32
+ var _bulletPointMenuButton = _interopRequireDefault(require("../../molecule/bullet-point-menu-button"));
33
+
30
34
  var _rewardsForm = _interopRequireDefault(require("../rewards-form"));
31
35
 
32
36
  var _expandibleActionableTable = _interopRequireDefault(require("../../molecule/expandible-actionable-table"));
@@ -37,7 +41,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
37
41
 
38
42
  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); }
39
43
 
40
- const buildHeader = (wizardHeader, steps) => {
44
+ const buildHeader = (wizardHeader, actions, steps, tabs) => {
41
45
  const {
42
46
  title,
43
47
  onClick
@@ -51,12 +55,25 @@ const buildHeader = (wizardHeader, steps) => {
51
55
  };
52
56
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
53
57
  className: _style.default.header
58
+ }, /*#__PURE__*/_react.default.createElement("div", {
59
+ className: _style.default.titleWrapper
54
60
  }, /*#__PURE__*/_react.default.createElement(_buttonLinkIconOnly.default, buttonCloseIcon), /*#__PURE__*/_react.default.createElement("div", {
55
61
  className: _style.default.headerTitle,
56
62
  "data-name": 'content-title'
57
- }, title)), /*#__PURE__*/_react.default.createElement(_wizardSteps.default, {
63
+ }, title)), actions ? /*#__PURE__*/_react.default.createElement("div", {
64
+ className: _style.default.actionsWrapper
65
+ }, /*#__PURE__*/_react.default.createElement(_bulletPointMenuButton.default, actions.bulletPointMenuButton), /*#__PURE__*/_react.default.createElement("div", {
66
+ className: _style.default.buttonLink
67
+ }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, actions.firstButtonLink)), /*#__PURE__*/_react.default.createElement("div", {
68
+ className: _style.default.buttonLink
69
+ }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, actions.secondButtonLink))) : null), steps ? /*#__PURE__*/_react.default.createElement(_wizardSteps.default, {
58
70
  steps: steps
59
- }));
71
+ }) : null, tabs ? /*#__PURE__*/_react.default.createElement("div", {
72
+ className: _style.default.tabs
73
+ }, /*#__PURE__*/_react.default.createElement(_brandTabs.default, {
74
+ type: "light",
75
+ tabs: tabs
76
+ })) : null);
60
77
  };
61
78
 
62
79
  const buildForm = content => {
@@ -152,13 +169,15 @@ const WizardContents = props => {
152
169
  const {
153
170
  isLoading,
154
171
  wizardHeader,
172
+ actions,
155
173
  steps,
174
+ tabs,
156
175
  summary,
157
176
  content,
158
177
  nextStep,
159
178
  previousStep
160
179
  } = props;
161
- const headerView = buildHeader(wizardHeader, steps);
180
+ const headerView = buildHeader(wizardHeader, actions, steps, tabs);
162
181
  const formView = buildForm(_extends({}, content, {
163
182
  isLoading
164
183
  }));
@@ -203,7 +222,23 @@ WizardContents.propTypes = process.env.NODE_ENV !== "production" ? {
203
222
  title: _propTypes.default.string,
204
223
  onClick: _propTypes.default.func
205
224
  }).isRequired,
225
+ actions: _propTypes.default.shape({
226
+ bulletPointMenuButton: _propTypes.default.shape({
227
+ buttonAriaLabel: _propTypes.default.string,
228
+ menuAriaLabel: _propTypes.default.string,
229
+ buttons: _propTypes.default.arrayOf(_propTypes.default.shape({
230
+ 'data-name': _propTypes.default.string,
231
+ label: _propTypes.default.string,
232
+ type: _propTypes.default.string,
233
+ onClick: _propTypes.default.func
234
+ })),
235
+ onClick: _propTypes.default.func
236
+ }),
237
+ firstButtonLink: _propTypes.default.shape(_buttonLink.default.propTypes),
238
+ secondButtonLink: _propTypes.default.shape(_buttonLink.default.propTypes)
239
+ }),
206
240
  steps: _wizardSteps.default.propTypes.steps,
241
+ tabs: _brandTabs.default.propTypes.tabs,
207
242
  summary: _propTypes.default.shape(_extends({}, _wizardSummary.default.propTypes)),
208
243
  content: _propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, _brandForm.default.propTypes, {
209
244
  type: _propTypes.default.oneOf(['form'])
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","getOr","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;EAC3C,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAmBH,YAAzB;EAEA,MAAMI,eAAe,GAAG;IACtBC,IAAI,EAAE,OADgB;IAEtB,aAAa,cAFS;IAGtB,cAAc,cAHQ;IAItBC,IAAI,EAAE,OAJgB;IAKtBH;EALsB,CAAxB;EAQA,oBACE,uDACE;IAAK,SAAS,EAAEI,cAAA,CAAMC;EAAtB,gBACE,6BAAC,2BAAD,EAAwBJ,eAAxB,CADF,eAEE;IAAK,SAAS,EAAEG,cAAA,CAAME,WAAtB;IAAmC,aAAW;EAA9C,GACGP,KADH,CAFF,CADF,eAOE,6BAAC,oBAAD;IAAa,KAAK,EAAED;EAApB,EAPF,CADF;AAWD,CAtBD;;AAwBA,MAAM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AV,CAAgB,CAAC,SAAD,CAAhB;EAFR,GArB2B,EAyB3BV,kBAAA,CAAUE,KAAV,cACKc,kCAAA,CAAgCjB,SADrC;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUU,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAzB2B,CAApB,CAVgB;EAwCzB5C,YAAY,EAAEkC,kBAAA,CAAUE,KAAV,CAAgB;IAC5BvC,KAAK,EAAEqC,kBAAA,CAAUG,MADW;IAE5B1D,OAAO,EAAEuD,kBAAA,CAAUI;EAFS,CAAhB,CAxCW;EA4CzBrC,QAAQ,EAAEiC,kBAAA,CAAUE,KAAV,CAAgB;IACxBhD,IAAI,EAAE8C,kBAAA,CAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExB/C,KAAK,EAAEqC,kBAAA,CAAUG,MAFO;IAGxB1D,OAAO,EAAEuD,kBAAA,CAAUI;EAHK,CAAhB;AA5Ce,CAA3B;eAmDenB,c"}
1
+ {"version":3,"file":"index.js","names":["buildHeader","wizardHeader","actions","steps","tabs","title","onClick","buttonCloseIcon","size","icon","style","header","titleWrapper","headerTitle","actionsWrapper","bulletPointMenuButton","buttonLink","firstButtonLink","secondButtonLink","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","getOr","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","buttonAriaLabel","menuAriaLabel","buttons","arrayOf","ButtonLink","WizardSteps","BrandTabs","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport BrandTabs from '../../molecule/brand-tabs';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, actions, steps, tabs) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.titleWrapper}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n {actions ? (\n <div className={style.actionsWrapper}>\n <BulletPointMenuButton {...actions.bulletPointMenuButton} />\n <div className={style.buttonLink}>\n <ButtonLink {...actions.firstButtonLink} />\n </div>\n <div className={style.buttonLink}>\n <ButtonLink {...actions.secondButtonLink} />\n </div>\n </div>\n ) : null}\n </div>\n {steps ? <WizardSteps steps={steps} /> : null}\n {tabs ? (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={tabs} />\n </div>\n ) : null}\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, actions, steps, tabs, summary, content, nextStep, previousStep} =\n props;\n const headerView = buildHeader(wizardHeader, actions, steps, tabs);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n actions: PropTypes.shape({\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 firstButtonLink: PropTypes.shape(ButtonLink.propTypes),\n secondButtonLink: PropTypes.shape(ButtonLink.propTypes)\n }),\n steps: WizardSteps.propTypes.steps,\n tabs: BrandTabs.propTypes.tabs,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,OAAf,EAAwBC,KAAxB,EAA+BC,IAA/B,KAAwC;EAC1D,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAmBL,YAAzB;EAEA,MAAMM,eAAe,GAAG;IACtBC,IAAI,EAAE,OADgB;IAEtB,aAAa,cAFS;IAGtB,cAAc,cAHQ;IAItBC,IAAI,EAAE,OAJgB;IAKtBH;EALsB,CAAxB;EAQA,oBACE,uDACE;IAAK,SAAS,EAAEI,cAAA,CAAMC;EAAtB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAME;EAAtB,gBACE,6BAAC,2BAAD,EAAwBL,eAAxB,CADF,eAEE;IAAK,SAAS,EAAEG,cAAA,CAAMG,WAAtB;IAAmC,aAAW;EAA9C,GACGR,KADH,CAFF,CADF,EAOGH,OAAO,gBACN;IAAK,SAAS,EAAEQ,cAAA,CAAMI;EAAtB,gBACE,6BAAC,8BAAD,EAA2BZ,OAAO,CAACa,qBAAnC,CADF,eAEE;IAAK,SAAS,EAAEL,cAAA,CAAMM;EAAtB,gBACE,6BAAC,mBAAD,EAAgBd,OAAO,CAACe,eAAxB,CADF,CAFF,eAKE;IAAK,SAAS,EAAEP,cAAA,CAAMM;EAAtB,gBACE,6BAAC,mBAAD,EAAgBd,OAAO,CAACgB,gBAAxB,CADF,CALF,CADM,GAUJ,IAjBN,CADF,EAoBGf,KAAK,gBAAG,6BAAC,oBAAD;IAA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EAFR,GAzB2B,CAApB,CA5BgB;EA0DzBlD,YAAY,EAAEkC,kBAAA,CAAUE,KAAV,CAAgB;IAC5BvC,KAAK,EAAEqC,kBAAA,CAAUG,MADW;IAE5BhE,OAAO,EAAE6D,kBAAA,CAAUI;EAFS,CAAhB,CA1DW;EA8DzBrC,QAAQ,EAAEiC,kBAAA,CAAUE,KAAV,CAAgB;IACxBhD,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExBrD,KAAK,EAAEqC,kBAAA,CAAUG,MAFO;IAGxBhE,OAAO,EAAE6D,kBAAA,CAAUI;EAHK,CAAhB;AA9De,CAA3B;eAqEenB,c"}
@@ -17,6 +17,17 @@
17
17
  flex-direction: column;
18
18
  }
19
19
 
20
+ .actionsWrapper {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: space-between;
24
+ gap: 10px;
25
+ }
26
+
27
+ .buttonLink {
28
+ max-width: 190px;
29
+ }
30
+
20
31
  .leftSection {
21
32
  display: flex;
22
33
  flex-direction: column;
@@ -58,6 +69,13 @@
58
69
  display: flex;
59
70
  flex-direction: row;
60
71
  align-items: center;
72
+ justify-content: space-between;
73
+ }
74
+
75
+ .titleWrapper {
76
+ display: flex;
77
+ flex-direction: row;
78
+ align-items: center;
61
79
  }
62
80
 
63
81
  .headerTitle {
@@ -67,6 +85,10 @@
67
85
  margin: 0 0 0 16px;
68
86
  }
69
87
 
88
+ .tabs {
89
+ padding: 31px 0 0 0;
90
+ }
91
+
70
92
  .form {
71
93
  margin: 45px 32px 0 0;
72
94
  }
@@ -7,7 +7,18 @@ declare namespace PlayerLoading {
7
7
  const popinError: PropTypes.Requireable<PropTypes.InferProps<{
8
8
  content: PropTypes.Requireable<string>;
9
9
  mode: PropTypes.Requireable<string>;
10
- header: PropTypes.Requireable<string>;
10
+ header: PropTypes.Requireable<PropTypes.InferProps<{
11
+ title: PropTypes.Requireable<PropTypes.InferProps<{
12
+ title: PropTypes.Requireable<string>;
13
+ subtitle: PropTypes.Requireable<string>;
14
+ type: PropTypes.Requireable<string>;
15
+ 'data-name': PropTypes.Requireable<string>;
16
+ titleSize: PropTypes.Requireable<string>;
17
+ subtitleSize: PropTypes.Requireable<string>;
18
+ }>>;
19
+ headerIcon: PropTypes.Requireable<string>;
20
+ backgroundImage: PropTypes.Requireable<string>;
21
+ }>>;
11
22
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
12
23
  label: PropTypes.Requireable<string>;
13
24
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -55,6 +66,13 @@ declare namespace PlayerLoading {
55
66
  'data-name': PropTypes.Requireable<string>;
56
67
  requiredSelection: PropTypes.Requireable<boolean>;
57
68
  }> | null | undefined)[]>;
69
+ items: PropTypes.Requireable<PropTypes.InferProps<{
70
+ type: PropTypes.Requireable<string>;
71
+ list: PropTypes.Requireable<PropTypes.InferProps<{
72
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
73
+ loading: PropTypes.Requireable<boolean>;
74
+ }>>;
75
+ }>>;
58
76
  }>>;
59
77
  }
60
78
  }
@@ -58,7 +58,18 @@ declare namespace SlidePlayer {
58
58
  popinError: PropTypes.Requireable<PropTypes.InferProps<{
59
59
  content: PropTypes.Requireable<string>;
60
60
  mode: PropTypes.Requireable<string>;
61
- header: PropTypes.Requireable<string>;
61
+ header: PropTypes.Requireable<PropTypes.InferProps<{
62
+ title: PropTypes.Requireable<PropTypes.InferProps<{
63
+ title: PropTypes.Requireable<string>;
64
+ subtitle: PropTypes.Requireable<string>;
65
+ type: PropTypes.Requireable<string>;
66
+ 'data-name': PropTypes.Requireable<string>;
67
+ titleSize: PropTypes.Requireable<string>;
68
+ subtitleSize: PropTypes.Requireable<string>;
69
+ }>>;
70
+ headerIcon: PropTypes.Requireable<string>;
71
+ backgroundImage: PropTypes.Requireable<string>;
72
+ }>>;
62
73
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
63
74
  label: PropTypes.Requireable<string>;
64
75
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -106,12 +117,30 @@ declare namespace SlidePlayer {
106
117
  'data-name': PropTypes.Requireable<string>;
107
118
  requiredSelection: PropTypes.Requireable<boolean>;
108
119
  }> | null | undefined)[]>;
120
+ items: PropTypes.Requireable<PropTypes.InferProps<{
121
+ type: PropTypes.Requireable<string>;
122
+ list: PropTypes.Requireable<PropTypes.InferProps<{
123
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
124
+ loading: PropTypes.Requireable<boolean>;
125
+ }>>;
126
+ }>>;
109
127
  }>>;
110
128
  }>>;
111
129
  const popin: PropTypes.Requireable<PropTypes.InferProps<{
112
130
  content: PropTypes.Requireable<string>;
113
131
  mode: PropTypes.Requireable<string>;
114
- header: PropTypes.Requireable<string>;
132
+ header: PropTypes.Requireable<PropTypes.InferProps<{
133
+ title: PropTypes.Requireable<PropTypes.InferProps<{
134
+ title: PropTypes.Requireable<string>;
135
+ subtitle: PropTypes.Requireable<string>;
136
+ type: PropTypes.Requireable<string>;
137
+ 'data-name': PropTypes.Requireable<string>;
138
+ titleSize: PropTypes.Requireable<string>;
139
+ subtitleSize: PropTypes.Requireable<string>;
140
+ }>>;
141
+ headerIcon: PropTypes.Requireable<string>;
142
+ backgroundImage: PropTypes.Requireable<string>;
143
+ }>>;
115
144
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
116
145
  label: PropTypes.Requireable<string>;
117
146
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -159,6 +188,13 @@ declare namespace SlidePlayer {
159
188
  'data-name': PropTypes.Requireable<string>;
160
189
  requiredSelection: PropTypes.Requireable<boolean>;
161
190
  }> | null | undefined)[]>;
191
+ items: PropTypes.Requireable<PropTypes.InferProps<{
192
+ type: PropTypes.Requireable<string>;
193
+ list: PropTypes.Requireable<PropTypes.InferProps<{
194
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
195
+ loading: PropTypes.Requireable<boolean>;
196
+ }>>;
197
+ }>>;
162
198
  }>>;
163
199
  }
164
200
  }
@@ -64,7 +64,18 @@ declare namespace SlidesPlayer {
64
64
  export const popinError: PropTypes.Requireable<PropTypes.InferProps<{
65
65
  content: PropTypes.Requireable<string>;
66
66
  mode: PropTypes.Requireable<string>;
67
- header: PropTypes.Requireable<string>;
67
+ header: PropTypes.Requireable<PropTypes.InferProps<{
68
+ title: PropTypes.Requireable<PropTypes.InferProps<{
69
+ title: PropTypes.Requireable<string>;
70
+ subtitle: PropTypes.Requireable<string>;
71
+ type: PropTypes.Requireable<string>;
72
+ 'data-name': PropTypes.Requireable<string>;
73
+ titleSize: PropTypes.Requireable<string>;
74
+ subtitleSize: PropTypes.Requireable<string>;
75
+ }>>;
76
+ headerIcon: PropTypes.Requireable<string>;
77
+ backgroundImage: PropTypes.Requireable<string>;
78
+ }>>;
68
79
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
69
80
  label: PropTypes.Requireable<string>;
70
81
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -112,6 +123,13 @@ declare namespace SlidesPlayer {
112
123
  'data-name': PropTypes.Requireable<string>;
113
124
  requiredSelection: PropTypes.Requireable<boolean>;
114
125
  }> | null | undefined)[]>;
126
+ items: PropTypes.Requireable<PropTypes.InferProps<{
127
+ type: PropTypes.Requireable<string>;
128
+ list: PropTypes.Requireable<PropTypes.InferProps<{
129
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
130
+ loading: PropTypes.Requireable<boolean>;
131
+ }>>;
132
+ }>>;
115
133
  }>>;
116
134
  }
117
135
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
@@ -92,7 +92,18 @@ declare class PopinCorrection extends React.Component<any, any, any> {
92
92
  popinError: PropTypes.Requireable<PropTypes.InferProps<{
93
93
  content: PropTypes.Requireable<string>;
94
94
  mode: PropTypes.Requireable<string>;
95
- header: PropTypes.Requireable<string>;
95
+ header: PropTypes.Requireable<PropTypes.InferProps<{
96
+ title: PropTypes.Requireable<PropTypes.InferProps<{
97
+ title: PropTypes.Requireable<string>;
98
+ subtitle: PropTypes.Requireable<string>;
99
+ type: PropTypes.Requireable<string>;
100
+ 'data-name': PropTypes.Requireable<string>;
101
+ titleSize: PropTypes.Requireable<string>;
102
+ subtitleSize: PropTypes.Requireable<string>;
103
+ }>>;
104
+ headerIcon: PropTypes.Requireable<string>;
105
+ backgroundImage: PropTypes.Requireable<string>;
106
+ }>>;
96
107
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
97
108
  label: PropTypes.Requireable<string>;
98
109
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -140,6 +151,13 @@ declare class PopinCorrection extends React.Component<any, any, any> {
140
151
  'data-name': PropTypes.Requireable<string>;
141
152
  requiredSelection: PropTypes.Requireable<boolean>;
142
153
  }> | null | undefined)[]>;
154
+ items: PropTypes.Requireable<PropTypes.InferProps<{
155
+ type: PropTypes.Requireable<string>;
156
+ list: PropTypes.Requireable<PropTypes.InferProps<{
157
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
158
+ loading: PropTypes.Requireable<boolean>;
159
+ }>>;
160
+ }>>;
143
161
  }>>;
144
162
  };
145
163
  static contextTypes: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
@@ -109,13 +109,65 @@ declare namespace PopinEnd {
109
109
  dataName: PropTypes.Requireable<string>;
110
110
  title: PropTypes.Requireable<string>;
111
111
  showMore: PropTypes.Requireable<string>;
112
- cards: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
112
+ cards: PropTypes.Requireable<(PropTypes.InferProps<{
113
+ badge: PropTypes.Requireable<string>;
114
+ image: PropTypes.Requireable<string>;
115
+ disabled: PropTypes.Requireable<boolean>;
116
+ adaptiv: PropTypes.Requireable<boolean>;
117
+ type: PropTypes.Requireable<string>;
118
+ title: PropTypes.Requireable<string>;
119
+ author: PropTypes.Requireable<string>;
120
+ certifiedAuthor: PropTypes.Requireable<boolean>;
121
+ customer: PropTypes.Requireable<PropTypes.InferProps<{
122
+ theme: PropTypes.Requireable<string>;
123
+ type: PropTypes.Requireable<string>;
124
+ name: PropTypes.Requireable<string>;
125
+ coorpOriginal: PropTypes.Validator<boolean>;
126
+ disabled: PropTypes.Requireable<boolean>;
127
+ 'aria-label': PropTypes.Requireable<string>;
128
+ }>>;
129
+ progress: PropTypes.Requireable<number>;
130
+ favorite: PropTypes.Requireable<boolean>;
131
+ addFavoriteToolTip: PropTypes.Requireable<string>;
132
+ removeFavoriteToolTip: PropTypes.Requireable<string>;
133
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
134
+ onFavoriteClick: PropTypes.Requireable<(...args: any[]) => any>;
135
+ isSelected: PropTypes.Requireable<boolean>;
136
+ notification: PropTypes.Requireable<PropTypes.InferProps<{
137
+ message: PropTypes.Validator<string>;
138
+ icon: PropTypes.Validator<string>;
139
+ }>>;
140
+ badgeCategory: PropTypes.Requireable<string>;
141
+ badgeLabel: PropTypes.Requireable<string>;
142
+ theme: PropTypes.Requireable<string>;
143
+ disabledContent: PropTypes.Requireable<string>;
144
+ 'aria-label': PropTypes.Requireable<string>;
145
+ 'background-aria-label': PropTypes.Requireable<string>;
146
+ 'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
147
+ favorite: PropTypes.Requireable<string>;
148
+ addToFavorite: PropTypes.Requireable<string>;
149
+ removeFromFavorite: PropTypes.Requireable<string>;
150
+ }>>;
151
+ 'selectable-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
152
+ select: PropTypes.Requireable<string>;
153
+ unSelect: PropTypes.Requireable<string>;
154
+ }>>;
155
+ 'customer-aria-label': PropTypes.Requireable<string>;
156
+ 'badge-aria-label': PropTypes.Requireable<string>;
157
+ 'disabled-aria-label': PropTypes.Requireable<string>;
158
+ 'card-content-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
159
+ author: PropTypes.Requireable<string>;
160
+ progression: PropTypes.Requireable<string>;
161
+ adaptive: PropTypes.Requireable<string>;
162
+ }>>;
163
+ }> | null | undefined)[]>;
113
164
  onScroll: PropTypes.Requireable<(...args: any[]) => any>;
114
165
  onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
115
166
  'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
116
167
  showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
117
168
  showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
118
169
  }>>;
170
+ testingSizes: PropTypes.Requireable<any>;
119
171
  }>>;
120
172
  feedback: PropTypes.Requireable<PropTypes.InferProps<{
121
173
  title: PropTypes.Requireable<string>;
@@ -132,7 +184,18 @@ declare namespace PopinEnd {
132
184
  const popinError: PropTypes.Requireable<PropTypes.InferProps<{
133
185
  content: PropTypes.Requireable<string>;
134
186
  mode: PropTypes.Requireable<string>;
135
- header: PropTypes.Requireable<string>;
187
+ header: PropTypes.Requireable<PropTypes.InferProps<{
188
+ title: PropTypes.Requireable<PropTypes.InferProps<{
189
+ title: PropTypes.Requireable<string>;
190
+ subtitle: PropTypes.Requireable<string>;
191
+ type: PropTypes.Requireable<string>;
192
+ 'data-name': PropTypes.Requireable<string>;
193
+ titleSize: PropTypes.Requireable<string>;
194
+ subtitleSize: PropTypes.Requireable<string>;
195
+ }>>;
196
+ headerIcon: PropTypes.Requireable<string>;
197
+ backgroundImage: PropTypes.Requireable<string>;
198
+ }>>;
136
199
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
137
200
  label: PropTypes.Requireable<string>;
138
201
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -180,6 +243,13 @@ declare namespace PopinEnd {
180
243
  'data-name': PropTypes.Requireable<string>;
181
244
  requiredSelection: PropTypes.Requireable<boolean>;
182
245
  }> | null | undefined)[]>;
246
+ items: PropTypes.Requireable<PropTypes.InferProps<{
247
+ type: PropTypes.Requireable<string>;
248
+ list: PropTypes.Requireable<PropTypes.InferProps<{
249
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
250
+ loading: PropTypes.Requireable<boolean>;
251
+ }>>;
252
+ }>>;
183
253
  }>>;
184
254
  }
185
255
  }