@coorpacademy/components 11.32.20-alpha.39 → 11.32.21

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 (151) hide show
  1. package/es/atom/button-link/index.d.ts +2 -0
  2. package/es/atom/button-link/index.d.ts.map +1 -1
  3. package/es/atom/button-link/index.js +22 -8
  4. package/es/atom/button-link/index.js.map +1 -1
  5. package/es/atom/button-link/types.d.ts +4 -0
  6. package/es/atom/button-link/types.d.ts.map +1 -1
  7. package/es/atom/button-link/types.js +2 -0
  8. package/es/atom/button-link/types.js.map +1 -1
  9. package/es/molecule/base-modal/index.d.ts.map +1 -1
  10. package/es/molecule/base-modal/index.js +6 -10
  11. package/es/molecule/base-modal/index.js.map +1 -1
  12. package/es/molecule/cm-popin/types.d.ts +4 -0
  13. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  14. package/es/molecule/dashboard/cards-list/index.d.ts +0 -1
  15. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  16. package/es/molecule/dashboard/cards-list/index.js +3 -2
  17. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  18. package/es/molecule/expandible-actionable-table/index.d.ts +2 -0
  19. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  20. package/es/molecule/expandible-actionable-table/types.d.ts +2 -0
  21. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  22. package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
  23. package/es/molecule/learner-skill-card/index.js +7 -10
  24. package/es/molecule/learner-skill-card/index.js.map +1 -1
  25. package/es/molecule/learning-priority-card/index.d.ts +0 -1
  26. package/es/molecule/learning-priority-card/index.d.ts.map +1 -1
  27. package/es/molecule/learning-priority-card/index.js +7 -10
  28. package/es/molecule/learning-priority-card/index.js.map +1 -1
  29. package/es/molecule/learning-priority-card/types.d.ts +0 -2
  30. package/es/molecule/learning-priority-card/types.d.ts.map +1 -1
  31. package/es/molecule/learning-priority-card/types.js +1 -2
  32. package/es/molecule/learning-priority-card/types.js.map +1 -1
  33. package/es/molecule/skill-card/index.d.ts.map +1 -1
  34. package/es/molecule/skill-card/index.js +5 -8
  35. package/es/molecule/skill-card/index.js.map +1 -1
  36. package/es/organism/list-items/index.d.ts +4 -0
  37. package/es/organism/setup-header/index.d.ts +8 -0
  38. package/es/organism/wizard-contents/index.d.ts +6 -0
  39. package/es/template/app-player/loading/index.d.ts +4 -0
  40. package/es/template/app-player/player/index.d.ts +8 -0
  41. package/es/template/app-player/player/slides/index.d.ts +4 -0
  42. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  43. package/es/template/app-player/popin-correction/index.d.ts +4 -0
  44. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  45. package/es/template/app-player/popin-end/index.d.ts +4 -1
  46. package/es/template/app-player/popin-end/summary.d.ts +0 -1
  47. package/es/template/app-review/index.d.ts +4 -0
  48. package/es/template/app-review/index.d.ts.map +1 -1
  49. package/es/template/app-review/player/prop-types.d.ts +4 -0
  50. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  51. package/es/template/app-review/prop-types.d.ts +4 -0
  52. package/es/template/app-review/prop-types.d.ts.map +1 -1
  53. package/es/template/back-office/brand-create/index.d.ts +8 -0
  54. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  55. package/es/template/back-office/brand-list/index.d.ts +8 -0
  56. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  57. package/es/template/back-office/brand-update/index.d.ts +22 -0
  58. package/es/template/back-office/dashboard-preview/index.d.ts +8 -0
  59. package/es/template/back-office/layout/index.d.ts +8 -0
  60. package/es/template/back-office/layout/index.d.ts.map +1 -1
  61. package/es/template/common/dashboard/index.d.ts +8 -0
  62. package/es/template/common/dashboard/index.d.ts.map +1 -1
  63. package/es/template/common/dashboard/index.js +0 -1
  64. package/es/template/common/dashboard/index.js.map +1 -1
  65. package/es/template/common/search-page/index.d.ts +4 -1
  66. package/es/template/external-course/index.d.ts +4 -0
  67. package/es/template/my-learning/index.d.ts +0 -2
  68. package/es/template/my-learning/index.d.ts.map +1 -1
  69. package/es/template/my-learning/index.js +12 -19
  70. package/es/template/my-learning/index.js.map +1 -1
  71. package/es/template/my-learning/style.css +1 -1
  72. package/es/template/skill-detail/index.d.ts.map +1 -1
  73. package/es/template/skill-detail/index.js +4 -8
  74. package/es/template/skill-detail/index.js.map +1 -1
  75. package/es/template/teams-dashboard/index.d.ts +0 -1
  76. package/lib/atom/button-link/index.d.ts +2 -0
  77. package/lib/atom/button-link/index.d.ts.map +1 -1
  78. package/lib/atom/button-link/index.js +21 -7
  79. package/lib/atom/button-link/index.js.map +1 -1
  80. package/lib/atom/button-link/types.d.ts +4 -0
  81. package/lib/atom/button-link/types.d.ts.map +1 -1
  82. package/lib/atom/button-link/types.js +2 -0
  83. package/lib/atom/button-link/types.js.map +1 -1
  84. package/lib/molecule/base-modal/index.d.ts.map +1 -1
  85. package/lib/molecule/base-modal/index.js +5 -9
  86. package/lib/molecule/base-modal/index.js.map +1 -1
  87. package/lib/molecule/cm-popin/types.d.ts +4 -0
  88. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  89. package/lib/molecule/dashboard/cards-list/index.d.ts +0 -1
  90. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  91. package/lib/molecule/dashboard/cards-list/index.js +3 -2
  92. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  93. package/lib/molecule/expandible-actionable-table/index.d.ts +2 -0
  94. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  95. package/lib/molecule/expandible-actionable-table/types.d.ts +2 -0
  96. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  97. package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
  98. package/lib/molecule/learner-skill-card/index.js +6 -9
  99. package/lib/molecule/learner-skill-card/index.js.map +1 -1
  100. package/lib/molecule/learning-priority-card/index.d.ts +0 -1
  101. package/lib/molecule/learning-priority-card/index.d.ts.map +1 -1
  102. package/lib/molecule/learning-priority-card/index.js +7 -10
  103. package/lib/molecule/learning-priority-card/index.js.map +1 -1
  104. package/lib/molecule/learning-priority-card/types.d.ts +0 -2
  105. package/lib/molecule/learning-priority-card/types.d.ts.map +1 -1
  106. package/lib/molecule/learning-priority-card/types.js +1 -2
  107. package/lib/molecule/learning-priority-card/types.js.map +1 -1
  108. package/lib/molecule/skill-card/index.d.ts.map +1 -1
  109. package/lib/molecule/skill-card/index.js +4 -7
  110. package/lib/molecule/skill-card/index.js.map +1 -1
  111. package/lib/organism/list-items/index.d.ts +4 -0
  112. package/lib/organism/setup-header/index.d.ts +8 -0
  113. package/lib/organism/wizard-contents/index.d.ts +6 -0
  114. package/lib/template/app-player/loading/index.d.ts +4 -0
  115. package/lib/template/app-player/player/index.d.ts +8 -0
  116. package/lib/template/app-player/player/slides/index.d.ts +4 -0
  117. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  118. package/lib/template/app-player/popin-correction/index.d.ts +4 -0
  119. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  120. package/lib/template/app-player/popin-end/index.d.ts +4 -1
  121. package/lib/template/app-player/popin-end/summary.d.ts +0 -1
  122. package/lib/template/app-review/index.d.ts +4 -0
  123. package/lib/template/app-review/index.d.ts.map +1 -1
  124. package/lib/template/app-review/player/prop-types.d.ts +4 -0
  125. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  126. package/lib/template/app-review/prop-types.d.ts +4 -0
  127. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  128. package/lib/template/back-office/brand-create/index.d.ts +8 -0
  129. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  130. package/lib/template/back-office/brand-list/index.d.ts +8 -0
  131. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  132. package/lib/template/back-office/brand-update/index.d.ts +22 -0
  133. package/lib/template/back-office/dashboard-preview/index.d.ts +8 -0
  134. package/lib/template/back-office/layout/index.d.ts +8 -0
  135. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  136. package/lib/template/common/dashboard/index.d.ts +8 -0
  137. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  138. package/lib/template/common/dashboard/index.js +0 -1
  139. package/lib/template/common/dashboard/index.js.map +1 -1
  140. package/lib/template/common/search-page/index.d.ts +4 -1
  141. package/lib/template/external-course/index.d.ts +4 -0
  142. package/lib/template/my-learning/index.d.ts +0 -2
  143. package/lib/template/my-learning/index.d.ts.map +1 -1
  144. package/lib/template/my-learning/index.js +13 -19
  145. package/lib/template/my-learning/index.js.map +1 -1
  146. package/lib/template/my-learning/style.css +1 -1
  147. package/lib/template/skill-detail/index.d.ts.map +1 -1
  148. package/lib/template/skill-detail/index.js +4 -8
  149. package/lib/template/skill-detail/index.js.map +1 -1
  150. package/lib/template/teams-dashboard/index.d.ts +0 -1
  151. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useCallback","useState","convert","PropTypes","Icon","ButtonLink","Provider","style","LearnerSkillCard","props","context","ariaLabel","skillTitle","skillAriaLabel","focus","metrics","review","onReviewClick","onExploreClick","score","content","questionsToReview","contentCompleted","skin","translate","hovered","setHovered","primarySkinColor","reviewLocale","exploreLocale","coursesLocale","questionsLocale","skillFocusLocale","contentCompletedLocale","handleMouseOver","handleMouseLeave","buttonReviewProps","customStyle","backgroundColor","transition","padding","disabled","onClick","label","buttonExploreProps","color","icon","position","faIcon","name","size","ProgressBar","progressBarColor","inlineProgressValueStyle","width","progressWrapper","progress","learnerSkillCardWrapper","skillCoursesAndQuestionsWrapper","skillInformation","skillInformationNumber","skillTitleWrapper","skillFocusBadge","faSize","wrapperSize","progressInformations","progressInformation","progressInformationNumber","ctaWrapper","buttonWrapper","contextTypes","childContextTypes","propTypes","string","bool","shape","number","func"],"sources":["../../../src/molecule/learner-skill-card/index.js"],"sourcesContent":["import React, {useCallback, useState} from 'react';\nimport {convert} from 'css-color-function';\nimport {get} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport Icon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst LearnerSkillCard = (props, context) => {\n const {\n 'aria-label': ariaLabel,\n skillTitle,\n skillAriaLabel,\n focus = false,\n metrics,\n review = false,\n onReviewClick,\n onExploreClick\n } = props;\n const {score, content, questionsToReview, contentCompleted = 0} = metrics;\n const {skin, translate} = context;\n const [hovered, setHovered] = useState(false);\n const primarySkinColor = get('common.primary', skin);\n\n const reviewLocale = translate('Review');\n const exploreLocale = translate('Explore');\n const coursesLocale = translate('courses');\n const questionsLocale = translate('questions');\n const skillFocusLocale = translate('skill_focus');\n const contentCompletedLocale = translate('courses_completed');\n\n const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const buttonReviewProps = {\n customStyle: {\n backgroundColor: '#FFF',\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out',\n padding: '0px'\n },\n disabled: !review,\n onClick: onReviewClick,\n 'aria-label': `${skillTitle}, ${reviewLocale}`,\n label: reviewLocale,\n 'data-name': 'learner-skill-card-review-button'\n };\n\n const buttonExploreProps = {\n customStyle: {\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n onClick: onExploreClick,\n 'aria-label': `${skillTitle}, ${exploreLocale}`,\n label: exploreLocale,\n 'data-name': 'learner-skill-card-explore-button',\n icon: {\n position: 'left',\n faIcon: {\n name: 'compass',\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n size: 16\n }\n }\n };\n\n const ProgressBar = useCallback(() => {\n if (!content) return null;\n\n const progressBarColor = '#3EC483';\n const inlineProgressValueStyle = {\n backgroundColor: progressBarColor,\n width: `${score}%`\n };\n\n return (\n <div className={style.progressWrapper}>\n <div\n data-name=\"progress\"\n className={style.progress}\n style={inlineProgressValueStyle}\n role=\"progressbar\"\n aria-label={get('progression', ariaLabel)}\n />\n </div>\n );\n }, [score, ariaLabel, content]);\n\n return (\n <div\n className={style.learnerSkillCardWrapper}\n data-name=\"learner-skill-card-wrapper\"\n aria-label={ariaLabel}\n >\n {content || questionsToReview ? (\n <div className={style.skillCoursesAndQuestionsWrapper}>\n {content ? (\n <div className={style.skillInformation} data-name=\"skill-courses\">\n <span className={style.skillInformationNumber}>{content}</span> {coursesLocale}\n </div>\n ) : null}\n {questionsToReview ? (\n <div className={style.skillInformation} data-name=\"skill-questions\">\n <span className={style.skillInformationNumber}>{questionsToReview}</span>\n &nbsp;{questionsLocale}\n </div>\n ) : null}\n </div>\n ) : null}\n <div className={style.skillTitleWrapper}>\n <div\n data-name=\"skill-title\"\n className={style.skillTitle}\n aria-label={skillAriaLabel || skillTitle}\n >\n {skillTitle}\n </div>\n {focus ? (\n <div className={style.skillFocusBadge}>\n <Icon\n iconName=\"bullseye-arrow\"\n backgroundColor=\"#DDD1FF\"\n size={{\n faSize: 10,\n wrapperSize: 16\n }}\n />\n {skillFocusLocale}\n </div>\n ) : null}\n </div>\n <ProgressBar />\n <div className={style.progressInformations}>\n {content ? (\n <>\n <div className={style.progressInformation} data-name=\"skill-completed-courses\">\n <span className={style.progressInformationNumber}>{contentCompleted}</span>\n {` ${contentCompletedLocale}`}\n </div>\n <div className={style.progressInformation} data-name=\"completed-percentage\">\n <span className={style.progressInformationNumber}>{score}%</span>\n </div>\n </>\n ) : null}\n </div>\n <div className={style.ctaWrapper} data-name=\"cta-wrapper\">\n <ButtonLink {...buttonReviewProps} />\n <div\n className={style.buttonWrapper}\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n data-name=\"button-explore-wrapper\"\n >\n <ButtonLink {...buttonExploreProps} />\n </div>\n </div>\n </div>\n );\n};\n\nLearnerSkillCard.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nLearnerSkillCard.propTypes = {\n 'aria-label': PropTypes.string,\n skillTitle: PropTypes.string,\n skillAriaLabel: PropTypes.string,\n focus: PropTypes.bool,\n metrics: PropTypes.shape({\n score: PropTypes.number,\n content: PropTypes.number,\n questionsToReview: PropTypes.number,\n contentCompleted: PropTypes.number\n }),\n review: PropTypes.bool,\n onReviewClick: PropTypes.func,\n onExploreClick: PropTypes.func\n};\n\nexport default LearnerSkillCard;\n"],"mappings":";AAAA,OAAOA,KAAP,IAAeC,WAAf,EAA4BC,QAA5B,QAA2C,OAA3C;AACA,SAAQC,OAAR,QAAsB,oBAAtB;AAEA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,gBAAgB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC3C,MAAM;IACJ,cAAcC,SADV;IAEJC,UAFI;IAGJC,cAHI;IAIJC,KAAK,GAAG,KAJJ;IAKJC,OALI;IAMJC,MAAM,GAAG,KANL;IAOJC,aAPI;IAQJC;EARI,IASFT,KATJ;EAUA,MAAM;IAACU,KAAD;IAAQC,OAAR;IAAiBC,iBAAjB;IAAoCC,gBAAgB,GAAG;EAAvD,IAA4DP,OAAlE;EACA,MAAM;IAACQ,IAAD;IAAOC;EAAP,IAAoBd,OAA1B;EACA,MAAM,CAACe,OAAD,EAAUC,UAAV,IAAwBzB,QAAQ,CAAC,KAAD,CAAtC;;EACA,MAAM0B,gBAAgB,GAAG,KAAI,gBAAJ,EAAsBJ,IAAtB,CAAzB;;EAEA,MAAMK,YAAY,GAAGJ,SAAS,CAAC,QAAD,CAA9B;EACA,MAAMK,aAAa,GAAGL,SAAS,CAAC,SAAD,CAA/B;EACA,MAAMM,aAAa,GAAGN,SAAS,CAAC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hC;AAKAhB,gBAAgB,CAACgE,SAAjB,2CAA6B;EAC3B,cAAcrE,SAAS,CAACsE,MADG;EAE3B7D,UAAU,EAAET,SAAS,CAACsE,MAFK;EAG3B5D,cAAc,EAAEV,SAAS,CAACsE,MAHC;EAI3B3D,KAAK,EAAEX,SAAS,CAACuE,IAJU;EAK3B3D,OAAO,EAAEZ,SAAS,CAACwE,KAAV,CAAgB;IACvBxD,KAAK,EAAEhB,SAAS,CAACyE,MADM;IAEvBxD,OAAO,EAAEjB,SAAS,CAACyE,MAFI;IAGvBvD,iBAAiB,EAAElB,SAAS,CAACyE,MAHN;IAIvBtD,gBAAgB,EAAEnB,SAAS,CAACyE;EAJL,CAAhB,CALkB;EAW3B5D,MAAM,EAAEb,SAAS,CAACuE,IAXS;EAY3BzD,aAAa,EAAEd,SAAS,CAAC0E,IAZE;EAa3B3D,cAAc,EAAEf,SAAS,CAAC0E;AAbC,CAA7B;AAgBA,eAAerE,gBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","useCallback","convert","PropTypes","Icon","ButtonLink","Provider","style","LearnerSkillCard","props","context","ariaLabel","skillTitle","skillAriaLabel","focus","metrics","review","onReviewClick","onExploreClick","score","content","questionsToReview","contentCompleted","skin","translate","primarySkinColor","reviewLocale","exploreLocale","coursesLocale","questionsLocale","skillFocusLocale","contentCompletedLocale","buttonReviewProps","customStyle","backgroundColor","transition","padding","disabled","onClick","label","buttonExploreProps","color","hoverColor","hoverBackgroundColor","icon","position","faIcon","name","size","ProgressBar","progressBarColor","inlineProgressValueStyle","width","progressWrapper","progress","learnerSkillCardWrapper","skillCoursesAndQuestionsWrapper","skillInformation","skillInformationNumber","skillTitleWrapper","skillFocusBadge","faSize","wrapperSize","progressInformations","progressInformation","progressInformationNumber","ctaWrapper","buttonWrapper","contextTypes","childContextTypes","propTypes","string","bool","shape","number","func"],"sources":["../../../src/molecule/learner-skill-card/index.js"],"sourcesContent":["import React, {useCallback} from 'react';\nimport {convert} from 'css-color-function';\nimport {get} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport Icon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nconst LearnerSkillCard = (props, context) => {\n const {\n 'aria-label': ariaLabel,\n skillTitle,\n skillAriaLabel,\n focus = false,\n metrics,\n review = false,\n onReviewClick,\n onExploreClick\n } = props;\n const {score, content, questionsToReview, contentCompleted = 0} = metrics;\n const {skin, translate} = context;\n const primarySkinColor = get('common.primary', skin);\n\n const reviewLocale = translate('Review');\n const exploreLocale = translate('Explore');\n const coursesLocale = translate('courses');\n const questionsLocale = translate('questions');\n const skillFocusLocale = translate('skill_focus');\n const contentCompletedLocale = translate('courses_completed');\n\n const buttonReviewProps = {\n customStyle: {\n backgroundColor: '#FFF',\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out',\n padding: '0px'\n },\n disabled: !review,\n onClick: onReviewClick,\n 'aria-label': `${skillTitle}, ${reviewLocale}`,\n label: reviewLocale,\n 'data-name': 'learner-skill-card-review-button'\n };\n\n const buttonExploreProps = {\n customStyle: {\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n hoverColor: '#FFFFFF',\n hoverBackgroundColor: primarySkinColor,\n onClick: onExploreClick,\n 'aria-label': `${skillTitle}, ${exploreLocale}`,\n label: exploreLocale,\n 'data-name': 'learner-skill-card-explore-button',\n icon: {\n position: 'left',\n faIcon: {\n name: 'compass',\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n size: 16\n }\n }\n };\n\n const ProgressBar = useCallback(() => {\n if (!content) return null;\n\n const progressBarColor = '#3EC483';\n const inlineProgressValueStyle = {\n backgroundColor: progressBarColor,\n width: `${score}%`\n };\n\n return (\n <div className={style.progressWrapper}>\n <div\n data-name=\"progress\"\n className={style.progress}\n style={inlineProgressValueStyle}\n role=\"progressbar\"\n aria-label={get('progression', ariaLabel)}\n />\n </div>\n );\n }, [score, ariaLabel, content]);\n\n return (\n <div\n className={style.learnerSkillCardWrapper}\n data-name=\"learner-skill-card-wrapper\"\n aria-label={ariaLabel}\n >\n {content || questionsToReview ? (\n <div className={style.skillCoursesAndQuestionsWrapper}>\n {content ? (\n <div className={style.skillInformation} data-name=\"skill-courses\">\n <span className={style.skillInformationNumber}>{content}</span> {coursesLocale}\n </div>\n ) : null}\n {questionsToReview ? (\n <div className={style.skillInformation} data-name=\"skill-questions\">\n <span className={style.skillInformationNumber}>{questionsToReview}</span>\n &nbsp;{questionsLocale}\n </div>\n ) : null}\n </div>\n ) : null}\n <div className={style.skillTitleWrapper}>\n <div\n data-name=\"skill-title\"\n className={style.skillTitle}\n aria-label={skillAriaLabel || skillTitle}\n >\n {skillTitle}\n </div>\n {focus ? (\n <div className={style.skillFocusBadge}>\n <Icon\n iconName=\"bullseye-arrow\"\n backgroundColor=\"#DDD1FF\"\n size={{\n faSize: 10,\n wrapperSize: 16\n }}\n />\n {skillFocusLocale}\n </div>\n ) : null}\n </div>\n <ProgressBar />\n <div className={style.progressInformations}>\n {content ? (\n <>\n <div className={style.progressInformation} data-name=\"skill-completed-courses\">\n <span className={style.progressInformationNumber}>{contentCompleted}</span>\n {` ${contentCompletedLocale}`}\n </div>\n <div className={style.progressInformation} data-name=\"completed-percentage\">\n <span className={style.progressInformationNumber}>{score}%</span>\n </div>\n </>\n ) : null}\n </div>\n <div className={style.ctaWrapper} data-name=\"cta-wrapper\">\n <ButtonLink {...buttonReviewProps} />\n <div className={style.buttonWrapper} data-name=\"button-explore-wrapper\">\n <ButtonLink {...buttonExploreProps} />\n </div>\n </div>\n </div>\n );\n};\n\nLearnerSkillCard.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nLearnerSkillCard.propTypes = {\n 'aria-label': PropTypes.string,\n skillTitle: PropTypes.string,\n skillAriaLabel: PropTypes.string,\n focus: PropTypes.bool,\n metrics: PropTypes.shape({\n score: PropTypes.number,\n content: PropTypes.number,\n questionsToReview: PropTypes.number,\n contentCompleted: PropTypes.number\n }),\n review: PropTypes.bool,\n onReviewClick: PropTypes.func,\n onExploreClick: PropTypes.func\n};\n\nexport default LearnerSkillCard;\n"],"mappings":";AAAA,OAAOA,KAAP,IAAeC,WAAf,QAAiC,OAAjC;AACA,SAAQC,OAAR,QAAsB,oBAAtB;AAEA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,gBAAgB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC3C,MAAM;IACJ,cAAcC,SADV;IAEJC,UAFI;IAGJC,cAHI;IAIJC,KAAK,GAAG,KAJJ;IAKJC,OALI;IAMJC,MAAM,GAAG,KANL;IAOJC,aAPI;IAQJC;EARI,IASFT,KATJ;EAUA,MAAM;IAACU,KAAD;IAAQC,OAAR;IAAiBC,iBAAjB;IAAoCC,gBAAgB,GAAG;EAAvD,IAA4DP,OAAlE;EACA,MAAM;IAACQ,IAAD;IAAOC;EAAP,IAAoBd,OAA1B;;EACA,MAAMe,gBAAgB,GAAG,KAAI,gBAAJ,EAAsBF,IAAtB,CAAzB;;EAEA,MAAMG,YAAY,GAAGF,SAAS,CAAC,QAAD,CAA9B;EACA,MAAMG,aAAa,GAAGH,SAAS,CAAC,SAAD,CAA/B;EACA,MAAMI,aAAa,GAAGJ,SAAS,CAAC,SAAD,CAA/B;EACA,MAAMK,eAAe,GAAGL,SAAS,CAAC,WAAD,CAAjC;EACA,MAAMM,gBAAgB,GAAGN,SAAS,CAAC,aAAD,CAAlC;EACA,MAAMO,sBAAsB,GAAGP,SAAS,CAAC,mBAAD,CAAxC;EAEA,MAAMQ,iBAAiB,GAAG;IACxBC,WAAW,EAAE;M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,EAAEf,SAAS,CAACwE;AAbC,CAA7B;AAgBA,eAAenE,gBAAf"}
@@ -8,7 +8,6 @@ declare const LearningPriorityCard: {
8
8
  tagLabel: import("prop-types").Requireable<string>;
9
9
  progression: import("prop-types").Requireable<number>;
10
10
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
11
- type: import("prop-types").Requireable<string>;
12
11
  };
13
12
  contextTypes: {
14
13
  skin: import("prop-types").Requireable<import("prop-types").InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/learning-priority-card/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAIjE,OAAO,EAAC,6BAA6B,EAAY,MAAM,SAAS,CAAC;AAGjE,QAAA,MAAM,oBAAoB;YAAW,6BAA6B,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D5F,CAAC;AASF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/learning-priority-card/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAIjE,OAAO,EAAC,6BAA6B,EAAY,MAAM,SAAS,CAAC;AAGjE,QAAA,MAAM,oBAAoB;YAAW,6BAA6B,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyD5F,CAAC;AASF,eAAe,oBAAoB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import _get from "lodash/fp/get";
2
- import React, { useState, useCallback } from 'react';
2
+ import React from 'react';
3
3
  import { convert } from 'css-color-function';
4
4
  import Provider, { GetTranslateFromContext, GetSkinFromContext } from '../../atom/provider';
5
5
  import Tag from '../../atom/tag';
@@ -21,15 +21,14 @@ const LearningPriorityCard = (props, context) => {
21
21
 
22
22
  const primarySkinColor = _get('common.primary', skin);
23
23
 
24
- const [hovered, setHovered] = useState(false);
25
- const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);
26
- const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);
27
24
  const buttonExploreProps = {
28
25
  customStyle: {
29
- backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),
30
- color: hovered ? '#FFFFFF' : primarySkinColor,
26
+ backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),
27
+ color: primarySkinColor,
31
28
  transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
32
29
  },
30
+ hoverBackgroundColor: primarySkinColor,
31
+ hoverColor: '#FFFFFF',
33
32
  onClick,
34
33
  'aria-label': `${title}, ${exploreLocale}`,
35
34
  label: exploreLocale,
@@ -38,8 +37,8 @@ const LearningPriorityCard = (props, context) => {
38
37
  position: 'left',
39
38
  faIcon: {
40
39
  name: 'compass',
41
- backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),
42
- color: hovered ? '#FFFFFF' : primarySkinColor,
40
+ backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),
41
+ color: primarySkinColor,
43
42
  size: 16
44
43
  }
45
44
  }
