@versini/ui-truncate 6.2.5 → 6.2.7
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/dist/index.js +1 -7
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-truncate v6.2.
|
|
2
|
+
@versini/ui-truncate v6.2.7
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -7,13 +7,9 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
import { Button } from "@versini/ui-button/button";
|
|
8
8
|
import { isValidElement, useMemo, useState } from "react";
|
|
9
9
|
|
|
10
|
-
;// CONCATENATED MODULE: external "react/jsx-runtime"
|
|
11
10
|
|
|
12
|
-
;// CONCATENATED MODULE: external "@versini/ui-button/button"
|
|
13
11
|
|
|
14
|
-
;// CONCATENATED MODULE: external "react"
|
|
15
12
|
|
|
16
|
-
;// CONCATENATED MODULE: ./src/components/Truncate/utilities.ts
|
|
17
13
|
const DEFAULT_LENGTH = 200;
|
|
18
14
|
/**
|
|
19
15
|
* This function will truncate the string at the last word boundary
|
|
@@ -42,7 +38,6 @@ const DEFAULT_LENGTH = 200;
|
|
|
42
38
|
};
|
|
43
39
|
};
|
|
44
40
|
|
|
45
|
-
;// CONCATENATED MODULE: ./src/components/Truncate/Truncate.tsx
|
|
46
41
|
|
|
47
42
|
|
|
48
43
|
|
|
@@ -195,7 +190,6 @@ const Truncate = ({ children, length = 200, mode = "system", focusMode = "system
|
|
|
195
190
|
});
|
|
196
191
|
};
|
|
197
192
|
|
|
198
|
-
;// CONCATENATED MODULE: ./src/components/index.ts
|
|
199
193
|
|
|
200
194
|
|
|
201
195
|
export { Truncate };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-truncate",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@tailwindcss/typography": "0.5.19",
|
|
41
41
|
"@testing-library/jest-dom": "6.9.1",
|
|
42
|
-
"@versini/ui-button": "11.3.
|
|
42
|
+
"@versini/ui-button": "11.3.3",
|
|
43
43
|
"tailwindcss": "4.1.18"
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": [
|
|
46
46
|
"**/*.css"
|
|
47
47
|
],
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "b46abc9c2e87588d6c9b438f70e68a4ffd05c28c"
|
|
49
49
|
}
|