@coorpacademy/components 11.35.3-alpha.3 → 11.35.3-forcedeploy10.7

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 (258) hide show
  1. package/es/atom/button-link/index.js +1 -1
  2. package/es/atom/button-link/index.js.map +1 -1
  3. package/es/atom/button-link/style.css +2 -2
  4. package/es/atom/icon/index.d.ts +35 -17
  5. package/es/atom/icon/index.d.ts.map +1 -1
  6. package/es/atom/icon/index.js +32 -15
  7. package/es/atom/icon/index.js.map +1 -1
  8. package/es/atom/radio-with-title/index.d.ts +13 -3
  9. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  10. package/es/atom/radio-with-title/types.d.ts +13 -2
  11. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  12. package/es/atom/status-item/index.native.js +2 -2
  13. package/es/atom/status-item/index.native.js.map +1 -1
  14. package/es/atom/tag/index.d.ts +12 -1
  15. package/es/atom/tag/style.css +1 -0
  16. package/es/atom/title/index.d.ts +13 -2
  17. package/es/molecule/banner/style.css +1 -0
  18. package/es/molecule/base-modal/style.css +0 -1
  19. package/es/molecule/bulk-progress-bar/index.js +2 -2
  20. package/es/molecule/bulk-progress-bar/index.js.map +1 -1
  21. package/es/molecule/certification-card/index.js +1 -1
  22. package/es/molecule/certification-card/index.js.map +1 -1
  23. package/es/molecule/cm-popin/types.d.ts +28 -7
  24. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  25. package/es/molecule/cm-popin/types.js +1 -1
  26. package/es/molecule/cm-popin/types.js.map +1 -1
  27. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  28. package/es/molecule/dashboard/cards-list/index.js +2 -0
  29. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  30. package/es/molecule/icon-preview/index.d.ts +5 -2
  31. package/es/molecule/icon-preview/index.d.ts.map +1 -1
  32. package/es/molecule/icon-preview/index.js +13 -2
  33. package/es/molecule/icon-preview/index.js.map +1 -1
  34. package/es/molecule/icon-preview/style.css +0 -1
  35. package/es/molecule/learner-skill-card/index.js +10 -8
  36. package/es/molecule/learner-skill-card/index.js.map +1 -1
  37. package/es/molecule/learner-skill-card/style.css +1 -0
  38. package/es/molecule/learning-priority-modal/style.css +3 -2
  39. package/es/molecule/progress-wrapper/index.js +1 -1
  40. package/es/molecule/progress-wrapper/index.js.map +1 -1
  41. package/es/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  42. package/es/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  43. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +13 -2
  44. package/es/molecule/title-radio-wrapper/index.d.ts +13 -3
  45. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  46. package/es/molecule/title-radio-wrapper/types.d.ts +13 -2
  47. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  48. package/es/organism/cards-grid/index.d.ts +48 -10
  49. package/es/organism/cards-grid/index.d.ts.map +1 -1
  50. package/es/organism/cards-grid/index.js +3 -2
  51. package/es/organism/cards-grid/index.js.map +1 -1
  52. package/es/organism/content-skill-modal/index.d.ts +13 -3
  53. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  54. package/es/organism/content-skill-modal/types.d.ts +12 -2
  55. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  56. package/es/organism/header-with-actions/index.d.ts +8 -22
  57. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  58. package/es/organism/header-with-actions/index.js +7 -85
  59. package/es/organism/header-with-actions/index.js.map +1 -1
  60. package/es/organism/header-with-actions/types.d.ts +13 -44
  61. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  62. package/es/organism/header-with-actions/types.js +6 -22
  63. package/es/organism/header-with-actions/types.js.map +1 -1
  64. package/es/organism/list-item/index.js +5 -5
  65. package/es/organism/list-item/index.js.map +1 -1
  66. package/es/organism/list-item/style.css +23 -17
  67. package/es/organism/list-items/index.d.ts +13 -2
  68. package/es/organism/rewards-form/index.d.ts +13 -2
  69. package/es/organism/select-opponents/index.d.ts +13 -3
  70. package/es/organism/select-opponents/index.d.ts.map +1 -1
  71. package/es/organism/select-opponents/types.d.ts +13 -2
  72. package/es/organism/select-opponents/types.d.ts.map +1 -1
  73. package/es/organism/sidebar/index.d.ts +2 -2
  74. package/es/organism/skill-edition/index.js +2 -2
  75. package/es/organism/skill-edition/index.js.map +1 -1
  76. package/es/organism/title-and-input/index.d.ts +25 -5
  77. package/es/organism/title-and-input/index.d.ts.map +1 -1
  78. package/es/organism/title-and-input/types.d.ts +24 -4
  79. package/es/organism/title-and-input/types.d.ts.map +1 -1
  80. package/es/organism/wizard-contents/index.d.ts +13 -2
  81. package/es/template/app-player/loading/index.d.ts +27 -6
  82. package/es/template/app-player/player/index.d.ts +53 -12
  83. package/es/template/app-player/player/slides/index.d.ts +27 -6
  84. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  85. package/es/template/app-player/popin-correction/index.d.ts +26 -6
  86. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  87. package/es/template/app-player/popin-end/index.d.ts +27 -6
  88. package/es/template/app-review/index.d.ts +27 -7
  89. package/es/template/app-review/index.d.ts.map +1 -1
  90. package/es/template/app-review/player/prop-types.d.ts +27 -6
  91. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  92. package/es/template/app-review/prop-types.d.ts +27 -6
  93. package/es/template/app-review/prop-types.d.ts.map +1 -1
  94. package/es/template/back-office/brand-update/index.d.ts +71 -34
  95. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  96. package/es/template/back-office/brand-update/index.js +2 -4
  97. package/es/template/back-office/brand-update/index.js.map +1 -1
  98. package/es/template/back-office/brand-update/style.css +1 -4
  99. package/es/template/back-office/brand-update/utils.d.ts +11 -39
  100. package/es/template/back-office/brand-update/utils.js +1 -20
  101. package/es/template/back-office/brand-update/utils.js.map +1 -1
  102. package/es/template/common/dashboard/index.d.ts +53 -12
  103. package/es/template/common/search-page/index.d.ts +27 -6
  104. package/es/template/external-course/index.d.ts +27 -6
  105. package/es/template/my-learning/index.d.ts.map +1 -1
  106. package/es/template/my-learning/index.js +1 -1
  107. package/es/template/my-learning/index.js.map +1 -1
  108. package/es/template/skill-detail/all-courses.css +9 -10
  109. package/es/template/skill-detail/all-courses.d.ts +50 -47
  110. package/es/template/skill-detail/all-courses.d.ts.map +1 -1
  111. package/es/template/skill-detail/all-courses.js +14 -23
  112. package/es/template/skill-detail/all-courses.js.map +1 -1
  113. package/es/template/skill-detail/continue-learning.css +7 -2
  114. package/es/template/skill-detail/continue-learning.d.ts +25 -12
  115. package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
  116. package/es/template/skill-detail/continue-learning.js.map +1 -1
  117. package/es/template/skill-detail/index.d.ts +89 -71
  118. package/es/template/skill-detail/index.d.ts.map +1 -1
  119. package/es/template/skill-detail/index.js +99 -55
  120. package/es/template/skill-detail/index.js.map +1 -1
  121. package/es/template/skill-detail/style.css +188 -36
  122. package/es/variables/colors.css +2 -0
  123. package/es/variables/colors.d.ts +4 -3
  124. package/es/variables/colors.d.ts.map +1 -1
  125. package/es/variables/colors.js +5 -4
  126. package/es/variables/colors.js.map +1 -1
  127. package/es/variables/theme.native.js +1 -1
  128. package/es/variables/theme.native.js.map +1 -1
  129. package/lib/atom/button-link/index.js +1 -1
  130. package/lib/atom/button-link/index.js.map +1 -1
  131. package/lib/atom/button-link/style.css +2 -2
  132. package/lib/atom/icon/index.d.ts +35 -17
  133. package/lib/atom/icon/index.d.ts.map +1 -1
  134. package/lib/atom/icon/index.js +34 -18
  135. package/lib/atom/icon/index.js.map +1 -1
  136. package/lib/atom/radio-with-title/index.d.ts +13 -3
  137. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  138. package/lib/atom/radio-with-title/types.d.ts +13 -2
  139. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  140. package/lib/atom/status-item/index.native.js +2 -2
  141. package/lib/atom/status-item/index.native.js.map +1 -1
  142. package/lib/atom/tag/index.d.ts +12 -1
  143. package/lib/atom/tag/style.css +1 -0
  144. package/lib/atom/title/index.d.ts +13 -2
  145. package/lib/molecule/banner/style.css +1 -0
  146. package/lib/molecule/base-modal/style.css +0 -1
  147. package/lib/molecule/bulk-progress-bar/index.js +2 -2
  148. package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
  149. package/lib/molecule/certification-card/index.js +1 -1
  150. package/lib/molecule/certification-card/index.js.map +1 -1
  151. package/lib/molecule/cm-popin/types.d.ts +28 -7
  152. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  153. package/lib/molecule/cm-popin/types.js +1 -1
  154. package/lib/molecule/cm-popin/types.js.map +1 -1
  155. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  156. package/lib/molecule/dashboard/cards-list/index.js +2 -0
  157. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  158. package/lib/molecule/icon-preview/index.d.ts +5 -2
  159. package/lib/molecule/icon-preview/index.d.ts.map +1 -1
  160. package/lib/molecule/icon-preview/index.js +13 -2
  161. package/lib/molecule/icon-preview/index.js.map +1 -1
  162. package/lib/molecule/icon-preview/style.css +0 -1
  163. package/lib/molecule/learner-skill-card/index.js +10 -8
  164. package/lib/molecule/learner-skill-card/index.js.map +1 -1
  165. package/lib/molecule/learner-skill-card/style.css +1 -0
  166. package/lib/molecule/learning-priority-modal/style.css +3 -2
  167. package/lib/molecule/progress-wrapper/index.js +1 -1
  168. package/lib/molecule/progress-wrapper/index.js.map +1 -1
  169. package/lib/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  170. package/lib/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  171. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +13 -2
  172. package/lib/molecule/title-radio-wrapper/index.d.ts +13 -3
  173. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  174. package/lib/molecule/title-radio-wrapper/types.d.ts +13 -2
  175. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  176. package/lib/organism/cards-grid/index.d.ts +48 -10
  177. package/lib/organism/cards-grid/index.d.ts.map +1 -1
  178. package/lib/organism/cards-grid/index.js +3 -2
  179. package/lib/organism/cards-grid/index.js.map +1 -1
  180. package/lib/organism/content-skill-modal/index.d.ts +13 -3
  181. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  182. package/lib/organism/content-skill-modal/types.d.ts +12 -2
  183. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  184. package/lib/organism/header-with-actions/index.d.ts +8 -22
  185. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  186. package/lib/organism/header-with-actions/index.js +7 -85
  187. package/lib/organism/header-with-actions/index.js.map +1 -1
  188. package/lib/organism/header-with-actions/types.d.ts +13 -44
  189. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  190. package/lib/organism/header-with-actions/types.js +6 -22
  191. package/lib/organism/header-with-actions/types.js.map +1 -1
  192. package/lib/organism/list-item/index.js +5 -5
  193. package/lib/organism/list-item/index.js.map +1 -1
  194. package/lib/organism/list-item/style.css +23 -17
  195. package/lib/organism/list-items/index.d.ts +13 -2
  196. package/lib/organism/rewards-form/index.d.ts +13 -2
  197. package/lib/organism/select-opponents/index.d.ts +13 -3
  198. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  199. package/lib/organism/select-opponents/types.d.ts +13 -2
  200. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  201. package/lib/organism/sidebar/index.d.ts +2 -2
  202. package/lib/organism/skill-edition/index.js +2 -2
  203. package/lib/organism/skill-edition/index.js.map +1 -1
  204. package/lib/organism/title-and-input/index.d.ts +25 -5
  205. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  206. package/lib/organism/title-and-input/types.d.ts +24 -4
  207. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  208. package/lib/organism/wizard-contents/index.d.ts +13 -2
  209. package/lib/template/app-player/loading/index.d.ts +27 -6
  210. package/lib/template/app-player/player/index.d.ts +53 -12
  211. package/lib/template/app-player/player/slides/index.d.ts +27 -6
  212. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  213. package/lib/template/app-player/popin-correction/index.d.ts +26 -6
  214. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  215. package/lib/template/app-player/popin-end/index.d.ts +27 -6
  216. package/lib/template/app-review/index.d.ts +27 -7
  217. package/lib/template/app-review/index.d.ts.map +1 -1
  218. package/lib/template/app-review/player/prop-types.d.ts +27 -6
  219. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  220. package/lib/template/app-review/prop-types.d.ts +27 -6
  221. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  222. package/lib/template/back-office/brand-update/index.d.ts +71 -34
  223. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  224. package/lib/template/back-office/brand-update/index.js +2 -4
  225. package/lib/template/back-office/brand-update/index.js.map +1 -1
  226. package/lib/template/back-office/brand-update/style.css +1 -4
  227. package/lib/template/back-office/brand-update/utils.d.ts +11 -39
  228. package/lib/template/back-office/brand-update/utils.js +1 -20
  229. package/lib/template/back-office/brand-update/utils.js.map +1 -1
  230. package/lib/template/common/dashboard/index.d.ts +53 -12
  231. package/lib/template/common/search-page/index.d.ts +27 -6
  232. package/lib/template/external-course/index.d.ts +27 -6
  233. package/lib/template/my-learning/index.d.ts.map +1 -1
  234. package/lib/template/my-learning/index.js +1 -1
  235. package/lib/template/my-learning/index.js.map +1 -1
  236. package/lib/template/skill-detail/all-courses.css +9 -10
  237. package/lib/template/skill-detail/all-courses.d.ts +50 -47
  238. package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
  239. package/lib/template/skill-detail/all-courses.js +13 -23
  240. package/lib/template/skill-detail/all-courses.js.map +1 -1
  241. package/lib/template/skill-detail/continue-learning.css +7 -2
  242. package/lib/template/skill-detail/continue-learning.d.ts +25 -12
  243. package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
  244. package/lib/template/skill-detail/continue-learning.js.map +1 -1
  245. package/lib/template/skill-detail/index.d.ts +89 -71
  246. package/lib/template/skill-detail/index.d.ts.map +1 -1
  247. package/lib/template/skill-detail/index.js +99 -55
  248. package/lib/template/skill-detail/index.js.map +1 -1
  249. package/lib/template/skill-detail/style.css +188 -36
  250. package/lib/variables/colors.css +2 -0
  251. package/lib/variables/colors.d.ts +4 -3
  252. package/lib/variables/colors.d.ts.map +1 -1
  253. package/lib/variables/colors.js +5 -4
  254. package/lib/variables/colors.js.map +1 -1
  255. package/lib/variables/theme.native.js +1 -1
  256. package/lib/variables/theme.native.js.map +1 -1
  257. package/package.json +2 -2
  258. package/locales/.mtslconfig.json +0 -1
