shineout 3.8.4-beta.4 → 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.
- package/cjs/index.js +1 -1
- package/dist/shineout.js +24 -46
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.8.4-beta.
|
|
525
|
+
version: '3.8.4-beta.6'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12386
12386
|
};
|
|
12387
12387
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12388
12388
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12389
|
-
/* harmony default export */ var version = ('3.8.4-beta.
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.4-beta.6');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -27204,13 +27204,10 @@ var getCardStyle = function getCardStyle() {
|
|
|
27204
27204
|
}
|
|
27205
27205
|
},
|
|
27206
27206
|
'&[dir=ltr]': objectSpread2_default()({
|
|
27207
|
-
'& $
|
|
27208
|
-
|
|
27209
|
-
|
|
27210
|
-
|
|
27211
|
-
width: '1px',
|
|
27212
|
-
height: '100%'
|
|
27213
|
-
}
|
|
27207
|
+
'& $hr': {
|
|
27208
|
+
right: 0,
|
|
27209
|
+
height: '100%',
|
|
27210
|
+
width: 1
|
|
27214
27211
|
}
|
|
27215
27212
|
}, active({
|
|
27216
27213
|
top: 0,
|
|
@@ -27226,12 +27223,10 @@ var getCardStyle = function getCardStyle() {
|
|
|
27226
27223
|
width: 1,
|
|
27227
27224
|
background: src.tabsCardCheckedBackgroundColor
|
|
27228
27225
|
})), {}, {
|
|
27229
|
-
'& $
|
|
27230
|
-
|
|
27231
|
-
|
|
27232
|
-
|
|
27233
|
-
height: '100%'
|
|
27234
|
-
}
|
|
27226
|
+
'& $hr': {
|
|
27227
|
+
left: 0,
|
|
27228
|
+
height: '100%',
|
|
27229
|
+
width: 1
|
|
27235
27230
|
}
|
|
27236
27231
|
})
|
|
27237
27232
|
},
|
|
@@ -27245,12 +27240,10 @@ var getCardStyle = function getCardStyle() {
|
|
|
27245
27240
|
}
|
|
27246
27241
|
},
|
|
27247
27242
|
'&[dir=ltr]': objectSpread2_default()({
|
|
27248
|
-
'& $
|
|
27249
|
-
|
|
27250
|
-
|
|
27251
|
-
|
|
27252
|
-
height: '100%'
|
|
27253
|
-
}
|
|
27243
|
+
'& $hr': {
|
|
27244
|
+
left: 0,
|
|
27245
|
+
height: '100%',
|
|
27246
|
+
width: 1
|
|
27254
27247
|
}
|
|
27255
27248
|
}, active({
|
|
27256
27249
|
top: 0,
|
|
@@ -27260,12 +27253,10 @@ var getCardStyle = function getCardStyle() {
|
|
|
27260
27253
|
background: src.tabsCardCheckedBackgroundColor
|
|
27261
27254
|
})),
|
|
27262
27255
|
'&[dir=rtl]': objectSpread2_default()({
|
|
27263
|
-
'& $
|
|
27264
|
-
|
|
27265
|
-
|
|
27266
|
-
|
|
27267
|
-
height: '100%'
|
|
27268
|
-
}
|
|
27256
|
+
'& $hr': {
|
|
27257
|
+
right: 0,
|
|
27258
|
+
height: '100%',
|
|
27259
|
+
width: 1
|
|
27269
27260
|
}
|
|
27270
27261
|
}, active({
|
|
27271
27262
|
top: 0,
|
|
@@ -27299,12 +27290,6 @@ var getCardStyle = function getCardStyle() {
|
|
|
27299
27290
|
top: 0,
|
|
27300
27291
|
height: 1,
|
|
27301
27292
|
width: '100%'
|
|
27302
|
-
},
|
|
27303
|
-
'& $cardHr': {
|
|
27304
|
-
'&:before': {
|
|
27305
|
-
top: 0,
|
|
27306
|
-
bottom: 'auto'
|
|
27307
|
-
}
|
|
27308
27293
|
}
|
|
27309
27294
|
}, active({
|
|
27310
27295
|
top: -1,
|
|
@@ -27548,17 +27533,6 @@ var tabsStyle = {
|
|
|
27548
27533
|
background: src.tabsLineHrBackgroundColor
|
|
27549
27534
|
}
|
|
27550
27535
|
},
|
|
27551
|
-
cardHr: {
|
|
27552
|
-
'&:before': {
|
|
27553
|
-
position: 'absolute',
|
|
27554
|
-
content: '""',
|
|
27555
|
-
bottom: 0,
|
|
27556
|
-
left: 0,
|
|
27557
|
-
width: '100%',
|
|
27558
|
-
height: 1,
|
|
27559
|
-
background: src.tabsBorderColor
|
|
27560
|
-
}
|
|
27561
|
-
},
|
|
27562
27536
|
headerWrapper: objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
|
|
27563
27537
|
display: 'flex',
|
|
27564
27538
|
overflow: 'hidden',
|
|
@@ -67321,6 +67295,10 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
67321
67295
|
width: currentTab.offsetWidth,
|
|
67322
67296
|
height: currentTab.offsetHeight
|
|
67323
67297
|
});
|
|
67298
|
+
setCurrentTabOffset({
|
|
67299
|
+
offsetTop: currentTab.offsetTop || 0,
|
|
67300
|
+
offsetLeft: currentTab.offsetLeft || 0
|
|
67301
|
+
});
|
|
67324
67302
|
clearInterval(timer);
|
|
67325
67303
|
}
|
|
67326
67304
|
if (timerCount >= 100) {
|
|
@@ -67361,7 +67339,7 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
67361
67339
|
});
|
|
67362
67340
|
};
|
|
67363
67341
|
var renderTab = function renderTab() {
|
|
67364
|
-
var headerClass = classnames_default()(headerStyle.header
|
|
67342
|
+
var headerClass = classnames_default()(headerStyle.header);
|
|
67365
67343
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
67366
67344
|
ref: headerRef,
|
|
67367
67345
|
className: headerClass,
|
|
@@ -67446,7 +67424,7 @@ var TabsHeader = function TabsHeader(props) {
|
|
|
67446
67424
|
shape: shape
|
|
67447
67425
|
})), {}, {
|
|
67448
67426
|
dir: config.direction,
|
|
67449
|
-
children: [!hideSplit &&
|
|
67427
|
+
children: [!hideSplit && renderHr(), collapsible && renderCollapsibleButton(), shouldScroll && renderPrevButton(), renderTab(), shouldScroll && renderNextButton(), extra && renderExtra()]
|
|
67450
67428
|
}));
|
|
67451
67429
|
};
|
|
67452
67430
|
/* harmony default export */ var tabs_header = (TabsHeader);
|
|
@@ -73235,7 +73213,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73235
73213
|
|
|
73236
73214
|
|
|
73237
73215
|
/* harmony default export */ var src_0 = ({
|
|
73238
|
-
version: '3.8.4-beta.
|
|
73216
|
+
version: '3.8.4-beta.6'
|
|
73239
73217
|
});
|
|
73240
73218
|
}();
|
|
73241
73219
|
/******/ return __webpack_exports__;
|