@coorpacademy/components 11.42.0 → 11.42.3

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 (299) hide show
  1. package/es/atom/checkbox-with-title/index.d.ts +1 -0
  2. package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
  3. package/es/atom/checkbox-with-title/index.js +6 -3
  4. package/es/atom/checkbox-with-title/index.js.map +1 -1
  5. package/es/atom/radio-group/index.d.ts +13 -7
  6. package/es/atom/radio-group/index.d.ts.map +1 -1
  7. package/es/atom/radio-group/index.js +51 -0
  8. package/es/atom/radio-group/index.js.map +1 -1
  9. package/es/atom/radio-group/style.css +37 -0
  10. package/es/atom/radio-with-title/index.d.ts +3 -0
  11. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  12. package/es/atom/radio-with-title/index.js +23 -5
  13. package/es/atom/radio-with-title/index.js.map +1 -1
  14. package/es/atom/radio-with-title/style.css +27 -0
  15. package/es/atom/radio-with-title/types.d.ts +6 -0
  16. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  17. package/es/atom/radio-with-title/types.js +3 -0
  18. package/es/atom/radio-with-title/types.js.map +1 -1
  19. package/es/index.d.ts +1 -0
  20. package/es/index.js +1 -0
  21. package/es/index.js.map +1 -1
  22. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  23. package/es/molecule/cm-popin/index.js +20 -3
  24. package/es/molecule/cm-popin/index.js.map +1 -1
  25. package/es/molecule/cm-popin/style.css +17 -0
  26. package/es/molecule/cm-popin/types.d.ts +36 -0
  27. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  28. package/es/molecule/cm-popin/types.js +3 -0
  29. package/es/molecule/cm-popin/types.js.map +1 -1
  30. package/es/molecule/draggable-list/index.d.ts +12 -0
  31. package/es/molecule/progress-bar/index.d.ts +16 -7
  32. package/es/molecule/progress-bar/index.d.ts.map +1 -1
  33. package/es/molecule/progress-bar/index.js +61 -4
  34. package/es/molecule/progress-bar/index.js.map +1 -1
  35. package/es/molecule/progress-bar/style.css +56 -0
  36. package/es/molecule/setup-section/index.d.ts +6 -0
  37. package/es/molecule/setup-sections/index.d.ts +6 -0
  38. package/es/molecule/table/index.d.ts +8 -0
  39. package/es/molecule/table/index.d.ts.map +1 -1
  40. package/es/molecule/table/index.js +43 -5
  41. package/es/molecule/table/index.js.map +1 -1
  42. package/es/molecule/table/style.css +24 -0
  43. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +1 -0
  44. package/es/molecule/title-radio-wrapper/index.d.ts +3 -0
  45. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  46. package/es/molecule/title-radio-wrapper/types.d.ts +3 -0
  47. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  48. package/es/molecule/wizard-summary/index.d.ts +3 -0
  49. package/es/molecule/wizard-summary/index.d.ts.map +1 -1
  50. package/es/molecule/wizard-summary/index.js +35 -3
  51. package/es/molecule/wizard-summary/index.js.map +1 -1
  52. package/es/molecule/wizard-summary/style.css +54 -1
  53. package/es/organism/assignment-audience/index.d.ts +23 -11
  54. package/es/organism/assignment-audience/index.d.ts.map +1 -1
  55. package/es/organism/assignment-audience/index.js +100 -59
  56. package/es/organism/assignment-audience/index.js.map +1 -1
  57. package/es/organism/assignment-audience/types.d.ts +39 -15
  58. package/es/organism/assignment-audience/types.d.ts.map +1 -1
  59. package/es/organism/assignment-audience/types.js +17 -5
  60. package/es/organism/assignment-audience/types.js.map +1 -1
  61. package/es/organism/brand-learning-priorities/index.d.ts +12 -0
  62. package/es/organism/brand-table/index.d.ts +8 -0
  63. package/es/organism/content-selection-list/index.d.ts +95 -0
  64. package/es/organism/content-selection-list/index.d.ts.map +1 -0
  65. package/es/organism/content-selection-list/index.js +175 -0
  66. package/es/organism/content-selection-list/index.js.map +1 -0
  67. package/es/organism/content-selection-list/style.css +8 -0
  68. package/es/organism/content-selection-list/types.d.ts +113 -0
  69. package/es/organism/content-selection-list/types.d.ts.map +1 -0
  70. package/es/organism/content-selection-list/types.js +58 -0
  71. package/es/organism/content-selection-list/types.js.map +1 -0
  72. package/es/organism/content-skill-modal/index.d.ts +7 -0
  73. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  74. package/es/organism/content-skill-modal/types.d.ts +7 -0
  75. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  76. package/es/organism/header-with-actions/index.d.ts +13 -4
  77. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  78. package/es/organism/header-with-actions/index.js +31 -6
  79. package/es/organism/header-with-actions/index.js.map +1 -1
  80. package/es/organism/header-with-actions/style.css +42 -0
  81. package/es/organism/header-with-actions/types.d.ts +24 -6
  82. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  83. package/es/organism/header-with-actions/types.js +7 -2
  84. package/es/organism/header-with-actions/types.js.map +1 -1
  85. package/es/organism/list-item/index.d.ts +9 -1
  86. package/es/organism/list-item/index.d.ts.map +1 -1
  87. package/es/organism/list-item/index.js +16 -3
  88. package/es/organism/list-item/index.js.map +1 -1
  89. package/es/organism/list-item/style.css +15 -0
  90. package/es/organism/list-items/index.d.ts +7 -0
  91. package/es/organism/rewards-form/index.d.ts +1 -0
  92. package/es/organism/select-opponents/index.d.ts +1 -0
  93. package/es/organism/select-opponents/index.d.ts.map +1 -1
  94. package/es/organism/select-opponents/types.d.ts +1 -0
  95. package/es/organism/select-opponents/types.d.ts.map +1 -1
  96. package/es/organism/skill-edition/index.d.ts +8 -3
  97. package/es/organism/skill-edition/index.d.ts.map +1 -1
  98. package/es/organism/skill-edition/index.js +3 -168
  99. package/es/organism/skill-edition/index.js.map +1 -1
  100. package/es/organism/skill-edition/styles.d.ts +10 -0
  101. package/es/organism/skill-edition/styles.d.ts.map +1 -0
  102. package/es/organism/skill-edition/styles.js +10 -0
  103. package/es/organism/skill-edition/styles.js.map +1 -0
  104. package/es/organism/skill-edition/types.d.ts +10 -54
  105. package/es/organism/skill-edition/types.d.ts.map +1 -1
  106. package/es/organism/skill-edition/types.js +3 -52
  107. package/es/organism/skill-edition/types.js.map +1 -1
  108. package/es/organism/title-and-input/index.d.ts +1 -0
  109. package/es/organism/title-and-input/index.d.ts.map +1 -1
  110. package/es/organism/title-and-input/types.d.ts +1 -0
  111. package/es/organism/title-and-input/types.d.ts.map +1 -1
  112. package/es/organism/wizard-contents/index.d.ts +4 -0
  113. package/es/template/app-player/loading/index.d.ts +33 -0
  114. package/es/template/app-player/player/index.d.ts +66 -0
  115. package/es/template/app-player/player/slides/index.d.ts +33 -0
  116. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  117. package/es/template/app-player/popin-correction/index.d.ts +33 -0
  118. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  119. package/es/template/app-player/popin-end/index.d.ts +33 -0
  120. package/es/template/app-review/index.d.ts +33 -0
  121. package/es/template/app-review/index.d.ts.map +1 -1
  122. package/es/template/app-review/player/prop-types.d.ts +33 -0
  123. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  124. package/es/template/app-review/prop-types.d.ts +33 -0
  125. package/es/template/app-review/prop-types.d.ts.map +1 -1
  126. package/es/template/back-office/brand-update/index.d.ts +120 -7
  127. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  128. package/es/template/back-office/brand-update/index.js +19 -4
  129. package/es/template/back-office/brand-update/index.js.map +1 -1
  130. package/es/template/back-office/brand-update/style.css +18 -0
  131. package/es/template/certification-detail/index.d.ts +33 -0
  132. package/es/template/common/dashboard/index.d.ts +66 -0
  133. package/es/template/common/search-page/index.d.ts +33 -0
  134. package/es/template/external-course/index.d.ts +33 -0
  135. package/es/template/playlist-detail/index.d.ts +33 -0
  136. package/lib/atom/checkbox-with-title/index.d.ts +1 -0
  137. package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
  138. package/lib/atom/checkbox-with-title/index.js +6 -3
  139. package/lib/atom/checkbox-with-title/index.js.map +1 -1
  140. package/lib/atom/radio-group/index.d.ts +13 -7
  141. package/lib/atom/radio-group/index.d.ts.map +1 -1
  142. package/lib/atom/radio-group/index.js +51 -0
  143. package/lib/atom/radio-group/index.js.map +1 -1
  144. package/lib/atom/radio-group/style.css +37 -0
  145. package/lib/atom/radio-with-title/index.d.ts +3 -0
  146. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  147. package/lib/atom/radio-with-title/index.js +23 -5
  148. package/lib/atom/radio-with-title/index.js.map +1 -1
  149. package/lib/atom/radio-with-title/style.css +27 -0
  150. package/lib/atom/radio-with-title/types.d.ts +6 -0
  151. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  152. package/lib/atom/radio-with-title/types.js +3 -0
  153. package/lib/atom/radio-with-title/types.js.map +1 -1
  154. package/lib/index.d.ts +1 -0
  155. package/lib/index.js +3 -0
  156. package/lib/index.js.map +1 -1
  157. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  158. package/lib/molecule/cm-popin/index.js +20 -3
  159. package/lib/molecule/cm-popin/index.js.map +1 -1
  160. package/lib/molecule/cm-popin/style.css +17 -0
  161. package/lib/molecule/cm-popin/types.d.ts +36 -0
  162. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  163. package/lib/molecule/cm-popin/types.js +3 -0
  164. package/lib/molecule/cm-popin/types.js.map +1 -1
  165. package/lib/molecule/draggable-list/index.d.ts +12 -0
  166. package/lib/molecule/progress-bar/index.d.ts +16 -7
  167. package/lib/molecule/progress-bar/index.d.ts.map +1 -1
  168. package/lib/molecule/progress-bar/index.js +61 -4
  169. package/lib/molecule/progress-bar/index.js.map +1 -1
  170. package/lib/molecule/progress-bar/style.css +56 -0
  171. package/lib/molecule/setup-section/index.d.ts +6 -0
  172. package/lib/molecule/setup-sections/index.d.ts +6 -0
  173. package/lib/molecule/table/index.d.ts +8 -0
  174. package/lib/molecule/table/index.d.ts.map +1 -1
  175. package/lib/molecule/table/index.js +43 -5
  176. package/lib/molecule/table/index.js.map +1 -1
  177. package/lib/molecule/table/style.css +24 -0
  178. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +1 -0
  179. package/lib/molecule/title-radio-wrapper/index.d.ts +3 -0
  180. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  181. package/lib/molecule/title-radio-wrapper/types.d.ts +3 -0
  182. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  183. package/lib/molecule/wizard-summary/index.d.ts +3 -0
  184. package/lib/molecule/wizard-summary/index.d.ts.map +1 -1
  185. package/lib/molecule/wizard-summary/index.js +35 -3
  186. package/lib/molecule/wizard-summary/index.js.map +1 -1
  187. package/lib/molecule/wizard-summary/style.css +54 -1
  188. package/lib/organism/assignment-audience/index.d.ts +23 -11
  189. package/lib/organism/assignment-audience/index.d.ts.map +1 -1
  190. package/lib/organism/assignment-audience/index.js +100 -59
  191. package/lib/organism/assignment-audience/index.js.map +1 -1
  192. package/lib/organism/assignment-audience/types.d.ts +39 -15
  193. package/lib/organism/assignment-audience/types.d.ts.map +1 -1
  194. package/lib/organism/assignment-audience/types.js +17 -5
  195. package/lib/organism/assignment-audience/types.js.map +1 -1
  196. package/lib/organism/brand-learning-priorities/index.d.ts +12 -0
  197. package/lib/organism/brand-table/index.d.ts +8 -0
  198. package/lib/organism/content-selection-list/index.d.ts +95 -0
  199. package/lib/organism/content-selection-list/index.d.ts.map +1 -0
  200. package/lib/organism/content-selection-list/index.js +181 -0
  201. package/lib/organism/content-selection-list/index.js.map +1 -0
  202. package/lib/organism/content-selection-list/style.css +8 -0
  203. package/lib/organism/content-selection-list/types.d.ts +113 -0
  204. package/lib/organism/content-selection-list/types.d.ts.map +1 -0
  205. package/lib/organism/content-selection-list/types.js +63 -0
  206. package/lib/organism/content-selection-list/types.js.map +1 -0
  207. package/lib/organism/content-skill-modal/index.d.ts +7 -0
  208. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  209. package/lib/organism/content-skill-modal/types.d.ts +7 -0
  210. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  211. package/lib/organism/header-with-actions/index.d.ts +13 -4
  212. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  213. package/lib/organism/header-with-actions/index.js +31 -6
  214. package/lib/organism/header-with-actions/index.js.map +1 -1
  215. package/lib/organism/header-with-actions/style.css +42 -0
  216. package/lib/organism/header-with-actions/types.d.ts +24 -6
  217. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  218. package/lib/organism/header-with-actions/types.js +7 -2
  219. package/lib/organism/header-with-actions/types.js.map +1 -1
  220. package/lib/organism/list-item/index.d.ts +9 -1
  221. package/lib/organism/list-item/index.d.ts.map +1 -1
  222. package/lib/organism/list-item/index.js +16 -3
  223. package/lib/organism/list-item/index.js.map +1 -1
  224. package/lib/organism/list-item/style.css +15 -0
  225. package/lib/organism/list-items/index.d.ts +7 -0
  226. package/lib/organism/rewards-form/index.d.ts +1 -0
  227. package/lib/organism/select-opponents/index.d.ts +1 -0
  228. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  229. package/lib/organism/select-opponents/types.d.ts +1 -0
  230. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  231. package/lib/organism/skill-edition/index.d.ts +8 -3
  232. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  233. package/lib/organism/skill-edition/index.js +11 -174
  234. package/lib/organism/skill-edition/index.js.map +1 -1
  235. package/lib/organism/skill-edition/styles.d.ts +10 -0
  236. package/lib/organism/skill-edition/styles.d.ts.map +1 -0
  237. package/lib/organism/skill-edition/styles.js +15 -0
  238. package/lib/organism/skill-edition/styles.js.map +1 -0
  239. package/lib/organism/skill-edition/types.d.ts +10 -54
  240. package/lib/organism/skill-edition/types.d.ts.map +1 -1
  241. package/lib/organism/skill-edition/types.js +6 -53
  242. package/lib/organism/skill-edition/types.js.map +1 -1
  243. package/lib/organism/title-and-input/index.d.ts +1 -0
  244. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  245. package/lib/organism/title-and-input/types.d.ts +1 -0
  246. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  247. package/lib/organism/wizard-contents/index.d.ts +4 -0
  248. package/lib/template/app-player/loading/index.d.ts +33 -0
  249. package/lib/template/app-player/player/index.d.ts +66 -0
  250. package/lib/template/app-player/player/slides/index.d.ts +33 -0
  251. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  252. package/lib/template/app-player/popin-correction/index.d.ts +33 -0
  253. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  254. package/lib/template/app-player/popin-end/index.d.ts +33 -0
  255. package/lib/template/app-review/index.d.ts +33 -0
  256. package/lib/template/app-review/index.d.ts.map +1 -1
  257. package/lib/template/app-review/player/prop-types.d.ts +33 -0
  258. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  259. package/lib/template/app-review/prop-types.d.ts +33 -0
  260. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  261. package/lib/template/back-office/brand-update/index.d.ts +120 -7
  262. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  263. package/lib/template/back-office/brand-update/index.js +19 -4
  264. package/lib/template/back-office/brand-update/index.js.map +1 -1
  265. package/lib/template/back-office/brand-update/style.css +18 -0
  266. package/lib/template/certification-detail/index.d.ts +33 -0
  267. package/lib/template/common/dashboard/index.d.ts +66 -0
  268. package/lib/template/common/search-page/index.d.ts +33 -0
  269. package/lib/template/external-course/index.d.ts +33 -0
  270. package/lib/template/playlist-detail/index.d.ts +33 -0
  271. package/locales/bs/global.json +2 -2
  272. package/locales/cs/global.json +2 -2
  273. package/locales/de/global.json +2 -2
  274. package/locales/es/global.json +2 -2
  275. package/locales/et/global.json +2 -2
  276. package/locales/fi/global.json +2 -2
  277. package/locales/fr/global.json +2 -2
  278. package/locales/hr/global.json +2 -2
  279. package/locales/hu/global.json +2 -2
  280. package/locales/hy/global.json +2 -2
  281. package/locales/it/global.json +2 -2
  282. package/locales/ja/global.json +2 -2
  283. package/locales/ko/global.json +2 -2
  284. package/locales/lt/global.json +2 -2
  285. package/locales/nl/global.json +2 -2
  286. package/locales/pl/global.json +2 -2
  287. package/locales/pt/global.json +2 -2
  288. package/locales/ro/global.json +2 -2
  289. package/locales/ru/global.json +2 -2
  290. package/locales/sk/global.json +2 -2
  291. package/locales/sl/global.json +2 -2
  292. package/locales/sv/global.json +2 -2
  293. package/locales/tl/global.json +2 -2
  294. package/locales/tr/global.json +2 -2
  295. package/locales/uk/global.json +2 -2
  296. package/locales/vi/global.json +2 -2
  297. package/locales/zh/global.json +2 -2
  298. package/locales/zh_TW/global.json +2 -2
  299. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","getOr","isEmpty","find","some","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","HeaderWithActions","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","SkillEdition","IconPickerModal","TranslationModal","ContentSkillModal","style","POPIN_THEMES","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","headerDefault","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","buildPopin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","hasVisibleBulletPointMenu","buttons","length","contentStyle","contentWithNotifications","contentListWithBulletPointMenu","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","oneOfType","oneOf","isRequired","string","bool","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport some from 'lodash/fp/some';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport TranslationModal from '../../../molecule/translation-modal';\nimport ContentSkillModal from '../../../organism/content-skill-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n if (!header) return null;\n\n return header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <div className={style.headerDefault}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n case 'translation':\n return <TranslationModal {...popin} />;\n case 'content':\n return <ContentSkillModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const hasVisibleBulletPointMenu =\n content?.type === 'list-content' &&\n pipe(\n getOr([], 'content.items'),\n some(pipe(getOr([], 'bulletPointMenuButton.buttons'), buttons => buttons.length > 0))\n )(content);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight,\n hasVisibleBulletPointMenu && style.contentListWithBulletPointMenu\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n }),\n PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted', 'draft'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n }),\n PropTypes.shape({\n ...TranslationModal.propTypes,\n type: PropTypes.oneOf(['translation'])\n }),\n PropTypes.shape({\n ...ContentSkillModal.propTypes,\n type: PropTypes.oneOf(['content'])\n })\n ]),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,KAAK,MAAM,iBAAiB;AACnC,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,WAAW,MAAM,gCAAgC;AACxD,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,uBAAuB,MAAM,6CAA6C;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+G,SAAS;AACxC,CAAC;AAED,eAAevB,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","getOr","isEmpty","find","some","classNames","BrandTabs","RadioGroup","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","HeaderWithActions","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","SkillEdition","IconPickerModal","TranslationModal","ContentSkillModal","style","POPIN_THEMES","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","headerDefault","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","buildPopin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","scopeControl","selectedTab","e","showTabs","subTabs","undefined","tabsWithScope","tabsNavigation","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","hasVisibleBulletPointMenu","buttons","length","contentStyle","contentWithNotifications","contentListWithBulletPointMenu","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","oneOfType","oneOf","isRequired","string","bool","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport some from 'lodash/fp/some';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport RadioGroup from '../../../atom/radio-group';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport TranslationModal from '../../../molecule/translation-modal';\nimport ContentSkillModal from '../../../organism/content-skill-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n if (!header) return null;\n\n return header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <div className={style.headerDefault}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n case 'translation':\n return <TranslationModal {...popin} />;\n case 'content':\n return <ContentSkillModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = (items, scopeControl) => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n if (scopeControl) {\n return (\n <div className={classNames(style.tabs, style.tabsWithScope)}>\n <div className={style.tabsNavigation}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n <div className={style.scopeControl}>\n <RadioGroup {...scopeControl} />\n </div>\n </div>\n );\n }\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title,\n scopeControl\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items, scopeControl);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const hasVisibleBulletPointMenu =\n content?.type === 'list-content' &&\n pipe(\n getOr([], 'content.items'),\n some(pipe(getOr([], 'bulletPointMenuButton.buttons'), buttons => buttons.length > 0))\n )(content);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight,\n hasVisibleBulletPointMenu && style.contentListWithBulletPointMenu\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n }),\n PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted', 'draft'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n }),\n PropTypes.shape({\n ...TranslationModal.propTypes,\n type: PropTypes.oneOf(['translation'])\n }),\n PropTypes.shape({\n ...ContentSkillModal.propTypes,\n type: PropTypes.oneOf(['content'])\n })\n ]),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes),\n scopeControl: PropTypes.shape(RadioGroup.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,KAAK,MAAM,iBAAiB;AACnC,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,2BAA2B;AAClD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,WAAW,MAAM,gCAAgC;AACxD,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,O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,CAAC+G,SAAS;IAC7B9F,IAAI,EAAElD,SAAS,CAACuJ,KAAK,CAAC,CAAC,aAAa,CAAC;EACvC,CAAC,CAAC,EACFvJ,SAAS,CAACqJ,KAAK,CAAC;IACd,GAAGnH,iBAAiB,CAAC8G,SAAS;IAC9B9F,IAAI,EAAElD,SAAS,CAACuJ,KAAK,CAAC,CAAC,SAAS,CAAC;EACnC,CAAC,CAAC,CACH,CAAC;EACFhC,OAAO,EAAEvH,SAAS,CAACqJ,KAAK,CAAC;IACvB,GAAGvI,UAAU,CAACkI,SAAS;IACvBhG,GAAG,EAAEhD,SAAS,CAACyJ,MAAM;IACrBvG,IAAI,EAAElD,SAAS,CAACuJ,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACF3F,WAAW,EAAE5D,SAAS,CAAC2J,IAAI;EAC3BhC,gBAAgB,EAAE3H,SAAS,CAAC0J,IAAI;EAChCzG,KAAK,EAAEjD,SAAS,CAACqJ,KAAK,CAACvH,KAAK,CAACkH,SAAS,CAAC;EACvCrC,YAAY,EAAE3G,SAAS,CAACqJ,KAAK,CAAC3I,UAAU,CAACsI,SAAS;AACpD,CAAC;AAED,eAAevB,WAAW","ignoreList":[]}
@@ -208,3 +208,21 @@
208
208
  margin: 0 auto;
209
209
  }
