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.umd.js
CHANGED
@@ -3476,7 +3476,7 @@
|
|
3476
3476
|
/**
|
3477
3477
|
* Dialog
|
3478
3478
|
*
|
3479
|
-
* <Dialog title={title} open={true}
|
3479
|
+
* <Dialog title={title} open={true} actions={actions}>
|
3480
3480
|
*/
|
3481
3481
|
|
3482
3482
|
var Dialog = function Dialog(props) {
|
@@ -3484,6 +3484,7 @@
|
|
3484
3484
|
var icon = props.icon,
|
3485
3485
|
_props$title = props.title,
|
3486
3486
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
3487
|
+
toolbar = props.toolbar,
|
3487
3488
|
children = props.children,
|
3488
3489
|
actions = props.actions,
|
3489
3490
|
className = props.className;
|
@@ -3503,7 +3504,7 @@
|
|
3503
3504
|
className: "dialog-panel " + className
|
3504
3505
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
3505
3506
|
icon: icon
|
3506
|
-
}) : 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)));
|
3507
|
+
}) : 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)));
|
3507
3508
|
};
|
3508
3509
|
|
3509
3510
|
/**
|