albinasoft-ui-package 1.0.67 → 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.
@@ -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.67",
3
+ "version": "1.0.68",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {