ywana-core8 0.0.500 → 0.0.503
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 +4 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -0
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +4 -8
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -8
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -7
- package/src/site/dialog.css +1 -0
- package/src/site/dialog.js +5 -4
package/dist/index.cjs
CHANGED
@@ -1493,10 +1493,6 @@ var DataTable = function DataTable(props) {
|
|
1493
1493
|
allChecked = _useState2[0],
|
1494
1494
|
setAllChecked = _useState2[1];
|
1495
1495
|
|
1496
|
-
React.useEffect(function () {
|
1497
|
-
console.log(sortDir);
|
1498
|
-
}, [sortDir]);
|
1499
|
-
|
1500
1496
|
function changeSort(id) {
|
1501
1497
|
var _Object$assign;
|
1502
1498
|
|
@@ -1510,7 +1506,6 @@ var DataTable = function DataTable(props) {
|
|
1510
1506
|
sortObject = {};
|
1511
1507
|
}
|
1512
1508
|
|
1513
|
-
console.log('multisort', sortObject);
|
1514
1509
|
var sortKeys = Object.keys(sortObject);
|
1515
1510
|
|
1516
1511
|
if (!sortKeys.length) {
|
@@ -3481,7 +3476,7 @@ var SiteConsole = function SiteConsole() {
|
|
3481
3476
|
/**
|
3482
3477
|
* Dialog
|
3483
3478
|
*
|
3484
|
-
* <Dialog title={title} open={true}
|
3479
|
+
* <Dialog title={title} open={true} actions={actions}>
|
3485
3480
|
*/
|
3486
3481
|
|
3487
3482
|
var Dialog = function Dialog(props) {
|
@@ -3489,6 +3484,7 @@ var Dialog = function Dialog(props) {
|
|
3489
3484
|
var icon = props.icon,
|
3490
3485
|
_props$title = props.title,
|
3491
3486
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
3487
|
+
toolbar = props.toolbar,
|
3492
3488
|
children = props.children,
|
3493
3489
|
actions = props.actions,
|
3494
3490
|
className = props.className;
|
@@ -3505,10 +3501,10 @@ var Dialog = function Dialog(props) {
|
|
3505
3501
|
className: "overlay " + className,
|
3506
3502
|
onMouseDown: close
|
3507
3503
|
}), /*#__PURE__*/React__default["default"].createElement("dialog", {
|
3508
|
-
className: "dialog-panel
|
3504
|
+
className: "dialog-panel " + className
|
3509
3505
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
3510
3506
|
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)));
|
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)));
|
3512
3508
|
};
|
3513
3509
|
|
3514
3510
|
/**
|