210
210
  }
211
+
212
+ .tabsWithScope {
213
+ display: flex;
214
+ flex-wrap: wrap;
215
+ align-items: center;
216
+ gap: 16px;
217
+ }
218
+
219
+ .tabsNavigation {
220
+ flex: 1 1 auto;
221
+ min-width: 0;
222
+ overflow-x: auto;
223
+ }
224
+
225
+ .scopeControl {
226
+ flex: 0 0 auto;
227
+ margin-left: auto;
228
+ }
@@ -196,6 +196,32 @@ declare namespace CertificationDetail {
196
196
  }> | null | undefined>>;
197
197
  backgroundImageUrl: PropTypes.Requireable<string>;
198
198
  descriptionText: PropTypes.Requireable<string>;
199
+ sections: PropTypes.Requireable<(PropTypes.InferProps<{
200
+ title: PropTypes.Requireable<string>;
201
+ items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
202
+ type: PropTypes.Requireable<string>;
203
+ title: PropTypes.Requireable<string>;
204
+ value: PropTypes.Requireable<string>;
205
+ }> | PropTypes.InferProps<{
206
+ type: PropTypes.Requireable<string>;
207
+ text: PropTypes.Requireable<string>;
208
+ unsaved: PropTypes.Requireable<boolean>;
209
+ diff: PropTypes.Requireable<string>;
210
+ diffLabel: PropTypes.Requireable<string>;
211
+ }> | PropTypes.InferProps<{
212
+ type: PropTypes.Requireable<string>;
213
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
214
+ category: PropTypes.Requireable<string>;
215
+ label: PropTypes.Requireable<string>;
216
+ }> | null | undefined)[]>;
217
+ badgeAriaLabel: PropTypes.Requireable<string>;
218
+ title: PropTypes.Requireable<string>;
219
+ author: PropTypes.Requireable<string>;
220
+ unsaved: PropTypes.Requireable<boolean>;
221
+ }> | null | undefined> | null | undefined)[]>;
222
+ counterText: PropTypes.Requireable<string>;
223
+ }> | null | undefined)[]>;
224
+ warning: PropTypes.Requireable<string>;
199
225
  cookieTitle: PropTypes.Requireable<string>;
