albinasoft-ui-package 1.0.66 → 1.0.68

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.
@@ -143,10 +143,12 @@ var CustomSelect = function (_a) {
143
143
  position: "absolute",
144
144
  zIndex: 10,
145
145
  width: dropdownWidth,
146
+ maxHeight: "200px",
147
+ overflowY: "auto", // Fazla seçenekler dikey scroll ile görünür
146
148
  } },
147
149
  searchable && (react_1.default.createElement("input", { type: "text",
148
150
  // Bu input validasyona girmesin diye name/id vermiyoruz ve required vermiyoruz
149
- placeholder: "Ara...", className: "form-control search-input", value: inputValue, onChange: function (e) { return setInputValue(e.target.value); }, style: { margin: "8px" } })),
151
+ placeholder: "Ara...", className: "form-control search-input", value: inputValue, onChange: function (e) { return setInputValue(e.target.value); } })),
150
152
  filteredOptions.length > 0 ? (filteredOptions.map(function (option) { return (react_1.default.createElement("div", { key: option.id, className: "dropdown-item ".concat(currentValues.includes(option.value) ? "selected" : ""), onClick: function () { return toggleValue(option.value); } },
151
153
  currentValues.includes(option.value) && react_1.default.createElement(fa_1.FaCheck, { className: "me-2 text-success" }),
152
154
  option.label)); })) : (react_1.default.createElement("div", { className: "dropdown-item text-muted" }, "Uygun se\u00E7enek yok")))),
@@ -64,6 +64,7 @@ interface CustomTextProps {
64
64
  linethrough?: boolean;
65
65
  italic?: boolean;
66
66
  textAlignClass?: string;
67
+ containerClass?: string;
67
68
  linkText?: string;
68
69
  }
69
70
  declare const CustomText: React.FC<CustomTextProps>;
@@ -79,7 +79,7 @@ var Color;
79
79
  exports.Color = Color;
80
80
  var CustomText = function (_a) {
81
81
  var _b;
82
- var id = _a.id, value = _a.value, _c = _a.className, className = _c === void 0 ? "" : _c, _d = _a.style, style = _d === void 0 ? {} : _d, _e = _a.textType, textType = _e === void 0 ? TextType.PARAGRAPH : _e, color = _a.color, textAlign = _a.textAlign, fontSize = _a.fontSize, lineHeight = _a.lineHeight, fontWeight = _a.fontWeight, _f = _a.underline, underline = _f === void 0 ? false : _f, _g = _a.overline, overline = _g === void 0 ? false : _g, _h = _a.linethrough, linethrough = _h === void 0 ? false : _h, _j = _a.italic, italic = _j === void 0 ? false : _j, textAlignClass = _a.textAlignClass, linkText = _a.linkText;
82
+ var id = _a.id, value = _a.value, _c = _a.className, className = _c === void 0 ? "" : _c, _d = _a.style, style = _d === void 0 ? {} : _d, _e = _a.textType, textType = _e === void 0 ? TextType.PARAGRAPH : _e, color = _a.color, textAlign = _a.textAlign, fontSize = _a.fontSize, lineHeight = _a.lineHeight, fontWeight = _a.fontWeight, _f = _a.underline, underline = _f === void 0 ? false : _f, _g = _a.overline, overline = _g === void 0 ? false : _g, _h = _a.linethrough, linethrough = _h === void 0 ? false : _h, _j = _a.italic, italic = _j === void 0 ? false : _j, textAlignClass = _a.textAlignClass, containerClass = _a.containerClass, linkText = _a.linkText;
83
83
  var defaultStyles = (_b = {},
84
84
  _b[TextType.BOLDHEAD] = {
85
85
  fontSize: FontSize.XL,
@@ -151,7 +151,7 @@ var CustomText = function (_a) {
151
151
  })));
152
152
  });
153
153
  };
154
- return (react_1.default.createElement("div", { className: "".concat(textAlignClass) },
154
+ return (react_1.default.createElement("div", { className: "".concat(containerClass, " ").concat(textAlignClass) },
155
155
  react_1.default.createElement("span", { id: id || "custom-text-".concat(Date.now()), className: "custom-text ".concat(combinedClassName), style: combinedStyle }, processTextWithLinks(value, linkText))));
156
156
  };
157
157
  exports.CustomText = CustomText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "albinasoft-ui-package",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {