@versini/ui-button 7.0.0 → 7.1.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.
Files changed (2) hide show
  1. package/dist/index.js +17 -15
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { BUTTON_CLASSNAME as B } from "./chunks/utilities.BDrrw2K7.js";
2
- import { Button as T } from "./components/Button/Button.js";
2
+ import { Button as g } from "./components/Button/Button.js";
3
3
  import { ButtonCopy as I } from "./components/Button/ButtonCopy.js";
4
4
  import { ButtonIcon as l } from "./components/Button/ButtonIcon.js";
5
5
  import { ButtonLink as k } from "./components/Button/ButtonLink.js";
6
6
  import { jsx as e } from "react/jsx-runtime";
7
- import a from "clsx";
7
+ import n from "clsx";
8
8
  import m from "react";
9
9
  /*!
10
- @versini/ui-button v7.0.0
10
+ @versini/ui-button v7.1.0
11
11
  © 2025 gizmette.com
12
12
  */
13
13
  try {
14
14
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
15
- version: "7.0.0",
16
- buildTime: "08/07/2025 04:11 PM EDT",
15
+ version: "7.1.0",
16
+ buildTime: "08/10/2025 12:46 PM EDT",
17
17
  homepage: "https://github.com/aversini/ui-components",
18
18
  license: "MIT"
19
19
  });
@@ -23,11 +23,11 @@ const b = m.forwardRef(
23
23
  ({
24
24
  children: r,
25
25
  mode: t = "system",
26
- className: o,
27
- active: i = !1,
28
- ...s
29
- }, f) => {
30
- const n = i ? a(
26
+ className: a,
27
+ active: o = !1,
28
+ ...i
29
+ }, s) => {
30
+ const f = o ? n(
31
31
  "relative",
32
32
  "focus-within:static",
33
33
  "focus-within:after:border-transparent",
@@ -44,14 +44,16 @@ const b = m.forwardRef(
44
44
  "after:border-table-light dark:after:border-table-dark": t === "alt-system"
45
45
  }
46
46
  ) : "";
47
- return /* @__PURE__ */ e("div", { className: n, children: /* @__PURE__ */ e(
47
+ return /* @__PURE__ */ e("div", { className: f, children: /* @__PURE__ */ e(
48
48
  l,
49
49
  {
50
- className: a("justify-center", o),
51
- ref: f,
50
+ className: a,
51
+ ref: s,
52
52
  mode: t,
53
53
  radius: "small",
54
- ...s,
54
+ size: "small",
55
+ align: "center",
56
+ ...i,
55
57
  children: r
56
58
  }
57
59
  ) });
@@ -60,7 +62,7 @@ const b = m.forwardRef(
60
62
  b.displayName = "ButtonSort";
61
63
  export {
62
64
  B as BUTTON_CLASSNAME,
63
- T as Button,
65
+ g as Button,
64
66
  I as ButtonCopy,
65
67
  l as ButtonIcon,
66
68
  k as ButtonLink,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-button",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -53,5 +53,5 @@
53
53
  "sideEffects": [
54
54
  "**/*.css"
55
55
  ],
56
- "gitHead": "42daab1fb88c366495abbc1db78a9987de05e59b"
56
+ "gitHead": "6d8fef53d038c1153effea9b0cfaf01f983c1774"
57
57
  }