@sheinx/base 3.8.4-beta.5 → 3.8.4-beta.6
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":"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,
|
|
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,4CAgSzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/tabs/tabs-header.js
CHANGED
|
@@ -156,6 +156,10 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
156
156
|
width: currentTab.offsetWidth,
|
|
157
157
|
height: currentTab.offsetHeight
|
|
158
158
|
});
|
|
159
|
+
setCurrentTabOffset({
|
|
160
|
+
offsetTop: currentTab.offsetTop || 0,
|
|
161
|
+
offsetLeft: currentTab.offsetLeft || 0
|
|
162
|
+
});
|
|
159
163
|
clearInterval(timer);
|
|
160
164
|
}
|
|
161
165
|
if (timerCount >= 100) {
|
|
@@ -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,
|
|
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,4CAgSzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/tabs/tabs-header.js
CHANGED
|
@@ -150,6 +150,10 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
150
150
|
width: currentTab.offsetWidth,
|
|
151
151
|
height: currentTab.offsetHeight
|
|
152
152
|
});
|
|
153
|
+
setCurrentTabOffset({
|
|
154
|
+
offsetTop: currentTab.offsetTop || 0,
|
|
155
|
+
offsetLeft: currentTab.offsetLeft || 0
|
|
156
|
+
});
|
|
153
157
|
clearInterval(timer);
|
|
154
158
|
}
|
|
155
159
|
if (timerCount >= 100) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.8.4-beta.
|
|
3
|
+
"version": "3.8.4-beta.6",
|
|
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.8.4-beta.
|
|
13
|
+
"@sheinx/hooks": "3.8.4-beta.6",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|