@versini/ui-truncate 2.0.7 → 2.0.8
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.
|
@@ -17,7 +17,7 @@ const p = "av-button", T = "icon", w = "button", S = "link", U = ({
|
|
|
17
17
|
[n]: t === "large"
|
|
18
18
|
});
|
|
19
19
|
case S:
|
|
20
|
-
return d("
|
|
20
|
+
return d("text-center", {
|
|
21
21
|
[i]: t === "small",
|
|
22
22
|
[l]: t === "medium",
|
|
23
23
|
[n]: t === "large"
|
|
@@ -28,9 +28,9 @@ const p = "av-button", T = "icon", w = "button", S = "link", U = ({
|
|
|
28
28
|
"justify-start": a === "left",
|
|
29
29
|
"justify-end": a === "right",
|
|
30
30
|
"h-6 w-6 p-0": t === "small" && !(r || o),
|
|
31
|
-
"h-6 px-
|
|
31
|
+
"h-6 px-2 text-sm font-medium": t === "small" && (r || o),
|
|
32
32
|
"h-8 w-8 p-1": t === "medium" && !(r || o),
|
|
33
|
-
"h-8 px-
|
|
33
|
+
"h-8 px-3 text-base font-medium": t === "medium" && (r || o),
|
|
34
34
|
"h-12 w-12 p-2": t === "large" && !(r || o),
|
|
35
35
|
"h-12 px-4 text-lg font-medium": t === "large" && (r || o)
|
|
36
36
|
});
|
|
@@ -307,13 +307,13 @@ const N = y.forwardRef(
|
|
|
307
307
|
);
|
|
308
308
|
N.displayName = "Button";
|
|
309
309
|
/*!
|
|
310
|
-
@versini/ui-button v3.
|
|
310
|
+
@versini/ui-button v3.2.0
|
|
311
311
|
© 2024 gizmette.com
|
|
312
312
|
*/
|
|
313
313
|
try {
|
|
314
314
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
315
|
-
version: "3.
|
|
316
|
-
buildTime: "12/
|
|
315
|
+
version: "3.2.0",
|
|
316
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
317
317
|
homepage: "https://github.com/aversini/ui-components",
|
|
318
318
|
license: "MIT"
|
|
319
319
|
});
|
|
@@ -410,7 +410,7 @@ const G = 200, H = ({
|
|
|
410
410
|
string: e.slice(0, t + a),
|
|
411
411
|
isTruncated: !0
|
|
412
412
|
};
|
|
413
|
-
},
|
|
413
|
+
}, P = ({
|
|
414
414
|
children: e,
|
|
415
415
|
length: t = 200,
|
|
416
416
|
mode: r = "system",
|
|
@@ -441,5 +441,5 @@ const G = 200, H = ({
|
|
|
441
441
|
] });
|
|
442
442
|
};
|
|
443
443
|
export {
|
|
444
|
-
|
|
444
|
+
P as Truncate
|
|
445
445
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Truncate as o } from "./components/Truncate/Truncate.js";
|
|
2
2
|
/*!
|
|
3
|
-
@versini/ui-truncate v2.0.
|
|
3
|
+
@versini/ui-truncate v2.0.8
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
|
|
8
|
-
version: "2.0.
|
|
9
|
-
buildTime: "12/
|
|
8
|
+
version: "2.0.8",
|
|
9
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
10
10
|
homepage: "https://github.com/aversini/ui-components",
|
|
11
11
|
license: "MIT"
|
|
12
12
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-truncate",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
|
-
"@versini/ui-button": "3.
|
|
42
|
+
"@versini/ui-button": "3.2.0",
|
|
43
43
|
"tailwindcss": "3.4.17"
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": [
|
|
46
46
|
"**/*.css"
|
|
47
47
|
],
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "50cdcea89f3a2fe910fe22c526e51523d7f0f410"
|
|
49
49
|
}
|