@versini/ui-button 4.2.3 → 4.2.4

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as r, Fragment as h, jsx as o } from "react/jsx-runtime";
2
- import w, { useState as u, useEffect as f } from "react";
2
+ import w, { useState as f, useEffect as u } from "react";
3
3
  import { ButtonIcon as _ } from "./ButtonIcon.js";
4
4
  import v from "clsx";
5
5
  const m = ({
@@ -90,23 +90,23 @@ const I = ({
90
90
  }
91
91
  );
92
92
  /*!
93
- @versini/ui-icons v4.6.0
93
+ @versini/ui-icons v4.6.1
94
94
  © 2025 gizmette.com
95
95
  */
96
96
  try {
97
97
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
98
- version: "4.6.0",
99
- buildTime: "01/20/2025 04:20 PM EST",
98
+ version: "4.6.1",
99
+ buildTime: "01/21/2025 01:33 PM EST",
100
100
  homepage: "https://github.com/aversini/ui-components",
101
101
  license: "MIT"
102
102
  });
103
103
  } catch {
104
104
  }
105
105
  const N = w.forwardRef(({ copyToClipboard: e, ...c }, s) => {
106
- const [i, t] = u(!1), n = () => {
106
+ const [i, t] = f(!1), n = () => {
107
107
  typeof e == "string" && (navigator.clipboard.writeText(e), t(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), t(!0));
108
108
  };
109
- return f(() => {
109
+ return u(() => {
110
110
  let l;
111
111
  return i && (l = window.setTimeout(() => {
112
112
  t(!1);
package/dist/index.js CHANGED
@@ -7,13 +7,13 @@ import { jsx as e } from "react/jsx-runtime";
7
7
  import a from "clsx";
8
8
  import m from "react";
9
9
  /*!
10
- @versini/ui-button v4.2.3
10
+ @versini/ui-button v4.2.4
11
11
  © 2025 gizmette.com
12
12
  */
13
13
  try {
14
14
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
15
- version: "4.2.3",
16
- buildTime: "01/27/2025 03:07 PM EST",
15
+ version: "4.2.4",
16
+ buildTime: "01/29/2025 03:18 PM EST",
17
17
  homepage: "https://github.com/aversini/ui-components",
18
18
  license: "MIT"
19
19
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-button",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -45,12 +45,12 @@
45
45
  "dependencies": {
46
46
  "@tailwindcss/typography": "0.5.16",
47
47
  "@versini/ui-hooks": "4.6.1",
48
- "@versini/ui-icons": "4.6.0",
48
+ "@versini/ui-icons": "4.6.1",
49
49
  "clsx": "2.1.1",
50
50
  "tailwindcss": "3.4.17"
51
51
  },
52
52
  "sideEffects": [
53
53
  "**/*.css"
54
54
  ],
55
- "gitHead": "d1c2a5ff072a5ba919a8ff0a75b52f2d7ea7cf0a"
55
+ "gitHead": "7924430ddd05d614e8d16256c5dcc14564c91c14"
56
56
  }