react-dialogger 1.1.95 → 1.1.96

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.
@@ -103,7 +103,7 @@ var DialogContentHeader = function (_a) {
103
103
  event.preventDefault();
104
104
  }
105
105
  }, style: (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.header) === null || _d === void 0 ? void 0 : _d.style, className: "dialog-header ".concat(baseOptions.draggable && !fullscreen ? 'drag-handle' : ''), children: [header(dialog), (baseOptions.closeable || baseOptions.fullscreen) &&
106
- (0, jsx_runtime_1.jsx)(_context_1.WithHeaderFooterContext, { dialog: dialog, fullscreen: fullscreen, setFullscreen: setFullscreen, children: (0, jsx_runtime_1.jsxs)(_features_1.DialogHeaderActionsWrapper, { children: [baseOptions.fullscreen &&
106
+ (0, jsx_runtime_1.jsx)(_context_1.WithHeaderFooterContext, { dialog: dialog, fullscreen: fullscreen, setFullscreen: setFullscreen, children: (0, jsx_runtime_1.jsxs)(_features_1.DialogActionsWrapper, { children: [baseOptions.fullscreen &&
107
107
  (0, jsx_runtime_1.jsx)(_features_1.DialogFullscreenAction, {}), baseOptions.closeable &&
108
108
  (0, jsx_runtime_1.jsx)(_features_1.DialogCloseAction, {}), baseOptions.about &&
109
109
  (0, jsx_runtime_1.jsx)(_features_1.DialogInfoAction, {})] }) })] });
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ gap?: number;
4
+ children?: React.ReactNode;
5
+ }
6
+ declare const DialogActionsWrapper: (props: IProps) => import("react/jsx-runtime").JSX.Element;
7
+ export { DialogActionsWrapper };
@@ -11,10 +11,10 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.DialogHeaderActionsWrapper = void 0;
14
+ exports.DialogActionsWrapper = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
- var DialogHeaderActionsWrapper = function (props) {
16
+ var DialogActionsWrapper = function (props) {
17
17
  var _a;
18
- return ((0, jsx_runtime_1.jsx)("div", __assign({}, props, { className: 'header-actions-wrapper', style: { columnGap: "".concat((_a = props.gap) !== null && _a !== void 0 ? _a : 10, "px") }, children: props.children })));
18
+ return ((0, jsx_runtime_1.jsx)("div", __assign({}, props, { className: 'actions-wrapper', style: { columnGap: "".concat((_a = props.gap) !== null && _a !== void 0 ? _a : 10, "px") }, children: props.children })));
19
19
  };
20
- exports.DialogHeaderActionsWrapper = DialogHeaderActionsWrapper;
20
+ exports.DialogActionsWrapper = DialogActionsWrapper;
@@ -2,4 +2,4 @@ export { DialogCloseAction } from "./DialogCloseAction";
2
2
  export { DialogInfoAction } from "./DialogInfoAction";
3
3
  export { DialogProcessing } from "./DialogProcessing";
4
4
  export { DialogFullscreenAction } from "./DialogFullscreenAction";
5
- export { DialogHeaderActionsWrapper } from "./DialogHeaderActionsWrapper";
5
+ export { DialogActionsWrapper } from "./DialogActionsWrapper";
package/features/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DialogHeaderActionsWrapper = exports.DialogFullscreenAction = exports.DialogProcessing = exports.DialogInfoAction = exports.DialogCloseAction = void 0;
3
+ exports.DialogActionsWrapper = exports.DialogFullscreenAction = exports.DialogProcessing = exports.DialogInfoAction = exports.DialogCloseAction = void 0;
4
4
  var DialogCloseAction_1 = require("./DialogCloseAction");
5
5
  Object.defineProperty(exports, "DialogCloseAction", { enumerable: true, get: function () { return DialogCloseAction_1.DialogCloseAction; } });
6
6
  var DialogInfoAction_1 = require("./DialogInfoAction");
@@ -9,5 +9,5 @@ var DialogProcessing_1 = require("./DialogProcessing");
9
9
  Object.defineProperty(exports, "DialogProcessing", { enumerable: true, get: function () { return DialogProcessing_1.DialogProcessing; } });
10
10
  var DialogFullscreenAction_1 = require("./DialogFullscreenAction");
11
11
  Object.defineProperty(exports, "DialogFullscreenAction", { enumerable: true, get: function () { return DialogFullscreenAction_1.DialogFullscreenAction; } });
12
- var DialogHeaderActionsWrapper_1 = require("./DialogHeaderActionsWrapper");
13
- Object.defineProperty(exports, "DialogHeaderActionsWrapper", { enumerable: true, get: function () { return DialogHeaderActionsWrapper_1.DialogHeaderActionsWrapper; } });
12
+ var DialogActionsWrapper_1 = require("./DialogActionsWrapper");
13
+ Object.defineProperty(exports, "DialogActionsWrapper", { enumerable: true, get: function () { return DialogActionsWrapper_1.DialogActionsWrapper; } });
package/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import './styles/dialog.action.scss';
3
3
  import './styles/circular-progress.scss';
4
4
  import './styles/snackbar.scss';
5
5
  export { default } from "./models/Dialog";
6
- export { DialogProcessing, DialogCloseAction, DialogFullscreenAction, DialogHeaderActionsWrapper, DialogInfoAction } from "./features";
6
+ export { DialogProcessing, DialogCloseAction, DialogFullscreenAction, DialogActionsWrapper, DialogInfoAction } from "./features";
7
7
  export { DialogAction, ActionProgress, baseDialogOptions } from "./models";
8
8
  export { InitDialogMemoizeBounds } from "./helpers";
9
9
  export { IDialogApiDef, ActionApiDef } from './types';
package/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.InitDialogMemoizeBounds = exports.baseDialogOptions = exports.ActionProgress = exports.DialogAction = exports.DialogInfoAction = exports.DialogHeaderActionsWrapper = exports.DialogFullscreenAction = exports.DialogCloseAction = exports.DialogProcessing = exports.default = void 0;
6
+ exports.InitDialogMemoizeBounds = exports.baseDialogOptions = exports.ActionProgress = exports.DialogAction = exports.DialogInfoAction = exports.DialogActionsWrapper = exports.DialogFullscreenAction = exports.DialogCloseAction = exports.DialogProcessing = exports.default = void 0;
7
7
  require("./styles/dialog.css");
8
8
  require("./styles/dialog.action.css");
9
9
  require("./styles/circular-progress.css");
@@ -15,7 +15,7 @@ var features_1 = require("./features");
15
15
  Object.defineProperty(exports, "DialogProcessing", { enumerable: true, get: function () { return features_1.DialogProcessing; } });
16
16
  Object.defineProperty(exports, "DialogCloseAction", { enumerable: true, get: function () { return features_1.DialogCloseAction; } });
17
17
  Object.defineProperty(exports, "DialogFullscreenAction", { enumerable: true, get: function () { return features_1.DialogFullscreenAction; } });
18
- Object.defineProperty(exports, "DialogHeaderActionsWrapper", { enumerable: true, get: function () { return features_1.DialogHeaderActionsWrapper; } });
18
+ Object.defineProperty(exports, "DialogActionsWrapper", { enumerable: true, get: function () { return features_1.DialogActionsWrapper; } });
19
19
  Object.defineProperty(exports, "DialogInfoAction", { enumerable: true, get: function () { return features_1.DialogInfoAction; } });
20
20
  var models_1 = require("./models");
21
21
  Object.defineProperty(exports, "DialogAction", { enumerable: true, get: function () { return models_1.DialogAction; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dialogger",
3
- "version": "1.1.95",
3
+ "version": "1.1.96",
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",
package/styles/dialog.css CHANGED
@@ -209,6 +209,13 @@
209
209
  flex-direction: column;
210
210
  overflow: clip;
211
211
  }
212
+ .dialog-main .actions-wrapper {
213
+ display: flex;
214
+ flex-direction: row;
215
+ align-items: center;
216
+ justify-content: center;
217
+ width: min-content;
218
+ }
212
219
  .dialog-main .dialog-header {
213
220
  min-height: 3rem;
214
221
  padding: 10px 20px 10px 20px;
@@ -218,12 +225,6 @@
218
225
  align-items: center;
219
226
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
220
227
  }
221
- .dialog-main .dialog-header .header-actions-wrapper {
222
- display: flex;
223
- flex-direction: row;
224
- align-items: center;
225
- justify-content: center;
226
- }
227
228
  .dialog-main .dialog-header .icon-base {
228
229
  display: flex;
229
230
  }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface IProps {
3
- gap?: number;
4
- children?: React.ReactNode;
5
- }
6
- declare const DialogHeaderActionsWrapper: (props: IProps) => import("react/jsx-runtime").JSX.Element;
7
- export { DialogHeaderActionsWrapper };