shineout 3.3.4 → 3.3.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 +1 -1
- package/dist/shineout.js +23 -9
- 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
|
@@ -476,5 +476,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
476
476
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
477
477
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
478
478
|
var _default = exports.default = {
|
|
479
|
-
version: '3.3.
|
|
479
|
+
version: '3.3.5'
|
|
480
480
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11968,7 +11968,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11968
11968
|
};
|
|
11969
11969
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11970
11970
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11971
|
-
/* harmony default export */ var version = ('3.3.
|
|
11971
|
+
/* harmony default export */ var version = ('3.3.5');
|
|
11972
11972
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11973
11973
|
|
|
11974
11974
|
|
|
@@ -24444,7 +24444,7 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({}, globalStyle
|
|
|
24444
24444
|
content: '""',
|
|
24445
24445
|
position: 'absolute',
|
|
24446
24446
|
top: 0,
|
|
24447
|
-
bottom:
|
|
24447
|
+
bottom: -1,
|
|
24448
24448
|
width: '5px'
|
|
24449
24449
|
},
|
|
24450
24450
|
'&[dir=ltr]::after': {
|
|
@@ -25326,7 +25326,7 @@ var tabsStyle = {
|
|
|
25326
25326
|
}
|
|
25327
25327
|
}, getCardStyle()), getLineStyle()), getDashStyle()), getFillStyle()), getButtonStyle()), getHeaderStyle()),
|
|
25328
25328
|
headerScroll: {
|
|
25329
|
-
transition: 'all .
|
|
25329
|
+
transition: 'all .2s cubic-bezier(.34,.69,.1,1)'
|
|
25330
25330
|
},
|
|
25331
25331
|
header: {
|
|
25332
25332
|
flex: 1,
|
|
@@ -28205,6 +28205,9 @@ var isLink = function isLink(el) {
|
|
|
28205
28205
|
}
|
|
28206
28206
|
return false;
|
|
28207
28207
|
};
|
|
28208
|
+
function isNamedComponent(type) {
|
|
28209
|
+
return (is_isObject(type) || isFunc(type)) && type.hasOwnProperty('displayName');
|
|
28210
|
+
}
|
|
28208
28211
|
var isMacOS = function isMacOS() {
|
|
28209
28212
|
return is_isBrowser() && /macintosh|mac os x/i.test(navigator.userAgent);
|
|
28210
28213
|
};
|
|
@@ -41061,6 +41064,8 @@ var Time = function Time(props) {
|
|
|
41061
41064
|
className: styles === null || styles === void 0 ? void 0 : styles.pickerFooterRight,
|
|
41062
41065
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(base_src_button_button, {
|
|
41063
41066
|
size: 'small',
|
|
41067
|
+
mode: "text",
|
|
41068
|
+
type: "primary",
|
|
41064
41069
|
jssStyle: props.jssStyle,
|
|
41065
41070
|
className: styles === null || styles === void 0 ? void 0 : styles.pickerFooterBtn,
|
|
41066
41071
|
onClick: selNow,
|
|
@@ -41234,12 +41239,16 @@ var Day = function Day(props) {
|
|
|
41234
41239
|
className: styles === null || styles === void 0 ? void 0 : styles.pickerFooterRight,
|
|
41235
41240
|
children: [props.showSelNow && props.type === 'date' && /*#__PURE__*/(0,jsx_runtime.jsx)(base_src_button_button, {
|
|
41236
41241
|
size: 'small',
|
|
41242
|
+
mode: "text",
|
|
41243
|
+
type: "primary",
|
|
41237
41244
|
jssStyle: jssStyle,
|
|
41238
41245
|
className: styles === null || styles === void 0 ? void 0 : styles.pickerFooterBtn,
|
|
41239
41246
|
onClick: selNow,
|
|
41240
41247
|
children: getLocale(locale, 'now')
|
|
41241
41248
|
}), props.showSelNow && props.type === 'datetime' && /*#__PURE__*/(0,jsx_runtime.jsx)(base_src_button_button, {
|
|
41242
41249
|
size: 'small',
|
|
41250
|
+
mode: "text",
|
|
41251
|
+
type: "primary",
|
|
41243
41252
|
jssStyle: jssStyle,
|
|
41244
41253
|
className: styles === null || styles === void 0 ? void 0 : styles.pickerFooterBtn,
|
|
41245
41254
|
onClick: selNow,
|
|
@@ -58202,7 +58211,8 @@ var tabs_excluded = ["jssStyle", "align", "children", "shape", "position", "lazy
|
|
|
58202
58211
|
|
|
58203
58212
|
var tabs_isEmpty = is_isEmpty,
|
|
58204
58213
|
tabs_isObject = is_isObject,
|
|
58205
|
-
tabs_isNumber = isNumber
|
|
58214
|
+
tabs_isNumber = isNumber,
|
|
58215
|
+
tabs_isNamedComponent = isNamedComponent;
|
|
58206
58216
|
var Tabs = function Tabs(props) {
|
|
58207
58217
|
var _jssStyle$tabs;
|
|
58208
58218
|
var jssStyle = props.jssStyle,
|
|
@@ -58333,10 +58343,13 @@ var Tabs = function Tabs(props) {
|
|
|
58333
58343
|
style: panelStyle,
|
|
58334
58344
|
children: external_root_React_commonjs2_react_commonjs_react_amd_react_.Children.toArray(children).map(function (child, index) {
|
|
58335
58345
|
var Chlid = child;
|
|
58336
|
-
|
|
58337
|
-
|
|
58338
|
-
|
|
58339
|
-
|
|
58346
|
+
if (tabs_isNamedComponent(Chlid.type) && Chlid.type.displayName === 'ShineoutTabsPanel') {
|
|
58347
|
+
return /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(Chlid, {
|
|
58348
|
+
id: Chlid.props.id !== undefined ? Chlid.props.id : index,
|
|
58349
|
+
active: active
|
|
58350
|
+
});
|
|
58351
|
+
}
|
|
58352
|
+
return null;
|
|
58340
58353
|
})
|
|
58341
58354
|
});
|
|
58342
58355
|
};
|
|
@@ -58345,6 +58358,7 @@ var Tabs = function Tabs(props) {
|
|
|
58345
58358
|
var border = getSplitColor();
|
|
58346
58359
|
external_root_React_commonjs2_react_commonjs_react_amd_react_.Children.toArray(children).forEach(function (child, index) {
|
|
58347
58360
|
var Chlid = child;
|
|
58361
|
+
if (!Chlid || !Chlid.type) return;
|
|
58348
58362
|
var childBorder = Chlid.props.splitColor || Chlid.props.border;
|
|
58349
58363
|
var _Chlid$props$id = Chlid.props.id,
|
|
58350
58364
|
id = _Chlid$props$id === void 0 ? index : _Chlid$props$id;
|
|
@@ -63713,7 +63727,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
63713
63727
|
|
|
63714
63728
|
|
|
63715
63729
|
/* harmony default export */ var src_0 = ({
|
|
63716
|
-
version: '3.3.
|
|
63730
|
+
version: '3.3.5'
|
|
63717
63731
|
});
|
|
63718
63732
|
}();
|
|
63719
63733
|
/******/ return __webpack_exports__;
|