200
226
  headerSubtitle: PropTypes.Requireable<string>;
201
227
  descriptionBtnTxt: PropTypes.Requireable<string>;
@@ -372,6 +398,11 @@ declare namespace CertificationDetail {
372
398
  size: PropTypes.Requireable<number>;
373
399
  wrapperSize: PropTypes.Requireable<number>;
374
400
  }>>;
401
+ imageOverlay: PropTypes.Requireable<string>;
402
+ contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
403
+ category: PropTypes.Requireable<string>;
404
+ label: PropTypes.Requireable<string>;
405
+ }>>;
375
406
  image: PropTypes.Requireable<string>;
376
407
  checkbox: PropTypes.Requireable<PropTypes.InferProps<{
377
408
  value: PropTypes.Requireable<string>;
@@ -389,6 +420,7 @@ declare namespace CertificationDetail {
389
420
  customStyle: PropTypes.Requireable<{
390
421
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
391
422
  }>;
423
+ className: PropTypes.Requireable<string>;
392
424
  }>>;
393
425
  }> | null | undefined)[]>;
394
426
  type: PropTypes.Requireable<string>;
@@ -783,6 +815,7 @@ declare namespace CertificationDetail {
783
815
  customStyle: PropTypes.Requireable<{
784
816
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
785
817
  }>;
818
+ className: PropTypes.Requireable<string>;
786
819
  }>>;
