@sheinx/base 3.9.9-beta.3 → 3.9.9-beta.4

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.
@@ -106,7 +106,7 @@ var TabsHeader = function TabsHeader(props) {
106
106
  if (offset !== undefined) {
107
107
  setTransform(offset);
108
108
  }
109
- }, [active, tabRef.current, headerRef.current, scrollRef.current, shouldScroll]);
109
+ }, [active, tabRef.current, headerRef.current, scrollRef.current, shouldScroll, tabs === null || tabs === void 0 ? void 0 : tabs.length]);
110
110
  var getDataProps = function getDataProps(options) {
111
111
  return _hooks.util.getDataAttribute(_objectSpread({}, options));
112
112
  };
@@ -100,7 +100,7 @@ var TabsHeader = function TabsHeader(props) {
100
100
  if (offset !== undefined) {
101
101
  setTransform(offset);
102
102
  }
103
- }, [active, tabRef.current, headerRef.current, scrollRef.current, shouldScroll]);
103
+ }, [active, tabRef.current, headerRef.current, scrollRef.current, shouldScroll, tabs === null || tabs === void 0 ? void 0 : tabs.length]);
104
104
  var getDataProps = function getDataProps(options) {
105
105
  return util.getDataAttribute(_objectSpread({}, options));
106
106
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.9.9-beta.3",
3
+ "version": "3.9.9-beta.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.9.9-beta.3",
13
+ "@sheinx/hooks": "3.9.9-beta.4",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.3.3"