@@ -63,8 +62,6 @@ const LearningPriorityCard = (props, context) => {
63
62
  'aria-label': `${title} ${progression}%`,
64
63
  'data-name': `circular-progress-bar-${title}`
65
64
  })), /*#__PURE__*/React.createElement("div", {
66
- onMouseOver: handleMouseOver,
67
- onMouseLeave: handleMouseLeave,
68
65
  "data-name": "button-explore-wrapper"
69
66
  }, /*#__PURE__*/React.createElement(ButtonLink, buttonExploreProps)));
70
67
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useState","useCallback","convert","Provider","GetTranslateFromContext","GetSkinFromContext","Tag","ButtonLink","CircularProgressBar","propTypes","style","LearningPriorityCard","props","context","tagLabel","title","progression","onClick","translate","skin","exploreLocale","primarySkinColor","hovered","setHovered","handleMouseOver","handleMouseLeave","buttonExploreProps","customStyle","backgroundColor","color","transition","label","icon","position","faIcon","name","size","container","circularProgressBarContainer","strokeWidth","contextTypes","childContextTypes"],"sources":["../../../src/molecule/learning-priority-card/index.tsx"],"sourcesContent":["import React, {useState, useCallback} from 'react';\nimport {get} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport Provider, {GetTranslateFromContext, GetSkinFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport CircularProgressBar from '../../atom/circular-progress-bar';\nimport {LearningPriorityCardPropTypes, propTypes} from './types';\nimport style from './style.css';\n\nconst LearningPriorityCard = (props: LearningPriorityCardPropTypes, context: WebContextValues) => {\n const {tagLabel, title, progression, onClick} = props;\n const translate = GetTranslateFromContext(context);\n const skin = GetSkinFromContext(context);\n const exploreLocale = translate('Explore');\n const primarySkinColor = get('common.primary', skin);\n\n const [hovered, setHovered] = useState(false);\n const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const buttonExploreProps = {\n customStyle: {\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n onClick,\n 'aria-label': `${title}, ${exploreLocale}`,\n label: exploreLocale,\n 'data-name': 'learning-priority-explore-button',\n icon: {\n position: 'left' as const,\n faIcon: {\n name: 'compass',\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n size: 16\n }\n }\n };\n\n return (\n <div\n className={style.container}\n aria-label={`learning priority card ${title}`}\n data-name={`learning-priority-card-${title}`}\n >\n <div>\n <Tag label={tagLabel} size={'S'} />\n </div>\n <div className={style.title}>{title}</div>\n <div className={style.circularProgressBarContainer}>\n <CircularProgressBar\n {...{\n size: 162,\n strokeWidth: 12,\n progression,\n label: translate('completed'),\n 'aria-label': `${title} ${progression}%`,\n 'data-name': `circular-progress-bar-${title}`\n }}\n />\n </div>\n <div\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n data-name=\"button-explore-wrapper\"\n >\n <ButtonLink {...buttonExploreProps} />\n </div>\n </div>\n );\n};\n\nLearningPriorityCard.propTypes = propTypes;\n\nLearningPriorityCard.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nexport default LearningPriorityCard;\n"],"mappings":";AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,WAAzB,QAA2C,OAA3C;AAEA,SAAQC,OAAR,QAAsB,oBAAtB;AACA,OAAOC,QAAP,IAAkBC,uBAAlB,EAA2CC,kBAA3C,QAAoE,qBAApE;AAEA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,mBAAP,MAAgC,kCAAhC;AACA,SAAuCC,SAAvC,QAAuD,SAAvD;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,oBAAoB,GAAG,CAACC,KAAD,EAAuCC,OAAvC,KAAqE;EAChG,MAAM;IAACC,QAAD;IAAWC,KAAX;IAAkBC,WAAlB;IAA+BC;EAA/B,IAA0CL,KAAhD;EACA,MAAMM,SAAS,GAAGd,uBAAuB,CAACS,OAAD,CAAzC;EACA,MAAMM,IAAI,GAAGd,kBAAkB,CAACQ,OAAD,CAA/B;EACA,MAAMO,aAAa,GAAGF,SAAS,CAAC,SAAD,CAA/B;;EACA,MAAMG,gBAAgB,GAAG,KAAI,gBAAJ,EAAsBF,IAAtB,CAAzB;;EAEA,MAAM,CAACG,OAAD,EAAUC,UAAV,IAAwBvB,QAAQ,CAAC,KAAD,CAAtC;EACA,MAAMwB,eAAe,GAAGvB,WAAW,CAAC,MAAMsB,UAAU,CAAC,IAAD,CAAjB,EAAyB,CAACA,UAAD,CAAzB,CAAnC;EACA,MAAME,gBAAgB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PhD,EADF,CATF,eAqBE;IACE,WAAW,EAAES,eADf;IAEE,YAAY,EAAEC,gBAFhB;IAGE,aAAU;EAHZ,gBAKE,oBAAC,UAAD,EAAgBC,kBAAhB,CALF,CArBF,CADF;AA+BD,CA/DD;;AAiEAf,oBAAoB,CAACF,SAArB,2CAAiCA,SAAjC;AAEAE,oBAAoB,CAAC6B,YAArB,GAAoC;EAClCrB,IAAI,EAAEhB,QAAQ,CAACsC,iBAAT,CAA2BtB,IADC;EAElCD,SAAS,EAAEf,QAAQ,CAACsC,iBAAT,CAA2BvB;AAFJ,CAApC;AAKA,eAAeP,oBAAf"}
1
+ {"version":3,"file":"index.js","names":["React","convert","Provider","GetTranslateFromContext","GetSkinFromContext","Tag","ButtonLink","CircularProgressBar","propTypes","style","LearningPriorityCard","props","context","tagLabel","title","progression","onClick","translate","skin","exploreLocale","primarySkinColor","buttonExploreProps","customStyle","backgroundColor","color","transition","hoverBackgroundColor","hoverColor","label","icon","position","faIcon","name","size","container","circularProgressBarContainer","strokeWidth","contextTypes","childContextTypes"],"sources":["../../../src/molecule/learning-priority-card/index.tsx"],"sourcesContent":["import React from 'react';\nimport {get} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport Provider, {GetTranslateFromContext, GetSkinFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport CircularProgressBar from '../../atom/circular-progress-bar';\nimport {LearningPriorityCardPropTypes, propTypes} from './types';\nimport style from './style.css';\n\nconst LearningPriorityCard = (props: LearningPriorityCardPropTypes, context: WebContextValues) => {\n const {tagLabel, title, progression, onClick} = props;\n const translate = GetTranslateFromContext(context);\n const skin = GetSkinFromContext(context);\n const exploreLocale = translate('Explore');\n const primarySkinColor = get('common.primary', skin);\n\n const buttonExploreProps = {\n customStyle: {\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n hoverBackgroundColor: primarySkinColor,\n hoverColor: '#FFFFFF',\n onClick,\n 'aria-label': `${title}, ${exploreLocale}`,\n label: exploreLocale,\n 'data-name': 'learning-priority-explore-button',\n icon: {\n position: 'left' as const,\n faIcon: {\n name: 'compass',\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n size: 16\n }\n }\n };\n\n return (\n <div\n className={style.container}\n aria-label={`learning priority card ${title}`}\n data-name={`learning-priority-card-${title}`}\n >\n <div>\n <Tag label={tagLabel} size={'S'} />\n </div>\n <div className={style.title}>{title}</div>\n <div className={style.circularProgressBarContainer}>\n <CircularProgressBar\n {...{\n size: 162,\n strokeWidth: 12,\n progression,\n label: translate('completed'),\n 'aria-label': `${title} ${progression}%`,\n 'data-name': `circular-progress-bar-${title}`\n }}\n />\n </div>\n <div data-name=\"button-explore-wrapper\">\n <ButtonLink {...buttonExploreProps} />\n </div>\n </div>\n );\n};\n\nLearningPriorityCard.propTypes = propTypes;\n\nLearningPriorityCard.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nexport default LearningPriorityCard;\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,SAAQC,OAAR,QAAsB,oBAAtB;AACA,OAAOC,QAAP,IAAkBC,uBAAlB,EAA2CC,kBAA3C,QAAoE,qBAApE;AAEA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,mBAAP,MAAgC,kCAAhC;AACA,SAAuCC,SAAvC,QAAuD,SAAvD;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,oBAAoB,GAAG,CAACC,KAAD,EAAuCC,OAAvC,KAAqE;EAChG,MAAM;IAACC,QAAD;IAAWC,KAAX;IAAkBC,WAAlB;IAA+BC;EAA/B,IAA0CL,KAAhD;EACA,MAAMM,SAAS,GAAGd,uBAAuB,CAAC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Y,GAN1C;IAOI,aAAc,yBAAwBD,KAAM;EAPhD,EADF,CATF,eAqBE;IAAK,aAAU;EAAf,gBACE,oBAAC,UAAD,EAAgBO,kBAAhB,CADF,CArBF,CADF;AA2BD,CAzDD;;AA2DAX,oBAAoB,CAACF,SAArB,2CAAiCA,SAAjC;AAEAE,oBAAoB,CAAC2B,YAArB,GAAoC;EAClCnB,IAAI,EAAEhB,QAAQ,CAACoC,iBAAT,CAA2BpB,IADC;EAElCD,SAAS,EAAEf,QAAQ,CAACoC,iBAAT,CAA2BrB;AAFJ,CAApC;AAKA,eAAeP,oBAAf"}
@@ -4,13 +4,11 @@ export declare type LearningPriorityCardPropTypes = {
4
4
  tagLabel: 'Skill' | 'Playlist' | 'Certification';
5
5
  progression: number;
6
6
  onClick: () => void;
7
- type: 'learningPriority';
8
7
  };
9
8
  export declare const propTypes: {
10
9
  title: PropTypes.Requireable<string>;
11
10
  tagLabel: PropTypes.Requireable<string>;
12
11
  progression: PropTypes.Requireable<number>;
13
12
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
14
- type: PropTypes.Requireable<string>;
15
13
  };
16
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/learning-priority-card/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,oBAAY,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,GAAG,UAAU,GAAG,eAAe,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/learning-priority-card/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,oBAAY,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,GAAG,UAAU,GAAG,eAAe,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;CAKrB,CAAC"}
@@ -3,7 +3,6 @@ export const propTypes = {
3
3
  title: PropTypes.string,
4
4
  tagLabel: PropTypes.oneOf(['Playlist', 'Certification', 'Skill']),
5
5
  progression: PropTypes.number,
6
- onClick: PropTypes.func,
7
- type: PropTypes.oneOf(['learningPriority'])
6
+ onClick: PropTypes.func
8
7
  };
9
8
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["PropTypes","propTypes","title","string","tagLabel","oneOf","progression","number","onClick","func","type"],"sources":["../../../src/molecule/learning-priority-card/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport type LearningPriorityCardPropTypes = {\n title: string;\n tagLabel: 'Skill' | 'Playlist' | 'Certification';\n progression: number;\n onClick: () => void;\n type: 'learningPriority';\n};\n\nexport const propTypes = {\n title: PropTypes.string,\n tagLabel: PropTypes.oneOf(['Playlist', 'Certification', 'Skill']),\n progression: PropTypes.number,\n onClick: PropTypes.func,\n type: PropTypes.oneOf(['learningPriority'])\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAUA,OAAO,MAAMC,SAAS,GAAG;EACvBC,KAAK,EAAEF,SAAS,CAACG,MADM;EAEvBC,QAAQ,EAAEJ,SAAS,CAACK,KAAV,CAAgB,CAAC,UAAD,EAAa,eAAb,EAA8B,OAA9B,CAAhB,CAFa;EAGvBC,WAAW,EAAEN,SAAS,CAACO,MAHA;EAIvBC,OAAO,EAAER,SAAS,CAACS,IAJI;EAKvBC,IAAI,EAAEV,SAAS,CAACK,KAAV,CAAgB,CAAC,kBAAD,CAAhB;AALiB,CAAlB"}
1
+ {"version":3,"file":"types.js","names":["PropTypes","propTypes","title","string","tagLabel","oneOf","progression","number","onClick","func"],"sources":["../../../src/molecule/learning-priority-card/types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport type LearningPriorityCardPropTypes = {\n title: string;\n tagLabel: 'Skill' | 'Playlist' | 'Certification';\n progression: number;\n onClick: () => void;\n};\n\nexport const propTypes = {\n title: PropTypes.string,\n tagLabel: PropTypes.oneOf(['Playlist', 'Certification', 'Skill']),\n progression: PropTypes.number,\n onClick: PropTypes.func\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AASA,OAAO,MAAMC,SAAS,GAAG;EACvBC,KAAK,EAAEF,SAAS,CAACG,MADM;EAEvBC,QAAQ,EAAEJ,SAAS,CAACK,KAAV,CAAgB,CAAC,UAAD,EAAa,eAAb,EAA8B,OAA9B,CAAhB,CAFa;EAGvBC,WAAW,EAAEN,SAAS,CAACO,MAHA;EAIvBC,OAAO,EAAER,SAAS,CAACS;AAJI,CAAlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/skill-card/index.js"],"names":[],"mappings":";AAwBA,kEA0EC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/skill-card/index.js"],"names":[],"mappings":";AAwBA,kEAkEC"}
@@ -1,4 +1,4 @@
1
- import React, { useCallback, useState, useMemo } from 'react';
1
+ import React, { useMemo } from 'react';
2
2
  import { convert } from 'css-color-function';
3
3
  import { NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon } from '@coorpacademy/nova-icons';
4
4
  import getOr from 'lodash/fp/getOr';
@@ -26,16 +26,15 @@ const SkillCard = (props, context) => {
26
26
  const {
27
27
  skin
28
28
  } = context;
29
- const [hovered, setHovered] = useState(false);
30
29
  const primarySkinColor = getOr('#00B0FF', 'common.primary', skin);
31
- const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);
32
- const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);
33
30
  const buttonProps = {
34
31
  customStyle: {
35
- backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),
36
- color: hovered ? '#FFFFFF' : primarySkinColor,
32
+ backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),
33
+ color: primarySkinColor,
37
34
  transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'
38
35
  },
36
+ hoverBackgroundColor: primarySkinColor,
37
+ hoverColor: '#FFFFFF',
39
38
  onClick,
40
39
  'aria-label': buttonAriaLabel ? `${skillTitle}, ${buttonAriaLabel}` : skillTitle,
41
40
  label: buttonLabel,
@@ -66,8 +65,6 @@ const SkillCard = (props, context) => {
66
65
  height: 16
67
66
  }), reviseLabel), /*#__PURE__*/React.createElement("div", {
68
67
  className: style.buttonWrapper,
69
- onMouseOver: handleMouseOver,
70
- onMouseLeave: handleMouseLeave,
71
68
  "data-name": "button-wrapper"
72
69
  }, /*#__PURE__*/React.createElement(ButtonLink, buttonProps))));
73
70
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useCallback","useState","useMemo","convert","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","getOr","ButtonLink","style","propTypes","getGradientBackground","baseColor","gradients","SkillCard","props","context","ariaLabel","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","onClick","isCustom","skin","hovered","setHovered","primarySkinColor","handleMouseOver","handleMouseLeave","buttonProps","customStyle","backgroundColor","color","transition","label","titleBackgroundColor","titleBackground","skillCardWrapper","background","questionReviseText","questionReviseIcon","buttonWrapper"],"sources":["../../../src/molecule/skill-card/index.js"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport {convert} from 'css-color-function';\nimport {NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon} from '@coorpacademy/nova-icons';\nimport getOr from 'lodash/fp/getOr';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst getGradientBackground = baseColor => {\n const gradients = [\n convert(`color(${baseColor} lightness(30%))`),\n convert(`color(${baseColor} lightness(47%))`),\n convert(`color(${baseColor} lightness(55%))`)\n ];\n\n return `radial-gradient(62.12% 56.45% at 0% 77.29%, ${gradients[0]} 0%, ${convert(\n `color(${gradients[0]} a(0))`\n )} 100%), radial-gradient(113.85% 103.46% at 93.27% 7.88%, ${gradients[1]} 0%, ${convert(\n `color(${gradients[1]} a(0))`\n )} 100%), radial-gradient(49.66% 49.63% at 78.65% 86.26%, ${gradients[2]} 0%, ${convert(\n `color(${gradients[2]} a(0))`\n )} 100%), ${baseColor}`;\n};\n\nconst SkillCard = (props, context) => {\n const {\n 'aria-label': ariaLabel,\n skillTitle,\n skillAriaLabel,\n buttonLabel,\n buttonAriaLabel,\n reviseLabel,\n reviseAriaLabel,\n onClick,\n isCustom = false\n } = props;\n const {skin} = context;\n const [hovered, setHovered] = useState(false);\n const primarySkinColor = getOr('#00B0FF', 'common.primary', skin);\n\n const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n const buttonProps = {\n customStyle: {\n backgroundColor: hovered ? primarySkinColor : convert(`color(${primarySkinColor} a(0.07))`),\n color: hovered ? '#FFFFFF' : primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n onClick,\n 'aria-label': buttonAriaLabel ? `${skillTitle}, ${buttonAriaLabel}` : skillTitle,\n label: buttonLabel,\n 'data-name': 'skill-card-button'\n };\n\n const titleBackgroundColor = useMemo(\n () => (isCustom ? '#128C72' : primarySkinColor),\n [isCustom, primarySkinColor]\n );\n\n const titleBackground = useMemo(\n () => getGradientBackground(titleBackgroundColor),\n [titleBackgroundColor]\n );\n\n return (\n <div className={style.skillCardWrapper} data-name=\"skill-card-wrapper\" aria-label={ariaLabel}>\n <div\n data-name=\"skill-title\"\n className={style.skillTitle}\n aria-label={skillAriaLabel || skillTitle}\n style={{\n background: titleBackground\n }}\n >\n {skillTitle}\n </div>\n <div data-name=\"card-content-wrapper\">\n <div\n className={style.questionReviseText}\n data-name=\"questions-to-revise-label\"\n aria-label={reviseAriaLabel || reviseLabel}\n >\n <QuestionIcon className={style.questionReviseIcon} width={16} height={16} />\n {reviseLabel}\n </div>\n <div\n className={style.buttonWrapper}\n onMouseOver={handleMouseOver}\n onMouseLeave={handleMouseLeave}\n data-name=\"button-wrapper\"\n >\n <ButtonLink {...buttonProps} />\n </div>\n </div>\n </div>\n );\n};\n\nSkillCard.propTypes = propTypes;\n\nexport default SkillCard;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,WAAf,EAA4BC,QAA5B,EAAsCC,OAAtC,QAAoD,OAApD;AACA,SAAQC,OAAR,QAAsB,oBAAtB;AACA,SAAQC,+CAA+C,IAAIC,YAA3D,QAA8E,0BAA9E;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;AAEA,MAAMC,qBAAqB,GAAGC,SAAS,IAAI;EACzC,MAAMC,SAAS,GAAG,CAChBT,OAAO,CAAE,SAAQQ,SAAU,kBAApB,CADS,EAEhBR,OAAO,CAAE,SAAQQ,SAAU,kBAApB,CAFS,EAGhBR,OAAO,CAAE,SAAQQ,SAAU,kBAApB,CAHS,CAAlB;EAMA,OAAQ,+CAA8CC,SAAS,CAAC,CAAD,CAAI,QAAOT,OAAO,CAC9E,SAAQS,SAAS,CAAC,CAAD,CAAI,QADyD,CAE/E,4DAA2DA,SAAS,CAAC,CAAD,CAAI,QAAOT,OAAO,CACrF,SAAQS,SAAS,CAAC,CAAD,CAAI,QADgE,CAEtF,2DAA0DA,SAAS,CAAC,CAAD,CAAI,QAAOT,OAAO,CACpF,SAAQS,SAAS,CAAC,CAAD,CAAI,QAD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AD,CADE,EAE7B,CAACA,oBAAD,CAF6B,CAA/B;EAKA,oBACE;IAAK,SAAS,EAAE7B,KAAK,CAAC+B,gBAAtB;IAAwC,aAAU,oBAAlD;IAAuE,cAAYvB;EAAnF,gBACE;IACE,aAAU,aADZ;IAEE,SAAS,EAAER,KAAK,CAACS,UAFnB;IAGE,cAAYC,cAAc,IAAID,UAHhC;IAIE,KAAK,EAAE;MACLuB,UAAU,EAAEF;IADP;EAJT,GAQGrB,UARH,CADF,eAWE;IAAK,aAAU;EAAf,gBACE;IACE,SAAS,EAAET,KAAK,CAACiC,kBADnB;IAEE,aAAU,2BAFZ;IAGE,cAAYnB,eAAe,IAAID;EAHjC,gBAKE,oBAAC,YAAD;IAAc,SAAS,EAAEb,KAAK,CAACkC,kBAA/B;IAAmD,KAAK,EAAE,EAA1D;IAA8D,MAAM,EAAE;EAAtE,EALF,EAMGrB,WANH,CADF,eASE;IACE,SAAS,EAAEb,KAAK,CAACmC,aADnB;IAEE,WAAW,EAAEd,eAFf;IAGE,YAAY,EAAEC,gBAHhB;IAIE,aAAU;EAJZ,gBAME,oBAAC,UAAD,EAAgBC,WAAhB,CANF,CATF,CAXF,CADF;AAgCD,CA1ED;;AA4EAlB,SAAS,CAACJ,SAAV,2CAAsBA,SAAtB;AAEA,eAAeI,SAAf"}
1
+ {"version":3,"file":"index.js","names":["React","useMemo","convert","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionIcon","getOr","ButtonLink","style","propTypes","getGradientBackground","baseColor","gradients","SkillCard","props","context","ariaLabel","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","onClick","isCustom","skin","primarySkinColor","buttonProps","customStyle","backgroundColor","color","transition","hoverBackgroundColor","hoverColor","label","titleBackgroundColor","titleBackground","skillCardWrapper","background","questionReviseText","questionReviseIcon","buttonWrapper"],"sources":["../../../src/molecule/skill-card/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport {convert} from 'css-color-function';\nimport {NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionIcon} from '@coorpacademy/nova-icons';\nimport getOr from 'lodash/fp/getOr';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst getGradientBackground = baseColor => {\n const gradients = [\n convert(`color(${baseColor} lightness(30%))`),\n convert(`color(${baseColor} lightness(47%))`),\n convert(`color(${baseColor} lightness(55%))`)\n ];\n\n return `radial-gradient(62.12% 56.45% at 0% 77.29%, ${gradients[0]} 0%, ${convert(\n `color(${gradients[0]} a(0))`\n )} 100%), radial-gradient(113.85% 103.46% at 93.27% 7.88%, ${gradients[1]} 0%, ${convert(\n `color(${gradients[1]} a(0))`\n )} 100%), radial-gradient(49.66% 49.63% at 78.65% 86.26%, ${gradients[2]} 0%, ${convert(\n `color(${gradients[2]} a(0))`\n )} 100%), ${baseColor}`;\n};\n\nconst SkillCard = (props, context) => {\n const {\n 'aria-label': ariaLabel,\n skillTitle,\n skillAriaLabel,\n buttonLabel,\n buttonAriaLabel,\n reviseLabel,\n reviseAriaLabel,\n onClick,\n isCustom = false\n } = props;\n const {skin} = context;\n const primarySkinColor = getOr('#00B0FF', 'common.primary', skin);\n\n const buttonProps = {\n customStyle: {\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n },\n hoverBackgroundColor: primarySkinColor,\n hoverColor: '#FFFFFF',\n onClick,\n 'aria-label': buttonAriaLabel ? `${skillTitle}, ${buttonAriaLabel}` : skillTitle,\n label: buttonLabel,\n 'data-name': 'skill-card-button'\n };\n\n const titleBackgroundColor = useMemo(\n () => (isCustom ? '#128C72' : primarySkinColor),\n [isCustom, primarySkinColor]\n );\n\n const titleBackground = useMemo(\n () => getGradientBackground(titleBackgroundColor),\n [titleBackgroundColor]\n );\n\n return (\n <div className={style.skillCardWrapper} data-name=\"skill-card-wrapper\" aria-label={ariaLabel}>\n <div\n data-name=\"skill-title\"\n className={style.skillTitle}\n aria-label={skillAriaLabel || skillTitle}\n style={{\n background: titleBackground\n }}\n >\n {skillTitle}\n </div>\n <div data-name=\"card-content-wrapper\">\n <div\n className={style.questionReviseText}\n data-name=\"questions-to-revise-label\"\n aria-label={reviseAriaLabel || reviseLabel}\n >\n <QuestionIcon className={style.questionReviseIcon} width={16} height={16} />\n {reviseLabel}\n </div>\n <div className={style.buttonWrapper} data-name=\"button-wrapper\">\n <ButtonLink {...buttonProps} />\n </div>\n </div>\n </div>\n );\n};\n\nSkillCard.propTypes = propTypes;\n\nexport default SkillCard;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,SAAQC,OAAR,QAAsB,oBAAtB;AACA,SAAQC,+CAA+C,IAAIC,YAA3D,QAA8E,0BAA9E;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;AAEA,MAAMC,qBAAqB,GAAGC,SAAS,IAAI;EACzC,MAAMC,SAAS,GAAG,CAChBT,OAAO,CAAE,SAAQQ,SAAU,kBAApB,CADS,EAEhBR,OAAO,CAAE,SAAQQ,SAAU,kBAApB,CAFS,EAGhBR,OAAO,CAAE,SAAQQ,SAAU,kBAApB,CAHS,CAAlB;EAMA,OAAQ,+CAA8CC,SAAS,CAAC,CAAD,CAAI,QAAOT,OAAO,CAC9E,SAAQS,SAAS,CAAC,CAAD,CAAI,QADyD,CAE/E,4DAA2DA,SAAS,CAAC,CAAD,CAAI,QAAOT,OAAO,CACrF,SAAQS,SAAS,CAAC,CAAD,CAAI,QADgE,CAEtF,2DAA0DA,SAAS,CAAC,CAAD,CAAI,QAAOT,OAAO,CACpF,SAAQS,SAAS,CAAC,CAAD,CAAI,QAD+D,CAErF,WAAUD,SAAU,EANtB;AAOD,CAdD;;AAgBA,MAAME,SAAS,GAAG,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AC+B,kBADnB;IAEE,aAAU,2BAFZ;IAGE,cAAYjB,eAAe,IAAID;EAHjC,gBAKE,oBAAC,YAAD;IAAc,SAAS,EAAEb,KAAK,CAACgC,kBAA/B;IAAmD,KAAK,EAAE,EAA1D;IAA8D,MAAM,EAAE;EAAtE,EALF,EAMGnB,WANH,CADF,eASE;IAAK,SAAS,EAAEb,KAAK,CAACiC,aAAtB;IAAqC,aAAU;EAA/C,gBACE,oBAAC,UAAD,EAAgBd,WAAhB,CADF,CATF,CAXF,CADF;AA2BD,CAlED;;AAoEAd,SAAS,CAACJ,SAAV,2CAAsBA,SAAtB;AAEA,eAAeI,SAAf"}
@@ -27,6 +27,8 @@ declare namespace ListItems {
27
27
  download: PropTypes.Requireable<boolean>;
28
28
  target: PropTypes.Requireable<string>;
29
29
  }>>;
30
+ hoverBackgroundColor: PropTypes.Requireable<string>;
31
+ hoverColor: PropTypes.Requireable<string>;
30
32
  disabled: PropTypes.Requireable<boolean>;
31
33
  className: PropTypes.Requireable<string>;
32
34
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -159,6 +161,8 @@ declare namespace ListItems {
159
161
  download: PropTypes.Requireable<boolean>;
160
162
  target: PropTypes.Requireable<string>;
161
163
  }>>;
164
+ hoverBackgroundColor: PropTypes.Requireable<string>;
165
+ hoverColor: PropTypes.Requireable<string>;
162
166
  disabled: PropTypes.Requireable<boolean>;
163
167
  className: PropTypes.Requireable<string>;
164
168
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -20,6 +20,8 @@ declare namespace SetupHeader {
20
20
  download: PropTypes.Requireable<boolean>;
21
21
  target: PropTypes.Requireable<string>;
22
22
  }>>;
23
+ hoverBackgroundColor: PropTypes.Requireable<string>;
24
+ hoverColor: PropTypes.Requireable<string>;
23
25
  disabled: PropTypes.Requireable<boolean>;
24
26
  className: PropTypes.Requireable<string>;
25
27
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -41,6 +43,8 @@ declare namespace SetupHeader {
41
43
  download: PropTypes.Requireable<boolean>;
42
44
  target: PropTypes.Requireable<string>;
43
45
  }>>;
46
+ hoverBackgroundColor: PropTypes.Requireable<string>;
47
+ hoverColor: PropTypes.Requireable<string>;
44
48
  disabled: PropTypes.Requireable<boolean>;
45
49
  className: PropTypes.Requireable<string>;
46
50
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -62,6 +66,8 @@ declare namespace SetupHeader {
62
66
  download: PropTypes.Requireable<boolean>;
63
67
  target: PropTypes.Requireable<string>;
64
68
  }>>;
69
+ hoverBackgroundColor: PropTypes.Requireable<string>;
70
+ hoverColor: PropTypes.Requireable<string>;
65
71
  disabled: PropTypes.Requireable<boolean>;
66
72
  className: PropTypes.Requireable<string>;
67
73
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -83,6 +89,8 @@ declare namespace SetupHeader {
83
89
  download: PropTypes.Requireable<boolean>;
84
90
  target: PropTypes.Requireable<string>;
85
91
  }>>;
92
+ hoverBackgroundColor: PropTypes.Requireable<string>;
93
+ hoverColor: PropTypes.Requireable<string>;
86
94
  disabled: PropTypes.Requireable<boolean>;
87
95
  className: PropTypes.Requireable<string>;
88
96
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -36,6 +36,8 @@ declare namespace WizardContents {
36
36
  download: PropTypes.Requireable<boolean>;
37
37
  target: PropTypes.Requireable<string>;
38
38
  }>>;
39
+ hoverBackgroundColor: PropTypes.Requireable<string>;
40
+ hoverColor: PropTypes.Requireable<string>;
39
41
  disabled: PropTypes.Requireable<boolean>;
40
42
  className: PropTypes.Requireable<string>;
41
43
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -57,6 +59,8 @@ declare namespace WizardContents {
57
59
  download: PropTypes.Requireable<boolean>;
58
60
  target: PropTypes.Requireable<string>;
59
61
  }>>;
62
+ hoverBackgroundColor: PropTypes.Requireable<string>;
63
+ hoverColor: PropTypes.Requireable<string>;
60
64
  disabled: PropTypes.Requireable<boolean>;
61
65
  className: PropTypes.Requireable<string>;
62
66
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -446,6 +450,8 @@ declare namespace WizardContents {
446
450
  download: PropTypes.Requireable<boolean>;
447
451
  target: PropTypes.Requireable<string>;
448
452
  }>>;
453
+ hoverBackgroundColor: PropTypes.Requireable<string>;
454
+ hoverColor: PropTypes.Requireable<string>;
449
455
  disabled: PropTypes.Requireable<boolean>;
450
456
  className: PropTypes.Requireable<string>;
451
457
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -104,6 +104,8 @@ declare namespace PlayerLoading {
104
104
  download: PropTypes.Requireable<boolean>;
105
105
  target: PropTypes.Requireable<string>;
106
106
  }>>;
107
+ hoverBackgroundColor: PropTypes.Requireable<string>;
108
+ hoverColor: PropTypes.Requireable<string>;
107
109
  disabled: PropTypes.Requireable<boolean>;
108
110
  className: PropTypes.Requireable<string>;
109
111
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -236,6 +238,8 @@ declare namespace PlayerLoading {
236
238
  download: PropTypes.Requireable<boolean>;
237
239
  target: PropTypes.Requireable<string>;
238
240
  }>>;
241
+ hoverBackgroundColor: PropTypes.Requireable<string>;
242
+ hoverColor: PropTypes.Requireable<string>;
239
243
  disabled: PropTypes.Requireable<boolean>;
240
244
  className: PropTypes.Requireable<string>;
241
245
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -155,6 +155,8 @@ declare namespace SlidePlayer {
155
155
  download: PropTypes.Requireable<boolean>;
156
156
  target: PropTypes.Requireable<string>;
157
157
  }>>;
158
+ hoverBackgroundColor: PropTypes.Requireable<string>;
159
+ hoverColor: PropTypes.Requireable<string>;
158
160
  disabled: PropTypes.Requireable<boolean>;
159
161
  className: PropTypes.Requireable<string>;
160
162
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -287,6 +289,8 @@ declare namespace SlidePlayer {
287
289
  download: PropTypes.Requireable<boolean>;
288
290
  target: PropTypes.Requireable<string>;
289
291
  }>>;
292
+ hoverBackgroundColor: PropTypes.Requireable<string>;
293
+ hoverColor: PropTypes.Requireable<string>;
290
294
  disabled: PropTypes.Requireable<boolean>;
291
295
  className: PropTypes.Requireable<string>;
292
296
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -434,6 +438,8 @@ declare namespace SlidePlayer {
434
438
  download: PropTypes.Requireable<boolean>;
435
439
  target: PropTypes.Requireable<string>;
436
440
  }>>;
441
+ hoverBackgroundColor: PropTypes.Requireable<string>;
442
+ hoverColor: PropTypes.Requireable<string>;
437
443
  disabled: PropTypes.Requireable<boolean>;
438
444
  className: PropTypes.Requireable<string>;
439
445
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -566,6 +572,8 @@ declare namespace SlidePlayer {
566
572
  download: PropTypes.Requireable<boolean>;
567
573
  target: PropTypes.Requireable<string>;
568
574
  }>>;
575
+ hoverBackgroundColor: PropTypes.Requireable<string>;
576
+ hoverColor: PropTypes.Requireable<string>;
569
577
  disabled: PropTypes.Requireable<boolean>;
570
578
  className: PropTypes.Requireable<string>;
571
579
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -161,6 +161,8 @@ declare namespace SlidesPlayer {
161
161
  download: PropTypes.Requireable<boolean>;
162
162
  target: PropTypes.Requireable<string>;
163
163
  }>>;
164
+ hoverBackgroundColor: PropTypes.Requireable<string>;
165
+ hoverColor: PropTypes.Requireable<string>;
164
166
  disabled: PropTypes.Requireable<boolean>;
165
167
  className: PropTypes.Requireable<string>;
166
168
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -293,6 +295,8 @@ declare namespace SlidesPlayer {
293
295
  download: PropTypes.Requireable<boolean>;
294
296
  target: PropTypes.Requireable<string>;
295
297
  }>>;
298
+ hoverBackgroundColor: PropTypes.Requireable<string>;
299
+ hoverColor: PropTypes.Requireable<string>;
296
300
  disabled: PropTypes.Requireable<boolean>;
297
301
  className: PropTypes.Requireable<string>;
298
302
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
@@ -191,6 +191,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
191
191
  download: PropTypes.Requireable<boolean>;
192
192
  target: PropTypes.Requireable<string>;
193
193
  }>>;
194
+ hoverBackgroundColor: PropTypes.Requireable<string>;
195
+ hoverColor: PropTypes.Requireable<string>;
194
196
  disabled: PropTypes.Requireable<boolean>;
195
197
  className: PropTypes.Requireable<string>;
196
198
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -323,6 +325,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
323
325
  download: PropTypes.Requireable<boolean>;
324
326
  target: PropTypes.Requireable<string>;
325
327
  }>>;
328
+ hoverBackgroundColor: PropTypes.Requireable<string>;
329
+ hoverColor: PropTypes.Requireable<string>;
326
330
  disabled: PropTypes.Requireable<boolean>;
327
331
  className: PropTypes.Requireable<string>;
328
332
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;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0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
@@ -166,7 +166,6 @@ declare namespace PopinEnd {
166
166
  tagLabel: PropTypes.Requireable<string>;
167
167
  progression: PropTypes.Requireable<number>;
168
168
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
169
- type: PropTypes.Requireable<string>;
170
169
  }> | null | undefined> | null | undefined)[]>;
171
170
  customStyle: PropTypes.Requireable<{
172
171
  [x: string]: string | null | undefined;
@@ -292,6 +291,8 @@ declare namespace PopinEnd {
292
291
  download: PropTypes.Requireable<boolean>;
293
292
  target: PropTypes.Requireable<string>;
294
293
  }>>;
294
+ hoverBackgroundColor: PropTypes.Requireable<string>;
295
+ hoverColor: PropTypes.Requireable<string>;
295
296
  disabled: PropTypes.Requireable<boolean>;
296
297
  className: PropTypes.Requireable<string>;
297
298
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -424,6 +425,8 @@ declare namespace PopinEnd {
424
425
  download: PropTypes.Requireable<boolean>;
425
426
  target: PropTypes.Requireable<string>;
426
427
  }>>;
428
+ hoverBackgroundColor: PropTypes.Requireable<string>;
429
+ hoverColor: PropTypes.Requireable<string>;
427
430
  disabled: PropTypes.Requireable<boolean>;
428
431
  className: PropTypes.Requireable<string>;
429
432
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -172,7 +172,6 @@ declare namespace Summary {
172
172
  tagLabel: PropTypes.Requireable<string>;
173
173
  progression: PropTypes.Requireable<number>;
174
174
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
175
- type: PropTypes.Requireable<string>;
176
175
  }> | null | undefined> | null | undefined)[]>;