787
820
  actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
788
821
  type: PropTypes.Requireable<string>;
@@ -139,6 +139,32 @@ declare namespace Dashboard {
139
139
  }> | null | undefined>>;
140
140
  backgroundImageUrl: PropTypes.Requireable<string>;
141
141
  descriptionText: PropTypes.Requireable<string>;
142
+ sections: PropTypes.Requireable<(PropTypes.InferProps<{
143
+ title: PropTypes.Requireable<string>;
144
+ items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
145
+ type: PropTypes.Requireable<string>;
146
+ title: PropTypes.Requireable<string>;
147
+ value: PropTypes.Requireable<string>;
148
+ }> | PropTypes.InferProps<{
149
+ type: PropTypes.Requireable<string>;
150
+ text: PropTypes.Requireable<string>;
151
+ unsaved: PropTypes.Requireable<boolean>;
152
+ diff: PropTypes.Requireable<string>;
153
+ diffLabel: PropTypes.Requireable<string>;
154
+ }> | PropTypes.InferProps<{
155
+ type: PropTypes.Requireable<string>;
156
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
157
+ category: PropTypes.Requireable<string>;
158
+ label: PropTypes.Requireable<string>;
159
+ }> | null | undefined)[]>;
160
+ badgeAriaLabel: PropTypes.Requireable<string>;
161
+ title: PropTypes.Requireable<string>;
162
+ author: PropTypes.Requireable<string>;
163
+ unsaved: PropTypes.Requireable<boolean>;
164
+ }> | null | undefined> | null | undefined)[]>;
165
+ counterText: PropTypes.Requireable<string>;
166
+ }> | null | undefined)[]>;
167
+ warning: PropTypes.Requireable<string>;
142
168
  cookieTitle: PropTypes.Requireable<string>;
