revdev-components 0.190.0 → 0.191.0

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.
package/build/index.js CHANGED
@@ -5611,6 +5611,9 @@ var s$4 = {"root":"index-module_root__AUcgm","separator":"index-module_separator
5611
5611
  var TextUtil = {
5612
5612
  maxTextEllipsis: function (text, maxLength) {
5613
5613
  if (text === void 0) { text = ""; }
5614
+ if (!text) {
5615
+ return "";
5616
+ }
5614
5617
  if (text.length <= maxLength) {
5615
5618
  return text;
5616
5619
  }
@@ -1,3 +1,3 @@
1
1
  export declare const TextUtil: {
2
- maxTextEllipsis: (text: string, maxLength: number) => string;
2
+ maxTextEllipsis: (text: string | null | undefined, maxLength: number) => string;
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.190.0",
3
+ "version": "0.191.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {