shineout 3.9.6-beta.9 → 3.9.7-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.
- package/cjs/index.js +1 -1
- package/dist/shineout.js +6 -6
- 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.9.
|
|
525
|
+
version: '3.9.7-beta.1'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12401,7 +12401,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12401
12401
|
};
|
|
12402
12402
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12403
12403
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12404
|
-
/* harmony default export */ var version = ('3.9.
|
|
12404
|
+
/* harmony default export */ var version = ('3.9.7-beta.1');
|
|
12405
12405
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12406
12406
|
|
|
12407
12407
|
|
|
@@ -68467,14 +68467,14 @@ var TabsPanel = function TabsPanel(props) {
|
|
|
68467
68467
|
var isActive = active === id;
|
|
68468
68468
|
var keekAlive = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(false);
|
|
68469
68469
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
68470
|
-
var tabData = {
|
|
68470
|
+
var tabData = objectSpread2_default()({
|
|
68471
68471
|
id: id,
|
|
68472
68472
|
tab: tab,
|
|
68473
68473
|
disabled: props.disabled,
|
|
68474
68474
|
jssStyle: jssStyle,
|
|
68475
68475
|
background: shape !== 'button' && shape !== 'fill' ? background : undefined,
|
|
68476
68476
|
color: props.color || (active === id ? color : undefined)
|
|
68477
|
-
};
|
|
68477
|
+
}, extractProps(props, 'data-attr'));
|
|
68478
68478
|
setTabs(function (prev) {
|
|
68479
68479
|
var oldTab = prev.find(function (item) {
|
|
68480
68480
|
return item.id === id;
|
|
@@ -68763,9 +68763,9 @@ var Tab = function Tab(props, _ref) {
|
|
|
68763
68763
|
if (shape === 'card') {
|
|
68764
68764
|
style.color = color;
|
|
68765
68765
|
}
|
|
68766
|
-
var containerProps = objectSpread2_default()(objectSpread2_default()({
|
|
68766
|
+
var containerProps = objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
|
|
68767
68767
|
className: tabClass
|
|
68768
|
-
}, getStateProps()), {}, {
|
|
68768
|
+
}, getStateProps()), extractProps(props, "data-attr")), {}, {
|
|
68769
68769
|
style: style,
|
|
68770
68770
|
onClick: handleClick,
|
|
68771
68771
|
ref: _ref,
|
|
@@ -74878,7 +74878,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
74878
74878
|
|
|
74879
74879
|
|
|
74880
74880
|
/* harmony default export */ var src_0 = ({
|
|
74881
|
-
version: '3.9.
|
|
74881
|
+
version: '3.9.7-beta.1'
|
|
74882
74882
|
});
|
|
74883
74883
|
}();
|
|
74884
74884
|
/******/ return __webpack_exports__;
|