143
169
  headerSubtitle: PropTypes.Requireable<string>;
144
170
  descriptionBtnTxt: PropTypes.Requireable<string>;
@@ -315,6 +341,11 @@ declare namespace Dashboard {
315
341
  size: PropTypes.Requireable<number>;
316
342
  wrapperSize: PropTypes.Requireable<number>;
317
343
  }>>;
344
+ imageOverlay: PropTypes.Requireable<string>;
345
+ contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
346
+ category: PropTypes.Requireable<string>;
347
+ label: PropTypes.Requireable<string>;
348
+ }>>;
318
349
  image: PropTypes.Requireable<string>;
319
350
  checkbox: PropTypes.Requireable<PropTypes.InferProps<{
320
351
  value: PropTypes.Requireable<string>;
@@ -332,6 +363,7 @@ declare namespace Dashboard {
332
363
  customStyle: PropTypes.Requireable<{
333
364
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
334
365
  }>;
366
+ className: PropTypes.Requireable<string>;
335
367
  }>>;
336
368
  }> | null | undefined)[]>;
337
369
  type: PropTypes.Requireable<string>;
@@ -726,6 +758,7 @@ declare namespace Dashboard {
726
758
  customStyle: PropTypes.Requireable<{
727
759
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
728
760
  }>;
761
+ className: PropTypes.Requireable<string>;
729
762
  }>>;
