@versini/ui-truncate 2.0.10 → 3.0.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.
@@ -93,7 +93,7 @@ const w = "av-button", p = "icon", x = "button", v = "link", S = ({
93
93
  "text-copy-light dark:text-copy-lighter": e === "system",
94
94
  "text-copy-lighter dark:text-copy-light": e === "alt-system"
95
95
  });
96
- }, O = ({
96
+ }, A = ({
97
97
  mode: e,
98
98
  noBackground: t,
99
99
  variant: r
@@ -123,7 +123,7 @@ const w = "av-button", p = "icon", x = "button", v = "link", S = ({
123
123
  if (r === "selected")
124
124
  return "bg-action-selected-dark";
125
125
  }
126
- }, A = ({
126
+ }, O = ({
127
127
  radius: e
128
128
  }) => o({
129
129
  "rounded-full": e === "large",
@@ -251,8 +251,8 @@ const w = "av-button", p = "icon", x = "button", v = "link", S = ({
251
251
  noBackground: m,
252
252
  noTruncate: g
253
253
  }),
254
- O({ mode: a, noBackground: m, variant: c }),
255
- A({ radius: k }),
254
+ A({ mode: a, noBackground: m, variant: c }),
255
+ O({ radius: k }),
256
256
  S({
257
257
  type: e,
258
258
  size: n,
@@ -331,19 +331,19 @@ const _ = f.forwardRef(
331
331
  );
332
332
  _.displayName = "Button";
333
333
  /*!
334
- @versini/ui-button v3.2.2
334
+ @versini/ui-button v4.0.0
335
335
  © 2025 gizmette.com
336
336
  */
337
337
  try {
338
338
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
339
- version: "3.2.2",
340
- buildTime: "01/02/2025 05:13 PM EST",
339
+ version: "4.0.0",
340
+ buildTime: "01/03/2025 10:45 AM EST",
341
341
  homepage: "https://github.com/aversini/ui-components",
342
342
  license: "MIT"
343
343
  });
344
344
  } catch {
345
345
  }
346
- const P = f.forwardRef(
346
+ const $ = f.forwardRef(
347
347
  ({
348
348
  children: e,
349
349
  disabled: t = !1,
@@ -420,10 +420,10 @@ const P = f.forwardRef(
420
420
  ) });
421
421
  }
422
422
  );
423
- P.displayName = "ButtonSort";
424
- const $ = 200, q = ({
423
+ $.displayName = "ButtonSort";
424
+ const q = 200, J = ({
425
425
  string: e,
426
- idealLength: t = $
426
+ idealLength: t = q
427
427
  }) => {
428
428
  if (e.length <= t)
429
429
  return { string: e, isTruncated: !1 };
@@ -443,7 +443,7 @@ const $ = 200, q = ({
443
443
  const [i, d] = C(!1);
444
444
  if (typeof e != "string")
445
445
  return e;
446
- const { string: l, isTruncated: n } = q({
446
+ const { string: l, isTruncated: n } = J({
447
447
  string: e,
448
448
  idealLength: t
449
449
  });
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.10
3
+ @versini/ui-truncate v3.0.0
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
8
- version: "2.0.10",
9
- buildTime: "01/02/2025 05:13 PM EST",
8
+ version: "3.0.0",
9
+ buildTime: "01/03/2025 10:45 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.10",
3
+ "version": "3.0.0",
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.2.2",
42
+ "@versini/ui-button": "4.0.0",
43
43
  "tailwindcss": "3.4.17"
44
44
  },
45
45
  "sideEffects": [
46
46
  "**/*.css"
47
47
  ],
48
- "gitHead": "c43b9e0ea4ad97fde6cc3d088c32374ff34c6495"
48
+ "gitHead": "406bf426c5b3186ef7197e0b51d83ec0de689cde"
49
49
  }