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.umd.js
CHANGED
@@ -2111,7 +2111,8 @@
|
|
2111
2111
|
_props$title = props.title,
|
2112
2112
|
title = _props$title === void 0 ? "Dialog" : _props$title,
|
2113
2113
|
children = props.children,
|
2114
|
-
actions = props.actions
|
2114
|
+
actions = props.actions,
|
2115
|
+
className = props.className;
|
2115
2116
|
|
2116
2117
|
function close() {
|
2117
2118
|
site.closeDialog();
|
@@ -2125,7 +2126,7 @@
|
|
2125
2126
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
2126
2127
|
className: "overlay"
|
2127
2128
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
2128
|
-
className: "dialog",
|
2129
|
+
className: "dialog " + className,
|
2129
2130
|
onClick: close
|
2130
2131
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
2131
2132
|
className: "dialog-panel",
|