react-dialogger 1.1.11 → 1.1.13

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,3 +1,7 @@
1
1
  import React from 'react';
2
- declare const DialogHeaderActionsWrapper: (props: any) => React.JSX.Element;
2
+ interface IProps {
3
+ gap?: number;
4
+ children?: React.ReactNode;
5
+ }
6
+ declare const DialogHeaderActionsWrapper: (props: IProps) => React.JSX.Element;
3
7
  export { DialogHeaderActionsWrapper };
@@ -1,4 +1,15 @@
1
1
  "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
2
13
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
15
  };
@@ -6,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
17
  exports.DialogHeaderActionsWrapper = void 0;
7
18
  var react_1 = __importDefault(require("react"));
8
19
  var DialogHeaderActionsWrapper = function (props) {
9
- return (react_1.default.createElement("div", { className: 'header-actions-wrapper' }, props.children));
20
+ var _a;
21
+ return (react_1.default.createElement("div", __assign({}, props, { className: 'header-actions-wrapper', style: { columnGap: "".concat((_a = props.gap) !== null && _a !== void 0 ? _a : 10, "px") } }), props.children));
10
22
  };
11
23
  exports.DialogHeaderActionsWrapper = DialogHeaderActionsWrapper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dialogger",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
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",
@@ -21,7 +21,7 @@
21
21
  }
22
22
  ],
23
23
  "scripts": {
24
- "pb": "git add . && git commit -m \"Yaptığım değişiklikler\" && npm version patch && npm publish"
24
+ "pb": "npm version patch && npm publish"
25
25
  },
26
26
  "keywords": [
27
27
  "react",