albinasoft-ui-package 1.1.16 → 1.1.18

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.
@@ -78,12 +78,16 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
78
  }
79
79
  return to.concat(ar || Array.prototype.slice.call(from));
80
80
  };
81
+ var __importDefault = (this && this.__importDefault) || function (mod) {
82
+ return (mod && mod.__esModule) ? mod : { "default": mod };
83
+ };
81
84
  Object.defineProperty(exports, "__esModule", { value: true });
82
85
  exports.defaultTranslations = exports.AllowedTypes = void 0;
83
86
  // CustomFileUploader.tsx
84
87
  var react_1 = __importStar(require("react"));
85
88
  var react_toastify_1 = require("react-toastify");
86
89
  var fa_1 = require("react-icons/fa");
90
+ var CustomButton_1 = __importDefault(require("./CustomButton"));
87
91
  // ====================
88
92
  // Tip Tanımlamaları
89
93
  // ====================
@@ -397,6 +401,6 @@ var CustomFileUploader = function (props) {
397
401
  }, title: item.file.name }, item.file.name))); })))),
398
402
  react_1.default.createElement("input", { type: "file", multiple: multi, ref: fileInputRef, onChange: handleFileChange, style: { display: "none" } }),
399
403
  previews.filter(function (item) { return !item.uploaded; }).length > 0 && (react_1.default.createElement("div", { style: { marginTop: "10px", textAlign: "center" } },
400
- react_1.default.createElement("button", { type: "button", className: "btn btn-primary", onClick: handleUpload }, finalTranslations.uploadButtonText)))));
404
+ react_1.default.createElement(CustomButton_1.default, { label: finalTranslations.uploadButtonText, className: "btn btn-primary", onClick: handleUpload })))));
401
405
  };
402
406
  exports.default = CustomFileUploader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "albinasoft-ui-package",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {