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.modern.js
CHANGED
@@ -3473,7 +3473,7 @@ var SiteConsole = function SiteConsole() {
|
|
3473
3473
|
/**
|
3474
3474
|
* Dialog
|
3475
3475
|
*
|
3476
|
-
* <Dialog title={title} open={true}
|
3476
|
+
* <Dialog title={title} open={true} actions={actions}>
|
3477
3477
|
*/
|
3478
3478
|
|
3479
3479
|
var Dialog = function Dialog(props) {
|
@@ -3481,6 +3481,7 @@ var Dialog = function Dialog(props) {
|
|
3481
3481
|
var icon = props.icon,
|
3482
3482
|
_props$title = props.title,
|
3483
3483
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
3484
|
+
toolbar = props.toolbar,
|
3484
3485
|
children = props.children,
|
3485
3486
|
actions = props.actions,
|
3486
3487
|
className = props.className;
|
@@ -3500,7 +3501,7 @@ var Dialog = function Dialog(props) {
|
|
3500
3501
|
className: "dialog-panel " + className
|
3501
3502
|
}, /*#__PURE__*/React.createElement("header", null, icon ? /*#__PURE__*/React.createElement(MenuIcon, {
|
3502
3503
|
icon: icon
|
3503
|
-
}) : null, /*#__PURE__*/React.createElement(Text, null, title)), /*#__PURE__*/React.createElement("main", null, children), /*#__PURE__*/React.createElement("footer", null, actions)));
|
3504
|
+
}) : null, /*#__PURE__*/React.createElement(Text, null, title), toolbar), /*#__PURE__*/React.createElement("main", null, children), /*#__PURE__*/React.createElement("footer", null, actions)));
|
3504
3505
|
};
|
3505
3506
|
|
3506
3507
|
/**
|