@coorpacademy/components 11.35.2-forcedeploy.13 → 11.35.2
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.js +1 -1
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/style.css +2 -2
- package/es/atom/icon/index.d.ts +17 -35
- package/es/atom/icon/index.d.ts.map +1 -1
- package/es/atom/icon/index.js +15 -32
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +3 -13
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +2 -13
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/status-item/index.native.js +1 -1
- package/es/atom/status-item/index.native.js.map +1 -1
- package/es/atom/tag/index.d.ts +1 -12
- package/es/atom/tag/style.css +0 -1
- package/es/atom/title/index.d.ts +2 -13
- package/es/molecule/banner/style.css +0 -1
- package/es/molecule/base-modal/style.css +1 -0
- package/es/molecule/bulk-progress-bar/index.js +2 -2
- package/es/molecule/bulk-progress-bar/index.js.map +1 -1
- package/es/molecule/certification-card/index.js +1 -1
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +7 -28
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/cm-popin/types.js +1 -1
- package/es/molecule/cm-popin/types.js.map +1 -1
- package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/es/molecule/dashboard/cards-list/index.js +0 -2
- package/es/molecule/dashboard/cards-list/index.js.map +1 -1
- package/es/molecule/learner-skill-card/index.js +8 -10
- package/es/molecule/learner-skill-card/index.js.map +1 -1
- package/es/molecule/learner-skill-card/style.css +0 -1
- package/es/molecule/learning-priority-modal/style.css +2 -3
- package/es/molecule/progress-wrapper/index.js +1 -1
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/molecule/skills-chart-side-information-item/index.d.ts +1 -1
- package/es/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
- package/es/molecule/title-radio-wrapper/index.d.ts +3 -13
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +2 -13
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/molecule/translation-modal/index.d.ts +1 -0
- package/es/molecule/translation-modal/index.d.ts.map +1 -1
- package/es/molecule/translation-modal/index.js +7 -24
- package/es/molecule/translation-modal/index.js.map +1 -1
- package/es/organism/cards-grid/index.d.ts +10 -48
- package/es/organism/cards-grid/index.d.ts.map +1 -1
- package/es/organism/cards-grid/index.js +2 -3
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/organism/content-skill-modal/index.d.ts +3 -13
- package/es/organism/content-skill-modal/index.d.ts.map +1 -1
- package/es/organism/content-skill-modal/types.d.ts +2 -12
- package/es/organism/content-skill-modal/types.d.ts.map +1 -1
- package/es/organism/list-item/index.js +5 -5
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +17 -23
- package/es/organism/list-items/index.d.ts +2 -13
- package/es/organism/list-items/style.css +0 -1
- package/es/organism/rewards-form/index.d.ts +2 -13
- package/es/organism/select-opponents/index.d.ts +3 -13
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +2 -13
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/sidebar/index.d.ts +2 -2
- package/es/organism/skill-edition/index.d.ts +52 -1261
- package/es/organism/skill-edition/index.d.ts.map +1 -1
- package/es/organism/skill-edition/index.js +224 -3
- package/es/organism/skill-edition/index.js.map +1 -1
- package/es/organism/skill-edition/types.d.ts +117 -1268
- package/es/organism/skill-edition/types.d.ts.map +1 -1
- package/es/organism/skill-edition/types.js +59 -7
- package/es/organism/skill-edition/types.js.map +1 -1
- package/es/organism/title-and-input/index.d.ts +5 -25
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +4 -24
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +2 -13
- package/es/template/app-player/loading/index.d.ts +6 -27
- package/es/template/app-player/player/index.d.ts +12 -53
- package/es/template/app-player/player/slides/index.d.ts +6 -27
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +6 -26
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +6 -27
- package/es/template/app-review/index.d.ts +7 -27
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +6 -27
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +6 -27
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +1113 -1713
- package/es/template/back-office/brand-update/index.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.js +12 -0
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/utils.d.ts +1 -1
- package/es/template/common/dashboard/index.d.ts +12 -53
- package/es/template/common/search-page/index.d.ts +6 -27
- package/es/template/external-course/index.d.ts +6 -27
- package/es/template/skill-detail/all-courses.css +2 -3
- package/es/template/skill-detail/all-courses.d.ts +17 -52
- package/es/template/skill-detail/all-courses.d.ts.map +1 -1
- package/es/template/skill-detail/all-courses.js +11 -12
- package/es/template/skill-detail/all-courses.js.map +1 -1
- package/es/template/skill-detail/continue-learning.css +2 -7
- package/es/template/skill-detail/continue-learning.d.ts +12 -25
- package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/es/template/skill-detail/continue-learning.js.map +1 -1
- package/es/template/skill-detail/index.d.ts +71 -81
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +55 -87
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/template/skill-detail/style.css +39 -97
- package/es/variables/colors.css +0 -2
- package/es/variables/colors.d.ts +2 -3
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +3 -4
- package/es/variables/colors.js.map +1 -1
- package/es/variables/theme.native.js +1 -1
- package/es/variables/theme.native.js.map +1 -1
- package/lib/atom/button-link/index.js +1 -1
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/style.css +2 -2
- package/lib/atom/icon/index.d.ts +17 -35
- package/lib/atom/icon/index.d.ts.map +1 -1
- package/lib/atom/icon/index.js +18 -34
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +3 -13
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +2 -13
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/status-item/index.native.js +1 -1
- package/lib/atom/status-item/index.native.js.map +1 -1
- package/lib/atom/tag/index.d.ts +1 -12
- package/lib/atom/tag/style.css +0 -1
- package/lib/atom/title/index.d.ts +2 -13
- package/lib/molecule/banner/style.css +0 -1
- package/lib/molecule/base-modal/style.css +1 -0
- package/lib/molecule/bulk-progress-bar/index.js +2 -2
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/certification-card/index.js +1 -1
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +7 -28
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/cm-popin/types.js +1 -1
- package/lib/molecule/cm-popin/types.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
- package/lib/molecule/dashboard/cards-list/index.js +0 -2
- package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
- package/lib/molecule/learner-skill-card/index.js +8 -10
- package/lib/molecule/learner-skill-card/index.js.map +1 -1
- package/lib/molecule/learner-skill-card/style.css +0 -1
- package/lib/molecule/learning-priority-modal/style.css +2 -3
- package/lib/molecule/progress-wrapper/index.js +1 -1
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/molecule/skills-chart-side-information-item/index.d.ts +1 -1
- package/lib/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
- package/lib/molecule/title-radio-wrapper/index.d.ts +3 -13
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +2 -13
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/molecule/translation-modal/index.d.ts +1 -0
- package/lib/molecule/translation-modal/index.d.ts.map +1 -1
- package/lib/molecule/translation-modal/index.js +6 -23
- package/lib/molecule/translation-modal/index.js.map +1 -1
- package/lib/organism/cards-grid/index.d.ts +10 -48
- package/lib/organism/cards-grid/index.d.ts.map +1 -1
- package/lib/organism/cards-grid/index.js +2 -3
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/organism/content-skill-modal/index.d.ts +3 -13
- package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
- package/lib/organism/content-skill-modal/types.d.ts +2 -12
- package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +5 -5
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +17 -23
- package/lib/organism/list-items/index.d.ts +2 -13
- package/lib/organism/list-items/style.css +0 -1
- package/lib/organism/rewards-form/index.d.ts +2 -13
- package/lib/organism/select-opponents/index.d.ts +3 -13
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +2 -13
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/sidebar/index.d.ts +2 -2
- package/lib/organism/skill-edition/index.d.ts +52 -1261
- package/lib/organism/skill-edition/index.d.ts.map +1 -1
- package/lib/organism/skill-edition/index.js +224 -3
- package/lib/organism/skill-edition/index.js.map +1 -1
- package/lib/organism/skill-edition/types.d.ts +117 -1268
- package/lib/organism/skill-edition/types.d.ts.map +1 -1
- package/lib/organism/skill-edition/types.js +59 -7
- package/lib/organism/skill-edition/types.js.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +5 -25
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +4 -24
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +2 -13
- package/lib/template/app-player/loading/index.d.ts +6 -27
- package/lib/template/app-player/player/index.d.ts +12 -53
- package/lib/template/app-player/player/slides/index.d.ts +6 -27
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +6 -26
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +6 -27
- package/lib/template/app-review/index.d.ts +7 -27
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +6 -27
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +6 -27
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +1113 -1713
- package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.js +12 -0
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/utils.d.ts +1 -1
- package/lib/template/common/dashboard/index.d.ts +12 -53
- package/lib/template/common/search-page/index.d.ts +6 -27
- package/lib/template/external-course/index.d.ts +6 -27
- package/lib/template/skill-detail/all-courses.css +2 -3
- package/lib/template/skill-detail/all-courses.d.ts +17 -52
- package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
- package/lib/template/skill-detail/all-courses.js +11 -11
- package/lib/template/skill-detail/all-courses.js.map +1 -1
- package/lib/template/skill-detail/continue-learning.css +2 -7
- package/lib/template/skill-detail/continue-learning.d.ts +12 -25
- package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/lib/template/skill-detail/continue-learning.js.map +1 -1
- package/lib/template/skill-detail/index.d.ts +71 -81
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +55 -87
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/template/skill-detail/style.css +39 -97
- package/lib/variables/colors.css +0 -2
- package/lib/variables/colors.d.ts +2 -3
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +3 -4
- package/lib/variables/colors.js.map +1 -1
- package/lib/variables/theme.native.js +1 -1
- package/lib/variables/theme.native.js.map +1 -1
- package/locales/bs/global.json +1 -0
- package/locales/de/global.json +1 -0
- package/locales/es/global.json +1 -0
- package/locales/et/global.json +1 -0
- package/locales/fi/global.json +1 -0
- package/locales/fr/global.json +1 -0
- package/locales/hu/global.json +1 -0
- package/locales/hy/global.json +1 -0
- package/locales/ja/global.json +1 -0
- package/locales/nl/global.json +1 -0
- package/locales/pl/global.json +1 -0
- package/locales/pt/global.json +1 -0
- package/locales/ro/global.json +1 -0
- package/locales/sk/global.json +1 -0
- package/locales/sl/global.json +1 -0
- package/locales/sv/global.json +1 -0
- package/locales/tl/global.json +1 -0
- package/locales/tr/global.json +1 -0
- package/locales/uk/global.json +1 -0
- package/locales/vi/global.json +1 -0
- package/locales/zh/global.json +1 -0
- package/locales/zh_TW/global.json +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_cssColorFunction","_classnames","_provider","_tag","_icon","_buttonLink","_bulletPointMenuButton","_colors","_cardImagePreview","_checkboxWithTitle","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","_noop2","leftIcon","image","checkbox","dataName","context","skin","primarySelectedColor","_get2","mapUncapped","_map2","convert","cap","checkable","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","createElement","key","className","style","customStyle","dataColumnsView","dataColumn","label","orderView","undefined","extractedIndex","_pipe2","_split2","_last2","classnames","wrapper","gridLayout","flexLayout","withSubtitle","cursorPointer","checked","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","borderRadius","containerImage","titleWrapper","titleProviderWrapper","_isEmpty2","providerTag","settings","COLORS","white","size","faSize","wrapperSize","contextTypes","Provider","childContextTypes","translate","propTypes","process","env","NODE_ENV","PropTypes","string","isRequired","shape","oneOf","bool","arrayOf","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","number","id","CheckboxWithTitle","_default","exports"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get, last, split, pipe} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport FaIcon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport {COLORS} from '../../variables/colors';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport style from './style.css';\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n provider,\n selected,\n selectedColor,\n subtitle,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n disabled = false,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false,\n onClick = noop,\n leftIcon,\n image,\n checkbox,\n 'data-name': dataName\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: false});\n const checkable = checkbox || false;\n let isPublished = false;\n\n const selectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\n }\n : {};\n\n const tagsView = mapUncapped((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} customStyle={tagSelectedStyle} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = mapUncapped((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n const extractedIndex = pipe(split('-'), last)(dataName);\n\n return (\n <div\n className={classnames(\n style.wrapper,\n isBulkStyle ? style.gridLayout : style.flexLayout,\n subtitle && style.withSubtitle,\n disabled && style.disabled,\n onClick !== noop && !disabled && style.cursorPointer,\n checkbox?.checked && style.checked\n )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n data-name={dataName}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n {leftIcon || image || checkable ? (\n <div className={style.leftSection}>\n {checkable ? <CheckboxWithTitle {...checkbox} /> : null}\n {leftIcon && !image ? (\n <FaIcon\n iconName={leftIcon.iconName}\n gradientBackground={leftIcon.gradientBackground || true}\n iconColor={leftIcon.iconColor || primarySelectedColor}\n preset={leftIcon.preset || 'xl'}\n borderRadius={leftIcon.borderRadius || '25%'}\n />\n ) : null}\n {!leftIcon && image ? (\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n ) : null}\n </div>\n ) : null}\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n <div className={style.title} title={title}>\n {title}\n </div>\n {!isEmpty(provider) ? (\n <Tag label={provider.label} type={provider.type} className={style.providerTag} />\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n </div>\n {dataColumnsView}\n </div>\n <div className={style.settings}>\n {tagsView}\n {selected ? (\n <FaIcon\n iconName=\"circle-check\"\n iconColor={primarySelectedColor}\n backgroundColor={COLORS.white}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton\n {...bulletPointMenuButton}\n data-name={`bullet-point-menu-button-${extractedIndex}`}\n />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n 'data-name': PropTypes.string,\n provider: PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['info', 'default', 'success', 'failure', 'warning', 'progress'])\n }),\n selected: PropTypes.bool,\n selectedColor: PropTypes.string,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string,\n leftIcon: PropTypes.shape({\n iconName: PropTypes.string,\n iconColor: PropTypes.string,\n backgroundColor: PropTypes.string,\n borderRadius: PropTypes.string,\n preset: PropTypes.string,\n gradientBackground: PropTypes.bool,\n size: PropTypes.number,\n wrapperSize: PropTypes.number\n }),\n image: PropTypes.string,\n checkbox: PropTypes.shape(CheckboxWithTitle.propTypes)\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,SAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,IAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,KAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,WAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,sBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,kBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,MAAA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kBAAS,CAACK,IAAI;EACxB7E,OAAO,EAAEwE,kBAAS,CAACS,IAAI;EACvBnF,WAAW,EAAE0E,kBAAS,CAACK,IAAI;EAC3B9E,gBAAgB,EAAEyE,kBAAS,CAACK,IAAI;EAChCnF,KAAK,EAAE8E,kBAAS,CAACa,MAAM;EACvB,YAAY,EAAEb,kBAAS,CAACC,MAAM;EAC9B5E,WAAW,EAAE2E,kBAAS,CAACC,MAAM;EAC7Ba,EAAE,EAAEd,kBAAS,CAACC,MAAM;EACpBvE,QAAQ,EAAEsE,kBAAS,CAACG,KAAK,CAAC;IACxB3B,QAAQ,EAAEwB,kBAAS,CAACC,MAAM;IAC1BvB,SAAS,EAAEsB,kBAAS,CAACC,MAAM;IAC3BxD,eAAe,EAAEuD,kBAAS,CAACC,MAAM;IACjCrB,YAAY,EAAEoB,kBAAS,CAACC,MAAM;IAC9BtB,MAAM,EAAEqB,kBAAS,CAACC,MAAM;IACxBxB,kBAAkB,EAAEuB,kBAAS,CAACK,IAAI;IAClChB,IAAI,EAAEW,kBAAS,CAACa,MAAM;IACtBtB,WAAW,EAAES,kBAAS,CAACa;EACzB,CAAC,CAAC;EACFlF,KAAK,EAAEqE,kBAAS,CAACC,MAAM;EACvBrE,QAAQ,EAAEoE,kBAAS,CAACG,KAAK,CAACY,0BAAiB,CAACnB,SAAS;AACvD,CAAC;AAAC,IAAAoB,QAAA,GAAAC,OAAA,CAAAvH,OAAA,GAEaa,QAAQ","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_cssColorFunction","_classnames","_provider","_tag","_icon","_buttonLink","_bulletPointMenuButton","_colors","_cardImagePreview","_checkboxWithTitle","_style","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","_noop2","leftIcon","image","checkbox","dataName","context","skin","primarySelectedColor","_get2","mapUncapped","_map2","convert","cap","checkable","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","createElement","key","className","style","customStyle","dataColumnsView","dataColumn","label","orderView","undefined","extractedIndex","_pipe2","_split2","_last2","classnames","wrapper","gridLayout","withSubtitle","cursorPointer","checked","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","borderRadius","containerImage","titleWrapper","titleProviderWrapper","_isEmpty2","providerTag","settings","COLORS","white","size","faSize","wrapperSize","contextTypes","Provider","childContextTypes","translate","propTypes","process","env","NODE_ENV","PropTypes","string","isRequired","shape","oneOf","bool","arrayOf","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","number","id","CheckboxWithTitle","_default","exports"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get, last, split, pipe} from 'lodash/fp';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport FaIcon from '../../atom/icon';\nimport ButtonLink from '../../atom/button-link';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport {COLORS} from '../../variables/colors';\nimport CardImagePreview from '../../atom/card-image-preview';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport style from './style.css';\n\nconst ListItem = (\n {\n buttonLink,\n secondButtonLink,\n bulletPointMenuButton,\n tags,\n title,\n provider,\n selected,\n selectedColor,\n subtitle,\n dataColumns,\n order,\n 'aria-label': ariaLabel,\n disabled = false,\n contentType,\n isBulkStyle = false,\n isOverflowHidden = false,\n onClick = noop,\n leftIcon,\n image,\n checkbox,\n 'data-name': dataName\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: false});\n const checkable = checkbox || false;\n let isPublished = false;\n\n const selectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.07))`)\n }\n : {};\n\n const tagSelectedStyle = selected\n ? {\n backgroundColor: convert(`color(${primarySelectedColor} a(0.15))`),\n color: primarySelectedColor\n }\n : {};\n\n const tagsView = mapUncapped((tag, index) => {\n isPublished = tag.type === 'success';\n return (\n <div key={index} className={style.tag}>\n <Tag {...tag} customStyle={tagSelectedStyle} />\n </div>\n );\n })(tags);\n\n const dataColumnsView = mapUncapped((dataColumn, index) => {\n return (\n <div key={index} className={style[dataColumn.className]}>\n {dataColumn.type ? <Tag {...dataColumn} /> : dataColumn.label}\n </div>\n );\n })(dataColumns);\n\n const orderView =\n order !== null && order !== undefined ? (\n <div className={style.order} aria-label={ariaLabel}>\n {order + 1}\n </div>\n ) : null;\n\n const extractedIndex = pipe(split('-'), last)(dataName);\n\n return (\n <div\n className={classnames(\n style.wrapper,\n isBulkStyle && style.gridLayout,\n subtitle && style.withSubtitle,\n disabled && style.disabled,\n onClick !== noop && !disabled && style.cursorPointer,\n checkbox?.checked && style.checked\n )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n data-name={dataName}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n <div className={style.leftSection}>\n {checkable ? <CheckboxWithTitle {...checkbox} /> : null}\n {leftIcon && !image ? (\n <div>\n <FaIcon\n iconName={leftIcon.iconName}\n gradientBackground={leftIcon.gradientBackground || true}\n iconColor={leftIcon.iconColor || primarySelectedColor}\n preset={leftIcon.preset || 'xl'}\n borderRadius={leftIcon.borderRadius || '25%'}\n />\n </div>\n ) : null}\n {!leftIcon && image ? (\n <div className={style.containerImage}>\n <CardImagePreview image={image} />\n </div>\n ) : null}\n </div>\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n <div className={style.title} title={title}>\n {title}\n </div>\n {!isEmpty(provider) ? (\n <Tag label={provider.label} type={provider.type} className={style.providerTag} />\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n </div>\n {dataColumnsView}\n </div>\n <div className={style.settings}>\n {tagsView}\n {selected ? (\n <FaIcon\n iconName=\"circle-check\"\n iconColor={primarySelectedColor}\n backgroundColor={COLORS.white}\n size={{faSize: 16, wrapperSize: 16}}\n />\n ) : null}\n {buttonLink ? <ButtonLink {...buttonLink} /> : null}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton\n {...bulletPointMenuButton}\n data-name={`bullet-point-menu-button-${extractedIndex}`}\n />\n ) : null}\n </div>\n </div>\n );\n};\n\nListItem.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nListItem.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n 'data-name': PropTypes.string,\n provider: PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['info', 'default', 'success', 'failure', 'warning', 'progress'])\n }),\n selected: PropTypes.bool,\n selectedColor: PropTypes.string,\n dataColumns: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default']),\n className: PropTypes.oneOf(['cell', 'title'])\n })\n ),\n buttonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n secondButtonLink: PropTypes.shape({\n type: PropTypes.string,\n label: PropTypes.string,\n ariaLabel: PropTypes.string,\n dataName: PropTypes.string,\n icon: PropTypes.shape({\n position: PropTypes.string,\n type: PropTypes.string\n }),\n onClick: PropTypes.func\n }),\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n tags: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['success', 'failure', 'warning', 'progress', 'default'])\n })\n ),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n isBulkStyle: PropTypes.bool,\n isOverflowHidden: PropTypes.bool,\n order: PropTypes.number,\n 'aria-label': PropTypes.string,\n contentType: PropTypes.string,\n id: PropTypes.string,\n leftIcon: PropTypes.shape({\n iconName: PropTypes.string,\n iconColor: PropTypes.string,\n backgroundColor: PropTypes.string,\n borderRadius: PropTypes.string,\n preset: PropTypes.string,\n gradientBackground: PropTypes.bool,\n size: PropTypes.number,\n wrapperSize: PropTypes.number\n }),\n image: PropTypes.string,\n checkbox: PropTypes.shape(CheckboxWithTitle.propTypes)\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,SAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,IAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,KAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,WAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,sBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,kBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,MAAA,GAAAb,sBAAA,CAAAC,OAAA;AAAgC,SAAAD,uBAAA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E,kBAAS,CAACK,IAAI;EAC3B7E,gBAAgB,EAAEwE,kBAAS,CAACK,IAAI;EAChClF,KAAK,EAAE6E,kBAAS,CAACa,MAAM;EACvB,YAAY,EAAEb,kBAAS,CAACC,MAAM;EAC9B3E,WAAW,EAAE0E,kBAAS,CAACC,MAAM;EAC7Ba,EAAE,EAAEd,kBAAS,CAACC,MAAM;EACpBtE,QAAQ,EAAEqE,kBAAS,CAACG,KAAK,CAAC;IACxB3B,QAAQ,EAAEwB,kBAAS,CAACC,MAAM;IAC1BvB,SAAS,EAAEsB,kBAAS,CAACC,MAAM;IAC3BvD,eAAe,EAAEsD,kBAAS,CAACC,MAAM;IACjCrB,YAAY,EAAEoB,kBAAS,CAACC,MAAM;IAC9BtB,MAAM,EAAEqB,kBAAS,CAACC,MAAM;IACxBxB,kBAAkB,EAAEuB,kBAAS,CAACK,IAAI;IAClChB,IAAI,EAAEW,kBAAS,CAACa,MAAM;IACtBtB,WAAW,EAAES,kBAAS,CAACa;EACzB,CAAC,CAAC;EACFjF,KAAK,EAAEoE,kBAAS,CAACC,MAAM;EACvBpE,QAAQ,EAAEmE,kBAAS,CAACG,KAAK,CAACY,0BAAiB,CAACnB,SAAS;AACvD,CAAC;AAAC,IAAAoB,QAAA,GAAAC,OAAA,CAAAtH,OAAA,GAEaa,QAAQ","ignoreList":[]}
|
|
@@ -9,38 +9,26 @@
|
|
|
9
9
|
@value cm_grey_700 from colors;
|
|
10
10
|
@value cm_primary_blue from colors;
|
|
11
11
|
|
|
12
|
-
.wrapper:hover {
|
|
13
|
-
background-color: cm_grey_75;
|
|
14
|
-
}
|
|
15
12
|
.wrapper {
|
|
16
13
|
font-family: Gilroy;
|
|
14
|
+
align-items: center;
|
|
17
15
|
background-color: color(xtraLightGrey a(90%));
|
|
18
16
|
box-sizing: border-box;
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: space-between;
|
|
19
19
|
padding: 0 24px;
|
|
20
20
|
width: 100%;
|
|
21
21
|
border-radius: 12px;
|
|
22
22
|
min-height: 64px;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
align-items: center;
|
|
25
|
+
.wrapper:hover {
|
|
26
|
+
background-color: cm_grey_75;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
.gridLayout {
|
|
32
30
|
display: grid;
|
|
33
|
-
grid-template-columns:
|
|
34
|
-
align-items: center;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.settings {
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: flex-end;
|
|
41
|
-
gap: 16px;
|
|
42
|
-
height: 100%;
|
|
43
|
-
|
|
31
|
+
grid-template-columns: 60% auto;
|
|
44
32
|
}
|
|
45
33
|
|
|
46
34
|
.disabled {
|
|
@@ -79,6 +67,15 @@
|
|
|
79
67
|
cursor: pointer;
|
|
80
68
|
}
|
|
81
69
|
|
|
70
|
+
.settings {
|
|
71
|
+
align-items: center;
|
|
72
|
+
display: flex;
|
|
73
|
+
height: 100%;
|
|
74
|
+
gap: 16px;
|
|
75
|
+
text-overflow: ellipsis;
|
|
76
|
+
white-space: nowrap;
|
|
77
|
+
}
|
|
78
|
+
|
|
82
79
|
.tag {
|
|
83
80
|
text-overflow: ellipsis;
|
|
84
81
|
white-space: nowrap;
|
|
@@ -93,9 +90,8 @@
|
|
|
93
90
|
.titleWrapper {
|
|
94
91
|
display: flex;
|
|
95
92
|
flex-direction: column;
|
|
96
|
-
justify-content: center;
|
|
97
93
|
gap: 2px;
|
|
98
|
-
margin: 0 16px
|
|
94
|
+
margin: 0 16px;
|
|
99
95
|
}
|
|
100
96
|
|
|
101
97
|
.titleProviderWrapper {
|
|
@@ -122,10 +118,8 @@
|
|
|
122
118
|
.dataColumnsWrapper {
|
|
123
119
|
display: flex;
|
|
124
120
|
width: 100%;
|
|
125
|
-
gap: 54px;
|
|
126
|
-
min-height: inherit;
|
|
127
|
-
justify-content: flex-start;
|
|
128
121
|
align-items: center;
|
|
122
|
+
align-content: space-between;
|
|
129
123
|
}
|
|
130
124
|
|
|
131
125
|
.hiddenOverflowX {
|
|
@@ -414,7 +414,7 @@ declare namespace ListItems {
|
|
|
414
414
|
'data-name': PropTypes.Requireable<string>;
|
|
415
415
|
titleSize: PropTypes.Requireable<string>;
|
|
416
416
|
subtitleSize: PropTypes.Requireable<string>;
|
|
417
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
417
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
418
418
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
419
419
|
label: PropTypes.Requireable<string>;
|
|
420
420
|
type: PropTypes.Requireable<string>;
|
|
@@ -422,17 +422,7 @@ declare namespace ListItems {
|
|
|
422
422
|
customStyle: PropTypes.Requireable<{
|
|
423
423
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
424
424
|
}>;
|
|
425
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
426
|
-
position: PropTypes.Requireable<string>;
|
|
427
|
-
iconName?: React.Validator<string> | undefined;
|
|
428
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
429
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
430
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
431
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
432
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
433
|
-
size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
|
|
434
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
435
|
-
}>>;
|
|
425
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
436
426
|
}>>;
|
|
437
427
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
438
428
|
type: PropTypes.Requireable<string>;
|
|
@@ -614,5 +604,4 @@ declare namespace ListItems {
|
|
|
614
604
|
};
|
|
615
605
|
}
|
|
616
606
|
import PropTypes from "prop-types";
|
|
617
|
-
import React from "react";
|
|
618
607
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -29,7 +29,7 @@ declare namespace RewardsForm {
|
|
|
29
29
|
'data-name': PropTypes.Requireable<string>;
|
|
30
30
|
titleSize: PropTypes.Requireable<string>;
|
|
31
31
|
subtitleSize: PropTypes.Requireable<string>;
|
|
32
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
32
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
33
33
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
34
|
label: PropTypes.Requireable<string>;
|
|
35
35
|
type: PropTypes.Requireable<string>;
|
|
@@ -37,17 +37,7 @@ declare namespace RewardsForm {
|
|
|
37
37
|
customStyle: PropTypes.Requireable<{
|
|
38
38
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
39
39
|
}>;
|
|
40
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
41
|
-
position: PropTypes.Requireable<string>;
|
|
42
|
-
iconName?: React.Validator<string> | undefined;
|
|
43
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
44
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
45
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
46
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
47
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
48
|
-
size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
|
|
49
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
50
|
-
}>>;
|
|
40
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
51
41
|
}>>;
|
|
52
42
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
53
43
|
type: PropTypes.Requireable<string>;
|
|
@@ -195,5 +185,4 @@ declare namespace RewardsForm {
|
|
|
195
185
|
}
|
|
196
186
|
}
|
|
197
187
|
import PropTypes from "prop-types";
|
|
198
|
-
import React from "react";
|
|
199
188
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { SelectOpponentsProps } from './types';
|
|
3
3
|
declare const SelectOpponents: {
|
|
4
4
|
(props: SelectOpponentsProps): JSX.Element;
|
|
@@ -28,7 +28,7 @@ declare const SelectOpponents: {
|
|
|
28
28
|
'data-name': import("prop-types").Requireable<string>;
|
|
29
29
|
titleSize: import("prop-types").Requireable<string>;
|
|
30
30
|
subtitleSize: import("prop-types").Requireable<string>;
|
|
31
|
-
icon: import("prop-types").Requireable<import("prop-types").InferProps<
|
|
31
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<any>>;
|
|
32
32
|
tag: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
33
33
|
label: import("prop-types").Requireable<string>;
|
|
34
34
|
type: import("prop-types").Requireable<string>;
|
|
@@ -36,17 +36,7 @@ declare const SelectOpponents: {
|
|
|
36
36
|
customStyle: import("prop-types").Requireable<{
|
|
37
37
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
38
38
|
}>;
|
|
39
|
-
icon: import("prop-types").Requireable<import("prop-types").InferProps<
|
|
40
|
-
position: import("prop-types").Requireable<string>;
|
|
41
|
-
iconName?: React.Validator<string> | undefined;
|
|
42
|
-
iconColor?: React.Validator<string | null | undefined> | undefined;
|
|
43
|
-
backgroundColor?: React.Validator<string | null | undefined> | undefined;
|
|
44
|
-
gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
|
|
45
|
-
borderRadius?: React.Validator<string | null | undefined> | undefined;
|
|
46
|
-
preset?: React.Validator<string | null | undefined> | undefined;
|
|
47
|
-
size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
|
|
48
|
-
customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
|
|
49
|
-
}>>;
|
|
39
|
+
icon: import("prop-types").Requireable<import("prop-types").InferProps<any>>;
|
|
50
40
|
}>>;
|
|
51
41
|
button: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
52
42
|
type: import("prop-types").Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,oBAAoB,EAA+B,MAAM,SAAS,CAAC;AAMtF,QAAA,MAAM,eAAe;YAAW,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBnD,CAAC;AAIF,eAAe,eAAe,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import PropTypes from 'prop-types';
|
|
3
2
|
export declare const propTypes: {
|
|
4
3
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -26,7 +25,7 @@ export declare const propTypes: {
|
|
|
26
25
|
'data-name': PropTypes.Requireable<string>;
|
|
27
26
|
titleSize: PropTypes.Requireable<string>;
|
|
28
27
|
subtitleSize: PropTypes.Requireable<string>;
|
|
29
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
28
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
30
29
|
tag: PropTypes.Requireable<PropTypes.InferProps<{
|
|
31
30
|
label: PropTypes.Requireable<string>;
|
|
32
31
|
type: PropTypes.Requireable<string>;
|
|
@@ -34,17 +33,7 @@ export declare const propTypes: {
|
|
|
34
33
|
customStyle: PropTypes.Requireable<{
|
|
35
34
|
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
36
35
|
}>;
|
|
37
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<
|
|
38
|
-
position: PropTypes.Requireable<string>;
|
|
39
|
-
iconName?: import("react").Validator<string> | undefined;
|
|
40
|
-
iconColor?: import("react").Validator<string | null | undefined> | undefined;
|
|
41
|
-
backgroundColor?: import("react").Validator<string | null | undefined> | undefined;
|
|
42
|
-
gradientBackground?: import("react").Validator<boolean | null | undefined> | undefined;
|
|
43
|
-
borderRadius?: import("react").Validator<string | null | undefined> | undefined;
|
|
44
|
-
preset?: import("react").Validator<string | null | undefined> | undefined;
|
|
45
|
-
size?: import("react").Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
|
|
46
|
-
customStyle?: import("react").Validator<import("react").CSSProperties | null | undefined> | undefined;
|
|
47
|
-
}>>;
|
|
36
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
48
37
|
}>>;
|
|
49
38
|
button: PropTypes.Requireable<PropTypes.InferProps<{
|
|
50
39
|
type: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/select-opponents/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE;QACL,SAAS,EAAE,iBAAiB,GAAG,cAAc,CAAC;QAC9C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,KAAK,EAAE,4BAA4B,EAAE,CAAC;CACvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -244,7 +244,7 @@ declare namespace Sidebar {
|
|
|
244
244
|
title: PropTypes.Validator<string>;
|
|
245
245
|
name: PropTypes.Requireable<string>;
|
|
246
246
|
uppercase: PropTypes.Requireable<boolean>;
|
|
247
|
-
}, "name" | "
|
|
247
|
+
}, "name" | "index" | "uppercase">>>) | ((PropTypes.InferPropsInner<Pick<{
|
|
248
248
|
type: PropTypes.Validator<string>;
|
|
249
249
|
index: PropTypes.Requireable<number>;
|
|
250
250
|
title: PropTypes.Validator<string>;
|
|
@@ -262,7 +262,7 @@ declare namespace Sidebar {
|
|
|
262
262
|
title: PropTypes.Validator<string>;
|
|
263
263
|
name: PropTypes.Requireable<string>;
|
|
264
264
|
uppercase: PropTypes.Requireable<boolean>;
|
|
265
|
-
}, "name" | "
|
|
265
|
+
}, "name" | "index" | "uppercase">>>) | null | undefined)[] | null | undefined> | null | undefined)[]>;
|
|
266
266
|
}
|
|
267
267
|
export { propTypes_8 as propTypes };
|
|
268
268
|
export namespace contextTypes_1 {
|