730
763
  actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
731
764
  type: PropTypes.Requireable<string>;
@@ -1021,6 +1054,32 @@ declare namespace Dashboard {
1021
1054
  }> | null | undefined>>;
1022
1055
  backgroundImageUrl: PropTypes.Requireable<string>;
1023
1056
  descriptionText: PropTypes.Requireable<string>;
1057
+ sections: PropTypes.Requireable<(PropTypes.InferProps<{
1058
+ title: PropTypes.Requireable<string>;
1059
+ items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
1060
+ type: PropTypes.Requireable<string>;
1061
+ title: PropTypes.Requireable<string>;
1062
+ value: PropTypes.Requireable<string>;
1063
+ }> | PropTypes.InferProps<{
1064
+ type: PropTypes.Requireable<string>;
1065
+ text: PropTypes.Requireable<string>;
1066
+ unsaved: PropTypes.Requireable<boolean>;
1067
+ diff: PropTypes.Requireable<string>;
1068
+ diffLabel: PropTypes.Requireable<string>;
1069
+ }> | PropTypes.InferProps<{
1070
+ type: PropTypes.Requireable<string>;
1071
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
1072
+ category: PropTypes.Requireable<string>;
1073
+ label: PropTypes.Requireable<string>;
1074
+ }> | null | undefined)[]>;
1075
+ badgeAriaLabel: PropTypes.Requireable<string>;
1076
+ title: PropTypes.Requireable<string>;
1077
+ author: PropTypes.Requireable<string>;
1078
+ unsaved: PropTypes.Requireable<boolean>;
1079
+ }> | null | undefined> | null | undefined)[]>;
1080
+ counterText: PropTypes.Requireable<string>;
1081
+ }> | null | undefined)[]>;
1082
+ warning: PropTypes.Requireable<string>;
1024
1083
  cookieTitle: PropTypes.Requireable<string>;
1025
1084
  headerSubtitle: PropTypes.Requireable<string>;
1026
1085
  descriptionBtnTxt: PropTypes.Requireable<string>;
@@ -1197,6 +1256,11 @@ declare namespace Dashboard {
1197
1256
  size: PropTypes.Requireable<number>;
1198
1257
  wrapperSize: PropTypes.Requireable<number>;
1199
1258
  }>>;
1259
+ imageOverlay: PropTypes.Requireable<string>;
1260
+ contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
1261
+ category: PropTypes.Requireable<string>;
1262
+ label: PropTypes.Requireable<string>;
1263
+ }>>;
1200
1264
  image: PropTypes.Requireable<string>;
1201
1265
  checkbox: PropTypes.Requireable<PropTypes.InferProps<{
1202
1266
  value: PropTypes.Requireable<string>;
@@ -1214,6 +1278,7 @@ declare namespace Dashboard {
1214
1278
  customStyle: PropTypes.Requireable<{
1215
1279
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1216
1280
  }>;
1281
+ className: PropTypes.Requireable<string>;
1217
1282
  }>>;
1218
1283
  }> | null | undefined)[]>;
1219
1284
  type: PropTypes.Requireable<string>;
@@ -1608,6 +1673,7 @@ declare namespace Dashboard {
1608
1673
  customStyle: PropTypes.Requireable<{
1609
1674
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1610
1675
  }>;
1676
+ className: PropTypes.Requireable<string>;
1611
1677
  }>>;
1612
1678
  actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
1613
1679
  type: PropTypes.Requireable<string>;
@@ -423,6 +423,32 @@ declare namespace SearchPage {
423
423
  }> | null | undefined>>;
424
424
  backgroundImageUrl: PropTypes.Requireable<string>;
425
425
  descriptionText: PropTypes.Requireable<string>;
