react-dialogger 1.1.4 → 1.1.7

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/README.md CHANGED
@@ -313,3 +313,7 @@ This basic usage setup enables you to quickly configure and display a custom dia
313
313
  > This package is a continuation of the `react-araci` package.
314
314
  > Due to an error, `react-araci` was removed, and it has been decided to continue under the new package name **`react-dialogger`**.
315
315
 
316
+ ## 📩 Contact
317
+ For support or inquiries, please reach out via email:
318
+ ✉️ [developer@appinsource.eu](mailto:developer@appinsource.eu)
319
+
@@ -419,7 +419,7 @@ var DialogBase = /** @class */ (function (_super) {
419
419
  inProcess: _this.isInProcess()
420
420
  });
421
421
  }
422
- console.log('FooterSlot_props_Y', footerProps, staticProps);
422
+ console.log('FooterSlot_props_Y', footerProps, staticProps, 'V6 ya hazirlik');
423
423
  return React.createElement("div", { className: 'dialog-footer', style: (_c = (_b = _this._dialogOptions.base) === null || _b === void 0 ? void 0 : _b.footer) === null || _c === void 0 ? void 0 : _c.style },
424
424
  React.createElement("div", null,
425
425
  React.createElement(WithHeaderFooterContext, __assign({}, staticProps, { dialog: _this }), _this._dialogOptions.slot.footer ?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dialogger",
3
- "version": "1.1.4",
3
+ "version": "1.1.7",
4
4
  "description": "This package is a continuation of the react-araci package. Due to an error, react-araci was removed, and it has been decided to continue under the new package name react-dialogger",
5
5
  "main": "index.js",
6
6
  "author": "Sueleyman Topaloglu",
@@ -14,13 +14,21 @@
14
14
  "react-draggable": "^4.4.6",
15
15
  "react-icons": "^5.5.0"
16
16
  },
17
+ "maintainers": [
18
+ {
19
+ "name": "Süleyman Topaloğlu",
20
+ "email": "developer@appinsource.eu"
21
+ }
22
+ ],
23
+ "scripts": {
24
+ "pb": "npm version patch && npm publish"
25
+ },
17
26
  "keywords": [
18
27
  "react",
19
28
  "dialog",
20
29
  "dynamic",
21
30
  "component",
22
31
  "ui",
23
- "react-component",
24
- "react-dynamic-dialog"
32
+ "react-component"
25
33
  ]
26
- }
34
+ }
package/styles/dialog.css CHANGED
@@ -213,7 +213,7 @@
213
213
  min-height: 64px;
214
214
  padding: 10px 20px 10px 20px;
215
215
  display: flex;
216
- flex: 1;
216
+ flex: 0;
217
217
  justify-content: space-between;
218
218
  align-items: center;
219
219
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
@@ -244,6 +244,7 @@
244
244
  }
245
245
  .dialog-main .dialog-body {
246
246
  display: flex;
247
+ flex: 1;
247
248
  position: relative;
248
249
  padding: 10px 20px 10px 20px;
249
250
  overflow: auto;
@@ -270,6 +271,7 @@
270
271
  column-gap: 10px;
271
272
  align-items: center;
272
273
  justify-content: space-between;
274
+ flex: 0;
273
275
  }
274
276
  .dialog-main .resizable-handle {
275
277
  position: absolute;
@@ -115,7 +115,7 @@ export interface IListenerDialogDef extends Omit<IDialogDef, "state" | "values"
115
115
  }
116
116
  export type TDialogStateListenerCallbackType = (state: IStateDef, values: DialogValues, dialog: IListenerDialogDef) => void;
117
117
  type TDialogCallbackFn<T> = (dialog: IDialogDef) => T;
118
- export type TDialogCallbackNodeFn = TDialogCallbackFn<string | React.ReactElement<any>>;
118
+ export type TDialogCallbackNodeFn = TDialogCallbackFn<string | React.ReactElement<any>> | React.ReactNode | React.JSX.Element;
119
119
  export type TDialogCallbackVoidFn = TDialogCallbackFn<void>;
120
120
  export interface IDialogDef extends Omit<Partial<Pick<DialogBase, 'isInProcess' | 'setInProcess' | 'values' | 'setValue' | 'setValues' | 'close' | 'dialogOptions' | 'switchFullScreen' | 'actions' | 'snackbar' | 'formikValidate' | 'formikProps' | 'focus' | 'setOrder' | 'setBody'>>, 'switchFullScreen'> {
121
121
  /** @deprecated Deprecated, use setValues instead. */