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.umd.js
CHANGED
@@ -1488,10 +1488,6 @@
|
|
1488
1488
|
allChecked = _useState2[0],
|
1489
1489
|
setAllChecked = _useState2[1];
|
1490
1490
|
|
1491
|
-
React.useEffect(function () {
|
1492
|
-
console.log(sortDir);
|
1493
|
-
}, [sortDir]);
|
1494
|
-
|
1495
1491
|
function changeSort(id) {
|
1496
1492
|
var _Object$assign;
|
1497
1493
|
|
@@ -1505,7 +1501,6 @@
|
|
1505
1501
|
sortObject = {};
|
1506
1502
|
}
|
1507
1503
|
|
1508
|
-
console.log('multisort', sortObject);
|
1509
1504
|
var sortKeys = Object.keys(sortObject);
|
1510
1505
|
|
1511
1506
|
if (!sortKeys.length) {
|
@@ -3476,7 +3471,7 @@
|
|
3476
3471
|
/**
|
3477
3472
|
* Dialog
|
3478
3473
|
*
|
3479
|
-
* <Dialog title={title} open={true}
|
3474
|
+
* <Dialog title={title} open={true} actions={actions}>
|
3480
3475
|
*/
|
3481
3476
|
|
3482
3477
|
var Dialog = function Dialog(props) {
|
@@ -3484,6 +3479,7 @@
|
|
3484
3479
|
var icon = props.icon,
|
3485
3480
|
_props$title = props.title,
|
3486
3481
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
3482
|
+
toolbar = props.toolbar,
|
3487
3483
|
children = props.children,
|
3488
3484
|
actions = props.actions,
|
3489
3485
|
className = props.className;
|
@@ -3500,10 +3496,10 @@
|
|
3500
3496
|
className: "overlay " + className,
|
3501
3497
|
onMouseDown: close
|
3502
3498
|
}), /*#__PURE__*/React__default["default"].createElement("dialog", {
|
3503
|
-
className: "dialog-panel
|
3499
|
+
className: "dialog-panel " + className
|
3504
3500
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
3505
3501
|
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)));
|
3502
|
+
}) : 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
3503
|
};
|
3508
3504
|
|
3509
3505
|
/**
|