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.es.js
CHANGED
|
@@ -939,8 +939,6 @@ function Dropdown(props) {
|
|
|
939
939
|
})));
|
|
940
940
|
}
|
|
941
941
|
|
|
942
|
-
const isCoursesLink = data => data.link === 'courses';
|
|
943
|
-
|
|
944
942
|
function OptionList({
|
|
945
943
|
optionsData,
|
|
946
944
|
headerData,
|
|
@@ -948,9 +946,7 @@ function OptionList({
|
|
|
948
946
|
moreContent,
|
|
949
947
|
navDataCount
|
|
950
948
|
}) {
|
|
951
|
-
|
|
952
|
-
isPreview
|
|
953
|
-
} = useContext$1(PageContext);
|
|
949
|
+
useContext$1(PageContext);
|
|
954
950
|
|
|
955
951
|
const tabsDataModifier = () => {
|
|
956
952
|
return optionsData?.map(dt => {
|
|
@@ -973,7 +969,7 @@ function OptionList({
|
|
|
973
969
|
}, /*#__PURE__*/React.createElement("div", {
|
|
974
970
|
className: classes.optionList
|
|
975
971
|
}, tabData?.map((dt, ind) => {
|
|
976
|
-
return /*#__PURE__*/React.createElement(Button,
|
|
972
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
977
973
|
key: ind,
|
|
978
974
|
data: dt,
|
|
979
975
|
type: 'tertiary',
|
|
@@ -984,9 +980,7 @@ function OptionList({
|
|
|
984
980
|
margin: '0 10px'
|
|
985
981
|
},
|
|
986
982
|
active: dt.active
|
|
987
|
-
}
|
|
988
|
-
target: '_blank'
|
|
989
|
-
} : {}));
|
|
983
|
+
});
|
|
990
984
|
})), navDataCount > 5 && !isMobile ? /*#__PURE__*/React.createElement(Dropdown, {
|
|
991
985
|
list: moreContent,
|
|
992
986
|
label: 'More',
|