ywana-core8 0.0.499 → 0.0.502
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +4 -3
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +5 -5
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/dialog.css +1 -0
- package/src/site/dialog.js +5 -4
- package/src/site/site.css +3 -3
- package/src/site/site.js +2 -4
package/dist/index.cjs
CHANGED
@@ -3304,7 +3304,6 @@ var SiteToolBar = function SiteToolBar(_ref4) {
|
|
3304
3304
|
|
3305
3305
|
var SiteFooter = function SiteFooter(_ref5) {
|
3306
3306
|
var children = _ref5.children;
|
3307
|
-
React.useContext(SiteContext);
|
3308
3307
|
return /*#__PURE__*/React__default["default"].createElement("footer", null, children);
|
3309
3308
|
};
|
3310
3309
|
/**
|
@@ -3463,7 +3462,7 @@ var SiteConsole = function SiteConsole() {
|
|
3463
3462
|
context.clearLog();
|
3464
3463
|
}
|
3465
3464
|
|
3466
|
-
return context.showConsole ? /*#__PURE__*/React__default["default"].createElement("
|
3465
|
+
return context.showConsole ? /*#__PURE__*/React__default["default"].createElement("div", {
|
3467
3466
|
className: "site-console"
|
3468
3467
|
}, /*#__PURE__*/React__default["default"].createElement(Header, null, /*#__PURE__*/React__default["default"].createElement(Tabs, null, /*#__PURE__*/React__default["default"].createElement(Tab, {
|
3469
3468
|
label: "Console"
|
@@ -3482,7 +3481,7 @@ var SiteConsole = function SiteConsole() {
|
|
3482
3481
|
/**
|
3483
3482
|
* Dialog
|
3484
3483
|
*
|
3485
|
-
* <Dialog title={title} open={true}
|
3484
|
+
* <Dialog title={title} open={true} actions={actions}>
|
3486
3485
|
*/
|
3487
3486
|
|
3488
3487
|
var Dialog = function Dialog(props) {
|
@@ -3490,6 +3489,7 @@ var Dialog = function Dialog(props) {
|
|
3490
3489
|
var icon = props.icon,
|
3491
3490
|
_props$title = props.title,
|
3492
3491
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
3492
|
+
toolbar = props.toolbar,
|
3493
3493
|
children = props.children,
|
3494
3494
|
actions = props.actions,
|
3495
3495
|
className = props.className;
|
@@ -3506,10 +3506,10 @@ var Dialog = function Dialog(props) {
|
|
3506
3506
|
className: "overlay " + className,
|
3507
3507
|
onMouseDown: close
|
3508
3508
|
}), /*#__PURE__*/React__default["default"].createElement("dialog", {
|
3509
|
-
className: "dialog-panel
|
3509
|
+
className: "dialog-panel " + className
|
3510
3510
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
3511
3511
|
icon: icon
|
3512
|
-
}) : 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)));
|
3513
3513
|
};
|
3514
3514
|
|
3515
3515
|
/**
|