@sheinx/base 3.9.12 → 3.9.13-beta.1
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,4CA6SzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/tabs/tabs-header.js
CHANGED
|
@@ -203,14 +203,12 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
203
203
|
left: getPosition !== null && getPosition !== void 0 && getPosition.startsWith('right') ? 0 : 'auto',
|
|
204
204
|
top: currentTabOffset.offsetTop + currentTabSize.height / 2,
|
|
205
205
|
height: shape === 'line' ? currentTabSize.height : 24,
|
|
206
|
-
width: 2,
|
|
207
206
|
transform: 'translateY(-50%)'
|
|
208
207
|
} : {
|
|
209
208
|
bottom: getPosition !== null && getPosition !== void 0 && getPosition.startsWith('top') ? 0 : 'auto',
|
|
210
209
|
top: getPosition !== null && getPosition !== void 0 && getPosition.startsWith('bottom') ? 0 : 'auto',
|
|
211
210
|
left: currentTabOffset.offsetLeft + currentTabSize.width / 2,
|
|
212
211
|
width: shape === 'line' ? currentTabSize.width : 24,
|
|
213
|
-
height: 2,
|
|
214
212
|
transform: 'translateX(-50%)'
|
|
215
213
|
};
|
|
216
214
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -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,4CA6SzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/tabs/tabs-header.js
CHANGED
|
@@ -197,14 +197,12 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
197
197
|
left: getPosition !== null && getPosition !== void 0 && getPosition.startsWith('right') ? 0 : 'auto',
|
|
198
198
|
top: currentTabOffset.offsetTop + currentTabSize.height / 2,
|
|
199
199
|
height: shape === 'line' ? currentTabSize.height : 24,
|
|
200
|
-
width: 2,
|
|
201
200
|
transform: 'translateY(-50%)'
|
|
202
201
|
} : {
|
|
203
202
|
bottom: getPosition !== null && getPosition !== void 0 && getPosition.startsWith('top') ? 0 : 'auto',
|
|
204
203
|
top: getPosition !== null && getPosition !== void 0 && getPosition.startsWith('bottom') ? 0 : 'auto',
|
|
205
204
|
left: currentTabOffset.offsetLeft + currentTabSize.width / 2,
|
|
206
205
|
width: shape === 'line' ? currentTabSize.width : 24,
|
|
207
|
-
height: 2,
|
|
208
206
|
transform: 'translateX(-50%)'
|
|
209
207
|
};
|
|
210
208
|
return /*#__PURE__*/_jsx("div", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.13-beta.1",
|
|
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.
|
|
13
|
+
"@sheinx/hooks": "3.9.13-beta.1",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.3.3"
|