@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.
- package/es/atom/button-link/index.d.ts +2 -0
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +22 -8
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/types.d.ts +4 -0
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js +2 -0
- package/es/atom/button-link/types.js.map +1 -1
- package/es/molecule/base-modal/index.d.ts.map +1 -1
- package/es/molecule/base-modal/index.js +6 -10
- package/es/molecule/base-modal/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +4 -0
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts +0 -1
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +3 -2
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/expandible-actionable-table/index.d.ts +2 -0
- package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/es/molecule/expandible-actionable-table/types.d.ts +2 -0
- package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/es/molecule/learner-skill-card/index.js +7 -10
- package/es/molecule/learner-skill-card/index.js.map +1 -1
- package/es/molecule/learning-priority-card/index.d.ts +0 -1
- package/es/molecule/learning-priority-card/index.d.ts.map +1 -1
- package/es/molecule/learning-priority-card/index.js +7 -10
- package/es/molecule/learning-priority-card/index.js.map +1 -1
- package/es/molecule/learning-priority-card/types.d.ts +0 -2
- package/es/molecule/learning-priority-card/types.d.ts.map +1 -1
- package/es/molecule/learning-priority-card/types.js +1 -2
- package/es/molecule/learning-priority-card/types.js.map +1 -1
- package/es/molecule/skill-card/index.d.ts.map +1 -1
- package/es/molecule/skill-card/index.js +5 -8
- package/es/molecule/skill-card/index.js.map +1 -1
- package/es/organism/list-items/index.d.ts +4 -0
- package/es/organism/setup-header/index.d.ts +8 -0
- package/es/organism/wizard-contents/index.d.ts +6 -0
- package/es/template/app-player/loading/index.d.ts +4 -0
- package/es/template/app-player/player/index.d.ts +8 -0
- package/es/template/app-player/player/slides/index.d.ts +4 -0
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +4 -0
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +4 -1
- package/es/template/app-player/popin-end/summary.d.ts +0 -1
- package/es/template/app-review/index.d.ts +4 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +4 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +4 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-create/index.d.ts +8 -0
- package/es/template/back-office/brand-create/index.d.ts.map +1 -1
- package/es/template/back-office/brand-list/index.d.ts +8 -0
- package/es/template/back-office/brand-list/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +22 -0
- package/es/template/back-office/dashboard-preview/index.d.ts +8 -0
- package/es/template/back-office/layout/index.d.ts +8 -0
- package/es/template/back-office/layout/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.d.ts +8 -0
- package/es/template/common/dashboard/index.d.ts.map +1 -1
- package/es/template/common/dashboard/index.js +0 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/search-page/index.d.ts +4 -1
- package/es/template/external-course/index.d.ts +4 -0
- package/es/template/my-learning/index.d.ts +0 -2
- package/es/template/my-learning/index.d.ts.map +1 -1
- package/es/template/my-learning/index.js +12 -19
- package/es/template/my-learning/index.js.map +1 -1
- package/es/template/my-learning/style.css +1 -1
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +4 -8
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/template/teams-dashboard/index.d.ts +0 -1
- package/lib/atom/button-link/index.d.ts +2 -0
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +21 -7
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/types.d.ts +4 -0
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js +2 -0
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/molecule/base-modal/index.d.ts.map +1 -1
- package/lib/molecule/base-modal/index.js +5 -9
- package/lib/molecule/base-modal/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +4 -0
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts +0 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +3 -2
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/expandible-actionable-table/index.d.ts +2 -0
- package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
- package/lib/molecule/expandible-actionable-table/types.d.ts +2 -0
- package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
- package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/lib/molecule/learner-skill-card/index.js +6 -9
- package/lib/molecule/learner-skill-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-card/index.d.ts +0 -1
- package/lib/molecule/learning-priority-card/index.d.ts.map +1 -1
- package/lib/molecule/learning-priority-card/index.js +7 -10
- package/lib/molecule/learning-priority-card/index.js.map +1 -1
- package/lib/molecule/learning-priority-card/types.d.ts +0 -2
- package/lib/molecule/learning-priority-card/types.d.ts.map +1 -1
- package/lib/molecule/learning-priority-card/types.js +1 -2
- package/lib/molecule/learning-priority-card/types.js.map +1 -1
- package/lib/molecule/skill-card/index.d.ts.map +1 -1
- package/lib/molecule/skill-card/index.js +4 -7
- package/lib/molecule/skill-card/index.js.map +1 -1
- package/lib/organism/list-items/index.d.ts +4 -0
- package/lib/organism/setup-header/index.d.ts +8 -0
- package/lib/organism/wizard-contents/index.d.ts +6 -0
- package/lib/template/app-player/loading/index.d.ts +4 -0
- package/lib/template/app-player/player/index.d.ts +8 -0
- package/lib/template/app-player/player/slides/index.d.ts +4 -0
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +4 -0
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +4 -1
- package/lib/template/app-player/popin-end/summary.d.ts +0 -1
- package/lib/template/app-review/index.d.ts +4 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +4 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +4 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-create/index.d.ts +8 -0
- package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-list/index.d.ts +8 -0
- package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +22 -0
- package/lib/template/back-office/dashboard-preview/index.d.ts +8 -0
- package/lib/template/back-office/layout/index.d.ts +8 -0
- package/lib/template/back-office/layout/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.d.ts +8 -0
- package/lib/template/common/dashboard/index.d.ts.map +1 -1
- package/lib/template/common/dashboard/index.js +0 -1
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/search-page/index.d.ts +4 -1
- package/lib/template/external-course/index.d.ts +4 -0
- package/lib/template/my-learning/index.d.ts +0 -2
- package/lib/template/my-learning/index.d.ts.map +1 -1
- package/lib/template/my-learning/index.js +13 -19
- package/lib/template/my-learning/index.js.map +1 -1
- package/lib/template/my-learning/style.css +1 -1
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +4 -8
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/template/teams-dashboard/index.d.ts +0 -1
- 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 {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,QAA2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ACyE,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 {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;AAC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BAAhB,CADF,eAEE;IAAK,SAAS,EAAEzB,KAAK,CAAC4D,aAAtB;IAAqC,aAAU;EAA/C,gBACE,oBAAC,UAAD,EAAgB3B,kBAAhB,CADF,CAFF,CAxDF,CADF;AAiED,CAjJD;;AAmJAhC,gBAAgB,CAAC4D,YAAjB,GAAgC;EAC9B7C,IAAI,EAAEjB,QAAQ,CAAC+D,iBAAT,CAA2B9C,IADH;EAE9BC,SAAS,EAAElB,QAAQ,CAAC+D,iBAAT,CAA2B7C;AAFR,CAAhC;AAKAhB,gBAAgB,CAAC8D,SAAjB,2CAA6B;EAC3B,cAAcnE,SAAS,CAACoE,MADG;EAE3B3D,UAAU,EAAET,SAAS,CAACoE,MAFK;EAG3B1D,cAAc,EAAEV,SAAS,CAACoE,MAHC;EAI3BzD,KAAK,EAAEX,SAAS,CAACqE,IAJU;EAK3BzD,OAAO,EAAEZ,SAAS,CAACsE,KAAV,CAAgB;IACvBtD,KAAK,EAAEhB,SAAS,CAACuE,MADM;IAEvBtD,OAAO,EAAEjB,SAAS,CAACuE,MAFI;IAGvBrD,iBAAiB,EAAElB,SAAS,CAACuE,MAHN;IAIvBpD,gBAAgB,EAAEnB,SAAS,CAACuE;EAJL,CAAhB,CALkB;EAW3B1D,MAAM,EAAEb,SAAS,CAACqE,IAXS;EAY3BvD,aAAa,EAAEd,SAAS,CAACwE,IAZE;EAa3BzD,cAAc,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
|
|
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
|
|
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:
|
|
30
|
-
color:
|
|
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:
|
|
42
|
-
color:
|
|
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","
|
|
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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SADnB;IAEE,cAAa,0BAAyBpB,KAAM,EAF9C;IAGE,aAAY,0BAAyBA,KAAM;EAH7C,gBAKE,8CACE,oBAAC,GAAD;IAAK,KAAK,EAAED,QAAZ;IAAsB,IAAI,EAAE;EAA5B,EADF,CALF,eAQE;IAAK,SAAS,EAAEJ,KAAK,CAACK;EAAtB,GAA8BA,KAA9B,CARF,eASE;IAAK,SAAS,EAAEL,KAAK,CAAC0B;EAAtB,gBACE,oBAAC,mBAAD;IAEIF,IAAI,EAAE,GAFV;IAGIG,WAAW,EAAE,EAHjB;IAIIrB,WAJJ;IAKIa,KAAK,EAAEX,SAAS,CAAC,WAAD,CALpB;IAMI,cAAe,GAAEH,KAAM,IAAGC,WAAY,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;
|
|
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"
|
|
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,
|
|
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, {
|
|
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:
|
|
36
|
-
color:
|
|
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","
|
|
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,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACpC,MAAM;IACJ,cAAcC,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ID;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
|
|
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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,QAAA,MAAM,SAAS
|
|
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,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS
|
|
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,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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