426
+ sections: PropTypes.Requireable<(PropTypes.InferProps<{
427
+ title: PropTypes.Requireable<string>;
428
+ items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
429
+ type: PropTypes.Requireable<string>;
430
+ title: PropTypes.Requireable<string>;
431
+ value: PropTypes.Requireable<string>;
432
+ }> | PropTypes.InferProps<{
433
+ type: PropTypes.Requireable<string>;
434
+ text: PropTypes.Requireable<string>;
435
+ unsaved: PropTypes.Requireable<boolean>;
436
+ diff: PropTypes.Requireable<string>;
437
+ diffLabel: PropTypes.Requireable<string>;
438
+ }> | PropTypes.InferProps<{
439
+ type: PropTypes.Requireable<string>;
440
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
441
+ category: PropTypes.Requireable<string>;
442
+ label: PropTypes.Requireable<string>;
443
+ }> | null | undefined)[]>;
444
+ badgeAriaLabel: PropTypes.Requireable<string>;
445
+ title: PropTypes.Requireable<string>;
446
+ author: PropTypes.Requireable<string>;
447
+ unsaved: PropTypes.Requireable<boolean>;
448
+ }> | null | undefined> | null | undefined)[]>;
449
+ counterText: PropTypes.Requireable<string>;
450
+ }> | null | undefined)[]>;
451
+ warning: PropTypes.Requireable<string>;
426
452
  cookieTitle: PropTypes.Requireable<string>;
427
453
  headerSubtitle: PropTypes.Requireable<string>;
428
454
  descriptionBtnTxt: PropTypes.Requireable<string>;
@@ -599,6 +625,11 @@ declare namespace SearchPage {
599
625
  size: PropTypes.Requireable<number>;
600
626
  wrapperSize: PropTypes.Requireable<number>;
601
627
  }>>;
628
+ imageOverlay: PropTypes.Requireable<string>;
629
+ contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
630
+ category: PropTypes.Requireable<string>;
631
+ label: PropTypes.Requireable<string>;
632
+ }>>;
602
633
  image: PropTypes.Requireable<string>;
603
634
  checkbox: PropTypes.Requireable<PropTypes.InferProps<{
604
635
  value: PropTypes.Requireable<string>;
@@ -616,6 +647,7 @@ declare namespace SearchPage {
616
647
  customStyle: PropTypes.Requireable<{
617
648
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
618
649
  }>;
650
+ className: PropTypes.Requireable<string>;
619
651
  }>>;
620
652
  }> | null | undefined)[]>;
621
653
  type: PropTypes.Requireable<string>;
@@ -1010,6 +1042,7 @@ declare namespace SearchPage {
1010
1042
  customStyle: PropTypes.Requireable<{
1011
1043
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1012
1044
  }>;
1045
+ className: PropTypes.Requireable<string>;
1013
1046
  }>>;
1014
1047
  actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
1015
1048
  type: PropTypes.Requireable<string>;
@@ -157,6 +157,32 @@ declare namespace ExternalCourse {
157
157
  }> | null | undefined>>;
158
158
  backgroundImageUrl: PropTypes.Requireable<string>;
159
159
  descriptionText: PropTypes.Requireable<string>;
160
+ sections: PropTypes.Requireable<(PropTypes.InferProps<{
161
+ title: PropTypes.Requireable<string>;
162
+ items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
163
+ type: PropTypes.Requireable<string>;
164
+ title: PropTypes.Requireable<string>;
165
+ value: PropTypes.Requireable<string>;
166
+ }> | PropTypes.InferProps<{
167
+ type: PropTypes.Requireable<string>;
168
+ text: PropTypes.Requireable<string>;
169
+ unsaved: PropTypes.Requireable<boolean>;
170
+ diff: PropTypes.Requireable<string>;
171
+ diffLabel: PropTypes.Requireable<string>;
172
+ }> | PropTypes.InferProps<{
173
+ type: PropTypes.Requireable<string>;
174
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
175
+ category: PropTypes.Requireable<string>;
176
+ label: PropTypes.Requireable<string>;
177
+ }> | null | undefined)[]>;
178
+ badgeAriaLabel: PropTypes.Requireable<string>;
179
+ title: PropTypes.Requireable<string>;
180
+ author: PropTypes.Requireable<string>;
181
+ unsaved: PropTypes.Requireable<boolean>;
182
+ }> | null | undefined> | null | undefined)[]>;
183
+ counterText: PropTypes.Requireable<string>;
184
+ }> | null | undefined)[]>;
185
+ warning: PropTypes.Requireable<string>;
160
186
  cookieTitle: PropTypes.Requireable<string>;
161
187
  headerSubtitle: PropTypes.Requireable<string>;
162
188
  descriptionBtnTxt: PropTypes.Requireable<string>;
@@ -333,6 +359,11 @@ declare namespace ExternalCourse {
333
359
  size: PropTypes.Requireable<number>;
334
360
  wrapperSize: PropTypes.Requireable<number>;
335
361
  }>>;
362
+ imageOverlay: PropTypes.Requireable<string>;
363
+ contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
364
+ category: PropTypes.Requireable<string>;
365
+ label: PropTypes.Requireable<string>;
366
+ }>>;
336
367
  image: PropTypes.Requireable<string>;
337
368
  checkbox: PropTypes.Requireable<PropTypes.InferProps<{
338
369
  value: PropTypes.Requireable<string>;
@@ -350,6 +381,7 @@ declare namespace ExternalCourse {
350
381
  customStyle: PropTypes.Requireable<{
351
382
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
352
383
  }>;
384
+ className: PropTypes.Requireable<string>;
353
385
  }>>;
354
386
  }> | null | undefined)[]>;
355
387
  type: PropTypes.Requireable<string>;
@@ -744,6 +776,7 @@ declare namespace ExternalCourse {
744
776
  customStyle: PropTypes.Requireable<{
745
777
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
746
778
  }>;
779
+ className: PropTypes.Requireable<string>;
747
780
  }>>;
748
781
  actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
749
782
  type: PropTypes.Requireable<string>;
