@trackunit/react-components 1.8.17 → 1.8.20

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
@@ -4116,7 +4116,7 @@ const ToggleButton = ({ title, size, children, dataTestId, className, icon, icon
4116
4116
  large: "p-2 text-base",
4117
4117
  };
4118
4118
  const paddingClasses = isIconOnly ? iconOnlySizeClasses[size] : sizeClasses[size];
4119
- return (jsxRuntime.jsx("button", { className: tailwindMerge.twMerge("flex items-center justify-center gap-1 self-stretch", paddingClasses, className), "data-testid": dataTestId, title: isIconOnly ? title : undefined, ...rest, children: isIconOnly ? (icon) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [iconPrefix, children] })) }));
4119
+ return (jsxRuntime.jsx("button", { className: tailwindMerge.twMerge("flex items-center justify-center gap-1 self-stretch", paddingClasses, className), "data-testid": dataTestId, title: isIconOnly ? title : undefined, type: "button", ...rest, children: isIconOnly ? (icon) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [iconPrefix, children] })) }));
4120
4120
  };
4121
4121
 
4122
4122
  const cvaValueBar = cssClassVarianceUtilities.cvaMerge([
package/index.esm.js CHANGED
@@ -4114,7 +4114,7 @@ const ToggleButton = ({ title, size, children, dataTestId, className, icon, icon
4114
4114
  large: "p-2 text-base",
4115
4115
  };
4116
4116
  const paddingClasses = isIconOnly ? iconOnlySizeClasses[size] : sizeClasses[size];
4117
- return (jsx("button", { className: twMerge("flex items-center justify-center gap-1 self-stretch", paddingClasses, className), "data-testid": dataTestId, title: isIconOnly ? title : undefined, ...rest, children: isIconOnly ? (icon) : (jsxs(Fragment, { children: [iconPrefix, children] })) }));
4117
+ return (jsx("button", { className: twMerge("flex items-center justify-center gap-1 self-stretch", paddingClasses, className), "data-testid": dataTestId, title: isIconOnly ? title : undefined, type: "button", ...rest, children: isIconOnly ? (icon) : (jsxs(Fragment, { children: [iconPrefix, children] })) }));
4118
4118
  };
4119
4119
 
4120
4120
  const cvaValueBar = cvaMerge([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "1.8.17",
3
+ "version": "1.8.20",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -17,12 +17,12 @@
17
17
  "@floating-ui/react": "^0.26.25",
18
18
  "string-ts": "^2.0.0",
19
19
  "tailwind-merge": "^2.0.0",
20
- "@trackunit/ui-design-tokens": "1.6.47",
21
- "@trackunit/css-class-variance-utilities": "1.6.45",
22
- "@trackunit/shared-utils": "1.8.45",
23
- "@trackunit/ui-icons": "1.6.44",
24
- "@trackunit/react-table-pagination": "1.6.44",
25
- "@trackunit/react-test-setup": "1.3.45",
20
+ "@trackunit/ui-design-tokens": "1.6.49",
21
+ "@trackunit/css-class-variance-utilities": "1.6.47",
22
+ "@trackunit/shared-utils": "1.8.47",
23
+ "@trackunit/ui-icons": "1.6.46",
24
+ "@trackunit/react-table-pagination": "1.6.46",
25
+ "@trackunit/react-test-setup": "1.3.47",
26
26
  "@tanstack/react-router": "1.114.29"
27
27
  },
28
28
  "module": "./index.esm.js",