@coorpacademy/components 11.32.48-alpha.76 → 11.32.48-alpha.78
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/molecule/banner/index.d.ts.map +1 -1
- package/es/molecule/banner/index.js +10 -11
- package/es/molecule/banner/index.js.map +1 -1
- package/lib/molecule/banner/index.d.ts.map +1 -1
- package/lib/molecule/banner/index.js +9 -9
- package/lib/molecule/banner/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/banner/index.js"],"names":[],"mappings":";AA0BA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/banner/index.js"],"names":[],"mappings":";AA0BA,iDAoFC"}
|
|
@@ -2,7 +2,7 @@ import _map from "lodash/fp/map";
|
|
|
2
2
|
import _isEmpty from "lodash/fp/isEmpty";
|
|
3
3
|
import _noop from "lodash/fp/noop";
|
|
4
4
|
import _keys from "lodash/fp/keys";
|
|
5
|
-
import React, { useState } from 'react';
|
|
5
|
+
import React, { useState, useCallback } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
8
|
import { COLORS } from '../../variables/colors';
|
|
@@ -38,15 +38,6 @@ const Banner = props => {
|
|
|
38
38
|
onEnd
|
|
39
39
|
} = props;
|
|
40
40
|
const [switchValue, setSwitchValue] = useState(false);
|
|
41
|
-
|
|
42
|
-
const handleSwitchToggle = action => e => {
|
|
43
|
-
console.log('handleSwitchToggle new test');
|
|
44
|
-
console.log('TCL ------> ~ action:', action);
|
|
45
|
-
const newSwitchValue = !switchValue;
|
|
46
|
-
setSwitchValue(newSwitchValue);
|
|
47
|
-
action(newSwitchValue);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
41
|
const ButtonSeparator = /*#__PURE__*/React.createElement("div", {
|
|
51
42
|
className: classnames(style.buttonsBar, STYLES[type])
|
|
52
43
|
});
|
|
@@ -56,15 +47,23 @@ const Banner = props => {
|
|
|
56
47
|
label,
|
|
57
48
|
action = _noop
|
|
58
49
|
}) => {
|
|
50
|
+
const handleSwitchToggle = useCallback(() => {
|
|
51
|
+
console.log('handleSwitchToggle new test 2');
|
|
52
|
+
const newSwitchValue = !switchValue;
|
|
53
|
+
setSwitchValue(newSwitchValue);
|
|
54
|
+
action(newSwitchValue);
|
|
55
|
+
}, [switchValue, setSwitchValue]);
|
|
56
|
+
|
|
59
57
|
switch (buttonType) {
|
|
60
58
|
case 'switch':
|
|
61
59
|
return /*#__PURE__*/React.createElement("div", {
|
|
62
60
|
className: classnames(style.button, STYLES[type])
|
|
63
61
|
}, /*#__PURE__*/React.createElement(InputSwitch, {
|
|
62
|
+
id: "show-microlearning-switch",
|
|
64
63
|
theme: "coorpmanager",
|
|
65
64
|
title: label,
|
|
66
65
|
value: switchValue,
|
|
67
|
-
onChange: handleSwitchToggle
|
|
66
|
+
onChange: handleSwitchToggle,
|
|
68
67
|
"data-name": `banner-switch-cta`,
|
|
69
68
|
"aria-label": label
|
|
70
69
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useState","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","
|
|
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","ButtonSeparator","buttonsBar","buildButton","buttonType","label","action","handleSwitchToggle","console","log","newSwitchValue","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\n\n const ButtonSeparator = <div className={classnames(style.buttonsBar, STYLES[type])} />;\n\n const buildButton = ({type: buttonType = 'button', label, action = noop}) => {\n\n const handleSwitchToggle = useCallback(\n () => {\n console.log('handleSwitchToggle new test 2');\n const newSwitchValue = !switchValue;\n setSwitchValue(newSwitchValue);\n action(newSwitchValue);\n },\n [switchValue, setSwitchValue]\n );\n \n\n switch (buttonType) {\n case 'switch':\n return (\n <div className={classnames(style.button, STYLES[type])}>\n <InputSwitch\n id='show-microlearning-switch'\n theme=\"coorpmanager\"\n title={label}\n value={switchValue}\n onChange={handleSwitchToggle}\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,MA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AaxB,SAAS,IAAInB,KAAK,CAAC4C,aAAhC;EAHvB,EADF,EAMG3B,OANH,CANF,EAcGkB,QAAQ,CAACjB,GAAD,CAdX,CADF;AAkBD,CApFD;;AAsFA,MAAM2B,YAAN,2CAAqBnD,SAAS,CAACoD,KAAV,CAAgB;EACnClB,KAAK,EAAElC,SAAS,CAACqD,MADkB;EAEnC/B,IAAI,EAAEtB,SAAS,CAACsD,KAAV,CAAgB,CAAC,QAAD,EAAW,QAAX,CAAhB,CAF6B;EAGnCnB,MAAM,EAAEnC,SAAS,CAACuD;AAHiB,CAAhB,CAArB;AAMAnC,MAAM,CAACoC,SAAP,2CAAmB;EACjB9B,SAAS,EAAE1B,SAAS,CAACqD,MADJ;EAEjB/B,IAAI,EAAEtB,SAAS,CAACsD,KAAV,CAAgB,MAAK5C,KAAL,CAAhB,CAFW;EAGjBa,OAAO,EAAEvB,SAAS,CAACqD,MAAV,CAAiBI,UAHT;EAIjBjC,GAAG,EAAExB,SAAS,CAAC0D,OAAV,CAAkBP,YAAlB,CAJY;EAKjB1B,SAAS,EAAEzB,SAAS,CAAC2D,IALJ;EAMjBhC,KAAK,EAAE3B,SAAS,CAACuD;AANA,CAAnB;AASA,eAAenC,MAAf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/banner/index.js"],"names":[],"mappings":";AA0BA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/banner/index.js"],"names":[],"mappings":";AA0BA,iDAoFC"}
|
|
@@ -61,14 +61,6 @@ const Banner = props => {
|
|
|
61
61
|
} = props;
|
|
62
62
|
const [switchValue, setSwitchValue] = (0, _react.useState)(false);
|
|
63
63
|
|
|
64
|
-
const handleSwitchToggle = action => e => {
|
|
65
|
-
console.log('handleSwitchToggle new test');
|
|
66
|
-
console.log('TCL ------> ~ action:', action);
|
|
67
|
-
const newSwitchValue = !switchValue;
|
|
68
|
-
setSwitchValue(newSwitchValue);
|
|
69
|
-
action(newSwitchValue);
|
|
70
|
-
};
|
|
71
|
-
|
|
72
64
|
const ButtonSeparator = /*#__PURE__*/_react.default.createElement("div", {
|
|
73
65
|
className: (0, _classnames.default)(_style.default.buttonsBar, STYLES[type])
|
|
74
66
|
});
|
|
@@ -78,15 +70,23 @@ const Banner = props => {
|
|
|
78
70
|
label,
|
|
79
71
|
action = _noop2.default
|
|
80
72
|
}) => {
|
|
73
|
+
const handleSwitchToggle = (0, _react.useCallback)(() => {
|
|
74
|
+
console.log('handleSwitchToggle new test 2');
|
|
75
|
+
const newSwitchValue = !switchValue;
|
|
76
|
+
setSwitchValue(newSwitchValue);
|
|
77
|
+
action(newSwitchValue);
|
|
78
|
+
}, [switchValue, setSwitchValue]);
|
|
79
|
+
|
|
81
80
|
switch (buttonType) {
|
|
82
81
|
case 'switch':
|
|
83
82
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
84
83
|
className: (0, _classnames.default)(_style.default.button, STYLES[type])
|
|
85
84
|
}, /*#__PURE__*/_react.default.createElement(_inputSwitch.default, {
|
|
85
|
+
id: "show-microlearning-switch",
|
|
86
86
|
theme: "coorpmanager",
|
|
87
87
|
title: label,
|
|
88
88
|
value: switchValue,
|
|
89
|
-
onChange: handleSwitchToggle
|
|
89
|
+
onChange: handleSwitchToggle,
|
|
90
90
|
"data-name": `banner-switch-cta`,
|
|
91
91
|
"aria-label": label
|
|
92
92
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["uncappedMap","convert","cap","TYPES","success","COLORS","cm_positive_200","error","cm_negative_200","warning","cm_yellow_400","info","cm_grey_500","STYLES","style","Banner","props","type","message","cta","temporary","bannerKey","onEnd","switchValue","setSwitchValue","useState","
|
|
1
|
+
{"version":3,"file":"index.js","names":["uncappedMap","convert","cap","TYPES","success","COLORS","cm_positive_200","error","cm_negative_200","warning","cm_yellow_400","info","cm_grey_500","STYLES","style","Banner","props","type","message","cta","temporary","bannerKey","onEnd","switchValue","setSwitchValue","useState","ButtonSeparator","classnames","buttonsBar","buildButton","buttonType","label","action","handleSwitchToggle","useCallback","console","log","newSwitchValue","button","buildCta","ctaOptions","options","i","iconName","iconColor","banner","temporaryBanner","icon","temporaryIcon","ctaPropTypes","PropTypes","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\n\n const ButtonSeparator = <div className={classnames(style.buttonsBar, STYLES[type])} />;\n\n const buildButton = ({type: buttonType = 'button', label, action = noop}) => {\n\n const handleSwitchToggle = useCallback(\n () => {\n console.log('handleSwitchToggle new test 2');\n const newSwitchValue = !switchValue;\n setSwitchValue(newSwitchValue);\n action(newSwitchValue);\n },\n [switchValue, setSwitchValue]\n );\n \n\n switch (buttonType) {\n case 'switch':\n return (\n <div className={classnames(style.button, STYLES[type])}>\n <InputSwitch\n id='show-microlearning-switch'\n theme=\"coorpmanager\"\n title={label}\n value={switchValue}\n onChange={handleSwitchToggle}\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;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,WAAW,GAAG,cAAIC,OAAJ,CAAY;EAACC,GAAG,EAAE;AAAN,CAAZ,CAApB;;AAEA,MAAMC,KAAK,GAAG;EACZC,OAAO,EAAE,CAAC,cAAD,EAAiBC,cAAA,CAAOC,eAAxB,CADG;EAEZC,KAAK,EAAE,CAAC,sBAAD,EAAyBF,cAAA,CAAOG,eAAhC,CAFK;EAGZC,OAAO,EAAE,CAAC,oBAAD,EAAuBJ,cAAA,CAAOK,aAA9B,CAHG;EAIZC,IAAI,EAAE,CAAC,aAAD,EAAgBN,cAAA,CAAOO,WAAvB;AAJM,C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,cAAA,CAAMkC,aAA1C;EAHb,EADF,EAMG9B,OANH,CANF,EAcGqB,QAAQ,CAACpB,GAAD,CAdX,CADF;AAkBD,CApFD;;AAsFA,MAAM8B,YAAN,2CAAqBC,kBAAA,CAAUC,KAAV,CAAgB;EACnCpB,KAAK,EAAEmB,kBAAA,CAAUE,MADkB;EAEnCnC,IAAI,EAAEiC,kBAAA,CAAUG,KAAV,CAAgB,CAAC,QAAD,EAAW,QAAX,CAAhB,CAF6B;EAGnCrB,MAAM,EAAEkB,kBAAA,CAAUI;AAHiB,CAAhB,CAArB;AAMAvC,MAAM,CAACwC,SAAP,2CAAmB;EACjBlC,SAAS,EAAE6B,kBAAA,CAAUE,MADJ;EAEjBnC,IAAI,EAAEiC,kBAAA,CAAUG,KAAV,CAAgB,oBAAKlD,KAAL,CAAhB,CAFW;EAGjBe,OAAO,EAAEgC,kBAAA,CAAUE,MAAV,CAAiBI,UAHT;EAIjBrC,GAAG,EAAE+B,kBAAA,CAAUO,OAAV,CAAkBR,YAAlB,CAJY;EAKjB7B,SAAS,EAAE8B,kBAAA,CAAUQ,IALJ;EAMjBpC,KAAK,EAAE4B,kBAAA,CAAUI;AANA,CAAnB;eASevC,M"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "11.32.48-alpha.
|
|
3
|
+
"version": "11.32.48-alpha.78+3720d4b00",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -178,5 +178,5 @@
|
|
|
178
178
|
"last 2 versions",
|
|
179
179
|
"IE 11"
|
|
180
180
|
],
|
|
181
|
-
"gitHead": "
|
|
181
|
+
"gitHead": "3720d4b00d4913a5a0cdb797bf7e6ce04e8f789c"
|
|
182
182
|
}
|