design-zystem 1.0.430 → 1.0.431

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/dist/ui/index.js CHANGED
@@ -2197,8 +2197,9 @@ var Tabs = ({
2197
2197
  updateBar();
2198
2198
  const ro = new ResizeObserver(updateBar);
2199
2199
  if (listRef.current) ro.observe(listRef.current);
2200
+ triggerRefs.current.forEach((trigger) => ro.observe(trigger));
2200
2201
  return () => ro.disconnect();
2201
- }, [updateBar]);
2202
+ }, [updateBar, items]);
2202
2203
  const isPills = variant === "pills";
2203
2204
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2204
2205
  RadixTabs.Root,
package/dist/ui/index.mjs CHANGED
@@ -1983,8 +1983,9 @@ var Tabs = ({
1983
1983
  updateBar();
1984
1984
  const ro = new ResizeObserver(updateBar);
1985
1985
  if (listRef.current) ro.observe(listRef.current);
1986
+ triggerRefs.current.forEach((trigger) => ro.observe(trigger));
1986
1987
  return () => ro.disconnect();
1987
- }, [updateBar]);
1988
+ }, [updateBar, items]);
1988
1989
  const isPills = variant === "pills";
1989
1990
  return /* @__PURE__ */ jsxs11(
1990
1991
  RadixTabs.Root,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.430",
3
+ "version": "1.0.431",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",