shineout 3.8.4-beta.4 → 3.8.4-beta.5

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 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.4'
525
+ version: '3.8.4-beta.5'
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.4');
12389
+ /* harmony default export */ var version = ('3.8.4-beta.5');
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
- '& $cardHr': {
27208
- '&:before': {
27209
- right: 0,
27210
- left: 'auto',
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
- '& $cardHr': {
27230
- '&:before': {
27231
- left: 0,
27232
- width: 1,
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
- '& $cardHr': {
27249
- '&:before': {
27250
- left: 0,
27251
- width: 1,
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
- '& $cardHr': {
27264
- '&:before': {
27265
- right: 0,
27266
- width: 1,
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',
@@ -67361,7 +67335,7 @@ var TabsHeader = function TabsHeader(props) {
67361
67335
  });
67362
67336
  };
67363
67337
  var renderTab = function renderTab() {
67364
- var headerClass = classnames_default()(headerStyle.header, shape === 'card' ? headerStyle.cardHr : '');
67338
+ var headerClass = classnames_default()(headerStyle.header);
67365
67339
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
67366
67340
  ref: headerRef,
67367
67341
  className: headerClass,
@@ -67446,7 +67420,7 @@ var TabsHeader = function TabsHeader(props) {
67446
67420
  shape: shape
67447
67421
  })), {}, {
67448
67422
  dir: config.direction,
67449
- children: [!hideSplit && shape !== 'card' && renderHr(), collapsible && renderCollapsibleButton(), shouldScroll && renderPrevButton(), renderTab(), shouldScroll && renderNextButton(), extra && renderExtra()]
67423
+ children: [!hideSplit && renderHr(), collapsible && renderCollapsibleButton(), shouldScroll && renderPrevButton(), renderTab(), shouldScroll && renderNextButton(), extra && renderExtra()]
67450
67424
  }));
67451
67425
  };
67452
67426
  /* harmony default export */ var tabs_header = (TabsHeader);
@@ -73235,7 +73209,7 @@ var upload_interface = __webpack_require__(8821);
73235
73209
 
73236
73210
 
73237
73211
  /* harmony default export */ var src_0 = ({
73238
- version: '3.8.4-beta.4'
73212
+ version: '3.8.4-beta.5'
73239
73213
  });
73240
73214
  }();
73241
73215
  /******/ return __webpack_exports__;