@coorpacademy/components 11.32.47 → 11.32.48-alpha.72
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/input-switch/style.css +9 -1
- package/es/molecule/banner/index.d.ts +5 -4
- package/es/molecule/banner/index.d.ts.map +1 -1
- package/es/molecule/banner/index.js +80 -36
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/banner/style.css +12 -3
- package/es/molecule/cm-popin/types.d.ts +0 -1
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +0 -1
- package/es/organism/brand-learning-priorities/index.d.ts +0 -1
- package/es/organism/list-item/index.d.ts +1 -3
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +3 -23
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +0 -6
- package/es/organism/list-items/index.d.ts +0 -1
- package/es/template/app-player/loading/index.d.ts +0 -1
- package/es/template/app-player/player/index.d.ts +0 -2
- package/es/template/app-player/player/slides/index.d.ts +0 -1
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +0 -1
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +0 -1
- package/es/template/app-review/index.d.ts +0 -1
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +0 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +0 -1
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +5 -7
- package/es/template/common/dashboard/index.d.ts +0 -2
- package/es/template/common/search-page/index.d.ts +0 -1
- package/es/template/external-course/index.d.ts +0 -1
- package/es/template/playlist-detail/index.d.ts +1 -0
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.js +6 -3
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/skill-detail/all-courses.css +4 -0
- package/es/template/skill-detail/all-courses.d.ts +1 -0
- package/es/template/skill-detail/all-courses.d.ts.map +1 -1
- package/es/template/skill-detail/all-courses.js +15 -2
- package/es/template/skill-detail/all-courses.js.map +1 -1
- package/es/template/skill-detail/index.d.ts +1 -0
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +6 -3
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/variables/colors.d.ts +3 -0
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +3 -0
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/input-switch/style.css +9 -1
- package/lib/molecule/banner/index.d.ts +5 -4
- package/lib/molecule/banner/index.d.ts.map +1 -1
- package/lib/molecule/banner/index.js +90 -37
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/banner/style.css +12 -3
- package/lib/molecule/cm-popin/types.d.ts +0 -1
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +0 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +0 -1
- package/lib/organism/list-item/index.d.ts +1 -3
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +3 -23
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +0 -6
- package/lib/organism/list-items/index.d.ts +0 -1
- package/lib/template/app-player/loading/index.d.ts +0 -1
- package/lib/template/app-player/player/index.d.ts +0 -2
- package/lib/template/app-player/player/slides/index.d.ts +0 -1
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +0 -1
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +0 -1
- package/lib/template/app-review/index.d.ts +0 -1
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +0 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +0 -1
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +5 -7
- package/lib/template/common/dashboard/index.d.ts +0 -2
- package/lib/template/common/search-page/index.d.ts +0 -1
- package/lib/template/external-course/index.d.ts +0 -1
- package/lib/template/playlist-detail/index.d.ts +1 -0
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.js +6 -3
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/skill-detail/all-courses.css +4 -0
- package/lib/template/skill-detail/all-courses.d.ts +1 -0
- package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
- package/lib/template/skill-detail/all-courses.js +16 -2
- package/lib/template/skill-detail/all-courses.js.map +1 -1
- package/lib/template/skill-detail/index.d.ts +1 -0
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +6 -3
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/variables/colors.d.ts +3 -0
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +3 -0
- package/lib/variables/colors.js.map +1 -1
- package/locales/cs/global.json +3 -3
- package/locales/de/global.json +3 -3
- package/locales/en/global.json +2 -0
- package/locales/es/global.json +3 -3
- package/locales/et/global.json +3 -3
- package/locales/fi/global.json +3 -3
- package/locales/fr/global.json +3 -3
- package/locales/hu/global.json +3 -3
- package/locales/it/global.json +3 -3
- package/locales/ja/global.json +3 -3
- package/locales/ko/global.json +3 -3
- package/locales/nl/global.json +3 -3
- package/locales/pl/global.json +3 -3
- package/locales/pt/global.json +3 -3
- package/locales/ro/global.json +3 -3
- package/locales/ru/global.json +3 -3
- package/locales/sk/global.json +3 -3
- package/locales/sl/global.json +3 -3
- package/locales/sv/global.json +3 -3
- package/locales/tr/global.json +3 -3
- package/locales/uk/global.json +3 -3
- package/locales/zh/global.json +3 -3
- package/package.json +2 -2
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
left: 30px;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
.coorpmanager input:checked ~ label::after {
|
|
90
|
+
left: 23px;
|
|
91
|
+
}
|
|
92
|
+
|
|
89
93
|
.checkbox:disabled ~ label {
|
|
90
94
|
background: light;
|
|
91
95
|
pointer-events: none;
|
|
@@ -108,6 +112,10 @@
|
|
|
108
112
|
min-height: 24px;
|
|
109
113
|
}
|
|
110
114
|
|
|
115
|
+
.coorpmanager .title {
|
|
116
|
+
width: fit-content;
|
|
117
|
+
}
|
|
118
|
+
|
|
111
119
|
.description {
|
|
112
120
|
font-family: 'Gilroy';
|
|
113
121
|
font-weight: 500;
|
|
@@ -126,6 +134,7 @@
|
|
|
126
134
|
}
|
|
127
135
|
|
|
128
136
|
.coorpmanager label::after, .coorpmanagerModified label::after {
|
|
137
|
+
top: 1px;
|
|
129
138
|
width: 22px;
|
|
130
139
|
height: 22px;
|
|
131
140
|
}
|
|
@@ -134,7 +143,6 @@
|
|
|
134
143
|
font-family: Gilroy;
|
|
135
144
|
font-weight: bold;
|
|
136
145
|
color: black;
|
|
137
|
-
min-width: 190px;
|
|
138
146
|
}
|
|
139
147
|
|
|
140
148
|
.coorpmanager .checkbox:checked ~ label {
|
|
@@ -5,10 +5,11 @@ declare namespace Banner {
|
|
|
5
5
|
const bannerKey: PropTypes.Requireable<string>;
|
|
6
6
|
const type: PropTypes.Requireable<string>;
|
|
7
7
|
const message: PropTypes.Validator<string>;
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
const cta: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
9
|
+
label: PropTypes.Requireable<string>;
|
|
10
|
+
type: PropTypes.Requireable<string>;
|
|
11
|
+
action: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
}> | null | undefined)[]>;
|
|
12
13
|
const temporary: PropTypes.Requireable<boolean>;
|
|
13
14
|
const onEnd: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/banner/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/banner/index.js"],"names":[],"mappings":";AA0BA,iDA6EC"}
|
|
@@ -1,34 +1,92 @@
|
|
|
1
|
+
import _map from "lodash/fp/map";
|
|
2
|
+
import _isEmpty from "lodash/fp/isEmpty";
|
|
3
|
+
import _noop from "lodash/fp/noop";
|
|
1
4
|
import _keys from "lodash/fp/keys";
|
|
2
|
-
import React from 'react';
|
|
5
|
+
import React, { useState, useCallback } from 'react';
|
|
3
6
|
import PropTypes from 'prop-types';
|
|
4
7
|
import classnames from 'classnames';
|
|
5
|
-
import {
|
|
8
|
+
import { COLORS } from '../../variables/colors';
|
|
6
9
|
import ButtonLink from '../../atom/button-link';
|
|
10
|
+
import Icon from '../../atom/icon';
|
|
11
|
+
import InputSwitch from '../../atom/input-switch';
|
|
7
12
|
import style from './style.css';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
|
|
14
|
+
const uncappedMap = _map.convert({
|
|
15
|
+
cap: false
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
const TYPES = {
|
|
19
|
+
success: ['circle-check', COLORS.cm_positive_200],
|
|
20
|
+
error: ['triangle-exclamation', COLORS.cm_negative_200],
|
|
21
|
+
warning: ['circle-exclamation', COLORS.cm_yellow_400],
|
|
22
|
+
info: ['circle-info', COLORS.cm_grey_500]
|
|
12
23
|
};
|
|
13
24
|
const STYLES = {
|
|
14
25
|
success: style.success,
|
|
15
26
|
error: style.error,
|
|
16
|
-
warning: style.warning
|
|
27
|
+
warning: style.warning,
|
|
28
|
+
info: style.info
|
|
17
29
|
};
|
|
18
30
|
|
|
19
31
|
const Banner = props => {
|
|
20
32
|
const {
|
|
21
33
|
type,
|
|
22
34
|
message,
|
|
23
|
-
|
|
24
|
-
firstCTALabel,
|
|
25
|
-
secondCTALabel,
|
|
26
|
-
secondCTA,
|
|
35
|
+
cta = [],
|
|
27
36
|
temporary,
|
|
28
37
|
bannerKey,
|
|
29
38
|
onEnd
|
|
30
39
|
} = props;
|
|
31
|
-
const
|
|
40
|
+
const [switchValue, setSwitchValue] = useState(false);
|
|
41
|
+
const handleSwitchToggle = useCallback(action => () => {
|
|
42
|
+
setSwitchValue(!switchValue);
|
|
43
|
+
action();
|
|
44
|
+
}, [switchValue, setSwitchValue]);
|
|
45
|
+
const ButtonSeparator = /*#__PURE__*/React.createElement("div", {
|
|
46
|
+
className: classnames(style.buttonsBar, STYLES[type])
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
const buildButton = ({
|
|
50
|
+
type: buttonType = 'button',
|
|
51
|
+
label,
|
|
52
|
+
action = _noop
|
|
53
|
+
}) => {
|
|
54
|
+
switch (buttonType) {
|
|
55
|
+
case 'switch':
|
|
56
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
className: classnames(style.button, STYLES[type])
|
|
58
|
+
}, /*#__PURE__*/React.createElement(InputSwitch, {
|
|
59
|
+
theme: "coorpmanager",
|
|
60
|
+
title: label,
|
|
61
|
+
value: switchValue,
|
|
62
|
+
onChange: handleSwitchToggle(action),
|
|
63
|
+
"data-name": `banner-switch-cta`,
|
|
64
|
+
"aria-label": label
|
|
65
|
+
}));
|
|
66
|
+
|
|
67
|
+
default:
|
|
68
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
69
|
+
className: classnames(style.button, STYLES[type])
|
|
70
|
+
}, /*#__PURE__*/React.createElement(ButtonLink, {
|
|
71
|
+
"data-name": "banner-button-cta",
|
|
72
|
+
"aria-label": label,
|
|
73
|
+
label: label,
|
|
74
|
+
onClick: action,
|
|
75
|
+
type: "text"
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const buildCta = ctaOptions => {
|
|
81
|
+
return uncappedMap((options, i) => {
|
|
82
|
+
if (_isEmpty(options)) return null;
|
|
83
|
+
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
84
|
+
key: i
|
|
85
|
+
}, i > 0 ? ButtonSeparator : null, buildButton(options));
|
|
86
|
+
}, ctaOptions);
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
const [iconName, iconColor] = TYPES[type];
|
|
32
90
|
return /*#__PURE__*/React.createElement("div", {
|
|
33
91
|
key: bannerKey,
|
|
34
92
|
className: classnames(style.banner, STYLES[type], temporary && style.temporaryBanner),
|
|
@@ -38,36 +96,22 @@ const Banner = props => {
|
|
|
38
96
|
"data-name": `${type}-banner-message`,
|
|
39
97
|
className: style.message
|
|
40
98
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
99
|
+
iconName: iconName,
|
|
100
|
+
iconColor: iconColor,
|
|
41
101
|
className: classnames(style.icon, temporary && style.temporaryIcon)
|
|
42
|
-
}), message),
|
|
43
|
-
className: classnames(style.button, STYLES[type])
|
|
44
|
-
}, /*#__PURE__*/React.createElement(ButtonLink, {
|
|
45
|
-
"data-name": "first-banner-cta",
|
|
46
|
-
"aria-label": firstCTALabel,
|
|
47
|
-
label: firstCTALabel,
|
|
48
|
-
onClick: firstCTA,
|
|
49
|
-
type: "text"
|
|
50
|
-
})) : null, firstCTALabel && secondCTALabel ? /*#__PURE__*/React.createElement("div", {
|
|
51
|
-
className: classnames(style.buttonsBar, STYLES[type])
|
|
52
|
-
}) : null, secondCTALabel ? /*#__PURE__*/React.createElement("div", {
|
|
53
|
-
className: classnames(style.button, STYLES[type])
|
|
54
|
-
}, /*#__PURE__*/React.createElement(ButtonLink, {
|
|
55
|
-
"data-name": "second-banner-cta",
|
|
56
|
-
onClick: secondCTA,
|
|
57
|
-
"aria-label": secondCTALabel,
|
|
58
|
-
label: secondCTALabel,
|
|
59
|
-
type: "text"
|
|
60
|
-
})) : null);
|
|
102
|
+
}), message), buildCta(cta));
|
|
61
103
|
};
|
|
62
104
|
|
|
105
|
+
const ctaPropTypes = process.env.NODE_ENV !== "production" ? PropTypes.shape({
|
|
106
|
+
label: PropTypes.string,
|
|
107
|
+
type: PropTypes.oneOf(['button', 'switch']),
|
|
108
|
+
action: PropTypes.func
|
|
109
|
+
}) : {};
|
|
63
110
|
Banner.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
64
111
|
bannerKey: PropTypes.string,
|
|
65
|
-
type: PropTypes.oneOf(_keys(
|
|
112
|
+
type: PropTypes.oneOf(_keys(TYPES)),
|
|
66
113
|
message: PropTypes.string.isRequired,
|
|
67
|
-
|
|
68
|
-
firstCTALabel: PropTypes.string,
|
|
69
|
-
secondCTALabel: PropTypes.string,
|
|
70
|
-
secondCTA: PropTypes.func,
|
|
114
|
+
cta: PropTypes.arrayOf(ctaPropTypes),
|
|
71
115
|
temporary: PropTypes.bool,
|
|
72
116
|
onEnd: PropTypes.func
|
|
73
117
|
} : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","classnames","
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useState","useCallback","PropTypes","classnames","COLORS","ButtonLink","Icon","InputSwitch","style","uncappedMap","convert","cap","TYPES","success","cm_positive_200","error","cm_negative_200","warning","cm_yellow_400","info","cm_grey_500","STYLES","Banner","props","type","message","cta","temporary","bannerKey","onEnd","switchValue","setSwitchValue","handleSwitchToggle","action","ButtonSeparator","buttonsBar","buildButton","buttonType","label","button","buildCta","ctaOptions","options","i","iconName","iconColor","banner","temporaryBanner","icon","temporaryIcon","ctaPropTypes","shape","string","oneOf","func","propTypes","isRequired","arrayOf","bool"],"sources":["../../../src/molecule/banner/index.js"],"sourcesContent":["import React, {useState, useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {keys, noop, isEmpty, map} from 'lodash/fp';\nimport {COLORS} from '../../variables/colors';\nimport ButtonLink from '../../atom/button-link';\nimport Icon from '../../atom/icon';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\n\nconst uncappedMap = map.convert({cap: false});\n\nconst TYPES = {\n success: ['circle-check', COLORS.cm_positive_200],\n error: ['triangle-exclamation', COLORS.cm_negative_200],\n warning: ['circle-exclamation', COLORS.cm_yellow_400],\n info: ['circle-info', COLORS.cm_grey_500]\n};\n\nconst STYLES = {\n success: style.success,\n error: style.error,\n warning: style.warning,\n info: style.info\n};\n\nconst Banner = props => {\n const {type, message, cta = [], temporary, bannerKey, onEnd} = props;\n const [switchValue, setSwitchValue] = useState(false);\n\n const handleSwitchToggle = useCallback(\n action => () => {\n setSwitchValue(!switchValue);\n action();\n },\n [switchValue, setSwitchValue]\n );\n\n const ButtonSeparator = <div className={classnames(style.buttonsBar, STYLES[type])} />;\n\n const buildButton = ({type: buttonType = 'button', label, action = noop}) => {\n switch (buttonType) {\n case 'switch':\n return (\n <div className={classnames(style.button, STYLES[type])}>\n <InputSwitch\n theme=\"coorpmanager\"\n title={label}\n value={switchValue}\n onChange={handleSwitchToggle(action)}\n data-name={`banner-switch-cta`}\n aria-label={label}\n />\n </div>\n );\n default:\n return (\n <div className={classnames(style.button, STYLES[type])}>\n <ButtonLink\n data-name=\"banner-button-cta\"\n aria-label={label}\n label={label}\n onClick={action}\n type=\"text\"\n />\n </div>\n );\n }\n };\n\n const buildCta = ctaOptions => {\n return uncappedMap((options, i) => {\n if (isEmpty(options)) return null;\n\n return (\n <React.Fragment key={i}>\n {i > 0 ? ButtonSeparator : null}\n {buildButton(options)}\n </React.Fragment>\n );\n }, ctaOptions);\n };\n\n const [iconName, iconColor] = TYPES[type];\n\n return (\n <div\n key={bannerKey}\n className={classnames(style.banner, STYLES[type], temporary && style.temporaryBanner)}\n onAnimationEnd={onEnd}\n title={message}\n >\n <div data-name={`${type}-banner-message`} className={style.message}>\n <Icon\n iconName={iconName}\n iconColor={iconColor}\n className={classnames(style.icon, temporary && style.temporaryIcon)}\n />\n {message}\n </div>\n {buildCta(cta)}\n </div>\n );\n};\n\nconst ctaPropTypes = PropTypes.shape({\n label: PropTypes.string,\n type: PropTypes.oneOf(['button', 'switch']),\n action: PropTypes.func\n});\n\nBanner.propTypes = {\n bannerKey: PropTypes.string,\n type: PropTypes.oneOf(keys(TYPES)),\n message: PropTypes.string.isRequired,\n cta: PropTypes.arrayOf(ctaPropTypes),\n temporary: PropTypes.bool,\n onEnd: PropTypes.func\n};\n\nexport default Banner;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,WAAzB,QAA2C,OAA3C;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AAEA,SAAQC,MAAR,QAAqB,wBAArB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,WAAW,GAAG,KAAIC,OAAJ,CAAY;EAACC,GAAG,EAAE;AAAN,CAAZ,CAApB;;AAEA,MAAMC,KAAK,GAAG;EACZC,OAAO,EAAE,CAAC,cAAD,EAAiBT,MAAM,CAACU,eAAxB,CADG;EAEZC,KAAK,EAAE,CAAC,sBAAD,EAAyBX,MAAM,CAACY,eAAhC,CAFK;EAGZC,OAAO,EAAE,CAAC,oBAAD,EAAuBb,MAAM,CAACc,aAA9B,CAHG;EAIZC,IAAI,EAAE,CAAC,aAAD,EAAgBf,MAAM,CAACgB,WAAvB;AAJM,CAAd;AAOA,MAAMC,MAAM,GAAG;EACbR,OAAO,EAAEL,KAAK,CAACK,OADF;EAEbE,KAAK,EAAEP,KAAK,CAACO,KAFA;EAGbE,OAAO,EAAET,KAAK,CAACS,OAHF;EAIbE,IAAI,EAAEX,KAAK,CAACW;AAJC,CAAf;;AAOA,MAAMG,MAAM,GAAGC,KAAK,IAAI;EACtB,MAAM;IAACC,IAAD;IAAO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,CAACkD,MADJ;EAEjB5B,IAAI,EAAEtB,SAAS,CAACmD,KAAV,CAAgB,MAAKzC,KAAL,CAAhB,CAFW;EAGjBa,OAAO,EAAEvB,SAAS,CAACkD,MAAV,CAAiBI,UAHT;EAIjB9B,GAAG,EAAExB,SAAS,CAACuD,OAAV,CAAkBP,YAAlB,CAJY;EAKjBvB,SAAS,EAAEzB,SAAS,CAACwD,IALJ;EAMjB7B,KAAK,EAAE3B,SAAS,CAACoD;AANA,CAAnB;AASA,eAAehC,MAAf"}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
@value cm_yellow_100 from colors;
|
|
13
13
|
@value cm_yellow_200 from colors;
|
|
14
14
|
@value cm_yellow_400 from colors;
|
|
15
|
+
@value cm_grey_100 from colors;
|
|
16
|
+
@value cm_grey_700 from colors;
|
|
15
17
|
|
|
16
18
|
@keyframes fadeIn {
|
|
17
19
|
0% {
|
|
@@ -36,8 +38,8 @@
|
|
|
36
38
|
justify-content: flex-start;
|
|
37
39
|
align-items: center;
|
|
38
40
|
gap: 8px;
|
|
39
|
-
padding:
|
|
40
|
-
border-radius:
|
|
41
|
+
padding: 8px 8px 8px 24px;
|
|
42
|
+
border-radius: 12px;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
.banner.warning {
|
|
@@ -55,6 +57,11 @@
|
|
|
55
57
|
color: cm_positive_200;
|
|
56
58
|
}
|
|
57
59
|
|
|
60
|
+
.banner.info {
|
|
61
|
+
background-color: cm_grey_100;
|
|
62
|
+
color: cm_grey_700;
|
|
63
|
+
}
|
|
64
|
+
|
|
58
65
|
.temporaryBanner {
|
|
59
66
|
display: inline-flex;
|
|
60
67
|
align-items: center;
|
|
@@ -103,7 +110,6 @@
|
|
|
103
110
|
color: color(cm_positive_100 blackness(+12%));
|
|
104
111
|
}
|
|
105
112
|
|
|
106
|
-
|
|
107
113
|
.buttonsBar {
|
|
108
114
|
width: 2px;
|
|
109
115
|
align-self: stretch;
|
|
@@ -123,6 +129,9 @@
|
|
|
123
129
|
background-color: cm_positive_100;
|
|
124
130
|
}
|
|
125
131
|
|
|
132
|
+
.buttonsBar.info {
|
|
133
|
+
background-color: cm_grey_700;
|
|
134
|
+
}
|
|
126
135
|
|
|
127
136
|
.icon {
|
|
128
137
|
height: 22px;
|
|
@@ -199,7 +199,6 @@ declare const propTypes: {
|
|
|
199
199
|
size: PropTypes.Requireable<number>;
|
|
200
200
|
wrapperSize: PropTypes.Requireable<number>;
|
|
201
201
|
}>>;
|
|
202
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
203
202
|
}> | null | undefined)[]>;
|
|
204
203
|
type: PropTypes.Requireable<string>;
|
|
205
204
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -125,7 +125,6 @@ declare namespace DraggableList {
|
|
|
125
125
|
size: PropTypes.Requireable<number>;
|
|
126
126
|
wrapperSize: PropTypes.Requireable<number>;
|
|
127
127
|
}>>;
|
|
128
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
129
128
|
}> | PropTypes.InferProps<{
|
|
130
129
|
'aria-label': PropTypes.Requireable<string>;
|
|
131
130
|
id: PropTypes.Requireable<string>;
|
|
@@ -125,7 +125,6 @@ declare namespace BrandLearningPriorities {
|
|
|
125
125
|
size: PropTypes.Requireable<number>;
|
|
126
126
|
wrapperSize: PropTypes.Requireable<number>;
|
|
127
127
|
}>>;
|
|
128
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
129
128
|
}> | PropTypes.InferProps<{
|
|
130
129
|
'aria-label': PropTypes.Requireable<string>;
|
|
131
130
|
id: PropTypes.Requireable<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default ListItem;
|
|
2
|
-
declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, provider, selected, selectedColor, subtitle, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick, leftIcon
|
|
2
|
+
declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton, tags, title, provider, selected, selectedColor, subtitle, dataColumns, order, "aria-label": ariaLabel, disabled, contentType, isBulkStyle, isOverflowHidden, onClick, leftIcon }: {
|
|
3
3
|
buttonLink: any;
|
|
4
4
|
secondButtonLink: any;
|
|
5
5
|
bulletPointMenuButton: any;
|
|
@@ -18,7 +18,6 @@ declare function ListItem({ buttonLink, secondButtonLink, bulletPointMenuButton,
|
|
|
18
18
|
isOverflowHidden?: boolean | undefined;
|
|
19
19
|
onClick?: import("lodash/fp").LodashNoop | undefined;
|
|
20
20
|
leftIcon: any;
|
|
21
|
-
editAsIcon?: boolean | undefined;
|
|
22
21
|
}, context: any): JSX.Element;
|
|
23
22
|
declare namespace ListItem {
|
|
24
23
|
namespace contextTypes {
|
|
@@ -111,7 +110,6 @@ declare namespace ListItem {
|
|
|
111
110
|
size: PropTypes.Requireable<number>;
|
|
112
111
|
wrapperSize: PropTypes.Requireable<number>;
|
|
113
112
|
}>>;
|
|
114
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
115
113
|
};
|
|
116
114
|
}
|
|
117
115
|
import PropTypes from "prop-types";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAaA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAaA;;;;;;;;;;;;;;;;;;;8BA8HC"}
|
|
@@ -35,8 +35,7 @@ const ListItem = ({
|
|
|
35
35
|
isBulkStyle = false,
|
|
36
36
|
isOverflowHidden = false,
|
|
37
37
|
onClick = _noop,
|
|
38
|
-
leftIcon
|
|
39
|
-
editAsIcon = false
|
|
38
|
+
leftIcon
|
|
40
39
|
}, context) => {
|
|
41
40
|
const {
|
|
42
41
|
skin
|
|
@@ -75,24 +74,6 @@ const ListItem = ({
|
|
|
75
74
|
className: style.order,
|
|
76
75
|
"aria-label": ariaLabel
|
|
77
76
|
}, order + 1) : null;
|
|
78
|
-
const handleButtonLinkClick = buttonLink?.onClick || _noop;
|
|
79
|
-
|
|
80
|
-
const handleRenderButtonLink = () => {
|
|
81
|
-
if (editAsIcon && buttonLink) {
|
|
82
|
-
return /*#__PURE__*/React.createElement(FaIcon, {
|
|
83
|
-
iconName: buttonLink.icon?.type || 'edit',
|
|
84
|
-
onClick: handleButtonLinkClick,
|
|
85
|
-
className: style.editIcon
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
if (buttonLink) {
|
|
90
|
-
return /*#__PURE__*/React.createElement(ButtonLink, buttonLink);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return null;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
77
|
return /*#__PURE__*/React.createElement("div", {
|
|
97
78
|
className: classnames(style.wrapper, isBulkStyle && style.gridLayout, subtitle && style.withSubtitle, disabled && style.disabled, onClick !== _noop && !disabled && style.cursorPointer),
|
|
98
79
|
onClick: !disabled ? onClick : undefined,
|
|
@@ -130,7 +111,7 @@ const ListItem = ({
|
|
|
130
111
|
faSize: 16,
|
|
131
112
|
wrapperSize: 16
|
|
132
113
|
}
|
|
133
|
-
}) : null,
|
|
114
|
+
}) : null, buttonLink ? /*#__PURE__*/React.createElement(ButtonLink, buttonLink) : null, secondButtonLink ? /*#__PURE__*/React.createElement(ButtonLink, secondButtonLink) : null, !_isEmpty(bulletPointMenuButton) ? /*#__PURE__*/React.createElement(BulletPointMenuButton, bulletPointMenuButton) : null));
|
|
134
115
|
};
|
|
135
116
|
|
|
136
117
|
ListItem.contextTypes = {
|
|
@@ -202,8 +183,7 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
202
183
|
gradientBackground: PropTypes.bool,
|
|
203
184
|
size: PropTypes.number,
|
|
204
185
|
wrapperSize: PropTypes.number
|
|
205
|
-
})
|
|
206
|
-
editAsIcon: PropTypes.bool
|
|
186
|
+
})
|
|
207
187
|
} : {};
|
|
208
188
|
export default ListItem;
|
|
209
189
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","PropTypes","convert","classnames","Provider","Tag","FaIcon","ButtonLink","BulletPointMenuButton","COLORS","style","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","leftIcon","editAsIcon","context","skin","primarySelectedColor","mapUncapped","cap","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","dataColumnsView","dataColumn","className","label","orderView","undefined","handleButtonLinkClick","handleRenderButtonLink","icon","editIcon","wrapper","gridLayout","withSubtitle","cursorPointer","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","borderRadius","titleWrapper","titleProviderWrapper","providerTag","settings","white","faSize","wrapperSize","contextTypes","childContextTypes","translate","propTypes","string","isRequired","bool","arrayOf","shape","oneOf","dataName","position","func","buttonAriaLabel","menuAriaLabel","buttons","number","id","size"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get} 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 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 editAsIcon = false\n },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: 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 handleButtonLinkClick = buttonLink?.onClick || noop;\n\n const handleRenderButtonLink = () => {\n if (editAsIcon && buttonLink) {\n return (\n <FaIcon\n iconName={buttonLink.icon?.type || 'edit'}\n onClick={handleButtonLinkClick}\n className={style.editIcon}\n />\n );\n }\n if (buttonLink) {\n return <ButtonLink {...buttonLink} />;\n }\n return null;\n };\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 )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n <div className={style.leftSection}>\n {leftIcon ? (\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 </div>\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n <div className={style.title} title={title}>\n {title}\n </div>\n {provider ? (\n <Tag label={provider} type=\"default\" className={style.providerTag} />\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n </div>\n {dataColumnsView}\n </div>\n\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 {handleRenderButtonLink()}\n {secondButtonLink ? <ButtonLink {...secondButtonLink} /> : null}\n {!isEmpty(bulletPointMenuButton) ? (\n <BulletPointMenuButton {...bulletPointMenuButton} />\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 provider: PropTypes.string,\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 editAsIcon: PropTypes.bool\n};\n\nexport default ListItem;\n"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAAQC,OAAR,QAAsB,oBAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,OAAOC,MAAP,MAAmB,iBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,yCAAlC;AACA,SAAQC,MAAR,QAAqB,wBAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CACf;EACEC,UADF;EAEEC,gBAFF;EAGEC,qBAHF;EAIEC,IAJF;EAKEC,KALF;EAMEC,QANF;EAOEC,QAPF;EAQEC,aARF;EASEC,QATF;EAUEC,WAVF;EAWEC,KAXF;EAYE,cAAcC,SAZhB;EAaEC,QAAQ,GAAG,KAbb;EAcEC,WAdF;EAeEC,WAAW,GAAG,KAfhB;EAgBEC,gBAAgB,GAAG,KAhBrB;EAiBEC,OAAO,QAjBT;EAkBEC,QAlBF;EAmBEC,UAAU,GAAG;AAnBf,CADe,EAsBfC,OAtBe,KAuBZ;EACH,MAAM;IAACC;EAAD,IAASD,OAAf;;EACA,MAAME,oBAAoB,GAAGd,aAAa,IAAI,KAAI,gBAAJ,EAAsBa,IAAtB,CAA9C;;EACA,MAAME,WAAW,GAAG,KAAIhC,OAAJ,CAAY;IAACiC,GAAG,EAAE;EAAN,CAAZ,CAApB;;EACA,IAAIC,WAAW,GAAG,KAAlB;EAEA,MAAMC,aAAa,GAAGnB,QAAQ,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CAAC6E,MADI;IAExBd,SAAS,EAAE/D,SAAS,CAAC6E,MAFG;IAGxBxC,eAAe,EAAErC,SAAS,CAAC6E,MAHH;IAIxBZ,YAAY,EAAEjE,SAAS,CAAC6E,MAJA;IAKxBb,MAAM,EAAEhE,SAAS,CAAC6E,MALM;IAMxBf,kBAAkB,EAAE9D,SAAS,CAAC+E,IANN;IAOxBY,IAAI,EAAE3F,SAAS,CAACyF,MAPQ;IAQxBjB,WAAW,EAAExE,SAAS,CAACyF;EARC,CAAhB,CA9DS;EAwEnB5D,UAAU,EAAE7B,SAAS,CAAC+E;AAxEH,CAArB;AA2EA,eAAerE,QAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","PropTypes","convert","classnames","Provider","Tag","FaIcon","ButtonLink","BulletPointMenuButton","COLORS","style","ListItem","buttonLink","secondButtonLink","bulletPointMenuButton","tags","title","provider","selected","selectedColor","subtitle","dataColumns","order","ariaLabel","disabled","contentType","isBulkStyle","isOverflowHidden","onClick","leftIcon","context","skin","primarySelectedColor","mapUncapped","cap","isPublished","selectedStyle","backgroundColor","tagSelectedStyle","color","tagsView","tag","index","type","dataColumnsView","dataColumn","className","label","orderView","undefined","wrapper","gridLayout","withSubtitle","cursorPointer","dataColumnsWrapper","hiddenOverflowX","leftSection","iconName","gradientBackground","iconColor","preset","borderRadius","titleWrapper","titleProviderWrapper","providerTag","settings","white","faSize","wrapperSize","contextTypes","childContextTypes","translate","propTypes","string","isRequired","bool","arrayOf","shape","oneOf","dataName","icon","position","func","buttonAriaLabel","menuAriaLabel","buttons","number","id","size"],"sources":["../../../src/organism/list-item/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty, map, noop, get} 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 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 },\n context\n) => {\n const {skin} = context;\n const primarySelectedColor = selectedColor || get('common.primary', skin);\n const mapUncapped = map.convert({cap: 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 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 )}\n onClick={!disabled ? onClick : undefined}\n style={selectedStyle}\n >\n <div\n className={classnames(style.dataColumnsWrapper, isOverflowHidden && style.hiddenOverflowX)}\n >\n {isPublished && contentType === 'certification' ? orderView : null}\n <div className={style.leftSection}>\n {leftIcon ? (\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 </div>\n <div className={style.titleWrapper}>\n <div className={style.titleProviderWrapper}>\n <div className={style.title} title={title}>\n {title}\n </div>\n {provider ? (\n <Tag label={provider} type=\"default\" className={style.providerTag} />\n ) : null}\n </div>\n {subtitle ? <div className={style.subtitle}>{subtitle}</div> : null}\n </div>\n {dataColumnsView}\n </div>\n\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 {...bulletPointMenuButton} />\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 provider: PropTypes.string,\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};\n\nexport default ListItem;\n"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAAQC,OAAR,QAAsB,oBAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,OAAOC,MAAP,MAAmB,iBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,qBAAP,MAAkC,yCAAlC;AACA,SAAQC,MAAR,QAAqB,wBAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CACf;EACEC,UADF;EAEEC,gBAFF;EAGEC,qBAHF;EAIEC,IAJF;EAKEC,KALF;EAMEC,QANF;EAOEC,QAPF;EAQEC,aARF;EASEC,QATF;EAUEC,WAVF;EAWEC,KAXF;EAYE,cAAcC,SAZhB;EAaEC,QAAQ,GAAG,KAbb;EAcEC,WAdF;EAeEC,WAAW,GAAG,K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Bd,SAAS,EAAE1D,SAAS,CAACwE,MAFG;IAGxBpC,eAAe,EAAEpC,SAAS,CAACwE,MAHH;IAIxBZ,YAAY,EAAE5D,SAAS,CAACwE,MAJA;IAKxBb,MAAM,EAAE3D,SAAS,CAACwE,MALM;IAMxBf,kBAAkB,EAAEzD,SAAS,CAAC0E,IANN;IAOxBa,IAAI,EAAEvF,SAAS,CAACqF,MAPQ;IAQxBlB,WAAW,EAAEnE,SAAS,CAACqF;EARC,CAAhB;AA9DS,CAArB;AA0EA,eAAe3E,QAAf"}
|
|
@@ -119,7 +119,6 @@ declare namespace ListItems {
|
|
|
119
119
|
size: PropTypes.Requireable<number>;
|
|
120
120
|
wrapperSize: PropTypes.Requireable<number>;
|
|
121
121
|
}>>;
|
|
122
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
123
122
|
}> | null | undefined)[]>;
|
|
124
123
|
type: PropTypes.Requireable<string>;
|
|
125
124
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -200,7 +200,6 @@ declare namespace PlayerLoading {
|
|
|
200
200
|
size: PropTypes.Requireable<number>;
|
|
201
201
|
wrapperSize: PropTypes.Requireable<number>;
|
|
202
202
|
}>>;
|
|
203
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
204
203
|
}> | null | undefined)[]>;
|
|
205
204
|
type: PropTypes.Requireable<string>;
|
|
206
205
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -251,7 +251,6 @@ declare namespace SlidePlayer {
|
|
|
251
251
|
size: PropTypes.Requireable<number>;
|
|
252
252
|
wrapperSize: PropTypes.Requireable<number>;
|
|
253
253
|
}>>;
|
|
254
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
255
254
|
}> | null | undefined)[]>;
|
|
256
255
|
type: PropTypes.Requireable<string>;
|
|
257
256
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -557,7 +556,6 @@ declare namespace SlidePlayer {
|
|
|
557
556
|
size: PropTypes.Requireable<number>;
|
|
558
557
|
wrapperSize: PropTypes.Requireable<number>;
|
|
559
558
|
}>>;
|
|
560
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
561
559
|
}> | null | undefined)[]>;
|
|
562
560
|
type: PropTypes.Requireable<string>;
|
|
563
561
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -257,7 +257,6 @@ declare namespace SlidesPlayer {
|
|
|
257
257
|
size: PropTypes.Requireable<number>;
|
|
258
258
|
wrapperSize: PropTypes.Requireable<number>;
|
|
259
259
|
}>>;
|
|
260
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
261
260
|
}> | null | undefined)[]>;
|
|
262
261
|
type: PropTypes.Requireable<string>;
|
|
263
262
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -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"}
|
|
@@ -287,7 +287,6 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
287
287
|
size: PropTypes.Requireable<number>;
|
|
288
288
|
wrapperSize: PropTypes.Requireable<number>;
|
|
289
289
|
}>>;
|
|
290
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
291
290
|
}> | null | undefined)[]>;
|
|
292
291
|
type: PropTypes.Requireable<string>;
|
|
293
292
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -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"}
|
|
@@ -387,7 +387,6 @@ declare namespace PopinEnd {
|
|
|
387
387
|
size: PropTypes.Requireable<number>;
|
|
388
388
|
wrapperSize: PropTypes.Requireable<number>;
|
|
389
389
|
}>>;
|
|
390
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
391
390
|
}> | null | undefined)[]>;
|
|
392
391
|
type: PropTypes.Requireable<string>;
|
|
393
392
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -708,7 +708,6 @@ declare const AppReview: {
|
|
|
708
708
|
size: import("prop-types").Requireable<number>;
|
|
709
709
|
wrapperSize: import("prop-types").Requireable<number>;
|
|
710
710
|
}>>;
|
|
711
|
-
editAsIcon: import("prop-types").Requireable<boolean>;
|
|
712
711
|
}> | null | undefined)[]>;
|
|
713
712
|
type: import("prop-types").Requireable<string>;
|
|
714
713
|
itemType: import("prop-types").Requireable<string>;
|
|
@@ -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"}
|
|
@@ -708,7 +708,6 @@ declare const propTypes: {
|
|
|
708
708
|
size: PropTypes.Requireable<number>;
|
|
709
709
|
wrapperSize: PropTypes.Requireable<number>;
|
|
710
710
|
}>>;
|
|
711
|
-
editAsIcon: PropTypes.Requireable<boolean>;
|
|
712
711
|
}> | null | undefined)[]>;
|
|
713
712
|
type: PropTypes.Requireable<string>;
|
|
714
713
|
itemType: PropTypes.Requireable<string>;
|