diy-template-components 0.0.49 → 0.0.50
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/build/index.es.js +3 -9
- package/build/index.es.js.map +1 -1
- package/build/index.js +3 -9
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -951,8 +951,6 @@ function Dropdown(props) {
|
|
|
951
951
|
})));
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
-
const isCoursesLink = data => data.link === 'courses';
|
|
955
|
-
|
|
956
954
|
function OptionList({
|
|
957
955
|
optionsData,
|
|
958
956
|
headerData,
|
|
@@ -960,9 +958,7 @@ function OptionList({
|
|
|
960
958
|
moreContent,
|
|
961
959
|
navDataCount
|
|
962
960
|
}) {
|
|
963
|
-
|
|
964
|
-
isPreview
|
|
965
|
-
} = React.useContext(PageContext);
|
|
961
|
+
React.useContext(PageContext);
|
|
966
962
|
|
|
967
963
|
const tabsDataModifier = () => {
|
|
968
964
|
return optionsData?.map(dt => {
|
|
@@ -985,7 +981,7 @@ function OptionList({
|
|
|
985
981
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
986
982
|
className: classes.optionList
|
|
987
983
|
}, tabData?.map((dt, ind) => {
|
|
988
|
-
return /*#__PURE__*/React__default["default"].createElement(Button,
|
|
984
|
+
return /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
989
985
|
key: ind,
|
|
990
986
|
data: dt,
|
|
991
987
|
type: 'tertiary',
|
|
@@ -996,9 +992,7 @@ function OptionList({
|
|
|
996
992
|
margin: '0 10px'
|
|
997
993
|
},
|
|
998
994
|
active: dt.active
|
|
999
|
-
}
|
|
1000
|
-
target: '_blank'
|
|
1001
|
-
} : {}));
|
|
995
|
+
});
|
|
1002
996
|
})), navDataCount > 5 && !isMobile ? /*#__PURE__*/React__default["default"].createElement(Dropdown, {
|
|
1003
997
|
list: moreContent,
|
|
1004
998
|
label: 'More',
|