@versini/ui-button 3.1.0 → 3.2.1
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.
- package/dist/chunks/{utilities.C6IrUwy4.js → utilities.DFhBODAr.js} +3 -3
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/ButtonCopy.js +6 -6
- package/dist/components/Button/ButtonIcon.js +1 -1
- package/dist/components/Button/ButtonLink.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +3 -3
|
@@ -15,7 +15,7 @@ const l = "av-button", p = "icon", x = "button", f = "link", m = ({
|
|
|
15
15
|
[n]: r === "large"
|
|
16
16
|
});
|
|
17
17
|
case f:
|
|
18
|
-
return a("
|
|
18
|
+
return a("text-center", {
|
|
19
19
|
[o]: r === "small",
|
|
20
20
|
[g]: r === "medium",
|
|
21
21
|
[n]: r === "large"
|
|
@@ -26,9 +26,9 @@ const l = "av-button", p = "icon", x = "button", f = "link", m = ({
|
|
|
26
26
|
"justify-start": c === "left",
|
|
27
27
|
"justify-end": c === "right",
|
|
28
28
|
"h-6 w-6 p-0": r === "small" && !(e || i),
|
|
29
|
-
"h-6 px-
|
|
29
|
+
"h-6 px-2 text-sm font-medium": r === "small" && (e || i),
|
|
30
30
|
"h-8 w-8 p-1": r === "medium" && !(e || i),
|
|
31
|
-
"h-8 px-
|
|
31
|
+
"h-8 px-3 text-base font-medium": r === "medium" && (e || i),
|
|
32
32
|
"h-12 w-12 p-2": r === "large" && !(e || i),
|
|
33
33
|
"h-12 px-4 text-lg font-medium": r === "large" && (e || i)
|
|
34
34
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import N from "react";
|
|
3
3
|
import { BaseButton_private as T } from "../../chunks/BaseButton.BFKIL4GO.js";
|
|
4
|
-
import { getButtonClasses as g, TYPE_BUTTON as x } from "../../chunks/utilities.
|
|
4
|
+
import { getButtonClasses as g, TYPE_BUTTON as x } from "../../chunks/utilities.DFhBODAr.js";
|
|
5
5
|
const C = N.forwardRef(
|
|
6
6
|
({
|
|
7
7
|
children: s,
|
|
@@ -34,12 +34,12 @@ const m = ({
|
|
|
34
34
|
};
|
|
35
35
|
/*!
|
|
36
36
|
@versini/ui-svgicon v3.0.2
|
|
37
|
-
©
|
|
37
|
+
© 2025 gizmette.com
|
|
38
38
|
*/
|
|
39
39
|
try {
|
|
40
40
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
41
41
|
version: "3.0.2",
|
|
42
|
-
buildTime: "
|
|
42
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
43
43
|
homepage: "https://github.com/aversini/ui-components",
|
|
44
44
|
license: "MIT"
|
|
45
45
|
});
|
|
@@ -90,13 +90,13 @@ const V = ({
|
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
92
|
/*!
|
|
93
|
-
@versini/ui-icons v3.0
|
|
94
|
-
©
|
|
93
|
+
@versini/ui-icons v3.1.0
|
|
94
|
+
© 2025 gizmette.com
|
|
95
95
|
*/
|
|
96
96
|
try {
|
|
97
97
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
98
|
-
version: "3.0
|
|
99
|
-
buildTime: "
|
|
98
|
+
version: "3.1.0",
|
|
99
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
100
100
|
homepage: "https://github.com/aversini/ui-components",
|
|
101
101
|
license: "MIT"
|
|
102
102
|
});
|
|
@@ -2,7 +2,7 @@ import { jsxs as C, jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import I from "clsx";
|
|
3
3
|
import j from "react";
|
|
4
4
|
import { BaseButton_private as v } from "../../chunks/BaseButton.BFKIL4GO.js";
|
|
5
|
-
import { getButtonClasses as _, TYPE_ICON as E } from "../../chunks/utilities.
|
|
5
|
+
import { getButtonClasses as _, TYPE_ICON as E } from "../../chunks/utilities.DFhBODAr.js";
|
|
6
6
|
const O = j.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
children: r,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import b from "clsx";
|
|
3
3
|
import v from "react";
|
|
4
|
-
import { getButtonClasses as V, TYPE_LINK as C } from "../../chunks/utilities.
|
|
4
|
+
import { getButtonClasses as V, TYPE_LINK as C } from "../../chunks/utilities.DFhBODAr.js";
|
|
5
5
|
const L = v.forwardRef(
|
|
6
6
|
({
|
|
7
7
|
children: r,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getButtonClasses as I, TYPE_ICON as v } from "./chunks/utilities.
|
|
2
|
-
import { BUTTON_CLASSNAME as V } from "./chunks/utilities.
|
|
1
|
+
import { getButtonClasses as I, TYPE_ICON as v } from "./chunks/utilities.DFhBODAr.js";
|
|
2
|
+
import { BUTTON_CLASSNAME as V } from "./chunks/utilities.DFhBODAr.js";
|
|
3
3
|
import { Button as q } from "./components/Button/Button.js";
|
|
4
4
|
import { ButtonCopy as D } from "./components/Button/ButtonCopy.js";
|
|
5
5
|
import { ButtonIcon as G } from "./components/Button/ButtonIcon.js";
|
|
@@ -9,13 +9,13 @@ import n from "clsx";
|
|
|
9
9
|
import S from "react";
|
|
10
10
|
import { BaseButton_private as E } from "./chunks/BaseButton.BFKIL4GO.js";
|
|
11
11
|
/*!
|
|
12
|
-
@versini/ui-button v3.1
|
|
13
|
-
©
|
|
12
|
+
@versini/ui-button v3.2.1
|
|
13
|
+
© 2025 gizmette.com
|
|
14
14
|
*/
|
|
15
15
|
try {
|
|
16
16
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
17
|
-
version: "3.1
|
|
18
|
-
buildTime: "
|
|
17
|
+
version: "3.2.1",
|
|
18
|
+
buildTime: "01/01/2025 07:31 PM EST",
|
|
19
19
|
homepage: "https://github.com/aversini/ui-components",
|
|
20
20
|
license: "MIT"
|
|
21
21
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-button",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@tailwindcss/typography": "0.5.15",
|
|
45
|
-
"@versini/ui-icons": "3.0
|
|
45
|
+
"@versini/ui-icons": "3.1.0",
|
|
46
46
|
"@versini/ui-types": "3.0.2",
|
|
47
47
|
"clsx": "2.1.1",
|
|
48
48
|
"tailwindcss": "3.4.17"
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sideEffects": [
|
|
51
51
|
"**/*.css"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "d052f6a22a228e03504ab6eef71c817bd53dd656"
|
|
54
54
|
}
|