dexie-cloud-addon 4.0.0-beta.19 → 4.0.0-beta.20

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.
@@ -1,4 +1,5 @@
1
1
  import { ComponentChildren, h } from 'preact';
2
- export declare function Dialog({ children }: {
2
+ export declare function Dialog({ children, className }: {
3
3
  children?: ComponentChildren;
4
+ className?: string;
4
5
  }): h.JSX.Element;
@@ -108,7 +108,7 @@
108
108
  *
109
109
  * ==========================================================================
110
110
  *
111
- * Version 4.0.0-beta.19, Fri May 20 2022
111
+ * Version 4.0.0-beta.20, Tue May 24 2022
112
112
  *
113
113
  * https://dexie.org
114
114
  *
@@ -6313,8 +6313,8 @@
6313
6313
  }
6314
6314
  };
6315
6315
  function Dialog(_k) {
6316
- var children = _k.children;
6317
- return (a$1("div", null, a$1("div", { style: Styles.Darken }), a$1("div", { style: Styles.DialogOuter }, a$1("div", { style: Styles.DialogInner }, children))));
6316
+ var children = _k.children, className = _k.className;
6317
+ return (a$1("div", { className: className }, a$1("div", { style: Styles.Darken }), a$1("div", { style: Styles.DialogOuter }, a$1("div", { style: Styles.DialogInner }, children))));
6318
6318
  }
6319
6319
  var t, u, r, o = 0, i = [], c = n.__b, f = n.__r, e = n.diffed, a = n.__c, v = n.unmount;
6320
6320
  function m(t, r) { n.__h && n.__h(u, t, o || r), o = 0; var i = u.__H || (u.__H = { __: [], __h: [] }); return t >= i.__.length && i.__.push({}), i.__[t]; }
@@ -6356,7 +6356,7 @@
6356
6356
  var _l = l({}), params = _l[0], setParams = _l[1];
6357
6357
  var firstFieldRef = s();
6358
6358
  h(function () { var _a; return (_a = firstFieldRef.current) === null || _a === void 0 ? void 0 : _a.focus(); }, []);
6359
- return (a$1(Dialog, null, a$1(y, null, a$1("h3", { style: Styles.WindowHeader }, title), alerts.map(function (alert) { return (a$1("p", { style: Styles.Alert[alert.type] }, resolveText(alert))); }), a$1("form", { onSubmit: function (ev) {
6359
+ return (a$1(Dialog, { className: "dxc-login-dlg" }, a$1(y, null, a$1("h3", { style: Styles.WindowHeader }, title), alerts.map(function (alert) { return (a$1("p", { style: Styles.Alert[alert.type] }, resolveText(alert))); }), a$1("form", { onSubmit: function (ev) {
6360
6360
  ev.preventDefault();
6361
6361
  onSubmit(params);
6362
6362
  } }, Object.entries(fields).map(function (_k, idx) {
@@ -6844,7 +6844,7 @@
6844
6844
  currentUserEmitter.next(UNAUTHORIZED_USER);
6845
6845
  });
6846
6846
  dexie.cloud = {
6847
- version: '4.0.0-beta.19',
6847
+ version: '4.0.0-beta.20',
6848
6848
  options: Object.assign({}, DEFAULT_OPTIONS),
6849
6849
  schema: null,
6850
6850
  serverState: null,
@@ -7176,7 +7176,7 @@
7176
7176
  });
7177
7177
  }
7178
7178
  }
7179
- dexieCloud.version = '4.0.0-beta.19';
7179
+ dexieCloud.version = '4.0.0-beta.20';
7180
7180
  Dexie__default["default"].Cloud = dexieCloud;
7181
7181
 
7182
7182
  exports["default"] = dexieCloud;