ywana-core8 0.0.328 → 0.0.331

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 CHANGED
@@ -2209,6 +2209,12 @@ var ResetPasswordBox = function ResetPasswordBox(_ref) {
2209
2209
  }, /*#__PURE__*/React__default["default"].createElement(Text, null, title)) : null, children), /*#__PURE__*/React__default["default"].createElement("main", null, /*#__PURE__*/React__default["default"].createElement(Text, {
2210
2210
  use: "headline6"
2211
2211
  }, "Change Password"), /*#__PURE__*/React__default["default"].createElement(TextField, {
2212
+ label: tx(userLabel),
2213
+ value: user,
2214
+ onChange: changeUser,
2215
+ onEnter: ok,
2216
+ outlined: true
2217
+ }), /*#__PURE__*/React__default["default"].createElement(TextField, {
2212
2218
  id: "password1",
2213
2219
  outlined: true,
2214
2220
  icon: "lock",
@@ -3289,15 +3295,19 @@ var Dialog = function Dialog(props) {
3289
3295
  title = _props$title === void 0 ? "Dialog" : _props$title,
3290
3296
  children = props.children,
3291
3297
  actions = props.actions,
3292
- className = props.className;
3298
+ className = props.className,
3299
+ _props$eventPropagati = props.eventPropagation,
3300
+ eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3293
3301
 
3294
3302
  function close() {
3295
3303
  site.closeDialog();
3296
3304
  }
3297
3305
 
3298
3306
  function prevent(e) {
3299
- e.preventDefault();
3300
- e.stopPropagation();
3307
+ if (!eventPropagation) {
3308
+ e.preventDefault();
3309
+ e.stopPropagation();
3310
+ }
3301
3311
  }
3302
3312
 
3303
3313
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3399,7 +3409,8 @@ var UploadDialog = function UploadDialog(_ref) {
3399
3409
  title: title,
3400
3410
  open: true,
3401
3411
  onAction: onAction,
3402
- actions: actions
3412
+ actions: actions,
3413
+ eventPropagation: true
3403
3414
  }, /*#__PURE__*/React__default["default"].createElement(Uploader, {
3404
3415
  label: label,
3405
3416
  accept: accept,