@fileverse-dev/fortune-react 1.0.2-mod-29 → 1.0.2-mod-30
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/dist/index.esm.js +13 -1
- package/dist/index.js +13 -1
- package/dist/index.umd.js +2588 -4264
- package/dist/index.umd.min.js +9 -9
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -6555,7 +6555,7 @@ var Toolbar = function Toolbar(_ref) {
|
|
|
6555
6555
|
className: "fortune-toolbar",
|
|
6556
6556
|
"aria-label": toolbar.toolbar
|
|
6557
6557
|
}, settings.customToolbarItems.filter(function (n) {
|
|
6558
|
-
return n.key
|
|
6558
|
+
return n.key === "import-export";
|
|
6559
6559
|
}).map(function (n) {
|
|
6560
6560
|
return /*#__PURE__*/React.createElement(CustomButton, {
|
|
6561
6561
|
tooltip: n.tooltip,
|
|
@@ -6592,6 +6592,18 @@ var Toolbar = function Toolbar(_ref) {
|
|
|
6592
6592
|
icon: n.icon,
|
|
6593
6593
|
iconName: n.iconName
|
|
6594
6594
|
}, n.children);
|
|
6595
|
+
}), /*#__PURE__*/React.createElement(Divider, {
|
|
6596
|
+
key: "templateDivider"
|
|
6597
|
+
}), settings.customToolbarItems.filter(function (n) {
|
|
6598
|
+
return n.key !== "templates" && n.key !== "import-export";
|
|
6599
|
+
}).map(function (n) {
|
|
6600
|
+
return /*#__PURE__*/React.createElement(CustomButton, {
|
|
6601
|
+
tooltip: n.tooltip,
|
|
6602
|
+
onClick: n.onClick,
|
|
6603
|
+
key: n.key,
|
|
6604
|
+
icon: n.icon,
|
|
6605
|
+
iconName: n.iconName
|
|
6606
|
+
}, n.children);
|
|
6595
6607
|
}));
|
|
6596
6608
|
};
|
|
6597
6609
|
|
package/dist/index.js
CHANGED
|
@@ -6567,7 +6567,7 @@ var Toolbar = function Toolbar(_ref) {
|
|
|
6567
6567
|
className: "fortune-toolbar",
|
|
6568
6568
|
"aria-label": toolbar.toolbar
|
|
6569
6569
|
}, settings.customToolbarItems.filter(function (n) {
|
|
6570
|
-
return n.key
|
|
6570
|
+
return n.key === "import-export";
|
|
6571
6571
|
}).map(function (n) {
|
|
6572
6572
|
return /*#__PURE__*/React__default['default'].createElement(CustomButton, {
|
|
6573
6573
|
tooltip: n.tooltip,
|
|
@@ -6604,6 +6604,18 @@ var Toolbar = function Toolbar(_ref) {
|
|
|
6604
6604
|
icon: n.icon,
|
|
6605
6605
|
iconName: n.iconName
|
|
6606
6606
|
}, n.children);
|
|
6607
|
+
}), /*#__PURE__*/React__default['default'].createElement(Divider, {
|
|
6608
|
+
key: "templateDivider"
|
|
6609
|
+
}), settings.customToolbarItems.filter(function (n) {
|
|
6610
|
+
return n.key !== "templates" && n.key !== "import-export";
|
|
6611
|
+
}).map(function (n) {
|
|
6612
|
+
return /*#__PURE__*/React__default['default'].createElement(CustomButton, {
|
|
6613
|
+
tooltip: n.tooltip,
|
|
6614
|
+
onClick: n.onClick,
|
|
6615
|
+
key: n.key,
|
|
6616
|
+
icon: n.icon,
|
|
6617
|
+
iconName: n.iconName
|
|
6618
|
+
}, n.children);
|
|
6607
6619
|
}));
|
|
6608
6620
|
};
|
|
6609
6621
|
|