@trackunit/react-form-components 1.8.80 → 1.8.81

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
@@ -1087,7 +1087,7 @@ const TagsContainer = ({ items, width = "100%", itemsGap = 6, postFix, preFix, d
1087
1087
  const [childrenWidths, setChildrenWidths] = react.useState([]);
1088
1088
  const itemsCount = items.length;
1089
1089
  const dimensions = reactComponents.useResize();
1090
- const { width: windowWidth } = reactComponents.useDebounce(dimensions, 100);
1090
+ const { width: windowWidth } = reactComponents.useDebounce(dimensions, { delay: 100 });
1091
1091
  react.useEffect(() => {
1092
1092
  const containerWidth = containerRef.current?.offsetWidth || 0;
1093
1093
  setAvailableSpaceWidth(containerWidth);
package/index.esm.js CHANGED
@@ -1086,7 +1086,7 @@ const TagsContainer = ({ items, width = "100%", itemsGap = 6, postFix, preFix, d
1086
1086
  const [childrenWidths, setChildrenWidths] = useState([]);
1087
1087
  const itemsCount = items.length;
1088
1088
  const dimensions = useResize();
1089
- const { width: windowWidth } = useDebounce(dimensions, 100);
1089
+ const { width: windowWidth } = useDebounce(dimensions, { delay: 100 });
1090
1090
  useEffect(() => {
1091
1091
  const containerWidth = containerRef.current?.offsetWidth || 0;
1092
1092
  setAvailableSpaceWidth(containerWidth);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "1.8.80",
3
+ "version": "1.8.81",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -17,7 +17,7 @@
17
17
  "react-hook-form": "7.62.0",
18
18
  "tailwind-merge": "^2.0.0",
19
19
  "@trackunit/css-class-variance-utilities": "1.7.49",
20
- "@trackunit/react-components": "1.10.16",
20
+ "@trackunit/react-components": "1.10.17",
21
21
  "@trackunit/ui-icons": "1.7.50",
22
22
  "@trackunit/shared-utils": "1.9.49",
23
23
  "@trackunit/ui-design-tokens": "1.7.49",