@versini/ui-truncate 1.0.3 → 1.0.5
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/components/Truncate/Truncate.js +10 -10
- package/dist/index.js +3 -3
- package/package.json +3 -3
|
@@ -76,7 +76,7 @@ const p = "av-button", U = (e) => {
|
|
|
76
76
|
"bg-action-danger-dark text-copy-light dark:bg-action-danger-light dark:text-copy-lighter": e === "system",
|
|
77
77
|
"bg-action-danger-light text-copy-lighter dark:bg-action-danger-dark dark:text-copy-light": e === "alt-system"
|
|
78
78
|
});
|
|
79
|
-
},
|
|
79
|
+
}, A = ({
|
|
80
80
|
mode: e,
|
|
81
81
|
disabled: t,
|
|
82
82
|
variant: r
|
|
@@ -104,7 +104,7 @@ const p = "av-button", U = (e) => {
|
|
|
104
104
|
"hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
|
|
105
105
|
"hover:bg-action-danger-light-hover dark:hover:bg-action-danger-dark-hover": e === "alt-system"
|
|
106
106
|
});
|
|
107
|
-
},
|
|
107
|
+
}, D = ({
|
|
108
108
|
mode: e,
|
|
109
109
|
disabled: t,
|
|
110
110
|
variant: r
|
|
@@ -132,7 +132,7 @@ const p = "av-button", U = (e) => {
|
|
|
132
132
|
"active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
|
|
133
133
|
"active:bg-action-danger-light-active dark:active:bg-action-danger-dark-active": e === "alt-system"
|
|
134
134
|
});
|
|
135
|
-
},
|
|
135
|
+
}, $ = ({
|
|
136
136
|
mode: e,
|
|
137
137
|
noBorder: t,
|
|
138
138
|
variant: r
|
|
@@ -188,10 +188,10 @@ const p = "av-button", U = (e) => {
|
|
|
188
188
|
U(m),
|
|
189
189
|
W({ mode: a, variant: c, noBackground: g, noTruncate: v }),
|
|
190
190
|
S({ type: e, size: n, labelRight: s, labelLeft: b, align: f }),
|
|
191
|
-
|
|
191
|
+
$({ mode: a, variant: c, noBorder: u }),
|
|
192
192
|
O({ focusMode: i }),
|
|
193
|
+
A({ mode: a, variant: c, disabled: d }),
|
|
193
194
|
D({ mode: a, variant: c, disabled: d }),
|
|
194
|
-
$({ mode: a, variant: c, disabled: d }),
|
|
195
195
|
{
|
|
196
196
|
"w-full": l,
|
|
197
197
|
"disabled:cursor-not-allowed disabled:opacity-50": d
|
|
@@ -257,13 +257,13 @@ const N = k.forwardRef(
|
|
|
257
257
|
);
|
|
258
258
|
N.displayName = "Button";
|
|
259
259
|
/*!
|
|
260
|
-
@versini/ui-button v1.1.
|
|
260
|
+
@versini/ui-button v1.1.8
|
|
261
261
|
© 2024 gizmette.com
|
|
262
262
|
*/
|
|
263
263
|
try {
|
|
264
264
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
265
|
-
version: "1.1.
|
|
266
|
-
buildTime: "09/
|
|
265
|
+
version: "1.1.8",
|
|
266
|
+
buildTime: "09/27/2024 10:43 AM EDT",
|
|
267
267
|
homepage: "https://github.com/aversini/ui-components",
|
|
268
268
|
license: "MIT"
|
|
269
269
|
});
|
|
@@ -360,7 +360,7 @@ const G = 200, H = ({
|
|
|
360
360
|
string: e.slice(0, t + i),
|
|
361
361
|
isTruncated: !0
|
|
362
362
|
};
|
|
363
|
-
},
|
|
363
|
+
}, P = ({
|
|
364
364
|
children: e,
|
|
365
365
|
length: t = 200,
|
|
366
366
|
mode: r = "system",
|
|
@@ -391,5 +391,5 @@ const G = 200, H = ({
|
|
|
391
391
|
] });
|
|
392
392
|
};
|
|
393
393
|
export {
|
|
394
|
-
|
|
394
|
+
P as Truncate
|
|
395
395
|
};
|
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 v1.0.
|
|
3
|
+
@versini/ui-truncate v1.0.5
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
|
|
8
|
-
version: "1.0.
|
|
9
|
-
buildTime: "09/
|
|
8
|
+
version: "1.0.5",
|
|
9
|
+
buildTime: "09/27/2024 10:44 AM EDT",
|
|
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": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@tailwindcss/typography": "0.5.15",
|
|
45
|
-
"@versini/ui-button": "1.1.
|
|
45
|
+
"@versini/ui-button": "1.1.8",
|
|
46
46
|
"tailwindcss": "3.4.13"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "04197d90dcc3ff0223fe3fbcaa663b62c76439fa"
|
|
52
52
|
}
|