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.umd.js
CHANGED
@@ -3299,7 +3299,6 @@
|
|
3299
3299
|
|
3300
3300
|
var SiteFooter = function SiteFooter(_ref5) {
|
3301
3301
|
var children = _ref5.children;
|
3302
|
-
React.useContext(SiteContext);
|
3303
3302
|
return /*#__PURE__*/React__default["default"].createElement("footer", null, children);
|
3304
3303
|
};
|
3305
3304
|
/**
|
@@ -3458,7 +3457,7 @@
|
|
3458
3457
|
context.clearLog();
|
3459
3458
|
}
|
3460
3459
|
|
3461
|
-
return context.showConsole ? /*#__PURE__*/React__default["default"].createElement("
|
3460
|
+
return context.showConsole ? /*#__PURE__*/React__default["default"].createElement("div", {
|
3462
3461
|
className: "site-console"
|
3463
3462
|
}, /*#__PURE__*/React__default["default"].createElement(Header, null, /*#__PURE__*/React__default["default"].createElement(Tabs, null, /*#__PURE__*/React__default["default"].createElement(Tab, {
|
3464
3463
|
label: "Console"
|
@@ -3477,7 +3476,7 @@
|
|
3477
3476
|
/**
|
3478
3477
|
* Dialog
|
3479
3478
|
*
|
3480
|
-
* <Dialog title={title} open={true}
|
3479
|
+
* <Dialog title={title} open={true} actions={actions}>
|
3481
3480
|
*/
|
3482
3481
|
|
3483
3482
|
var Dialog = function Dialog(props) {
|
@@ -3485,6 +3484,7 @@
|
|
3485
3484
|
var icon = props.icon,
|
3486
3485
|
_props$title = props.title,
|
3487
3486
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
3487
|
+
toolbar = props.toolbar,
|
3488
3488
|
children = props.children,
|
3489
3489
|
actions = props.actions,
|
3490
3490
|
className = props.className;
|
@@ -3501,10 +3501,10 @@
|
|
3501
3501
|
className: "overlay " + className,
|
3502
3502
|
onMouseDown: close
|
3503
3503
|
}), /*#__PURE__*/React__default["default"].createElement("dialog", {
|
3504
|
-
className: "dialog-panel
|
3504
|
+
className: "dialog-panel " + className
|
3505
3505
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
3506
3506
|
icon: icon
|
3507
|
-
}) : 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)));
|
3508
3508
|
};
|
3509
3509
|
|
3510
3510
|
/**
|