@trackunit/react-filter-components 1.24.10 → 1.24.12

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
@@ -137,7 +137,7 @@ const CheckBoxFilterItem = ({ itemCount, className, suffix, "data-testid": dataT
137
137
  return (jsxRuntime.jsx(reactFormComponents.Checkbox, { checked: checked, className: reactComponents.cvaInteractableItem({
138
138
  selection: "auto",
139
139
  focus: "auto",
140
- className: tailwindMerge.twMerge(["py-1", "mx-1", "pl-2", "pr-3", "w-auto", "h-auto", "items-center", "gap-x-2", "select-none", "rounded"], className),
140
+ className: tailwindMerge.twMerge(["py-1", "mx-1", "pl-2", "pr-3", "w-full", "h-auto", "items-center", "gap-x-2", "select-none", "rounded"], className),
141
141
  }), "data-testid": dataTestId ?? `${label}-checkbox-filter-item`, label: label, ref: ref, suffix: itemCount !== undefined || (suffix !== undefined && suffix !== null) ? (jsxRuntime.jsxs("span", { className: reactComponents.cvaMenuItemSuffix({ selected: checked }), children: [suffix, itemCount === undefined ? null : itemCount] })) : null, ...rest }));
142
142
  };
143
143
 
package/index.esm.js CHANGED
@@ -135,7 +135,7 @@ const CheckBoxFilterItem = ({ itemCount, className, suffix, "data-testid": dataT
135
135
  return (jsx(Checkbox, { checked: checked, className: cvaInteractableItem({
136
136
  selection: "auto",
137
137
  focus: "auto",
138
- className: twMerge(["py-1", "mx-1", "pl-2", "pr-3", "w-auto", "h-auto", "items-center", "gap-x-2", "select-none", "rounded"], className),
138
+ className: twMerge(["py-1", "mx-1", "pl-2", "pr-3", "w-full", "h-auto", "items-center", "gap-x-2", "select-none", "rounded"], className),
139
139
  }), "data-testid": dataTestId ?? `${label}-checkbox-filter-item`, label: label, ref: ref, suffix: itemCount !== undefined || (suffix !== undefined && suffix !== null) ? (jsxs("span", { className: cvaMenuItemSuffix({ selected: checked }), children: [suffix, itemCount === undefined ? null : itemCount] })) : null, ...rest }));
140
140
  };
141
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-filter-components",
3
- "version": "1.24.10",
3
+ "version": "1.24.12",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -11,7 +11,7 @@
11
11
  "@trackunit/ui-icons": "1.13.3",
12
12
  "@trackunit/css-class-variance-utilities": "1.13.3",
13
13
  "@trackunit/react-components": "1.24.6",
14
- "@trackunit/react-form-components": "1.25.9"
14
+ "@trackunit/react-form-components": "1.25.10"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@tanstack/react-router": "^1.114.29",