@epec-fcfm-uchile/frontend-component-header 1.0.16 → 1.0.18
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.
|
@@ -9,9 +9,12 @@ var LearningHeaderUserMenuItems = function LearningHeaderUserMenuItems(_ref) {
|
|
|
9
9
|
href: item.href,
|
|
10
10
|
"data-item": item.data
|
|
11
11
|
}, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
|
|
12
|
+
lassName: "dropdown-icon",
|
|
12
13
|
icon: item.icon,
|
|
13
14
|
size: "lg"
|
|
14
|
-
}), " ",
|
|
15
|
+
}), " ", /*#__PURE__*/React.createElement("span", {
|
|
16
|
+
className: "dropdown-text"
|
|
17
|
+
}, item.message));
|
|
15
18
|
});
|
|
16
19
|
};
|
|
17
20
|
export var learningHeaderUserMenuDataShape = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearningHeaderUserMenuItems.js","names":["React","PropTypes","Dropdown","FontAwesomeIcon","LearningHeaderUserMenuItems","_ref","items","map","item","createElement","Item","href","data","icon","size","message","learningHeaderUserMenuDataShape","arrayOf","shape","string","propTypes"],"sources":["../../src/learning-header/LearningHeaderUserMenuItems.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Dropdown } from '@openedx/paragon';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nconst LearningHeaderUserMenuItems = ({ items }) => items.map((item) => (\n <Dropdown.Item href={item.href} data-item={item.data}>\n <FontAwesomeIcon icon={item.icon} size=\"lg\" /> {item.message}
|
|
1
|
+
{"version":3,"file":"LearningHeaderUserMenuItems.js","names":["React","PropTypes","Dropdown","FontAwesomeIcon","LearningHeaderUserMenuItems","_ref","items","map","item","createElement","Item","href","data","lassName","icon","size","className","message","learningHeaderUserMenuDataShape","arrayOf","shape","string","propTypes"],"sources":["../../src/learning-header/LearningHeaderUserMenuItems.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Dropdown } from '@openedx/paragon';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nconst LearningHeaderUserMenuItems = ({ items }) => items.map((item) => (\n <Dropdown.Item href={item.href} data-item={item.data}>\n <FontAwesomeIcon lassName=\"dropdown-icon\" icon={item.icon} size=\"lg\" /> <span className=\"dropdown-text\">{item.message}</span>\n </Dropdown.Item>\n));\n\nexport const learningHeaderUserMenuDataShape = {\n items: PropTypes.arrayOf(PropTypes.shape({\n message: PropTypes.string,\n href: PropTypes.string,\n })),\n};\n\nLearningHeaderUserMenuItems.propTypes = learningHeaderUserMenuDataShape;\n\nexport default LearningHeaderUserMenuItems;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,SAASC,QAAQ,QAAQ,kBAAkB;AAC3C,SAASC,eAAe,QAAQ,gCAAgC;AAEhE,IAAMC,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAAAC,IAAA;EAAA,IAAMC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OAAOA,KAAK,CAACC,GAAG,CAAC,UAACC,IAAI;IAAA,oBAChER,KAAA,CAAAS,aAAA,CAACP,QAAQ,CAACQ,IAAI;MAACC,IAAI,EAAEH,IAAI,CAACG,IAAK;MAAC,aAAWH,IAAI,CAACI;IAAK,gBACnDZ,KAAA,CAAAS,aAAA,CAACN,eAAe;MAACU,QAAQ,EAAC,eAAe;MAACC,IAAI,EAAEN,IAAI,CAACM,IAAK;MAACC,IAAI,EAAC;IAAI,CAAE,CAAC,KAAC,eAAAf,KAAA,CAAAS,aAAA;MAAMO,SAAS,EAAC;IAAe,GAAER,IAAI,CAACS,OAAc,CAC/G,CAAC;EAAA,CACjB,CAAC;AAAA;AAEF,OAAO,IAAMC,+BAA+B,GAAG;EAC7CZ,KAAK,EAAEL,SAAS,CAACkB,OAAO,CAAClB,SAAS,CAACmB,KAAK,CAAC;IACvCH,OAAO,EAAEhB,SAAS,CAACoB,MAAM;IACzBV,IAAI,EAAEV,SAAS,CAACoB;EAClB,CAAC,CAAC;AACJ,CAAC;AAEDjB,2BAA2B,CAACkB,SAAS,GAAGJ,+BAA+B;AAEvE,eAAed,2BAA2B","ignoreList":[]}
|