@versini/ui-button 4.0.6 → 4.0.8
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/components/Button/ButtonCopy.js +6 -6
- package/dist/index.d.ts +4 -41
- package/dist/index.js +3 -3
- package/package.json +5 -5
|
@@ -33,13 +33,13 @@ const m = ({
|
|
|
33
33
|
] });
|
|
34
34
|
};
|
|
35
35
|
/*!
|
|
36
|
-
@versini/ui-svgicon v4.0.
|
|
36
|
+
@versini/ui-svgicon v4.0.2
|
|
37
37
|
© 2025 gizmette.com
|
|
38
38
|
*/
|
|
39
39
|
try {
|
|
40
40
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
41
|
-
version: "4.0.
|
|
42
|
-
buildTime: "01/
|
|
41
|
+
version: "4.0.2",
|
|
42
|
+
buildTime: "01/13/2025 01:15 PM EST",
|
|
43
43
|
homepage: "https://github.com/aversini/ui-components",
|
|
44
44
|
license: "MIT"
|
|
45
45
|
});
|
|
@@ -97,13 +97,13 @@ const N = ({
|
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
99
|
/*!
|
|
100
|
-
@versini/ui-icons v4.
|
|
100
|
+
@versini/ui-icons v4.4.1
|
|
101
101
|
© 2025 gizmette.com
|
|
102
102
|
*/
|
|
103
103
|
try {
|
|
104
104
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
105
|
-
version: "4.
|
|
106
|
-
buildTime: "01/
|
|
105
|
+
version: "4.4.1",
|
|
106
|
+
buildTime: "01/13/2025 01:15 PM EST",
|
|
107
107
|
homepage: "https://github.com/aversini/ui-components",
|
|
108
108
|
license: "MIT"
|
|
109
109
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as _versini_ui_types from '@versini/ui-types';
|
|
3
|
+
import { ButtonIconTypes, ButtonSortTypes } from '@versini/ui-types';
|
|
3
4
|
|
|
4
5
|
declare const BUTTON_CLASSNAME = "av-button";
|
|
5
6
|
|
|
@@ -23,27 +24,9 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
23
24
|
|
|
24
25
|
declare const ButtonCopy: React.ForwardRefExoticComponent<{
|
|
25
26
|
copyToClipboard: string | (() => string);
|
|
26
|
-
} & Omit<_versini_ui_types.ButtonIconTypes.Props, "children" | "fullWidth" | "size" | "
|
|
27
|
+
} & Omit<_versini_ui_types.ButtonIconTypes.Props, "children" | "fullWidth" | "size" | "label" | "align"> & React.RefAttributes<HTMLButtonElement>>;
|
|
27
28
|
|
|
28
|
-
declare const ButtonIcon: React.ForwardRefExoticComponent<
|
|
29
|
-
children: React.ReactNode;
|
|
30
|
-
align?: "left" | "right" | "center";
|
|
31
|
-
label?: string;
|
|
32
|
-
labelLeft?: string;
|
|
33
|
-
labelRight?: string;
|
|
34
|
-
noBackground?: boolean;
|
|
35
|
-
variant?: "primary" | "secondary" | "danger" | "selected";
|
|
36
|
-
} & {
|
|
37
|
-
className?: string;
|
|
38
|
-
focusMode?: "dark" | "light" | "system" | "alt-system";
|
|
39
|
-
fullWidth?: boolean;
|
|
40
|
-
mode?: "dark" | "light" | "system" | "alt-system";
|
|
41
|
-
noBorder?: boolean;
|
|
42
|
-
noInternalClick?: boolean;
|
|
43
|
-
raw?: boolean;
|
|
44
|
-
size?: "small" | "medium" | "large";
|
|
45
|
-
radius?: "small" | "medium" | "large";
|
|
46
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
29
|
+
declare const ButtonIcon: React.ForwardRefExoticComponent<ButtonIconTypes.Props & React.RefAttributes<HTMLButtonElement>>;
|
|
47
30
|
|
|
48
31
|
declare const ButtonLink: React.ForwardRefExoticComponent<{
|
|
49
32
|
noNewWindowIcon?: boolean;
|
|
@@ -67,26 +50,6 @@ declare const ButtonLink: React.ForwardRefExoticComponent<{
|
|
|
67
50
|
radius?: "small" | "medium" | "large";
|
|
68
51
|
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement>>;
|
|
69
52
|
|
|
70
|
-
declare const ButtonSort_private: React.ForwardRefExoticComponent<
|
|
71
|
-
active?: boolean;
|
|
72
|
-
} & {
|
|
73
|
-
children: React.ReactNode;
|
|
74
|
-
align?: "left" | "right" | "center";
|
|
75
|
-
label?: string;
|
|
76
|
-
labelLeft?: string;
|
|
77
|
-
labelRight?: string;
|
|
78
|
-
noBackground?: boolean;
|
|
79
|
-
variant?: "primary" | "secondary" | "danger" | "selected";
|
|
80
|
-
} & {
|
|
81
|
-
className?: string;
|
|
82
|
-
focusMode?: "dark" | "light" | "system" | "alt-system";
|
|
83
|
-
fullWidth?: boolean;
|
|
84
|
-
mode?: "dark" | "light" | "system" | "alt-system";
|
|
85
|
-
noBorder?: boolean;
|
|
86
|
-
noInternalClick?: boolean;
|
|
87
|
-
raw?: boolean;
|
|
88
|
-
size?: "small" | "medium" | "large";
|
|
89
|
-
radius?: "small" | "medium" | "large";
|
|
90
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
53
|
+
declare const ButtonSort_private: React.ForwardRefExoticComponent<ButtonSortTypes.Props & React.RefAttributes<HTMLButtonElement>>;
|
|
91
54
|
|
|
92
55
|
export { BUTTON_CLASSNAME, Button, ButtonCopy, ButtonIcon, ButtonLink, ButtonSort_private };
|
package/dist/index.js
CHANGED
|
@@ -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 v4.0.
|
|
12
|
+
@versini/ui-button v4.0.8
|
|
13
13
|
© 2025 gizmette.com
|
|
14
14
|
*/
|
|
15
15
|
try {
|
|
16
16
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
17
|
-
version: "4.0.
|
|
18
|
-
buildTime: "01/
|
|
17
|
+
version: "4.0.8",
|
|
18
|
+
buildTime: "01/13/2025 01:16 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": "4.0.
|
|
3
|
+
"version": "4.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@versini/ui-svgicon": "4.0.
|
|
42
|
-
"@versini/ui-types": "4.0.
|
|
41
|
+
"@versini/ui-svgicon": "4.0.2",
|
|
42
|
+
"@versini/ui-types": "4.0.1"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@tailwindcss/typography": "0.5.15",
|
|
46
|
-
"@versini/ui-icons": "4.
|
|
46
|
+
"@versini/ui-icons": "4.4.1",
|
|
47
47
|
"clsx": "2.1.1",
|
|
48
48
|
"tailwindcss": "3.4.17"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": [
|
|
51
51
|
"**/*.css"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "ad21cab4bf6b5fc26fc8bf9b61fb5f00ef0f66f6"
|
|
54
54
|
}
|