@sheinx/base 3.4.3-beta.6 → 3.4.3-beta.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["badge.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAgB,MAAM,cAAc,CAAC;AAExD,QAAA,MAAM,KAAK,UAAW,UAAU,gBAwG/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["badge.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAgB,MAAM,cAAc,CAAC;AAExD,QAAA,MAAM,KAAK,UAAW,UAAU,gBAuG/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -30,7 +30,6 @@ var Badge = function Badge(props) {
30
30
  color = props.color,
31
31
  text = props.text;
32
32
  var badgeStyle = (jssStyle === null || jssStyle === void 0 || (_jssStyle$badge = jssStyle.badge) === null || _jssStyle$badge === void 0 ? void 0 : _jssStyle$badge.call(jssStyle)) || {};
33
- console.log('children', children);
34
33
  var isTextBadge = text !== undefined || dot && children === undefined;
35
34
  var rootClass = (0, _classnames.default)(className, badgeStyle.badge, isTextBadge && badgeStyle.textBadge);
36
35
  var isOverflowCount = overflowCount !== undefined && Number(count) > overflowCount;
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,gBAiRzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,gBAmRzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -151,7 +151,7 @@ var TabsHeader = function TabsHeader(props) {
151
151
  });
152
152
  var currentTabRect = currentTab === null || currentTab === void 0 || (_currentTab$getBoundi = currentTab.getBoundingClientRect) === null || _currentTab$getBoundi === void 0 ? void 0 : _currentTab$getBoundi.call(currentTab);
153
153
  setCurrentTabRect(currentTabRect);
154
- }, [active]);
154
+ }, [active, tabs]);
155
155
  var renderHeaderScrollBar = function renderHeaderScrollBar() {
156
156
  if (shape !== 'line' && shape !== 'dash') return;
157
157
  if (!currentTabRect) return;
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["badge.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAgB,MAAM,cAAc,CAAC;AAExD,QAAA,MAAM,KAAK,UAAW,UAAU,gBAwG/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["badge.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAgB,MAAM,cAAc,CAAC;AAExD,QAAA,MAAM,KAAK,UAAW,UAAU,gBAuG/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -25,7 +25,6 @@ var Badge = function Badge(props) {
25
25
  color = props.color,
26
26
  text = props.text;
27
27
  var badgeStyle = (jssStyle === null || jssStyle === void 0 || (_jssStyle$badge = jssStyle.badge) === null || _jssStyle$badge === void 0 ? void 0 : _jssStyle$badge.call(jssStyle)) || {};
28
- console.log('children', children);
29
28
  var isTextBadge = text !== undefined || dot && children === undefined;
30
29
  var rootClass = classNames(className, badgeStyle.badge, isTextBadge && badgeStyle.textBadge);
31
30
  var isOverflowCount = overflowCount !== undefined && Number(count) > overflowCount;
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,gBAiRzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"tabs-header.d.ts","sourceRoot":"","sources":["tabs-header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAwBrD,QAAA,MAAM,UAAU,UAAW,eAAe,gBAmRzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -145,7 +145,7 @@ var TabsHeader = function TabsHeader(props) {
145
145
  });
146
146
  var currentTabRect = currentTab === null || currentTab === void 0 || (_currentTab$getBoundi = currentTab.getBoundingClientRect) === null || _currentTab$getBoundi === void 0 ? void 0 : _currentTab$getBoundi.call(currentTab);
147
147
  setCurrentTabRect(currentTabRect);
148
- }, [active]);
148
+ }, [active, tabs]);
149
149
  var renderHeaderScrollBar = function renderHeaderScrollBar() {
150
150
  if (shape !== 'line' && shape !== 'dash') return;
151
151
  if (!currentTabRect) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.4.3-beta.6",
3
+ "version": "3.4.3-beta.7",
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.4.3-beta.6",
13
+ "@sheinx/hooks": "3.4.3-beta.7",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"