@@ -102,9 +102,7 @@ const buildNotifications = notifications => {
102
102
  const buildHeader = header => {
103
103
  return /*#__PURE__*/React.createElement("div", {
104
104
  className: style.header
105
- }, header.type === 'header-with-actions' ? /*#__PURE__*/React.createElement(HeaderWithActions, header) : /*#__PURE__*/React.createElement("div", {
106
- className: style.headerStickyDefault
107
- }, /*#__PURE__*/React.createElement(Header, header)));
105
+ }, header.type === 'header-with-actions' ? /*#__PURE__*/React.createElement(HeaderWithActions, header) : /*#__PURE__*/React.createElement(Header, header));
108
106
  };
109
107
  const buildDefaultPopin = popin => {
110
108
  const {
@@ -352,7 +350,7 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
352
350
  }),
353
351
  popin: PropTypes.oneOfType([PropTypes.shape({
354
352
  ...CmPopin.propTypes,
355
- theme: PropTypes.oneOf(['published', 'archived', 'deleted', 'draft'])
353
+ theme: PropTypes.oneOf(['published', 'archived', 'deleted'])
356
354
  }), PropTypes.shape({
357
355
  ...IconPickerModal.propTypes,
358
356
  type: PropTypes.oneOf(['icon-picker'])
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","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","headerStickyDefault","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","contentStyle","contentWithNotifications","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 isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\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 return (\n <div className={style.header}>\n {header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <div className={style.headerStickyDefault}>\n <Header {...header} />\n </div>\n )}\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 contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\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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AAS,CAACiJ,IAAI;EAC3B5B,gBAAgB,EAAErH,SAAS,CAACgJ,IAAI;EAChClG,KAAK,EAAE9C,SAAS,CAAC2I,KAAK,CAAChH,KAAK,CAAC2G,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","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","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","contentStyle","contentWithNotifications","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 isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\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 return (\n <div className={style.header}>\n {header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <Header {...header} />\n )}\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 contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\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'])\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,OAAO,MAAM,mBAAmB;AACvC,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;AACjF,OAAOC,MAAM,MAAM,0BAA0B;AAC7C,OAAOC,MAAM,MAAM,gCAAgC;AACnD,OAAOC,iBAAiB,MAAM,uCAAuC;AACrE,OAAOC,MAAM,MAAM,sBAAsB;AACzC,OAAOC,SAAS,MAAM,2CAA2C;AACjE,OAAOC,OAAO,MAAM,4BAA4B;AAChD,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,OAAOC,yBAAyB,MAAM,+CAA+C;AACrF,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,KAAK,MAAM,qBAAqB;AACvC,OAAOC,YAAY,MAAM,iCAAiC;AAC1D,OAAOC,eAAe,MAAM,qCAAqC;AACjE,OAAOC,gBAAgB,MAAM,qCAAqC;AAClE,OAAOC,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5B,OAAO,EAAEhH,SAAS,CAAC0I,KAAK,CAAC;IACvB,GAAG/H,UAAU,CAAC0H,SAAS;IACvBxF,GAAG,EAAE7C,SAAS,CAAC8I,MAAM;IACrB/F,IAAI,EAAE/C,SAAS,CAAC4I,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACFnF,WAAW,EAAEzD,SAAS,CAACgJ,IAAI;EAC3B5B,gBAAgB,EAAEpH,SAAS,CAAC+I,IAAI;EAChCjG,KAAK,EAAE9C,SAAS,CAAC0I,KAAK,CAAC/G,KAAK,CAAC0G,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
@@ -41,14 +41,11 @@
41
41
  }
42
42
 
43
43
  .headerSticky {
44
+ overflow: hidden;
44
45
  background-color: white;
45
46
  position: fixed;
46
47
  width: calc(100% - 351px);
47
48
  z-index: 999;
48
- }
49
-
50
- .headerStickyDefault {
51
- overflow: hidden;
52
49
  pointer-events: none;
53
50
  }
54
51
 
@@ -17,7 +17,7 @@ export namespace POPIN_THEMES {
17
17
  const position: string;
18
18
  namespace faIcon {
19
19
  const name: string;
20
- const color: "#ffffff";
20
+ const color: "#FFFFFF";
21
21
  const size: number;
22
22
  namespace customStyle {
23
23
  const padding: number;
@@ -29,25 +29,6 @@ export namespace POPIN_THEMES {
29
29
  export const type: string;
30
30
  }
31
31
  }
32
- namespace draft {
33
- import icon_4 = ICON_PROPS.draft;
34
- export { icon_4 as icon };
35
- export namespace actionButton_1 {
36
- export namespace icon_5 {
37
- const position_1: string;
38
- export { position_1 as position };
39
- export namespace faIcon_1 {
40
- const name_1: string;
41
- export { name_1 as name };
42
- }
43
- export { faIcon_1 as faIcon };
44
- }
45
- export { icon_5 as icon };
46
- const type_1: string;
47
- export { type_1 as type };
48
- }
49
- export { actionButton_1 as actionButton };
50
- }
51
32
  }
52
33
  declare namespace ICON_PROPS {
53
34
  export namespace published_1 {
@@ -79,29 +60,20 @@ declare namespace ICON_PROPS {
79
60
  export { preset_2 as preset };
80
61
  }
81
62
  export { deleted_1 as deleted };
82
- export namespace draft_1 {
83
- const iconName_3: string;
84
- export { iconName_3 as iconName };
85
- const iconColor_3: "#A38300";
86
- export { iconColor_3 as iconColor };
87
- const backgroundColor_3: "#FFF9D1";
88
- export { backgroundColor_3 as backgroundColor };
89
- const preset_3: string;
90
- export { preset_3 as preset };
91
- }
92
- export { draft_1 as draft };
93
63
  }
94
64
  declare namespace COMMUN_ACTION_BUTTON_PROPS {
95
- export namespace icon_6 {
96
- const position_2: string;
97
- export { position_2 as position };
98
- export namespace faIcon_2 {
99
- const name_2: string;
100
- export { name_2 as name };
65
+ export namespace icon_4 {
66
+ const position_1: string;
67
+ export { position_1 as position };
68
+ export namespace faIcon_1 {
69
+ const name_1: string;
70
+ export { name_1 as name };
101
71
  }
102
- export { faIcon_2 as faIcon };
72
+ export { faIcon_1 as faIcon };
103
73
  }
104
- export { icon_6 as icon };
74
+ export { icon_4 as icon };
75
+ const type_1: string;
76
+ export { type_1 as type };
105
77
  }
106
78
  export {};
107
79
  //# sourceMappingURL=utils.d.ts.map
@@ -18,7 +18,7 @@ const ICON_PROPS = {
18
18
  published: {
19
19
  iconName: 'cloud-arrow-up',
20
20
  iconColor: COLORS.cm_grey_500,
21
- backgroundColor: COLORS.gray,
21
+ backgroundColor: COLORS.cm_grey_100,
22
22
  preset: 'xl'
23
23
  },
24
24
  archived: {
@@ -32,12 +32,6 @@ const ICON_PROPS = {
32
32
  iconColor: COLORS.red_700,
33
33
  backgroundColor: COLORS.red_100,
34
34
  preset: 'xl'
35
- },
36
- draft: {
37
- iconName: 'circle-exclamation',
38
- iconColor: COLORS.yellow_700,
39
- backgroundColor: COLORS.yellow_100,
40
- preset: 'xl'
41
35
  }
42
36
  };
43
37
  export const POPIN_THEMES = {
@@ -61,19 +55,6 @@ export const POPIN_THEMES = {
61
55
  },
62
56
  type: 'dangerous'
63
57
  }
64
- },
65
- draft: {
66
- icon: ICON_PROPS.draft,
67
- actionButton: {
68
- ...COMMUN_ACTION_BUTTON_PROPS,
69
- icon: {
70
- position: 'left',
71
- faIcon: {
72
- ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,
73
- name: 'floppy-disk'
74
- }
75
- }
76
- }
77
58
  }
78
59
  };
79
60
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","names":["COLORS","COMMUN_ACTION_BUTTON_PROPS","icon","position","faIcon","name","color","white","size","customStyle","padding","alignItems","type","ICON_PROPS","published","iconName","iconColor","cm_grey_500","backgroundColor","gray","preset","archived","yellow_700","yellow_100","deleted","red_700","red_100","draft","POPIN_THEMES","actionButton"],"sources":["../../../../src/template/back-office/brand-update/utils.js"],"sourcesContent":["import {COLORS} from '../../../variables/colors';\n\nconst COMMUN_ACTION_BUTTON_PROPS = {\n icon: {\n position: 'left',\n faIcon: {\n name: 'circle-check',\n color: COLORS.white,\n size: 14,\n customStyle: {\n padding: 0,\n alignItems: 'baseline'\n }\n }\n },\n type: 'primary'\n};\n\nconst ICON_PROPS = {\n published: {\n iconName: 'cloud-arrow-up',\n iconColor: COLORS.cm_grey_500,\n backgroundColor: COLORS.gray,\n preset: 'xl'\n },\n archived: {\n iconName: 'circle-exclamation',\n iconColor: COLORS.yellow_700,\n backgroundColor: COLORS.yellow_100,\n preset: 'xl'\n },\n deleted: {\n iconName: 'triangle-exclamation',\n iconColor: COLORS.red_700,\n backgroundColor: COLORS.red_100,\n preset: 'xl'\n },\n draft: {\n iconName: 'circle-exclamation',\n iconColor: COLORS.yellow_700,\n backgroundColor: COLORS.yellow_100,\n preset: 'xl'\n }\n};\n\nexport const POPIN_THEMES = {\n published: {\n icon: ICON_PROPS.published,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n archived: {\n icon: ICON_PROPS.archived,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n deleted: {\n icon: ICON_PROPS.deleted,\n actionButton: {\n icon: {\n position: 'left',\n faIcon: {\n ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,\n name: 'trash'\n }\n },\n type: 'dangerous'\n }\n },\n draft: {\n icon: ICON_PROPS.draft,\n actionButton: {\n ...COMMUN_ACTION_BUTTON_PROPS,\n icon: {\n position: 'left',\n faIcon: {\n ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,\n name: 'floppy-disk'\n }\n }\n }\n }\n};\n"],"mappings":"AAAA,SAAQA,MAAM,QAAO,2BAA2B;AAEhD,MAAMC,0BAA0B,GAAG;EACjCC,IAAI,EAAE;IACJC,QAAQ,EAAE,MAAM;IAChBC,MAAM,EAAE;MACNC,IAAI,EAAE,cAAc;MACpBC,KAAK,EAAEN,MAAM,CAACO,KAAK;MACnBC,IAAI,EAAE,EAAE;MACRC,WAAW,EAAE;QACXC,OAAO,EAAE,CAAC;QACVC,UAAU,EAAE;MACd;IACF;EACF,CAAC;EACDC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,UAAU,GAAG;EACjBC,SAAS,EAAE;IACTC,QAAQ,EAAE,gBAAgB;IAC1BC,SAAS,EAAEhB,MAAM,CAACiB,WAAW;IAC7BC,eAAe,EAAElB,MAAM,CAACmB,IAAI;IAC5BC,MAAM,EAAE;EACV,CAAC;EACDC,QAAQ,EAAE;IACRN,QAAQ,EAAE,oBAAoB;IAC9BC,SAAS,EAAEhB,MAAM,CAACsB,UAAU;IAC5BJ,eAAe,EAAElB,MAAM,CAACuB,UAAU;IAClCH,MAAM,EAAE;EACV,CAAC;EACDI,OAAO,EAAE;IACPT,QAAQ,EAAE,sBAAsB;IAChCC,SAAS,EAAEhB,MAAM,CAACyB,OAAO;IACzBP,eAAe,EAAElB,MAAM,CAAC0B,OAAO;IAC/BN,MAAM,EAAE;EACV,CAAC;EACDO,KAAK,EAAE;IACLZ,QAAQ,EAAE,oBAAoB;IAC9BC,SAAS,EAAEhB,MAAM,CAACsB,UAAU;IAC5BJ,eAAe,EAAElB,MAAM,CAACuB,UAAU;IAClCH,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMQ,YAAY,GAAG;EAC1Bd,SAAS,EAAE;IACTZ,IAAI,EAAEW,UAAU,CAACC,SAAS;IAC1Be,YAAY,EAAE5B;EAChB,CAAC;EACDoB,QAAQ,EAAE;IACRnB,IAAI,EAAEW,UAAU,CAACQ,QAAQ;IACzBQ,YAAY,EAAE5B;EAChB,CAAC;EACDuB,OAAO,EAAE;IACPtB,IAAI,EAAEW,UAAU,CAACW,OAAO;IACxBK,YAAY,EAAE;MACZ3B,IAAI,EAAE;QACJC,QAAQ,EAAE,MAAM;QAChBC,MAAM,EAAE;UACN,GAAGH,0BAA0B,CAACC,IAAI,CAACE,MAAM;UACzCC,IAAI,EAAE;QACR;MACF,CAAC;MACDO,IAAI,EAAE;IACR;EACF,CAAC;EACDe,KAAK,EAAE;IACLzB,IAAI,EAAEW,UAAU,CAACc,KAAK;IACtBE,YAAY,EAAE;MACZ,GAAG5B,0BAA0B;MAC7BC,IAAI,EAAE;QACJC,QAAQ,EAAE,MAAM;QAChBC,MAAM,EAAE;UACN,GAAGH,0BAA0B,CAACC,IAAI,CAACE,MAAM;UACzCC,IAAI,EAAE;QACR;MACF;IACF;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"utils.js","names":["COLORS","COMMUN_ACTION_BUTTON_PROPS","icon","position","faIcon","name","color","white","size","customStyle","padding","alignItems","type","ICON_PROPS","published","iconName","iconColor","cm_grey_500","backgroundColor","cm_grey_100","preset","archived","yellow_700","yellow_100","deleted","red_700","red_100","POPIN_THEMES","actionButton"],"sources":["../../../../src/template/back-office/brand-update/utils.js"],"sourcesContent":["import {COLORS} from '../../../variables/colors';\n\nconst COMMUN_ACTION_BUTTON_PROPS = {\n icon: {\n position: 'left',\n faIcon: {\n name: 'circle-check',\n color: COLORS.white,\n size: 14,\n customStyle: {\n padding: 0,\n alignItems: 'baseline'\n }\n }\n },\n type: 'primary'\n};\n\nconst ICON_PROPS = {\n published: {\n iconName: 'cloud-arrow-up',\n iconColor: COLORS.cm_grey_500,\n backgroundColor: COLORS.cm_grey_100,\n preset: 'xl'\n },\n archived: {\n iconName: 'circle-exclamation',\n iconColor: COLORS.yellow_700,\n backgroundColor: COLORS.yellow_100,\n preset: 'xl'\n },\n deleted: {\n iconName: 'triangle-exclamation',\n iconColor: COLORS.red_700,\n backgroundColor: COLORS.red_100,\n preset: 'xl'\n }\n};\n\nexport const POPIN_THEMES = {\n published: {\n icon: ICON_PROPS.published,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n archived: {\n icon: ICON_PROPS.archived,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n deleted: {\n icon: ICON_PROPS.deleted,\n actionButton: {\n icon: {\n position: 'left',\n faIcon: {\n ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,\n name: 'trash'\n }\n },\n type: 'dangerous'\n }\n }\n};\n"],"mappings":"AAAA,SAAQA,MAAM,QAAO,2BAA2B;AAEhD,MAAMC,0BAA0B,GAAG;EACjCC,IAAI,EAAE;IACJC,QAAQ,EAAE,MAAM;IAChBC,MAAM,EAAE;MACNC,IAAI,EAAE,cAAc;MACpBC,KAAK,EAAEN,MAAM,CAACO,KAAK;MACnBC,IAAI,EAAE,EAAE;MACRC,WAAW,EAAE;QACXC,OAAO,EAAE,CAAC;QACVC,UAAU,EAAE;MACd;IACF;EACF,CAAC;EACDC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,UAAU,GAAG;EACjBC,SAAS,EAAE;IACTC,QAAQ,EAAE,gBAAgB;IAC1BC,SAAS,EAAEhB,MAAM,CAACiB,WAAW;IAC7BC,eAAe,EAAElB,MAAM,CAACmB,WAAW;IACnCC,MAAM,EAAE;EACV,CAAC;EACDC,QAAQ,EAAE;IACRN,QAAQ,EAAE,oBAAoB;IAC9BC,SAAS,EAAEhB,MAAM,CAACsB,UAAU;IAC5BJ,eAAe,EAAElB,MAAM,CAACuB,UAAU;IAClCH,MAAM,EAAE;EACV,CAAC;EACDI,OAAO,EAAE;IACPT,QAAQ,EAAE,sBAAsB;IAChCC,SAAS,EAAEhB,MAAM,CAACyB,OAAO;IACzBP,eAAe,EAAElB,MAAM,CAAC0B,OAAO;IAC/BN,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMO,YAAY,GAAG;EAC1Bb,SAAS,EAAE;IACTZ,IAAI,EAAEW,UAAU,CAACC,SAAS;IAC1Bc,YAAY,EAAE3B;EAChB,CAAC;EACDoB,QAAQ,EAAE;IACRnB,IAAI,EAAEW,UAAU,CAACQ,QAAQ;IACzBO,YAAY,EAAE3B;EAChB,CAAC;EACDuB,OAAO,EAAE;IACPtB,IAAI,EAAEW,UAAU,CAACW,OAAO;IACxBI,YAAY,EAAE;MACZ1B,IAAI,EAAE;QACJC,QAAQ,EAAE,MAAM;QAChBC,MAAM,EAAE;UACN,GAAGH,0BAA0B,CAACC,IAAI,CAACE,MAAM;UACzCC,IAAI,EAAE;QACR;MACF,CAAC;MACDO,IAAI,EAAE;IACR;EACF;AACF,CAAC","ignoreList":[]}
@@ -19,7 +19,7 @@ declare namespace Dashboard {
19
19
  'data-name': PropTypes.Requireable<string>;
20
20
  titleSize: PropTypes.Requireable<string>;
21
21
  subtitleSize: PropTypes.Requireable<string>;
22
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
22
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
23
23
  tag: PropTypes.Requireable<PropTypes.InferProps<{
24
24
  label: PropTypes.Requireable<string>;
25
25
  type: PropTypes.Requireable<string>;
@@ -27,7 +27,17 @@ declare namespace Dashboard {
27
27
  customStyle: PropTypes.Requireable<{
28
28
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
29
29
  }>;
30
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
30
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
31
+ position: PropTypes.Requireable<string>;
32
+ iconName?: React.Validator<string> | undefined;
33
+ iconColor?: React.Validator<string | null | undefined> | undefined;
34
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
35
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
36
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
37
+ preset?: React.Validator<string | null | undefined> | undefined;
38
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
39
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
40
+ }>>;
31
41
  }>>;
32
42
  button: PropTypes.Requireable<PropTypes.InferProps<{
33
43
  type: PropTypes.Requireable<string>;
@@ -114,8 +124,8 @@ declare namespace Dashboard {
114
124
  borderRadius: PropTypes.Requireable<string>;
115
125
  preset: PropTypes.Requireable<string>;
116
126
  size: PropTypes.Requireable<PropTypes.InferProps<{
117
- faSize: PropTypes.Requireable<number>;
118
- wrapperSize: PropTypes.Requireable<number>;
127
+ faSize: PropTypes.Validator<number>;
128
+ wrapperSize: PropTypes.Validator<number>;
119
129
  }>>;
120
130
  customStyle: PropTypes.Requireable<{
121
131
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -553,7 +563,7 @@ declare namespace Dashboard {
553
563
  'data-name': PropTypes.Requireable<string>;
554
564
  titleSize: PropTypes.Requireable<string>;
555
565
  subtitleSize: PropTypes.Requireable<string>;
556
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
566
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
557
567
  tag: PropTypes.Requireable<PropTypes.InferProps<{
558
568
  label: PropTypes.Requireable<string>;
559
569
  type: PropTypes.Requireable<string>;
@@ -561,7 +571,17 @@ declare namespace Dashboard {
561
571
  customStyle: PropTypes.Requireable<{
562
572
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
563
573
  }>;
564
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
574
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
575
+ position: PropTypes.Requireable<string>;
576
+ iconName?: React.Validator<string> | undefined;
577
+ iconColor?: React.Validator<string | null | undefined> | undefined;
578
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
579
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
580
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
581
+ preset?: React.Validator<string | null | undefined> | undefined;
582
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
583
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
584
+ }>>;
565
585
  }>>;
566
586
  button: PropTypes.Requireable<PropTypes.InferProps<{
567
587
  type: PropTypes.Requireable<string>;
@@ -776,7 +796,7 @@ declare namespace Dashboard {
776
796
  'data-name': PropTypes.Requireable<string>;
777
797
  titleSize: PropTypes.Requireable<string>;
778
798
  subtitleSize: PropTypes.Requireable<string>;
779
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
799
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
780
800
  tag: PropTypes.Requireable<PropTypes.InferProps<{
781
801
  label: PropTypes.Requireable<string>;
782
802
  type: PropTypes.Requireable<string>;
@@ -784,7 +804,17 @@ declare namespace Dashboard {
784
804
  customStyle: PropTypes.Requireable<{
785
805
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
786
806
  }>;
787
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
807
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
808
+ position: PropTypes.Requireable<string>;
809
+ iconName?: React.Validator<string> | undefined;
810
+ iconColor?: React.Validator<string | null | undefined> | undefined;
811
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
812
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
813
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
814
+ preset?: React.Validator<string | null | undefined> | undefined;
815
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
816
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
817
+ }>>;
788
818
  }>>;
789
819
  button: PropTypes.Requireable<PropTypes.InferProps<{
790
820
  type: PropTypes.Requireable<string>;
@@ -871,8 +901,8 @@ declare namespace Dashboard {
871
901
  borderRadius: PropTypes.Requireable<string>;
872
902
  preset: PropTypes.Requireable<string>;
873
903
  size: PropTypes.Requireable<PropTypes.InferProps<{
874
- faSize: PropTypes.Requireable<number>;
875
- wrapperSize: PropTypes.Requireable<number>;
904
+ faSize: PropTypes.Validator<number>;
905
+ wrapperSize: PropTypes.Validator<number>;
876
906
  }>>;
877
907
  customStyle: PropTypes.Requireable<{
878
908
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -1310,7 +1340,7 @@ declare namespace Dashboard {
1310
1340
  'data-name': PropTypes.Requireable<string>;
1311
1341
  titleSize: PropTypes.Requireable<string>;
1312
1342
  subtitleSize: PropTypes.Requireable<string>;
1313
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1343
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
1314
1344
  tag: PropTypes.Requireable<PropTypes.InferProps<{
1315
1345
  label: PropTypes.Requireable<string>;
1316
1346
  type: PropTypes.Requireable<string>;
@@ -1318,7 +1348,17 @@ declare namespace Dashboard {
1318
1348
  customStyle: PropTypes.Requireable<{
1319
1349
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1320
1350
  }>;
1321
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1351
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
1352
+ position: PropTypes.Requireable<string>;
1353
+ iconName?: React.Validator<string> | undefined;
1354
+ iconColor?: React.Validator<string | null | undefined> | undefined;
1355
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
1356
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
1357
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
1358
+ preset?: React.Validator<string | null | undefined> | undefined;
1359
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
1360
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
1361
+ }>>;
1322
1362
  }>>;
1323
1363
  button: PropTypes.Requireable<PropTypes.InferProps<{
1324
1364
  type: PropTypes.Requireable<string>;
@@ -1521,4 +1561,5 @@ declare namespace Dashboard {
1521
1561
  };
1522
1562
  }
1523
1563
  import PropTypes from "prop-types";
1564
+ import React from "react";
1524
1565
  //# sourceMappingURL=index.d.ts.map
@@ -200,7 +200,7 @@ declare namespace SearchPage {
200
200
  'data-name': PropTypes.Requireable<string>;
201
201
  titleSize: PropTypes.Requireable<string>;
202
202
  subtitleSize: PropTypes.Requireable<string>;
203
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
203
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
204
204
  tag: PropTypes.Requireable<PropTypes.InferProps<{
205
205
  label: PropTypes.Requireable<string>;
206
206
  type: PropTypes.Requireable<string>;
@@ -208,7 +208,17 @@ declare namespace SearchPage {
208
208
  customStyle: PropTypes.Requireable<{
209
209
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
210
210
  }>;
211
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
211
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
212
+ position: PropTypes.Requireable<string>;
213
+ iconName?: React.Validator<string> | undefined;
214
+ iconColor?: React.Validator<string | null | undefined> | undefined;
215
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
216
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
217
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
218
+ preset?: React.Validator<string | null | undefined> | undefined;
219
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
220
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
221
+ }>>;
212
222
  }>>;
213
223
  button: PropTypes.Requireable<PropTypes.InferProps<{
214
224
  type: PropTypes.Requireable<string>;
@@ -295,8 +305,8 @@ declare namespace SearchPage {
295
305
  borderRadius: PropTypes.Requireable<string>;
296
306
  preset: PropTypes.Requireable<string>;
297
307
  size: PropTypes.Requireable<PropTypes.InferProps<{
298
- faSize: PropTypes.Requireable<number>;
299
- wrapperSize: PropTypes.Requireable<number>;
308
+ faSize: PropTypes.Validator<number>;
309
+ wrapperSize: PropTypes.Validator<number>;
300
310
  }>>;
301
311
  customStyle: PropTypes.Requireable<{
302
312
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -734,7 +744,7 @@ declare namespace SearchPage {
734
744
  'data-name': PropTypes.Requireable<string>;
735
745
  titleSize: PropTypes.Requireable<string>;
736
746
  subtitleSize: PropTypes.Requireable<string>;
737
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
747
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
738
748
  tag: PropTypes.Requireable<PropTypes.InferProps<{
739
749
  label: PropTypes.Requireable<string>;
740
750
  type: PropTypes.Requireable<string>;
@@ -742,7 +752,17 @@ declare namespace SearchPage {
742
752
  customStyle: PropTypes.Requireable<{
743
753
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
744
754
  }>;
745
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
755
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
756
+ position: PropTypes.Requireable<string>;
757
+ iconName?: React.Validator<string> | undefined;
758
+ iconColor?: React.Validator<string | null | undefined> | undefined;
759
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
760
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
761
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
762
+ preset?: React.Validator<string | null | undefined> | undefined;
763
+ size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
764
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
765
+ }>>;
746
766
  }>>;
747
767
  button: PropTypes.Requireable<PropTypes.InferProps<{
748
768
  type: PropTypes.Requireable<string>;
@@ -945,4 +965,5 @@ declare namespace SearchPage {
945
965
  }
946
966
  }
947
967
  import PropTypes from "prop-types";
968
+ import React from "react";
948
969
  //# sourceMappingURL=index.d.ts.map
@@ -37,7 +37,7 @@ declare namespace ExternalCourse {
37
37
  'data-name': PropTypes.Requireable<string>;
38
38
  titleSize: PropTypes.Requireable<string>;
39
39
  subtitleSize: PropTypes.Requireable<string>;
40
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
40
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
41
41
  tag: PropTypes.Requireable<PropTypes.InferProps<{
42
42
  label: PropTypes.Requireable<string>;
43
43
  type: PropTypes.Requireable<string>;
@@ -45,7 +45,17 @@ declare namespace ExternalCourse {
45
45
  customStyle: PropTypes.Requireable<{
46
46
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
47
47
  }>;
48
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
48
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
49
+ position: PropTypes.Requireable<string>;
50
+ iconName?: React.Validator<string> | undefined;
51
+ iconColor?: React.Validator<string | null | undefined> | undefined;
52
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
53
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
54
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
55
+ preset?: React.Validator<string | null | undefined> | undefined;
56
+ size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
57
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
58
+ }>>;
49
59
  }>>;
50
60
  button: PropTypes.Requireable<PropTypes.InferProps<{
51
61
  type: PropTypes.Requireable<string>;
@@ -132,8 +142,8 @@ declare namespace ExternalCourse {
132
142
  borderRadius: PropTypes.Requireable<string>;
133
143
  preset: PropTypes.Requireable<string>;
134
144
  size: PropTypes.Requireable<PropTypes.InferProps<{
135
- faSize: PropTypes.Requireable<number>;
136
- wrapperSize: PropTypes.Requireable<number>;
145
+ faSize: PropTypes.Validator<number>;
146
+ wrapperSize: PropTypes.Validator<number>;
137
147
  }>>;
138
148
  customStyle: PropTypes.Requireable<{
139
149
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -571,7 +581,7 @@ declare namespace ExternalCourse {
571
581
  'data-name': PropTypes.Requireable<string>;
572
582
  titleSize: PropTypes.Requireable<string>;
573
583
  subtitleSize: PropTypes.Requireable<string>;
574
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
584
+ icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
575
585
  tag: PropTypes.Requireable<PropTypes.InferProps<{
576
586
  label: PropTypes.Requireable<string>;
577
587
  type: PropTypes.Requireable<string>;
@@ -579,7 +589,17 @@ declare namespace ExternalCourse {
579
589
  customStyle: PropTypes.Requireable<{
580
590
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
581
591
  }>;
582
- icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
592
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
593
+ position: PropTypes.Requireable<string>;
594
+ iconName?: React.Validator<string> | undefined;
595
+ iconColor?: React.Validator<string | null | undefined> | undefined;
596
+ backgroundColor?: React.Validator<string | null | undefined> | undefined;
597
+ gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
598
+ borderRadius?: React.Validator<string | null | undefined> | undefined;
599
+ preset?: React.Validator<string | null | undefined> | undefined;
600
+ size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
601
+ customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
602
+ }>>;
583
603
  }>>;
584
604
  button: PropTypes.Requireable<PropTypes.InferProps<{
585
605
  type: PropTypes.Requireable<string>;
@@ -805,4 +825,5 @@ declare namespace ExternalCourse {
805
825
  }
806
826
  }
807
827
  import PropTypes from "prop-types";
828
+ import React from "react";
808
829
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAmHA,mEAwZC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,mEAwZC"}
@@ -84,7 +84,7 @@ const FilterButton = (props, context) => {
84
84
  const Content = useCallback(() => /*#__PURE__*/React.createElement("div", null, filter, /*#__PURE__*/React.createElement("span", {
85
85
  className: active ? style.skillFilterNumber : style.skillFilterNumberInActive,
86
86
  style: {
87
- backgroundColor: active ? convert(`color(${primarySkinColor} a(0.07))`) : COLORS.gray,
87
+ backgroundColor: active ? convert(`color(${primarySkinColor} a(0.07))`) : COLORS.cm_grey_100,
88
88
  color: active ? primarySkinColor : COLORS.cm_grey_500
89
89
  }
90
90
  }, skillTotal)), [filter, skillTotal, active, primarySkinColor]);