@trackunit/react-filter-components 2.10.16 → 2.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-filter-components",
3
- "version": "2.10.16",
3
+ "version": "2.11.0",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,10 +8,10 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "tailwind-merge": "^2.0.0",
11
- "@trackunit/ui-icons": "1.17.9",
12
- "@trackunit/css-class-variance-utilities": "2.3.9",
13
- "@trackunit/react-components": "3.8.9",
14
- "@trackunit/react-form-components": "2.10.16"
11
+ "@trackunit/ui-icons": "1.18.0",
12
+ "@trackunit/css-class-variance-utilities": "2.4.0",
13
+ "@trackunit/react-components": "3.9.0",
14
+ "@trackunit/react-form-components": "2.11.0"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@tanstack/react-router": "^1.114.29",
@@ -1,16 +1,12 @@
1
- import { CommonProps, type Styleable } from "@trackunit/react-components";
2
- import { ReactNode, Ref } from "react";
3
- export interface FilterBodyProps extends CommonProps, Styleable {
1
+ import { CommonProps, Refable, type Styleable } from "@trackunit/react-components";
2
+ import { ReactNode } from "react";
3
+ export interface FilterBodyProps extends CommonProps, Styleable, Refable<HTMLDivElement> {
4
4
  /**
5
5
  * Children to render in the body of the filter.
6
6
  * This is intended for FilterItems.
7
7
  */
8
8
  children?: ReactNode;
9
9
  limitSize?: boolean;
10
- /**
11
- * A ref for the component
12
- */
13
- ref?: Ref<HTMLDivElement>;
14
10
  }
15
11
  /**
16
12
  * The FilterBody component is used to display the title of the filter and a reset button.