@@ -226,6 +226,32 @@ declare namespace PlaylistDetail {
226
226
  }> | null | undefined>>;
227
227
  backgroundImageUrl: PropTypes.Requireable<string>;
228
228
  descriptionText: PropTypes.Requireable<string>;
229
+ sections: PropTypes.Requireable<(PropTypes.InferProps<{
230
+ title: PropTypes.Requireable<string>;
231
+ items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
232
+ type: PropTypes.Requireable<string>;
233
+ title: PropTypes.Requireable<string>;
234
+ value: PropTypes.Requireable<string>;
235
+ }> | PropTypes.InferProps<{
236
+ type: PropTypes.Requireable<string>;
237
+ text: PropTypes.Requireable<string>;
238
+ unsaved: PropTypes.Requireable<boolean>;
239
+ diff: PropTypes.Requireable<string>;
240
+ diffLabel: PropTypes.Requireable<string>;
241
+ }> | PropTypes.InferProps<{
242
+ type: PropTypes.Requireable<string>;
243
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
244
+ category: PropTypes.Requireable<string>;
245
+ label: PropTypes.Requireable<string>;
246
+ }> | null | undefined)[]>;
247
+ badgeAriaLabel: PropTypes.Requireable<string>;
248
+ title: PropTypes.Requireable<string>;
249
+ author: PropTypes.Requireable<string>;
250
+ unsaved: PropTypes.Requireable<boolean>;
251
+ }> | null | undefined> | null | undefined)[]>;
252
+ counterText: PropTypes.Requireable<string>;
253
+ }> | null | undefined)[]>;
254
+ warning: PropTypes.Requireable<string>;
229
255
  cookieTitle: PropTypes.Requireable<string>;
230
256
  headerSubtitle: PropTypes.Requireable<string>;
231
257
  descriptionBtnTxt: PropTypes.Requireable<string>;
@@ -402,6 +428,11 @@ declare namespace PlaylistDetail {
402
428
  size: PropTypes.Requireable<number>;
403
429
  wrapperSize: PropTypes.Requireable<number>;
404
430
  }>>;
431
+ imageOverlay: PropTypes.Requireable<string>;
432
+ contentBadge: PropTypes.Requireable<PropTypes.InferProps<{
433
+ category: PropTypes.Requireable<string>;
434
+ label: PropTypes.Requireable<string>;
435
+ }>>;
405
436
  image: PropTypes.Requireable<string>;
406
437
  checkbox: PropTypes.Requireable<PropTypes.InferProps<{
407
438
  value: PropTypes.Requireable<string>;
@@ -419,6 +450,7 @@ declare namespace PlaylistDetail {
419
450
  customStyle: PropTypes.Requireable<{
420
451
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
421
452
  }>;
453
+ className: PropTypes.Requireable<string>;
422
454
  }>>;
423
455
  }> | null | undefined)[]>;
424
456
  type: PropTypes.Requireable<string>;
@@ -813,6 +845,7 @@ declare namespace PlaylistDetail {
813
845
  customStyle: PropTypes.Requireable<{
814
846
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
815
847
  }>;
848
+ className: PropTypes.Requireable<string>;
816
849
  }>>;
817
850
  actionButtons: PropTypes.Requireable<(PropTypes.InferProps<{
818
851
  type: PropTypes.Requireable<string>;
@@ -17,6 +17,7 @@ declare namespace CheckboxWithTitle {
17
17
  customStyle: PropTypes.Requireable<{
18
18
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
19
19
  }>;
20
+ className: PropTypes.Requireable<string>;
20
21
  };
21
22
  namespace contextTypes {
22
23
  const skin: PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/checkbox-with-title/index.js"],"names":[],"mappings":";AAUA,0EAiEC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/checkbox-with-title/index.js"],"names":[],"mappings":";AAWA,0EAkEC"}
@@ -7,6 +7,7 @@ var _noop2 = _interopRequireDefault(require("lodash/fp/noop"));
7
7
  var _getOr2 = _interopRequireDefault(require("lodash/fp/getOr"));
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _classnames = _interopRequireDefault(require("classnames"));
10
11
  var _icon = _interopRequireDefault(require("../icon"));
11
12
  var _colors = require("../../variables/colors");
12
13
  var _provider = _interopRequireDefault(require("../provider"));
@@ -33,7 +34,8 @@ const CheckboxWithTitle = (props, context) => {
33
34
  iconColor: 'white',
34
35
  preset: 's'
35
36
  },
36
- customStyle = {}
37
+ customStyle = {},
38
+ className
37
39
  } = props;
38
40
  const {
39
41
  skin
@@ -47,7 +49,7 @@ const CheckboxWithTitle = (props, context) => {
47
49
  const idCheckbox = (0, _react.useMemo)(() => (0, _uniqueId2.default)('input-checkbox-'), []);
48
50
  const handleChange = (0, _react.useMemo)(() => e => onChange(e.target.checked), [onChange]);
49
51
  return /*#__PURE__*/_react.default.createElement("div", {
50
- className: _style.default.container,
52
+ className: (0, _classnames.default)(_style.default.container, className),
51
53
  style: {
52
54
  ...customStyle
53
55
  }
@@ -101,7 +103,8 @@ CheckboxWithTitle.propTypes = process.env.NODE_ENV !== "production" ? {
101
103
  iconColor: _propTypes.default.string,
102
104
  preset: _propTypes.default.string
103
105
  }),
104
- customStyle: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number]))
106
+ customStyle: _propTypes.default.objectOf(_propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])),
107
+ className: _propTypes.default.string
105
108
  } : {};
106
109
  CheckboxWithTitle.contextTypes = {
107
110
  skin: _provider.default.childContextTypes.skin