ywana-core8 0.0.500 → 0.0.501
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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/dialog.js +4 -3
package/dist/index.cjs
CHANGED
@@ -3481,7 +3481,7 @@ var SiteConsole = function SiteConsole() {
|
|
3481
3481
|
/**
|
3482
3482
|
* Dialog
|
3483
3483
|
*
|
3484
|
-
* <Dialog title={title} open={true}
|
3484
|
+
* <Dialog title={title} open={true} actions={actions}>
|
3485
3485
|
*/
|
3486
3486
|
|
3487
3487
|
var Dialog = function Dialog(props) {
|
@@ -3489,6 +3489,7 @@ var Dialog = function Dialog(props) {
|
|
3489
3489
|
var icon = props.icon,
|
3490
3490
|
_props$title = props.title,
|
3491
3491
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
3492
|
+
toolbar = props.toolbar,
|
3492
3493
|
children = props.children,
|
3493
3494
|
actions = props.actions,
|
3494
3495
|
className = props.className;
|
@@ -3508,7 +3509,7 @@ var Dialog = function Dialog(props) {
|
|
3508
3509
|
className: "dialog-panel " + className
|
3509
3510
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
3510
3511
|
icon: icon
|
3511
|
-
}) : null, /*#__PURE__*/React__default["default"].createElement(Text, null, title)), /*#__PURE__*/React__default["default"].createElement("main", null, children), /*#__PURE__*/React__default["default"].createElement("footer", null, actions)));
|
3512
|
+
}) : null, /*#__PURE__*/React__default["default"].createElement(Text, null, title), toolbar), /*#__PURE__*/React__default["default"].createElement("main", null, children), /*#__PURE__*/React__default["default"].createElement("footer", null, actions)));
|
3512
3513
|
};
|
3513
3514
|
|
3514
3515
|
/**
|