ywana-core8 0.0.51 → 0.0.52
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 +2 -2
package/dist/index.modern.js
CHANGED
@@ -2105,7 +2105,8 @@ var Dialog = function Dialog(props) {
|
|
2105
2105
|
_props$title = props.title,
|
2106
2106
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
2107
2107
|
children = props.children,
|
2108
|
-
actions = props.actions
|
2108
|
+
actions = props.actions,
|
2109
|
+
className = props.className;
|
2109
2110
|
|
2110
2111
|
function close() {
|
2111
2112
|
site.closeDialog();
|
@@ -2119,7 +2120,7 @@ var Dialog = function Dialog(props) {
|
|
2119
2120
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
|
2120
2121
|
className: "overlay"
|
2121
2122
|
}), /*#__PURE__*/React.createElement("div", {
|
2122
|
-
className: "dialog",
|
2123
|
+
className: "dialog " + className,
|
2123
2124
|
onClick: close
|
2124
2125
|
}, /*#__PURE__*/React.createElement("div", {
|
2125
2126
|
className: "dialog-panel",
|