177
176
  customStyle: PropTypes.Requireable<{
178
177
  [x: string]: string | null | undefined;
@@ -612,6 +612,8 @@ declare const AppReview: {
612
612
  download: import("prop-types").Requireable<boolean>;
613
613
  target: import("prop-types").Requireable<string>;
614
614
  }>>;
615
+ hoverBackgroundColor: import("prop-types").Requireable<string>;
616
+ hoverColor: import("prop-types").Requireable<string>;
615
617
  disabled: import("prop-types").Requireable<boolean>;
616
618
  className: import("prop-types").Requireable<string>;
617
619
  customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
@@ -744,6 +746,8 @@ declare const AppReview: {
744
746
  download: import("prop-types").Requireable<boolean>;
745
747
  target: import("prop-types").Requireable<string>;
746
748
  }>>;
749
+ hoverBackgroundColor: import("prop-types").Requireable<string>;
750
+ hoverColor: import("prop-types").Requireable<string>;
747
751
  disabled: import("prop-types").Requireable<boolean>;
748
752
  className: import("prop-types").Requireable<string>;
749
753
  customStyle: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -612,6 +612,8 @@ declare const propTypes: {
612
612
  download: PropTypes.Requireable<boolean>;
613
613
  target: PropTypes.Requireable<string>;
614
614
  }>>;
615
+ hoverBackgroundColor: PropTypes.Requireable<string>;
616
+ hoverColor: PropTypes.Requireable<string>;
615
617
  disabled: PropTypes.Requireable<boolean>;
616
618
  className: PropTypes.Requireable<string>;
617
619
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -744,6 +746,8 @@ declare const propTypes: {
744
746
  download: PropTypes.Requireable<boolean>;
745
747
  target: PropTypes.Requireable<string>;
746
748
  }>>;
749
+ hoverBackgroundColor: PropTypes.Requireable<string>;
750
+ hoverColor: PropTypes.Requireable<string>;
747
751
  disabled: PropTypes.Requireable<boolean>;
748
752
  className: PropTypes.Requireable<string>;
749
753
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -616,6 +616,8 @@ declare const propTypes: {
616
616
  download: PropTypes.Requireable<boolean>;
617
617
  target: PropTypes.Requireable<string>;
618
618
  }>>;
619
+ hoverBackgroundColor: PropTypes.Requireable<string>;
620
+ hoverColor: PropTypes.Requireable<string>;
619
621
  disabled: PropTypes.Requireable<boolean>;
620
622
  className: PropTypes.Requireable<string>;
621
623
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -748,6 +750,8 @@ declare const propTypes: {
748
750
  download: PropTypes.Requireable<boolean>;
749
751
  target: PropTypes.Requireable<string>;
750
752
  }>>;
753
+ hoverBackgroundColor: PropTypes.Requireable<string>;
754
+ hoverColor: PropTypes.Requireable<string>;
751
755
  disabled: PropTypes.Requireable<boolean>;
752
756
  className: PropTypes.Requireable<string>;
753
757
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE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