@trackunit/react-form-components 1.8.80 → 1.8.82
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 +1 -1
- package/index.esm.js +1 -1
- package/package.json +8 -8
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.
|
|
3
|
+
"version": "1.8.82",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"zod": "^3.23.8",
|
|
17
17
|
"react-hook-form": "7.62.0",
|
|
18
18
|
"tailwind-merge": "^2.0.0",
|
|
19
|
-
"@trackunit/css-class-variance-utilities": "1.7.
|
|
20
|
-
"@trackunit/react-components": "1.10.
|
|
21
|
-
"@trackunit/ui-icons": "1.7.
|
|
22
|
-
"@trackunit/shared-utils": "1.9.
|
|
23
|
-
"@trackunit/ui-design-tokens": "1.7.
|
|
24
|
-
"@trackunit/i18n-library-translation": "1.7.
|
|
19
|
+
"@trackunit/css-class-variance-utilities": "1.7.50",
|
|
20
|
+
"@trackunit/react-components": "1.10.18",
|
|
21
|
+
"@trackunit/ui-icons": "1.7.51",
|
|
22
|
+
"@trackunit/shared-utils": "1.9.50",
|
|
23
|
+
"@trackunit/ui-design-tokens": "1.7.50",
|
|
24
|
+
"@trackunit/i18n-library-translation": "1.7.62",
|
|
25
25
|
"string-ts": "^2.0.0",
|
|
26
|
-
"@trackunit/react-test-setup": "1.4.
|
|
26
|
+
"@trackunit/react-test-setup": "1.4.50",
|
|
27
27
|
"@js-temporal/polyfill": "^0.5.1"
|
|
28
28
|
},
|
|
29
29
|
"module": "./index.esm.js",
|