albinasoft-ui-package 1.0.97 → 1.0.99

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.
@@ -5029,7 +5029,7 @@ fieldset:disabled .btn {
5029
5029
  }
5030
5030
 
5031
5031
  .dropdown-item {
5032
- display: block;
5032
+ display: flex;
5033
5033
  width: 100%;
5034
5034
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
5035
5035
  clear: both;
@@ -98,7 +98,7 @@ var AllowedTypes;
98
98
  })(AllowedTypes = exports.AllowedTypes || (exports.AllowedTypes = {}));
99
99
  exports.defaultTranslations = {
100
100
  dropAreaText: "Dosyaları buraya sürükleyip bırakın veya tıklayarak dosya seçin.",
101
- fileLimitMultiText: "Maksimum dosya limiti: ",
101
+ fileLimitMultiText: "Maksimum dosya limiti",
102
102
  fileLimitSingleText: "Tek dosya seçilebilir",
103
103
  uploadButtonText: "Yükle",
104
104
  removeButtonTitle: "Kaldır",
@@ -362,7 +362,7 @@ var CustomFileUploader = function (props) {
362
362
  }); };
363
363
  // Dosya seçme alanı için drop area metni: dropAreaText + dosya limiti bilgisi
364
364
  var dropAreaText = multi
365
- ? finalTranslations.dropAreaText + " " + (finalTranslations.fileLimitMultiText + maxFile)
365
+ ? finalTranslations.dropAreaText + " (" + finalTranslations.fileLimitMultiText + ": " + maxFile + ") "
366
366
  : finalTranslations.dropAreaText + " " + (finalTranslations.fileLimitSingleText);
367
367
  return (react_1.default.createElement("div", { style: { width: "100%", height: "100%" } },
368
368
  label && (react_1.default.createElement("div", { style: { marginBottom: "10px" } },
@@ -9,6 +9,7 @@ interface CustomModalProps {
9
9
  footer?: React.ReactNode;
10
10
  style?: React.CSSProperties;
11
11
  bodyStyle?: React.CSSProperties;
12
+ onlyBody?: boolean;
12
13
  }
13
14
  declare const CustomModal: React.FC<CustomModalProps>;
14
15
  export default CustomModal;
@@ -7,11 +7,11 @@ var react_1 = __importDefault(require("react"));
7
7
  var react_bootstrap_1 = require("react-bootstrap");
8
8
  require("../assets/css/custom-autocomplete-input.css");
9
9
  var CustomModal = function (_a) {
10
- var show = _a.show, _b = _a.title, title = _b === void 0 ? 'Default Title' : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, onHide = _a.onHide, children = _a.children, footer = _a.footer, style = _a.style, bodyStyle = _a.bodyStyle;
11
- return (react_1.default.createElement(react_bootstrap_1.Modal, { show: show, onHide: onHide, size: size !== 'fullscreen' && size !== 'md' ? size : undefined, fullscreen: size === 'fullscreen' ? true : undefined, centered: size !== 'fullscreen', style: style },
10
+ var show = _a.show, _b = _a.title, title = _b === void 0 ? 'Default Title' : _b, _c = _a.size, size = _c === void 0 ? 'md' : _c, onHide = _a.onHide, children = _a.children, footer = _a.footer, style = _a.style, bodyStyle = _a.bodyStyle, _d = _a.onlyBody, onlyBody = _d === void 0 ? false : _d;
11
+ return (react_1.default.createElement(react_bootstrap_1.Modal, { show: show, onHide: onHide, size: size !== 'fullscreen' && size !== 'md' ? size : undefined, fullscreen: size === 'fullscreen' ? true : undefined, centered: size !== 'fullscreen', style: style }, onlyBody ? (react_1.default.createElement(react_bootstrap_1.Modal.Body, { style: bodyStyle }, children)) : (react_1.default.createElement(react_1.default.Fragment, null,
12
12
  react_1.default.createElement(react_bootstrap_1.Modal.Header, { closeButton: true },
13
13
  react_1.default.createElement(react_bootstrap_1.Modal.Title, null, title)),
14
14
  react_1.default.createElement(react_bootstrap_1.Modal.Body, { style: bodyStyle }, children),
15
- footer && react_1.default.createElement(react_bootstrap_1.Modal.Footer, null, footer)));
15
+ footer && react_1.default.createElement(react_bootstrap_1.Modal.Footer, null, footer)))));
16
16
  };
17
17
  exports.default = CustomModal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "albinasoft-ui-package",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {