@trackunit/react-components 1.9.53 → 1.9.55
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/index.cjs.js
CHANGED
|
@@ -769,9 +769,6 @@ Button.displayName = "Button";
|
|
|
769
769
|
/**
|
|
770
770
|
* Buttons are clickable elements that are used to trigger actions. They communicate calls to action to the user and allow users to interact with pages in a variety of ways. The Icon Button is a version of the standard Button component without the text label.
|
|
771
771
|
*/
|
|
772
|
-
/**
|
|
773
|
-
*
|
|
774
|
-
*/
|
|
775
772
|
const IconButton = ({ icon, size = "medium", square = true, loading = false, disabled = false, className, ref, ...rest }) => {
|
|
776
773
|
return (jsxRuntime.jsx(Button, { className: cvaIconButton({ size: size, className }), disabled: disabled || loading, loading: loading, prefix: !loading ? icon : undefined, ref: ref, size: size, square: square, ...rest }));
|
|
777
774
|
};
|
package/index.esm.js
CHANGED
|
@@ -767,9 +767,6 @@ Button.displayName = "Button";
|
|
|
767
767
|
/**
|
|
768
768
|
* Buttons are clickable elements that are used to trigger actions. They communicate calls to action to the user and allow users to interact with pages in a variety of ways. The Icon Button is a version of the standard Button component without the text label.
|
|
769
769
|
*/
|
|
770
|
-
/**
|
|
771
|
-
*
|
|
772
|
-
*/
|
|
773
770
|
const IconButton = ({ icon, size = "medium", square = true, loading = false, disabled = false, className, ref, ...rest }) => {
|
|
774
771
|
return (jsx(Button, { className: cvaIconButton({ size: size, className }), disabled: disabled || loading, loading: loading, prefix: !loading ? icon : undefined, ref: ref, size: size, square: square, ...rest }));
|
|
775
772
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.55",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"@floating-ui/react": "^0.26.25",
|
|
17
17
|
"string-ts": "^2.0.0",
|
|
18
18
|
"tailwind-merge": "^2.0.0",
|
|
19
|
-
"@trackunit/ui-design-tokens": "1.7.
|
|
20
|
-
"@trackunit/css-class-variance-utilities": "1.7.
|
|
21
|
-
"@trackunit/shared-utils": "1.9.
|
|
22
|
-
"@trackunit/ui-icons": "1.7.
|
|
23
|
-
"@trackunit/react-test-setup": "1.4.
|
|
19
|
+
"@trackunit/ui-design-tokens": "1.7.39",
|
|
20
|
+
"@trackunit/css-class-variance-utilities": "1.7.39",
|
|
21
|
+
"@trackunit/shared-utils": "1.9.39",
|
|
22
|
+
"@trackunit/ui-icons": "1.7.40",
|
|
23
|
+
"@trackunit/react-test-setup": "1.4.39",
|
|
24
24
|
"@tanstack/react-router": "1.114.29",
|
|
25
25
|
"es-toolkit": "^1.39.10",
|
|
26
26
|
"@tanstack/react-virtual": "3.13.12"
|
|
@@ -25,9 +25,6 @@ export interface IconButtonProps extends MappedOmit<ButtonCommonProps, "size"> {
|
|
|
25
25
|
/**
|
|
26
26
|
* Buttons are clickable elements that are used to trigger actions. They communicate calls to action to the user and allow users to interact with pages in a variety of ways. The Icon Button is a version of the standard Button component without the text label.
|
|
27
27
|
*/
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
28
|
export declare const IconButton: {
|
|
32
29
|
({ icon, size, square, loading, disabled, className, ref, ...rest }: IconButtonProps): ReactElement;
|
|
33
30
|
displayName: string;
|