@kopexa/button 14.0.3 → 15.0.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.
- package/dist/button.js +17 -2
- package/dist/button.mjs +1 -1
- package/dist/{chunk-IGA5FORT.mjs → chunk-2AERBV4F.mjs} +1 -1
- package/dist/{chunk-SNQHD6JL.mjs → chunk-5NEE2ULZ.mjs} +17 -2
- package/dist/{chunk-7ROCG4IU.mjs → chunk-IJVQIWUX.mjs} +1 -1
- package/dist/copy-button.js +17 -2
- package/dist/copy-button.mjs +2 -2
- package/dist/icon-button.js +17 -2
- package/dist/icon-button.mjs +2 -2
- package/dist/index.js +17 -2
- package/dist/index.mjs +3 -3
- package/package.json +8 -8
package/dist/button.js
CHANGED
|
@@ -68,6 +68,8 @@ var Button = (props) => {
|
|
|
68
68
|
shortcutKeys,
|
|
69
69
|
tooltip,
|
|
70
70
|
spacing,
|
|
71
|
+
mode,
|
|
72
|
+
placeholder,
|
|
71
73
|
...rest
|
|
72
74
|
} = props;
|
|
73
75
|
const Comp = asChild ? Slot.Root : "button";
|
|
@@ -91,9 +93,22 @@ var Button = (props) => {
|
|
|
91
93
|
fullWidth,
|
|
92
94
|
isIconOnly,
|
|
93
95
|
className,
|
|
94
|
-
spacing
|
|
96
|
+
spacing,
|
|
97
|
+
mode,
|
|
98
|
+
placeholder
|
|
95
99
|
});
|
|
96
|
-
}, [
|
|
100
|
+
}, [
|
|
101
|
+
variant,
|
|
102
|
+
size,
|
|
103
|
+
color,
|
|
104
|
+
radius,
|
|
105
|
+
isIconOnly,
|
|
106
|
+
fullWidth,
|
|
107
|
+
className,
|
|
108
|
+
spacing,
|
|
109
|
+
mode,
|
|
110
|
+
placeholder
|
|
111
|
+
]);
|
|
97
112
|
const handleClick = (0, import_react.useCallback)(
|
|
98
113
|
(e) => {
|
|
99
114
|
if (disableRipple || isDisabled) return;
|
package/dist/button.mjs
CHANGED
|
@@ -38,6 +38,8 @@ var Button = (props) => {
|
|
|
38
38
|
shortcutKeys,
|
|
39
39
|
tooltip,
|
|
40
40
|
spacing,
|
|
41
|
+
mode,
|
|
42
|
+
placeholder,
|
|
41
43
|
...rest
|
|
42
44
|
} = props;
|
|
43
45
|
const Comp = asChild ? Slot.Root : "button";
|
|
@@ -61,9 +63,22 @@ var Button = (props) => {
|
|
|
61
63
|
fullWidth,
|
|
62
64
|
isIconOnly,
|
|
63
65
|
className,
|
|
64
|
-
spacing
|
|
66
|
+
spacing,
|
|
67
|
+
mode,
|
|
68
|
+
placeholder
|
|
65
69
|
});
|
|
66
|
-
}, [
|
|
70
|
+
}, [
|
|
71
|
+
variant,
|
|
72
|
+
size,
|
|
73
|
+
color,
|
|
74
|
+
radius,
|
|
75
|
+
isIconOnly,
|
|
76
|
+
fullWidth,
|
|
77
|
+
className,
|
|
78
|
+
spacing,
|
|
79
|
+
mode,
|
|
80
|
+
placeholder
|
|
81
|
+
]);
|
|
67
82
|
const handleClick = useCallback(
|
|
68
83
|
(e) => {
|
|
69
84
|
if (disableRipple || isDisabled) return;
|
package/dist/copy-button.js
CHANGED
|
@@ -72,6 +72,8 @@ var Button = (props) => {
|
|
|
72
72
|
shortcutKeys,
|
|
73
73
|
tooltip,
|
|
74
74
|
spacing,
|
|
75
|
+
mode,
|
|
76
|
+
placeholder,
|
|
75
77
|
...rest
|
|
76
78
|
} = props;
|
|
77
79
|
const Comp = asChild ? Slot.Root : "button";
|
|
@@ -95,9 +97,22 @@ var Button = (props) => {
|
|
|
95
97
|
fullWidth,
|
|
96
98
|
isIconOnly,
|
|
97
99
|
className,
|
|
98
|
-
spacing
|
|
100
|
+
spacing,
|
|
101
|
+
mode,
|
|
102
|
+
placeholder
|
|
99
103
|
});
|
|
100
|
-
}, [
|
|
104
|
+
}, [
|
|
105
|
+
variant,
|
|
106
|
+
size,
|
|
107
|
+
color,
|
|
108
|
+
radius,
|
|
109
|
+
isIconOnly,
|
|
110
|
+
fullWidth,
|
|
111
|
+
className,
|
|
112
|
+
spacing,
|
|
113
|
+
mode,
|
|
114
|
+
placeholder
|
|
115
|
+
]);
|
|
101
116
|
const handleClick = (0, import_react.useCallback)(
|
|
102
117
|
(e) => {
|
|
103
118
|
if (disableRipple || isDisabled) return;
|
package/dist/copy-button.mjs
CHANGED
package/dist/icon-button.js
CHANGED
|
@@ -69,6 +69,8 @@ var Button = (props) => {
|
|
|
69
69
|
shortcutKeys,
|
|
70
70
|
tooltip,
|
|
71
71
|
spacing,
|
|
72
|
+
mode,
|
|
73
|
+
placeholder,
|
|
72
74
|
...rest
|
|
73
75
|
} = props;
|
|
74
76
|
const Comp = asChild ? Slot.Root : "button";
|
|
@@ -92,9 +94,22 @@ var Button = (props) => {
|
|
|
92
94
|
fullWidth,
|
|
93
95
|
isIconOnly,
|
|
94
96
|
className,
|
|
95
|
-
spacing
|
|
97
|
+
spacing,
|
|
98
|
+
mode,
|
|
99
|
+
placeholder
|
|
96
100
|
});
|
|
97
|
-
}, [
|
|
101
|
+
}, [
|
|
102
|
+
variant,
|
|
103
|
+
size,
|
|
104
|
+
color,
|
|
105
|
+
radius,
|
|
106
|
+
isIconOnly,
|
|
107
|
+
fullWidth,
|
|
108
|
+
className,
|
|
109
|
+
spacing,
|
|
110
|
+
mode,
|
|
111
|
+
placeholder
|
|
112
|
+
]);
|
|
98
113
|
const handleClick = (0, import_react.useCallback)(
|
|
99
114
|
(e) => {
|
|
100
115
|
if (disableRipple || isDisabled) return;
|
package/dist/icon-button.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -70,6 +70,8 @@ var Button = (props) => {
|
|
|
70
70
|
shortcutKeys,
|
|
71
71
|
tooltip,
|
|
72
72
|
spacing,
|
|
73
|
+
mode,
|
|
74
|
+
placeholder,
|
|
73
75
|
...rest
|
|
74
76
|
} = props;
|
|
75
77
|
const Comp = asChild ? Slot.Root : "button";
|
|
@@ -93,9 +95,22 @@ var Button = (props) => {
|
|
|
93
95
|
fullWidth,
|
|
94
96
|
isIconOnly,
|
|
95
97
|
className,
|
|
96
|
-
spacing
|
|
98
|
+
spacing,
|
|
99
|
+
mode,
|
|
100
|
+
placeholder
|
|
97
101
|
});
|
|
98
|
-
}, [
|
|
102
|
+
}, [
|
|
103
|
+
variant,
|
|
104
|
+
size,
|
|
105
|
+
color,
|
|
106
|
+
radius,
|
|
107
|
+
isIconOnly,
|
|
108
|
+
fullWidth,
|
|
109
|
+
className,
|
|
110
|
+
spacing,
|
|
111
|
+
mode,
|
|
112
|
+
placeholder
|
|
113
|
+
]);
|
|
99
114
|
const handleClick = (0, import_react.useCallback)(
|
|
100
115
|
(e) => {
|
|
101
116
|
if (disableRipple || isDisabled) return;
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
CopyButton
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2AERBV4F.mjs";
|
|
5
5
|
import {
|
|
6
6
|
IconButton
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IJVQIWUX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5NEE2ULZ.mjs";
|
|
11
11
|
export {
|
|
12
12
|
Button,
|
|
13
13
|
CopyButton,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/button",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Buttons allow users to perform actions and choose with a single tap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"button"
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"motion": ">=12.23.6",
|
|
29
29
|
"react": ">=19.0.0-rc.0",
|
|
30
30
|
"react-dom": ">=19.0.0-rc.0",
|
|
31
|
-
"@kopexa/theme": "
|
|
31
|
+
"@kopexa/theme": "15.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@radix-ui/react-slot": "^1.2.3",
|
|
35
|
-
"@kopexa/shared-utils": "
|
|
36
|
-
"@kopexa/react-utils": "
|
|
37
|
-
"@kopexa/spinner": "
|
|
38
|
-
"@kopexa/tooltip": "
|
|
39
|
-
"@kopexa/ripple": "
|
|
40
|
-
"@kopexa/icons": "
|
|
35
|
+
"@kopexa/shared-utils": "15.0.0",
|
|
36
|
+
"@kopexa/react-utils": "15.0.0",
|
|
37
|
+
"@kopexa/spinner": "15.0.0",
|
|
38
|
+
"@kopexa/tooltip": "15.0.0",
|
|
39
|
+
"@kopexa/ripple": "15.0.0",
|
|
40
|
+
"@kopexa/icons": "15.0.0"
|
|
41
41
|
},
|
|
42
42
|
"clean-package": "../../../clean-package.config.json",
|
|
43
43
|
"module": "dist/index.mjs",
|