@versini/ui-truncate 1.0.5 → 1.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.
@@ -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
- }, A = ({
79
+ }, D = ({
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
- }, D = ({
107
+ }, $ = ({
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
+ }, A = ({
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
- $({ mode: a, variant: c, noBorder: u }),
191
+ A({ mode: a, variant: c, noBorder: u }),
192
192
  O({ focusMode: i }),
193
- A({ mode: a, variant: c, disabled: d }),
194
193
  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.8
260
+ @versini/ui-button v1.1.10
261
261
  © 2024 gizmette.com
262
262
  */
263
263
  try {
264
264
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
265
- version: "1.1.8",
266
- buildTime: "09/27/2024 10:43 AM EDT",
265
+ version: "1.1.10",
266
+ buildTime: "09/28/2024 06:29 PM 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
- }, P = ({
363
+ }, K = ({
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
- P as Truncate
394
+ K 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.5
3
+ @versini/ui-truncate v1.0.7
4
4
  © 2024 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
8
- version: "1.0.5",
9
- buildTime: "09/27/2024 10:44 AM EDT",
8
+ version: "1.0.7",
9
+ buildTime: "09/28/2024 06:29 PM 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.5",
3
+ "version": "1.0.7",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -37,16 +37,13 @@
37
37
  "react": "^18.3.1",
38
38
  "react-dom": "^18.3.1"
39
39
  },
40
- "devDependencies": {
41
- "@versini/ui-styles": "1.10.2"
42
- },
43
40
  "dependencies": {
44
41
  "@tailwindcss/typography": "0.5.15",
45
- "@versini/ui-button": "1.1.8",
42
+ "@versini/ui-button": "1.1.10",
46
43
  "tailwindcss": "3.4.13"
47
44
  },
48
45
  "sideEffects": [
49
46
  "**/*.css"
50
47
  ],
51
- "gitHead": "04197d90dcc3ff0223fe3fbcaa663b62c76439fa"
48
+ "gitHead": "b417963dbfdb84030181bf0aba5b25bba66b21c1"
52
49
  }