@versini/ui-truncate 3.0.6 → 3.0.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.
@@ -89,7 +89,7 @@ const w = "av-button", p = "icon", x = "button", f = "link", S = ({
89
89
  return i("not-prose text-copy-lighter", {
90
90
  truncate: !r
91
91
  });
92
- }, O = ({
92
+ }, A = ({
93
93
  mode: e,
94
94
  noBackground: a,
95
95
  variant: r
@@ -119,7 +119,7 @@ const w = "av-button", p = "icon", x = "button", f = "link", S = ({
119
119
  if (r === "selected")
120
120
  return "bg-action-selected-dark";
121
121
  }
122
- }, A = ({
122
+ }, O = ({
123
123
  radius: e
124
124
  }) => i({
125
125
  "rounded-full": e === "large",
@@ -247,8 +247,8 @@ const w = "av-button", p = "icon", x = "button", f = "link", S = ({
247
247
  noBackground: m,
248
248
  noTruncate: g
249
249
  }),
250
- O({ mode: t, noBackground: m, variant: c }),
251
- A({ radius: k }),
250
+ A({ mode: t, noBackground: m, variant: c }),
251
+ O({ radius: k }),
252
252
  S({
253
253
  type: e,
254
254
  size: n,
@@ -327,19 +327,19 @@ const _ = y.forwardRef(
327
327
  );
328
328
  _.displayName = "Button";
329
329
  /*!
330
- @versini/ui-button v4.0.6
330
+ @versini/ui-button v4.0.7
331
331
  © 2025 gizmette.com
332
332
  */
333
333
  try {
334
334
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
335
- version: "4.0.6",
336
- buildTime: "01/12/2025 07:16 PM EST",
335
+ version: "4.0.7",
336
+ buildTime: "01/13/2025 05:57 AM EST",
337
337
  homepage: "https://github.com/aversini/ui-components",
338
338
  license: "MIT"
339
339
  });
340
340
  } catch {
341
341
  }
342
- const P = y.forwardRef(
342
+ const $ = y.forwardRef(
343
343
  ({
344
344
  children: e,
345
345
  disabled: a = !1,
@@ -416,10 +416,10 @@ const P = y.forwardRef(
416
416
  ) });
417
417
  }
418
418
  );
419
- P.displayName = "ButtonSort";
420
- const $ = 200, q = ({
419
+ $.displayName = "ButtonSort";
420
+ const q = 200, J = ({
421
421
  string: e,
422
- idealLength: a = $
422
+ idealLength: a = q
423
423
  }) => {
424
424
  if (e.length <= a)
425
425
  return { string: e, isTruncated: !1 };
@@ -439,7 +439,7 @@ const $ = 200, q = ({
439
439
  const [o, d] = C(!1);
440
440
  if (typeof e != "string")
441
441
  return e;
442
- const { string: s, isTruncated: n } = q({
442
+ const { string: s, isTruncated: n } = J({
443
443
  string: e,
444
444
  idealLength: a
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 v3.0.6
3
+ @versini/ui-truncate v3.0.7
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
8
- version: "3.0.6",
9
- buildTime: "01/12/2025 07:17 PM EST",
8
+ version: "3.0.7",
9
+ buildTime: "01/13/2025 05:57 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": "3.0.6",
3
+ "version": "3.0.7",
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": "4.0.6",
42
+ "@versini/ui-button": "4.0.7",
43
43
  "tailwindcss": "3.4.17"
44
44
  },
45
45
  "sideEffects": [
46
46
  "**/*.css"
47
47
  ],
48
- "gitHead": "7b8f2e1479b0f4ba96ac34b63e1cf9120416c874"
48
+ "gitHead": "fb567ac53fe1c467ed97c8c9d53ca363137f9c0f"
49
49
  }